diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
commit | 6957f5c65b02bba533954eabc0b62f5de36be206 (patch) | |
tree | 21d8ab8f61dffd9cccc82d0badb68982516a6855 /xfce-base/xfconf | |
parent | e91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff) |
gentoo resync : 10.04.2018
Diffstat (limited to 'xfce-base/xfconf')
-rw-r--r-- | xfce-base/xfconf/Manifest | 1 | ||||
-rw-r--r-- | xfce-base/xfconf/xfconf-4.12.1-r1.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest index bc569a7cd5f0..520cbe3794fc 100644 --- a/xfce-base/xfconf/Manifest +++ b/xfce-base/xfconf/Manifest @@ -1,5 +1,6 @@ DIST xfconf-4.12.1.tar.bz2 564131 BLAKE2B 893210f19d743559b0879e9e38004400c8f8af0b6b8c72db4602360eee2ee7058f074e86f2f9e4397f6e728eae0148d3621424461d53e84ad768d7f0673ed08a SHA512 114dba6a78d43b25eebfd9ef78beec75391b0c77e736e66ae2b04fe97dc281f93d05467ddfdd63a5067f44de135347564fe55928ae7de72f0984339db411d77f DIST xfconf-4.13.4.tar.bz2 598700 BLAKE2B 05d4f7e360359e8d56b8a4cf6a39f22506113a758861fb730d9fb858f92554af3e28c49a21ceb246f8503087bec1032d430b16df999f7db22c56d3d3cb12ad68 SHA512 17c4c2ff4b02eef2d3040c21120e34863e4b38794d7670e42a31e4062a0ba0d4064d4239e8166a2c05d5d316773fdc96ae6098e78ab9b058b9c5a31f94c7f3dc +EBUILD xfconf-4.12.1-r1.ebuild 1822 BLAKE2B efb440814d76cda63c879f32a9476fe3982b649b80667acb909830259c83dcb154c189979244ea5764d4946cad6c90f9281716d2febdc6e34cf86c6c9ef737ad SHA512 be35dca28ac0c084195fc9f6ff6cd30634593cbe7f23437d352dca00428480b57bf2244830d76b39ff27632651f010753266f231002dbd45a5bc7138a6dd526f EBUILD xfconf-4.12.1.ebuild 1496 BLAKE2B d5f1e391025f6339da53bf505ccafc5bb29ea057d294134a0169541d8983ff3d780e9cd1d6c6cbb49fce41716b741920fbc8cfa103f86f9af817dc205e33a341 SHA512 9b5165e8d4246cba0eb0d3c37f1dbc363385bd14f24f06b4159cae98169c924a60563ba897ec6891bd860c8f93cc1ec67f154cae2158311a6b20bcc8a21d41db EBUILD xfconf-4.13.4.ebuild 1614 BLAKE2B 35e383b99237f8e84def2b182c441dc109b1c7f207a7cd11de4d120055ed27a635221457fb3ba1ede4cdcfbb00d191a9e1df90b8e3fba975334b5115071a3694 SHA512 479bcf4cb0d7be46ca871186e1ed202964cdb1a6ad86fddb246773a6a93bfae5908ba409ba53c6254e6bf2107c1fcf5c04a2ade04c6b318d643633883907ccee MISC metadata.xml 247 BLAKE2B f381ffd75f3fdb2842002ea885015f443cc35334f0420d70a61d6730bd55c11750d6a177831dc7c8564eec4dc3863db6085162e58848b0dceb09799006a1b2c5 SHA512 25494c0053fb7b2ed0f78ecc2de8a8ae08a971db8e15f89e906a1d43177fef53eb9ec5dd075a5c67ddee2be112c0943f6c87e4870d405436bddfea3a4fa19203 diff --git a/xfce-base/xfconf/xfconf-4.12.1-r1.ebuild b/xfce-base/xfconf/xfconf-4.12.1-r1.ebuild new file mode 100644 index 000000000000..d95b921ef80b --- /dev/null +++ b/xfce-base/xfconf/xfconf-4.12.1-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit virtualx xdg-utils + +DESCRIPTION="A configuration management system for Xfce" +HOMEPAGE="https://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 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="debug perl" + +RDEPEND=">=dev-libs/dbus-glib-0.98 + >=dev-libs/glib-2.30 + >=xfce-base/libxfce4util-4.10 + perl? ( + dev-lang/perl:=[-build(-)] + dev-perl/glib-perl + )" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext + perl? ( + dev-perl/ExtUtils-Depends + dev-perl/ExtUtils-PkgConfig + )" + +src_configure() { + local myconf=( + $(use_enable perl perl-bindings) + $(use_enable debug checks) + --with-perl-options=INSTALLDIRS=vendor + ) + [[ ${CHOST} == *-darwin* ]] && myconf+=( --disable-visibility ) #366857 + + xdg_environment_reset + econf "${myconf[@]}" +} + +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 + + default +} + +src_compile() { + emake OTHERLDFLAGS="${LDFLAGS}" +} + +my_test() { + local out=$(./xfconfd/xfconfd --daemon) || return 1 + eval "${out}" + + local ret=0 + # https://bugzilla.xfce.org/show_bug.cgi?id=13840 + nonfatal emake -j1 check || ret=1 + + kill "${XFCONFD_PID}" || ewarn "Unable to kill xfconfd" + return "${ret}" +} + +src_test() { + virtx my_test +} + +src_install() { + default + find "${D}" -type f -name '*.la' -delete || die + + if use perl; then + find "${ED}" -type f -name perllocal.pod -delete || die + find "${ED}" -depth -mindepth 1 -type d -empty -delete || die + fi +} |