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