summaryrefslogtreecommitdiff
path: root/user/libpeas/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libpeas/APKBUILD')
-rw-r--r--user/libpeas/APKBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/user/libpeas/APKBUILD b/user/libpeas/APKBUILD
index 172a0003d..ed8bb27f2 100644
--- a/user/libpeas/APKBUILD
+++ b/user/libpeas/APKBUILD
@@ -1,35 +1,31 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libpeas
-pkgver=1.22.0
-pkgrel=1
+pkgver=1.24.0
+pkgrel=0
pkgdesc="GObject-based plugin framework"
url="https://gnome.org"
arch="all"
+options="!check" # With Meson, you can't disable individual tests.
+ # Three require X11. Complain to Meson, not me.
license="LGPL-2.1+"
depends=""
-makedepends="intltool glib-dev gobject-introspection-dev gtk+3.0-dev
- py3-pygobject py3-pygobject-dev python3-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+makedepends="glib-dev gobject-introspection-dev gtk+3.0-dev
+ meson ninja py3-pygobject py3-pygobject-dev python3-dev"
+subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$pkgver.tar.xz"
build() {
- LIBS="-lintl" ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ meson -Dprefix=/usr build
+ ninja -C build
}
check() {
- DISPLAY= make check
+ DISPLAY= ninja -C build test
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build install
}
-sha512sums="9c1da1d4b5688c0f4d0647f3519dbfbed94c8921091057aaef0e41bf5ed3f8faf04a49ce9e4eea3fd7bf4ac4dfa1727d76a5f6dae2a4f52228d4c8c74b420c91 libpeas-1.22.0.tar.xz"
+sha512sums="b4baa03ded9d787e7a1ee2be943617f5c84564bf299699934c47ded6c60ff62a7f27ab2594cd0ffba2d8979d8b72113d1b5e910eebd80305f3aa538db0d45314 libpeas-1.24.0.tar.xz"