47d9a0871f
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com> Signed-off-by: Danct12 <danct12@disroot.org>
59 lines
2.6 KiB
Text
59 lines
2.6 KiB
Text
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
# Needed because of https://github.com/ubports/system-settings/issues/65
|
|
pkgname=accountsservice-ubuntu
|
|
_pkgname=accountsservice
|
|
pkgver=0.6.45
|
|
pkgrel=1
|
|
pkgdesc="D-Bus interface for user account query and manipulation"
|
|
url="http://www.freedesktop.org/software/accountsservice/"
|
|
arch="x86_64"
|
|
license="GPL-3.0-or-later"
|
|
depends=""
|
|
depends_dev="glib-dev gobject-introspection-dev polkit-dev"
|
|
makedepends="$depends_dev intltool gnome-doc-utils"
|
|
provides="$_pkgname=$pkgver lib$_pkgname=$pkgver"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
# Issues about "Ubuntu-specific" patches:
|
|
# https://gitlab.freedesktop.org/accountsservice/accountsservice/issues/22
|
|
# https://gitlab.freedesktop.org/accountsservice/accountsservice/issues/52
|
|
source="http://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz
|
|
musl-fgetspent_r.patch
|
|
0001-0001-formats-locale-property.patch.patch
|
|
0002-0007-add-lightdm-support.patch.patch
|
|
0003-0011-add-background-file-support.patch.patch
|
|
0004-0016-add-input-sources-support.patch.patch"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
build() {
|
|
cd "$builddir"
|
|
# 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"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="09975f9fa03a3177d923de6d6f6e6acfffeb2ff4924c45eaac78c994c16974427c8e936a87034747ba494d2bb3df6e8a92ff44db387761b06e06e311d7cf105a accountsservice-0.6.45.tar.xz
|
|
469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c musl-fgetspent_r.patch
|
|
ad924e29432c92fbf8cdfab7e1d023f67502003f54ab1f0db3d264a7e71a9aececa65ef4c4de110df3f9892f8f90bb50018115b61513e883ac6797ad8c6dd4f4 0001-0001-formats-locale-property.patch.patch
|
|
3d91eebc4e877a73dd9fad802d8473a8f4275b82d2ac79fc1d0191262794b95cdf50edd6ea76e9bfc946c523b9d88e8cabc90a3b00211b404565c8884cd62653 0002-0007-add-lightdm-support.patch.patch
|
|
8baf966e83e74efb3b5fe75722320953c481bb2e7803bbece539e3ffb82ce2879fcebfa4512f59978f852dbf7e62a21fca5a8cd668fd94549d39796730b61518 0003-0011-add-background-file-support.patch.patch
|
|
9cfe41e017e0025d3f474b07b6f7599728b7ff8a0eecbbf629d035b6542f9af1b61469eb38f1ca295999a5baeb69424ed39b56703ac5919c9946eab6135a9eb4 0004-0016-add-input-sources-support.patch.patch"
|