Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-engines-murrine/
Date: Sat, 27 Nov 2021 16:01:42
Message-Id: 1638028892.a14eab8f5cdaa5ca332f703bd72ec27afc5f0134.marecki@gentoo
1 commit: a14eab8f5cdaa5ca332f703bd72ec27afc5f0134
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 27 15:56:16 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 27 16:01:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14eab8f
7
8 x11-themes/gtk-engines-murrine: update EAPI 5 -> 7
9
10 HOMEPAGE now points to the Debian tracker page because the upstream
11 site is gone.
12
13 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
14
15 .../gtk-engines-murrine-0.98.2-r2.ebuild | 49 ++++++++++++++++++++++
16 1 file changed, 49 insertions(+)
17
18 diff --git a/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r2.ebuild b/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r2.ebuild
19 new file mode 100644
20 index 000000000000..dd124f302e19
21 --- /dev/null
22 +++ b/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r2.ebuild
23 @@ -0,0 +1,49 @@
24 +# Copyright 1999-2021 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +GNOME_ORG_MODULE="murrine"
30 +
31 +inherit gnome.org multilib-minimal
32 +
33 +DESCRIPTION="Murrine GTK+2 Cairo Engine"
34 +HOMEPAGE="https://tracker.debian.org/pkg/gtk2-engines-murrine"
35 +
36 +LICENSE="LGPL-2.1 LGPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
39 +IUSE="+themes animation-rtl"
40 +
41 +RDEPEND=">=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}]
42 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
43 + >=x11-libs/gdk-pixbuf-2.30.7:2[${MULTILIB_USEDEP}]
44 + >=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}]
45 + >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}]
46 + >=x11-libs/pixman-0.32.4[${MULTILIB_USEDEP}]"
47 +PDEPEND="themes? ( x11-themes/murrine-themes )"
48 +DEPEND="${RDEPEND}"
49 +BDEPEND=">=dev-util/intltool-0.37.1
50 + sys-devel/gettext
51 + virtual/pkgconfig"
52 +
53 +DOCS=( AUTHORS ChangeLog NEWS TODO )
54 +
55 +src_prepare() {
56 + default
57 + # Linking fix, in next release (commit 6e8eb244). Sed to avoid eautoreconf.
58 + sed -e 's:\($(GTK_LIBS) $(pixman_LIBS)\)$:\1 -lm:' \
59 + -i Makefile.* || die "sed failed"
60 +}
61 +
62 +multilib_src_configure() {
63 + ECONF_SOURCE=${S} \
64 + econf --enable-animation \
65 + --enable-rgba \
66 + $(use_enable animation-rtl animationrtl)
67 +}
68 +
69 +multilib_src_install_all() {
70 + einstalldocs
71 + find "${ED}" -name '*.la' -delete || die
72 +}