diff options
Diffstat (limited to 'libre/glib2-static/PKGBUILD')
-rw-r--r-- | libre/glib2-static/PKGBUILD | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/libre/glib2-static/PKGBUILD b/libre/glib2-static/PKGBUILD index f5a443408..9283512aa 100644 --- a/libre/glib2-static/PKGBUILD +++ b/libre/glib2-static/PKGBUILD @@ -5,32 +5,25 @@ pkgname=glib2-static pkgver=2.58.3 pkgrel=1 -pkgrel+=.static1 +pkgrel+=.static2 pkgdesc="Low level core library" pkgdesc+=" (static libraries)" url="https://wiki.gnome.org/Projects/GLib" license=(LGPL2.1) arch=(x86_64) arch+=(i686 armv7h) -depends=(pcre libffi libutil-linux zlib) -depends+=("glib2=$pkgver") -_depends=(pcre-static libffi-static libutil-linux-static zlib) -makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux meson dbus) -makedepends+=("${_depends[@]}") -checkdepends=(desktop-file-utils) +depends=(pcre libffi) +makedepends=(libffi zlib shared-mime-info python libelf git util-linux meson dbus libxslt docbook-xsl) +checkdepends=(desktop-file-utils dbus) optdepends=('python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report' 'libelf: gresource inspection tool') -options=(!emptydirs) -options+=(staticlibs) +options=('!docs' '!libtool' '!emptydirs' '!strip' 'staticlibs') _commit=f2d1128ffae0de87680e411fb62ccfccafed6b1c # tags/2.58.3^0 source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit" noisy-glib-compile-schemas.diff - glib-compile-schemas.hook gio-querymodules.hook) -source+=(disable-dynamic-tests.patch) + fix-static-build-589.diff) sha256sums=('SKIP' '81a4df0b638730cffb7fa263c04841f7ca6b9c9578ee5045db6f30ff0c3fc531' - 'e1123a5d85d2445faac33f6dae1085fdd620d83279a4e130a83fe38db52b62b3' - '5ba204a2686304b1454d401a39a9d27d09dd25e4529664e3fd565be3d439f8b6' 'f4790fc845f2b4811ce5df5ef3a7dfcc23a1593ec4e19ae9173bb799a045d00f') pkgver() { @@ -43,9 +36,7 @@ prepare() { # Suppress noise from glib-compile-schemas.hook patch -Np1 -i ../noisy-glib-compile-schemas.diff - - # disable tests that fail on static builds - patch -Np1 -i ../disable-dynamic-tests.patch + patch -Np1 -i ../fix-static-build-589.diff } build() { @@ -58,8 +49,10 @@ build() { arch-meson glib build \ --default-library static \ -D selinux=false \ - -D man=false \ - -D gtk_doc=false + -D man=true \ + -D gtk_doc=false \ + -D internal_pcre=false \ + -D fam=false ninja -C build } |