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: x11-themes/gtk-engines-xfce/
Date: Sun, 08 Apr 2018 08:29:36
Message-Id: 1523176163.c3d73f231cd51f15ded9dc6cbca2fa31190d2017.mgorny@gentoo
1 commit: c3d73f231cd51f15ded9dc6cbca2fa31190d2017
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 07:15:14 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 08:29:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d73f23
7
8 x11-themes/gtk-engines-xfce: Port to EAPI=6
9
10 .../gtk-engines-xfce-3.2.0-r201.ebuild | 36 ++++++++++++++++++++++
11 .../gtk-engines-xfce-3.2.0-r301.ebuild | 36 ++++++++++++++++++++++
12 2 files changed, 72 insertions(+)
13
14 diff --git a/x11-themes/gtk-engines-xfce/gtk-engines-xfce-3.2.0-r201.ebuild b/x11-themes/gtk-engines-xfce/gtk-engines-xfce-3.2.0-r201.ebuild
15 new file mode 100644
16 index 00000000000..87d432f8a43
17 --- /dev/null
18 +++ b/x11-themes/gtk-engines-xfce/gtk-engines-xfce-3.2.0-r201.ebuild
19 @@ -0,0 +1,36 @@
20 +# Copyright 1999-2018 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +
23 +EAPI=6
24 +MY_PN=gtk-xfce-engine
25 +inherit multilib-minimal
26 +
27 +DESCRIPTION="A port of Xfce engine to GTK+ 2.x"
28 +HOMEPAGE="https://git.xfce.org/xfce/gtk-xfce-engine/"
29 +SRC_URI="mirror://xfce/src/xfce/${MY_PN}/${PV%.*}/${MY_PN}-${PV}.tar.bz2"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
34 +IUSE=""
35 +
36 +RDEPEND=">=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}]
37 + >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}]"
38 +DEPEND="${RDEPEND}
39 + virtual/pkgconfig[${MULTILIB_USEDEP}]"
40 +
41 +S=${WORKDIR}/${MY_PN}-${PV}
42 +
43 +multilib_src_configure() {
44 + local ECONF_SOURCE=${S}
45 + local myconf=(
46 + --enable-gtk2
47 + --disable-gtk3
48 + )
49 + econf "${myconf[@]}"
50 +}
51 +
52 +multilib_src_install_all() {
53 + einstalldocs
54 + find "${D}" -name '*.la' -delete || die
55 +}
56
57 diff --git a/x11-themes/gtk-engines-xfce/gtk-engines-xfce-3.2.0-r301.ebuild b/x11-themes/gtk-engines-xfce/gtk-engines-xfce-3.2.0-r301.ebuild
58 new file mode 100644
59 index 00000000000..784947e3a22
60 --- /dev/null
61 +++ b/x11-themes/gtk-engines-xfce/gtk-engines-xfce-3.2.0-r301.ebuild
62 @@ -0,0 +1,36 @@
63 +# Copyright 1999-2018 Gentoo Foundation
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI=6
67 +MY_PN=gtk-xfce-engine
68 +inherit multilib-minimal
69 +
70 +DESCRIPTION="A port of Xfce engine to GTK+ 3.x"
71 +HOMEPAGE="https://www.xfce.org/projects/"
72 +SRC_URI="mirror://xfce/src/xfce/${MY_PN}/${PV%.*}/${MY_PN}-${PV}.tar.bz2"
73 +
74 +LICENSE="GPL-2"
75 +SLOT="3"
76 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
77 +IUSE=""
78 +
79 +RDEPEND=">=dev-libs/glib-2.24[${MULTILIB_USEDEP}]
80 + >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP}]"
81 +DEPEND="${RDEPEND}
82 + virtual/pkgconfig[${MULTILIB_USEDEP}]"
83 +
84 +S=${WORKDIR}/${MY_PN}-${PV}
85 +
86 +multilib_src_configure() {
87 + local ECONF_SOURCE=${S}
88 + local myconf=(
89 + --disable-gtk2
90 + --enable-gtk3
91 + )
92 + econf "${myconf[@]}"
93 +}
94 +
95 +multilib_src_install_all() {
96 + einstalldocs
97 + find "${D}" -name '*.la' -delete || die
98 +}