mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
Ports/ScummVM: Add freetype, libiconv, libjpeg and libpng to build deps
This commit is contained in:
parent
4bf9f334d5
commit
efae7b7748
|
@ -4,7 +4,7 @@ useconfigure="true"
|
|||
version="2.2.0"
|
||||
files="https://downloads.scummvm.org/frs/scummvm/${version}/scummvm-${version}.tar.gz scummvm-${version}.tar.gz 6ec5bd63b73861c10ca9869f27a74989a9ad6013bad30a1ef70de6ec146c2cb5"
|
||||
auth_type=sha256
|
||||
depends="libtheora SDL2"
|
||||
depends="freetype libiconv libjpeg libpng libtheora SDL2"
|
||||
configopts="
|
||||
--enable-c++11
|
||||
--enable-release-mode
|
||||
|
@ -16,6 +16,9 @@ launcher_name=ScummVM
|
|||
launcher_category=Games
|
||||
launcher_command=/usr/local/bin/scummvm
|
||||
|
||||
export FREETYPE2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2"
|
||||
export FREETYPE2_LIBS="-lfreetype"
|
||||
|
||||
post_install() {
|
||||
if command -v convert >/dev/null; then
|
||||
run convert "icons/scummvm.ico[0]" app-32x32.png
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- scummvm-2.2.0/configure 2020-09-13 23:05:37.000000000 +0200
|
||||
+++ scummvm-2.2.0-patched/configure 2021-04-04 01:21:54.809774246 +0200
|
||||
+++ scummvm-2.2.0-patched/configure 2021-06-07 14:15:33.369406722 +0200
|
||||
@@ -3917,7 +3917,7 @@
|
||||
amigaos* | cygwin* | dreamcast | ds | gamecube | mingw* | morphos | n64 | ps3 | psp2 | psp | riscos | wii)
|
||||
_posix=no
|
||||
|
@ -9,3 +9,12 @@
|
|||
_posix=yes
|
||||
;;
|
||||
os2-emx*)
|
||||
@@ -5073,6 +5073,8 @@
|
||||
# Check for FreeType2 to be present
|
||||
#
|
||||
find_freetype() {
|
||||
+ _freetype_found="true"
|
||||
+ return
|
||||
# Wrapper function which tries to find freetype
|
||||
# either by calling freetype-config or by using
|
||||
# pkg-config.
|
||||
|
|
Loading…
Reference in a new issue