Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfconf/
Date: Mon, 12 Aug 2019 03:06:31
Message-Id: 1565578724.5b66859a18199687a4e899107c30644d5ce86f9e.mgorny@gentoo
1 commit: 5b66859a18199687a4e899107c30644d5ce86f9e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 12 02:52:42 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 12 02:58:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b66859a
7
8 xfce-base/xfconf: Bump to 4.14.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 xfce-base/xfconf/Manifest | 1 +
13 xfce-base/xfconf/xfconf-4.14.1.ebuild | 87 +++++++++++++++++++++++++++++++++++
14 2 files changed, 88 insertions(+)
15
16 diff --git a/xfce-base/xfconf/Manifest b/xfce-base/xfconf/Manifest
17 index 3cd9e9ece1d..5856f5da98a 100644
18 --- a/xfce-base/xfconf/Manifest
19 +++ b/xfce-base/xfconf/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xfconf-4.12.1.tar.bz2 564131 BLAKE2B 893210f19d743559b0879e9e38004400c8f8af0b6b8c72db4602360eee2ee7058f074e86f2f9e4397f6e728eae0148d3621424461d53e84ad768d7f0673ed08a SHA512 114dba6a78d43b25eebfd9ef78beec75391b0c77e736e66ae2b04fe97dc281f93d05467ddfdd63a5067f44de135347564fe55928ae7de72f0984339db411d77f
22 DIST xfconf-4.13.7.tar.bz2 618676 BLAKE2B 8f7dd97530d4781e2d46d8139800f54991d932db5de0050e66d711bafef1daa0355383fd139789037a92b462042563a9aa2269295785b2f8217a0e9ff6a00c80 SHA512 113fb22b449a318b0cca6521914eda6cfeb6b2056a1aad4d49a5e83c28661c843c9912bbf7eddb7d6cd1f172b532c73dd02259bf6fabe60a377024f9f8d5825d
23 DIST xfconf-4.13.8.tar.bz2 635519 BLAKE2B 4f8a05063b5acfa34e8a09637050e4c30917966708e956a3d8373d4872e0468e3b546728bafed18f2c6ec1e540170343e59071d5100ff2ec63bb0bbf4dcfe577 SHA512 2b6afee1c9299e56e1576f93b34410c99b16109e83b0b34c4e13d952997d4812de6a6ab69f015c8f7fb8cf01e1b00b5d953261c3cbbfeab216c878aae3618f77
24 +DIST xfconf-4.14.1.tar.bz2 644804 BLAKE2B 1b04770fa9b3f4901f561bc3978dd7ffdbfea9496330a98334ffb19c0c7413b0540423f20200e2e5191ff876f3e2c32ca8354bbab70aac4de00592d995f77e72 SHA512 727d013f7e71e0eb9ff17e464acd65c1fa507f8eba1bd29621dae070161042f60f47b8ac048b28849bf45232d04d5d6e48530aa0bd1e661a3f58db47703a8808
25
26 diff --git a/xfce-base/xfconf/xfconf-4.14.1.ebuild b/xfce-base/xfconf/xfconf-4.14.1.ebuild
27 new file mode 100644
28 index 00000000000..5e07578769e
29 --- /dev/null
30 +++ b/xfce-base/xfconf/xfconf-4.14.1.ebuild
31 @@ -0,0 +1,87 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit vala
38 +
39 +DESCRIPTION="A configuration management system for Xfce"
40 +HOMEPAGE="https://www.xfce.org/projects/"
41 +SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0/3"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-solaris"
46 +IUSE="debug introspection perl vala"
47 +REQUIRED_USE="vala? ( introspection )"
48 +
49 +RDEPEND=">=dev-libs/glib-2.42
50 + >=xfce-base/libxfce4util-4.10:=
51 + introspection? ( dev-libs/gobject-introspection:= )
52 + perl? (
53 + dev-lang/perl:=[-build(-)]
54 + dev-perl/glib-perl
55 + )
56 + !<xfce-base/xfce4-panel-4.13.1
57 + !<xfce-base/xfce4-settings-4.13.1"
58 +DEPEND="${RDEPEND}
59 + dev-util/gdbus-codegen
60 + dev-util/glib-utils
61 + dev-util/intltool
62 + virtual/pkgconfig
63 + sys-devel/gettext
64 + perl? (
65 + dev-perl/ExtUtils-Depends
66 + dev-perl/ExtUtils-PkgConfig
67 + )
68 + vala? ( $(vala_depend) )"
69 +
70 +src_prepare() {
71 + # stupid vala.eclass...
72 + default
73 +}
74 +
75 +src_configure() {
76 + local myconf=(
77 + $(use_enable perl perl-bindings)
78 + $(use_enable introspection)
79 + $(use_enable vala)
80 + $(use_enable debug checks)
81 + --with-perl-options=INSTALLDIRS=vendor
82 + )
83 +
84 + use vala && vala_src_prepare
85 + econf "${myconf[@]}"
86 +}
87 +
88 +src_test() {
89 + local service_dir=${HOME}/.local/share/dbus-1/services
90 + mkdir -p "${service_dir}" || die
91 + cat > "${service_dir}/org.xfce.Xfconf.service" <<-EOF || die
92 + [D-BUS Service]
93 + Name=org.xfce.Xfconf
94 + Exec=${S}/xfconfd/xfconfd
95 + EOF
96 +
97 + (
98 + # start isolated dbus session bus
99 + dbus_data=$(dbus-launch --sh-syntax) || exit
100 + eval "${dbus_data}"
101 +
102 + nonfatal emake check
103 + ret=${?}
104 +
105 + kill "${DBUS_SESSION_BUS_PID}"
106 + exit "${ret}"
107 + ) || die
108 +}
109 +
110 +src_install() {
111 + default
112 + find "${D}" -type f -name '*.la' -delete || die
113 +
114 + if use perl; then
115 + find "${ED}" -type f -name perllocal.pod -delete || die
116 + find "${ED}" -depth -mindepth 1 -type d -empty -delete || die
117 + fi
118 +}