aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-04-27 09:43:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-05 19:26:13 +0000
commit1a0103dda978655bb1480be3869e4bdc4dd07a30 (patch)
tree3eaf10e0224821d2508ee98670fa6cb3ca2524f1
parent735e317438ee9265c11363fdbd6e916966b31da3 (diff)
downloadaports-1a0103dda978655bb1480be3869e4bdc4dd07a30.tar.gz
aports-1a0103dda978655bb1480be3869e4bdc4dd07a30.tar.bz2
aports-1a0103dda978655bb1480be3869e4bdc4dd07a30.tar.xz
main/dconf: update to 0.32.0
-rw-r--r--main/dconf/APKBUILD47
1 files changed, 29 insertions, 18 deletions
diff --git a/main/dconf/APKBUILD b/main/dconf/APKBUILD
index d556f8ba24..7dcc5e65d4 100644
--- a/main/dconf/APKBUILD
+++ b/main/dconf/APKBUILD
@@ -1,32 +1,43 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
-pkgver=0.26.0
-pkgrel=1
+pkgver=0.32.0
+pkgrel=0
pkgdesc="A low-level configuration system."
-url="http://live.gnome.org/dconf"
+url="https://wiki.gnome.org/Projects/dconf"
arch="all"
-license="LGPL-2.1"
-depends=""
-makedepends="glib-dev dbus-dev docbook-xsl vala"
-subpackages="$pkgname-dev $pkgname-doc"
+license="LGPL-2.1-or-later"
+makedepends="glib-dev dbus-dev docbook-xsl vala gtk+3.0-dev libxml2-dev meson
+ py3-setuptools bash-completion"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="https://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.xz"
+builddir="$srcdir"/dconf-$pkgver
-# 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
-builddir="$srcdir"/$pkgname-$pkgver
-
-build () {
+build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
- --libexecdir=/usr/lib/dconf
- make V=1
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ cd "$builddir"
+ meson test -C output -t 10
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+bashcomp() {
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname-$pkgver-r$pkgrel bash-completion"
+
+ mkdir -p "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share
}
-sha512sums="ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e dconf-0.26.0.tar.xz"
+sha512sums="09ae65ad365947aed24228b94978b290060264e55b443d18a743e943627703c92e16e3a5ca8a0aaf3549f7a1d5aad77bdc285d4c8519db705d3104ec22b111a0 dconf-0.32.0.tar.xz"