xfconf: remove xfconf-perl pkg and replace it with 'perl' pkg option (off).
This commit is contained in:
parent
8bab051653
commit
df05624c41
@ -1 +0,0 @@
|
|||||||
xfconf
|
|
@ -1,11 +1,10 @@
|
|||||||
# Template file for 'xfconf'
|
# Template file for 'xfconf'
|
||||||
pkgname=xfconf
|
pkgname=xfconf
|
||||||
version=4.10.0
|
version=4.10.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config intltool>=0.50.2_1 perl>=5.16"
|
hostmakedepends="pkg-config intltool>=0.50.2_1"
|
||||||
makedepends="perl-ExtUtils-Depends perl-ExtUtils-PkgConfig
|
makedepends="dbus-glib-devel libxfce4util-devel"
|
||||||
perl-Glib>=1.242_1 dbus-glib-devel libxfce4util-devel"
|
|
||||||
short_desc="Xfce hierarchical (tree-like) configuration system"
|
short_desc="Xfce hierarchical (tree-like) configuration system"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
@ -17,9 +16,20 @@ long_desc="
|
|||||||
immediate child nodes of the root are called channels. All settings
|
immediate child nodes of the root are called channels. All settings
|
||||||
beneath the channel nodes are called properties."
|
beneath the channel nodes are called properties."
|
||||||
|
|
||||||
|
# Package build options
|
||||||
|
build_options="perl"
|
||||||
|
desc_option_perl="Enable support for perl bindings"
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
xfconf-devel_package() {
|
xfconf-devel_package() {
|
||||||
depends="dbus-glib-devel xfconf>=$version"
|
depends="dbus-glib-devel xfconf>=$version"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
@ -27,19 +37,13 @@ xfconf-devel_package() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xfconf-perl_package() {
|
|
||||||
depends="perl-Glib>=1.242_1"
|
|
||||||
short_desc="${short_desc} - perl bindings"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/perl5
|
|
||||||
vmove usr/share/man
|
|
||||||
find ${PKGDESTDIR}/usr/lib/perl5 -type f \
|
|
||||||
-name perllocal.pod -o -name .packlist|xargs rm -f
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
xfconf_package() {
|
xfconf_package() {
|
||||||
|
if [ "$build_option_perl" ]; then
|
||||||
|
replaces="xfconf-perl>=0"
|
||||||
|
provides="xfconf-perl-${version}"
|
||||||
|
depends="perl-Glib>=1.242_1"
|
||||||
|
fi
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user