aboutsummaryrefslogtreecommitdiffstats
path: root/testing/accountsservice/APKBUILD
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-04-27 17:45:14 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-27 17:45:14 +0000
commit27603132cbcad239c4f7f38ae17d361e90510bf3 (patch)
tree4ebe72aec1affae68a81db25c2693159ce5ee658 /testing/accountsservice/APKBUILD
parentf992dc44490b02fff8a0e045a350a39df4af1bdd (diff)
downloadaports-27603132cbcad239c4f7f38ae17d361e90510bf3.tar.bz2
aports-27603132cbcad239c4f7f38ae17d361e90510bf3.tar.xz
testing/accountsservice: revert update to 0.6.54
The build is failing with the error message: > FAILED: data/org.freedesktop.accounts.policy > /usr/bin/meson --internal msgfmthelper > ../data/org.freedesktop.accounts.policy.in > data/org.freedesktop.accounts.policy xml > /home/buildozer/aports/testing/accountsservice/src/accountsservice-0.6.54/po > msgfmt: cannot locate ITS rules for ../data/org.freedesktop.accounts.policy.in This reverts commit 2294e239b2d97e11e6c53f3a44cbe81d2eff692f.
Diffstat (limited to 'testing/accountsservice/APKBUILD')
-rw-r--r--testing/accountsservice/APKBUILD33
1 files changed, 22 insertions, 11 deletions
diff --git a/testing/accountsservice/APKBUILD b/testing/accountsservice/APKBUILD
index 8caa8a11b0..4e1003c10c 100644
--- a/testing/accountsservice/APKBUILD
+++ b/testing/accountsservice/APKBUILD
@@ -1,35 +1,46 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=accountsservice
-pkgver=0.6.54
+pkgver=0.6.50
pkgrel=1
pkgdesc="D-Bus interface for user account query and manipulation"
url="https://www.freedesktop.org/software/accountsservice/"
arch="all"
license="GPL-3.0-or-later"
+depends=""
depends_dev="glib-dev gobject-introspection-dev polkit-dev"
-makedepends="$depends_dev meson py3-setuptools"
-subpackages="$pkgname-dev $pkgname-lang"
+makedepends="$depends_dev intltool gnome-doc-utils"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz
musl-fgetspent_r.patch
- musl-wtmp.patch"
+ "
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- meson --prefix=/usr -Dsystemdsystemunitdir=no . output
- ninja -C output
+ # Hack to check for /var/log/wtmp instead of /var/log/utx.log
+ sed -i configure -e "s;utx\.log;wtmp;g"
+ ac_cv_file__var_log_utx_log=yes ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-systemd \
+ --enable-introspection=yes
+ make
}
check() {
cd "$builddir"
- ninja -C output test
+ make check
}
package() {
cd "$builddir"
- DESTDIR="$pkgdir" ninja -C output install
+ make DESTDIR="$pkgdir" install
}
-sha512sums="5fbcccc286dba60efba905aa79b1b51a5478fe52bf2e256d40d9fc2d7a311aea4ce397365045659a4ef2ecb2cc079130fb1d0107749c3c906c394517056ac1c0 accountsservice-0.6.54.tar.xz
-469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c musl-fgetspent_r.patch
-e454b66026030577de635b4752c16a51dfa61188d91acb76da7497f61f11b4c773953c08947b2aac902926f847c01b1f289757ed042989a6db9c51b58dfcc2b3 musl-wtmp.patch"
+sha512sums="6e07cd318452b1cbedeacd729f0ebb200525caf1b09981abb2bac16fd90756a790ebec08aca0a0cea016f14ab27c159a68fe1332ef4bc636c5863b8c61040f64 accountsservice-0.6.50.tar.xz
+469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c musl-fgetspent_r.patch"