2009-04-20 02:54:51 +00:00
|
|
|
# Template file for 'xfconf'
|
|
|
|
pkgname=xfconf
|
2012-04-29 07:28:09 +00:00
|
|
|
version=4.10.0
|
2014-05-24 07:48:11 +00:00
|
|
|
revision=5
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-05-07 09:41:50 +00:00
|
|
|
hostmakedepends="pkg-config intltool>=0.50.2_1"
|
|
|
|
makedepends="dbus-glib-devel libxfce4util-devel"
|
2009-04-20 02:54:51 +00:00
|
|
|
short_desc="Xfce hierarchical (tree-like) configuration system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-04-19 14:54:50 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-04-14 16:42:25 +00:00
|
|
|
homepage="http://xfce.org"
|
2014-05-24 07:48:11 +00:00
|
|
|
distfiles="http://archive.xfce.org/src/xfce/xfconf/${version%.*}/$pkgname-$version.tar.bz2"
|
2012-04-29 07:28:09 +00:00
|
|
|
checksum=175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576
|
2013-04-14 16:42:25 +00:00
|
|
|
|
2013-05-07 09:41:50 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="perl"
|
|
|
|
|
|
|
|
if [ "$build_option_perl" ]; then
|
|
|
|
configure_args+=" --enable-perl-bindings"
|
|
|
|
makedepends+=" perl>=5.16 perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib>=1.242_1"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-perl-bindings"
|
|
|
|
fi
|
|
|
|
|
2014-01-01 15:10:11 +00:00
|
|
|
if [ "$build_option_perl" ]; then
|
|
|
|
replaces="xfconf-perl>=0"
|
|
|
|
provides="xfconf-perl-${version}"
|
|
|
|
depends="perl-Glib>=1.242_1"
|
|
|
|
fi
|
|
|
|
|
2013-04-14 16:42:25 +00:00
|
|
|
xfconf-devel_package() {
|
2014-05-24 07:48:11 +00:00
|
|
|
depends="dbus-glib-devel xfconf>=${version}_${revision}"
|
2013-05-07 09:41:50 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:42:25 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-14 14:08:03 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 16:42:25 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|