2011-03-02 11:02:54 +01:00
|
|
|
# Template file for 'accountsservice'
|
|
|
|
pkgname=accountsservice
|
2014-03-23 10:26:08 +01:00
|
|
|
version=0.6.37
|
2014-08-21 11:00:35 +02:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-11-17 10:27:28 +01:00
|
|
|
configure_args="--disable-static
|
2014-08-21 11:00:35 +02:00
|
|
|
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no"
|
2014-02-17 18:10:46 +01:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2014-05-20 13:01:10 +02:00
|
|
|
makedepends="polkit-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
make_dirs="
|
|
|
|
/var/lib/AccountsService/users 755 root root
|
|
|
|
/var/lib/AccountsService/icons 755 root root"
|
2011-03-02 11:02:54 +01:00
|
|
|
short_desc="D-Bus interfaces for querying and manipulating user account information"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-09-30 11:36:49 +02:00
|
|
|
homepage="http://cgit.freedesktop.org/accountsservice/"
|
|
|
|
license="GPL-3"
|
2012-07-10 09:17:25 +02:00
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
2014-03-23 10:26:08 +01:00
|
|
|
checksum=b0b21136dc9d74a7135fd5ed7fa1a8069efb91bc6ecc1ef8911125433345a5c1
|
2014-02-17 18:10:46 +01:00
|
|
|
|
|
|
|
# Package build options
|
2014-05-20 13:01:10 +02:00
|
|
|
build_options="gir systemd"
|
2014-02-17 18:10:46 +01:00
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2014-05-20 13:01:10 +02:00
|
|
|
build_options_default+=" gir"
|
2014-02-17 18:10:46 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2011-03-02 11:02:54 +01:00
|
|
|
|
2014-05-20 13:01:10 +02:00
|
|
|
if [ "$build_option_systemd" ]; then
|
2014-08-21 11:00:35 +02:00
|
|
|
configure_args+=" --enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
2014-05-20 13:01:10 +02:00
|
|
|
makedepends+=" systemd-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-systemd"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
accountsservice-devel_package() {
|
2013-10-16 09:22:15 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-04-12 08:55:23 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-10 06:50:52 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-17 18:10:46 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|