ports: Cleanup dependencies and configure flags

This commit is contained in:
2026-05-25 16:25:29 +03:00
parent 05250083b9
commit c0ce647c74
12 changed files with 16 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
NAME='ffmpeg'
VERSION='8.0.1'
DOWNLOAD_URL="https://ffmpeg.org/releases/ffmpeg-$VERSION.tar.xz#05ee0b03119b45c0bdb4df654b96802e909e0a752f72e4fe3794f487229e5a41"
DEPENDENCIES=('SDL2')
DEPENDENCIES=('SDL2' 'openssl')
CONFIGURE_OPTIONS=(
'--prefix=/usr'
'--target-os=none'
@@ -13,6 +13,8 @@ CONFIGURE_OPTIONS=(
'--enable-cross-compile'
'--enable-shared'
'--enable-gpl'
'--enable-version3'
'--enable-openssl'
)
configure() {

View File

@@ -3,7 +3,7 @@
NAME='gtk'
VERSION='3.24.49'
DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/gtk/-/archive/$VERSION/gtk-$VERSION.tar.gz#a2958d82986c81794e953a3762335fa7c78948706d23cced421f7245ca544cbc"
DEPENDENCIES=('glib' 'gdk-pixbuf' 'pango' 'libatk' 'libepoxy' 'libXrandr')
DEPENDENCIES=('glib' 'gdk-pixbuf' 'pango' 'libatk' 'libepoxy' 'libXrandr' 'libXcursor' 'libXinerama')
CONFIGURE_OPTIONS=(
'-Dprefix=/usr'
'-Dtests=false'

View File

@@ -3,7 +3,7 @@
NAME='harfbuzz'
VERSION='12.2.0'
DOWNLOAD_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/harfbuzz-$VERSION.tar.xz#ecb603aa426a8b24665718667bda64a84c1504db7454ee4cadbd362eea64e545"
DEPENDENCIES=('glib' 'freetype')
DEPENDENCIES=('glib' 'freetype' 'icu')
CONFIGURE_OPTIONS=(
'-Dprefix=/usr'
'-Dtests=disabled'

View File

@@ -4,7 +4,6 @@ NAME='icu'
VERSION='78.1'
DOWNLOAD_URL="https://github.com/unicode-org/icu/releases/download/release-$VERSION/icu4c-$VERSION-sources.tgz#6217f58ca39b23127605cfc6c7e0d3475fe4b0d63157011383d716cb41617886"
TAR_CONTENT='icu'
_DEPENDENCIES=('ca-certificates' 'openssl' 'zlib' 'zstd')
CONFIG_SUB=('source/config.sub')
CONFIGURE_OPTIONS=(
"--with-cross-build=$BANAN_PORT_DIR/icu/icu-$VERSION-$BANAN_ARCH/source/build-host"

View File

@@ -4,3 +4,6 @@ NAME='libffi'
VERSION='3.5.2'
DOWNLOAD_URL="https://github.com/libffi/libffi/releases/download/v$VERSION/libffi-$VERSION.tar.gz#f3a3082a23b37c293a4fcd1053147b371f2ff91fa7ea1b2a52e335676bac82dc"
CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=(
'--disable-static'
)

View File

@@ -3,7 +3,6 @@
NAME='libsndfile'
VERSION='1.2.2'
DOWNLOAD_URL="https://github.com/libsndfile/libsndfile/releases/download/$VERSION/libsndfile-$VERSION.tar.xz#3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e"
_DEPENDENCIES=('ca-certificates' 'openssl' 'zlib' 'zstd')
CONFIG_SUB=('build-aux/config.sub')
CONFIGURE_OPTIONS=(
'CFLAGS=-std=c11'

View File

@@ -3,7 +3,7 @@
NAME='links'
VERSION='2.30'
DOWNLOAD_URL="http://links.twibright.com/download/links-$VERSION.tar.gz#7f0d54f4f7d1f094c25c9cbd657f98bc998311122563b1d757c9aeb1d3423b9e"
DEPENDENCIES=('ca-certificates' 'openssl' 'zlib' 'zstd' 'libpng' 'libjpeg' 'libtiff' 'libwebp')
DEPENDENCIES=('openssl' 'zlib' 'zstd' 'libpng' 'libjpeg' 'libtiff' 'libwebp')
post_configure() {
config_defines=(

View File

@@ -4,7 +4,7 @@ NAME='lynx'
VERSION='2.9.2'
DOWNLOAD_URL="https://invisible-island.net/archives/lynx/tarballs/lynx$VERSION.tar.gz#99f8f28f860094c533100d1cedf058c27fb242ce25e991e2d5f30ece4457a3bf"
TAR_CONTENT="lynx$VERSION"
DEPENDENCIES=('ncurses' 'ca-certificates' 'openssl' 'zlib')
DEPENDENCIES=('ncurses' 'openssl' 'zlib')
CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=(
'--without-system-type'

View File

@@ -3,7 +3,7 @@
NAME='pango'
VERSION='1.57.0'
DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/pango/-/archive/$VERSION/pango-$VERSION.tar.gz#1b2e2f683dfb5adec3faf17087ade8c648f10a5d3d0e17e421e0ac1a39e6740e"
DEPENDENCIES=('glib' 'fontconfig' 'cairo' 'fribidi')
DEPENDENCIES=('glib' 'fontconfig' 'cairo' 'fribidi' 'libXft')
CONFIGURE_OPTIONS=(
'-Dprefix=/usr'
'-Dbuild-testsuite=false'

View File

@@ -4,3 +4,6 @@ NAME='pcre2'
VERSION='10.45'
DOWNLOAD_URL="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$VERSION/pcre2-$VERSION.tar.gz#0e138387df7835d7403b8351e2226c1377da804e0737db0e071b48f07c9d12ee"
CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=(
'--disable-static'
)

View File

@@ -10,6 +10,7 @@ CONFIGURE_OPTIONS=(
'--target-list=x86_64-softmmu'
'--disable-tpm'
'--disable-docs'
'--enable-slirp'
)
pre_configure() {

View File

@@ -3,7 +3,7 @@
NAME='xash3d-fwgs'
VERSION='git'
DOWNLOAD_URL="https://github.com/FWGS/xash3d-fwgs.git#da1b9ad80d76156a5cbd54d3ce87edb32634ea87"
DEPENDENCIES=('SDL2' 'freetype')
DEPENDENCIES=('SDL2' 'freetype' 'bzip2' 'libvorbis')
configure() {
git submodule update --init --recursive || exit 1