From e8a490336c5086e3734652db1fe3c2778c25f4f9 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 6 Jul 2026 00:09:00 +0300 Subject: [PATCH] ports: Build release binaries with meson --- ports/cairo/build.sh | 1 + ports/dbus/build.sh | 1 + ports/fontconfig/build.sh | 1 + ports/gdk-pixbuf/build.sh | 1 + ports/glib/build.sh | 1 + ports/gtk3/build.sh | 1 + ports/harfbuzz/build.sh | 1 + ports/libatk/build.sh | 1 + ports/libxml2/build.sh | 1 + ports/pango/build.sh | 1 + ports/pixman/build.sh | 1 + ports/shared-mime-info/build.sh | 1 + ports/xorgproto/build.sh | 1 + 13 files changed, 13 insertions(+) diff --git a/ports/cairo/build.sh b/ports/cairo/build.sh index 8b5d21f6..01d7a334 100755 --- a/ports/cairo/build.sh +++ b/ports/cairo/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://cairographics.org/releases/cairo-$VERSION.tar.xz#445ed8208 DEPENDENCIES=('libpng' 'pixman' 'fontconfig' 'glib' 'libX11' 'libXrender' 'libXext') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dtests=disabled' ) diff --git a/ports/dbus/build.sh b/ports/dbus/build.sh index 7078c3fc..a916afc1 100755 --- a/ports/dbus/build.sh +++ b/ports/dbus/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://dbus.freedesktop.org/releases/dbus/dbus-$VERSION.tar.xz#0b DEPENDENCIES=('glib' 'expat') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Depoll=disabled' # linux only '-Dintrusive_tests=false' '-Dinstalled_tests=false' diff --git a/ports/fontconfig/build.sh b/ports/fontconfig/build.sh index 5d971499..974311f3 100755 --- a/ports/fontconfig/build.sh +++ b/ports/fontconfig/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/$VE DEPENDENCIES=('harfbuzz' 'freetype' 'expat' 'libiconv') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dtests=disabled' '-Dnls=disabled' ) diff --git a/ports/gdk-pixbuf/build.sh b/ports/gdk-pixbuf/build.sh index 6d51e6f7..baeea49c 100755 --- a/ports/gdk-pixbuf/build.sh +++ b/ports/gdk-pixbuf/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/archive/$VERSION/gdk-p DEPENDENCIES=('glib' 'libpng' 'libjpeg-turbo' 'libtiff' 'shared-mime-info') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dtests=false' '-Dman=false' ) diff --git a/ports/glib/build.sh b/ports/glib/build.sh index 9b7d0b45..68580d54 100755 --- a/ports/glib/build.sh +++ b/ports/glib/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://download.gnome.org/sources/glib/${VERSION%.*}/glib-$VERSIO DEPENDENCIES=('pcre2' 'libffi' 'zlib' 'libiconv') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dxattr=false' ) diff --git a/ports/gtk3/build.sh b/ports/gtk3/build.sh index ab93275e..2ae2ebfe 100755 --- a/ports/gtk3/build.sh +++ b/ports/gtk3/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/gtk/-/archive/$VERSION/gtk-$VERSION DEPENDENCIES=('glib' 'gdk-pixbuf' 'pango' 'libatk' 'libepoxy' 'libXrandr' 'libXcursor' 'libXinerama') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dtests=false' '-Dexamples=false' '-Dintrospection=false' diff --git a/ports/harfbuzz/build.sh b/ports/harfbuzz/build.sh index 351901d2..6cfa2b9d 100755 --- a/ports/harfbuzz/build.sh +++ b/ports/harfbuzz/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/ha DEPENDENCIES=('glib' 'freetype' 'icu') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dtests=disabled' '-Dcairo=disabled' ) diff --git a/ports/libatk/build.sh b/ports/libatk/build.sh index e9559a70..521ce1d0 100755 --- a/ports/libatk/build.sh +++ b/ports/libatk/build.sh @@ -7,6 +7,7 @@ TAR_CONTENT="at-spi2-core-$VERSION" DEPENDENCIES=('glib' 'dbus' 'libxml2' 'libX11' 'libXtst') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' ) configure() { diff --git a/ports/libxml2/build.sh b/ports/libxml2/build.sh index b1bca1c8..dd2572d0 100755 --- a/ports/libxml2/build.sh +++ b/ports/libxml2/build.sh @@ -7,6 +7,7 @@ TAR_CONTENT="libxml2-v$VERSION" DEPENDENCIES=('zlib' 'libiconv') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' ) configure() { diff --git a/ports/pango/build.sh b/ports/pango/build.sh index 044f9e29..16fa5ba7 100755 --- a/ports/pango/build.sh +++ b/ports/pango/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/pango/-/archive/$VERSION/pango-$VER DEPENDENCIES=('glib' 'fontconfig' 'cairo' 'fribidi' 'libXft') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dbuild-testsuite=false' ) diff --git a/ports/pixman/build.sh b/ports/pixman/build.sh index 661c6b27..ebbbf808 100755 --- a/ports/pixman/build.sh +++ b/ports/pixman/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://cairographics.org/releases/pixman-$VERSION.tar.gz#d09c44eb DEPENDENCIES=('glib' 'libpng') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' ) configure() { diff --git a/ports/shared-mime-info/build.sh b/ports/shared-mime-info/build.sh index 8e012e92..a531ec68 100755 --- a/ports/shared-mime-info/build.sh +++ b/ports/shared-mime-info/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$VER DEPENDENCIES=('glib' 'libxml2') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' '-Dbuild-tests=false' '-Dbuild-translations=false' '-Dupdate-mimedb=true' diff --git a/ports/xorgproto/build.sh b/ports/xorgproto/build.sh index 0ee16e57..21828d6f 100755 --- a/ports/xorgproto/build.sh +++ b/ports/xorgproto/build.sh @@ -6,6 +6,7 @@ DOWNLOAD_URL="https://www.x.org/releases/individual/proto/xorgproto-$VERSION.tar DEPENDENCIES=('util-macros') CONFIGURE_OPTIONS=( '-Dprefix=/usr' + '-Dbuildtype=release' ) configure() {