mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
xfce-base/xfconf: Prune old
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xfconf-4.10.0.tar.bz2 517425 SHA256 175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576 SHA512 273820b358611681e634c6a8f107f9812197bd1e9162e987d0df61cbba5eb89be5e30b88a827a1538620b7ec58f0fa0619389a76aa8afc9f8483f64795308ed9 WHIRLPOOL 8c3316a590ad4db25233e48d1401341d5b136add7324a9f1bf524e4925aa23d56965cfed26eb41b92fbbc2d43b04e81a8c4db329a659b6f46b0ee5075b1a02bf
|
||||
DIST xfconf-4.12.0.tar.bz2 542544 SHA256 9910eaea8405336415d4d7f3056403f8c67bc23ba0dce251eac35205c603b156 SHA512 60cc37a7207b0486f7f2de665870facf8e339241df344d7540082f3db447b3ac88bddd306d6a09a3868878cb477d1696491c71470052ef56cb649d773bd55b56 WHIRLPOOL 73241764a03c865c3bcda97a481e4ed9c6bfd8a3fdfd1a614291abad32f11157ba50a14d0ef918ad3c397fdd015d3dcf0cd07e24e43fbdd5125d5c273d536c16
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit xfconf
|
||||
|
||||
DESCRIPTION="A simple client-server configuration storage and query system for the Xfce desktop environment"
|
||||
HOMEPAGE="http://www.xfce.org/projects/"
|
||||
SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="debug perl"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.98
|
||||
>=dev-libs/glib-2.24
|
||||
>=xfce-base/libxfce4util-4.10
|
||||
perl? ( dev-perl/glib-perl )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
perl? (
|
||||
dev-perl/ExtUtils-Depends
|
||||
dev-perl/extutils-pkgconfig
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
XFCONF=(
|
||||
$(use_enable perl perl-bindings)
|
||||
$(xfconf_use_debug)
|
||||
$(use_enable debug checks)
|
||||
--with-perl-options=INSTALLDIRS=vendor
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
)
|
||||
|
||||
[[ ${CHOST} == *-darwin* ]] && XFCONF+=( --disable-visibility ) #366857
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS TODO )
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.xfce.org/show_bug.cgi?id=9556
|
||||
cat <<-EOF >> po/POTFILES.skip
|
||||
xfconf-perl/xs/Xfconf.c
|
||||
xfconf-perl/xs/XfconfBinding.c
|
||||
xfconf-perl/xs/XfconfChannel.c
|
||||
EOF
|
||||
xfconf_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OTHERLDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
xfconf_src_install
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user