summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-07-28 14:55:45 -0300
committerGonzalo Exequiel Pedone2024-07-28 14:55:45 -0300
commita9ba3ac082bcf14130ee32aee617bbf1b45f92fc (patch)
tree341f4aa3fae5023e7321350e1f7453f37780cdde
parente0d0938728cf740cc800ebf0254dfa2a49648b08 (diff)
downloadaur-a9ba3ac082bcf14130ee32aee617bbf1b45f92fc.tar.gz
Package updated to 2.80.4.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
2 files changed, 9 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd7752c510ee..7bc64a78363f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = android-x86-glib2
pkgdesc = Low level core library (Android x86)
- pkgver = 2.80.3
+ pkgver = 2.80.4
pkgrel = 1
url = https://wiki.gnome.org/Projects/GLib
arch = any
@@ -15,7 +15,7 @@ pkgbase = android-x86-glib2
options = !buildflags
options = staticlibs
options = !emptydirs
- source = https://download.gnome.org/sources/glib/2.80/glib-2.80.3.tar.xz
- md5sums = 099a2203b256115985b85312f96a7190
+ source = https://download.gnome.org/sources/glib/2.80/glib-2.80.4.tar.xz
+ md5sums = 4334211338220a165350d1c4a1597b0e
pkgname = android-x86-glib2
diff --git a/PKGBUILD b/PKGBUILD
index cc5b94b9af5f..925592958ee0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,12 @@
_android_arch=x86
pkgname=android-${_android_arch}-glib2
-pkgver=2.80.3
+pkgver=2.80.4
pkgrel=1
arch=('any')
pkgdesc="Low level core library (Android ${_android_arch})"
url="https://wiki.gnome.org/Projects/GLib"
-license=("LGPL2.1")
+license=('LGPL2.1')
groups=('android-glib2')
depends=("android-${_android_arch}-libffi"
"android-${_android_arch}-pcre2"
@@ -22,31 +22,22 @@ depends=("android-${_android_arch}-libffi"
makedepends=('android-meson')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://download.gnome.org/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz")
-md5sums=('099a2203b256115985b85312f96a7190')
+md5sums=('4334211338220a165350d1c4a1597b0e')
build() {
cd "${srcdir}/glib-${pkgver}"
source android-env ${_android_arch}
- android-${_android_arch}-meson build-static \
- --default-library static \
+ android-${_android_arch}-meson build \
-Dtests=false
- ninja -C build-static
-
- android-${_android_arch}-meson build-shared \
- --default-library shared \
- -Dtests=false \
- -Dman-pages=false
- ninja -C build-shared
+ ninja -C build
}
package() {
cd "${srcdir}/glib-${pkgver}"
source android-env ${_android_arch}
- DESTDIR="${pkgdir}" ninja -C build-static install
- DESTDIR="${pkgdir}" ninja -C build-shared install
-
+ DESTDIR="${pkgdir}" ninja -C build install
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a || true