Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/xapps/
Date: Sun, 27 Nov 2016 21:33:18
Message-Id: 1480282381.28d17d57a580ffbc0ae0443908b4b51ed15e2d41.k_f@gentoo
1 commit: 28d17d57a580ffbc0ae0443908b4b51ed15e2d41
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 27 21:30:21 2016 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 27 21:33:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d17d57
7
8 x11-libs/xapps: Fixes to previous addition
9
10 Package-Manager: portage-2.3.2
11
12 .../{xapps-1.0.2.ebuild => xapps-1.0.2-r1.ebuild} | 46 ++++++++++++++++------
13 1 file changed, 33 insertions(+), 13 deletions(-)
14
15 diff --git a/x11-libs/xapps/xapps-1.0.2.ebuild b/x11-libs/xapps/xapps-1.0.2-r1.ebuild
16 similarity index 56%
17 rename from x11-libs/xapps/xapps-1.0.2.ebuild
18 rename to x11-libs/xapps/xapps-1.0.2-r1.ebuild
19 index b9d1b33..7bc074f 100644
20 --- a/x11-libs/xapps/xapps-1.0.2.ebuild
21 +++ b/x11-libs/xapps/xapps-1.0.2-r1.ebuild
22 @@ -2,35 +2,55 @@
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 -EAPI=5
27 +EAPI=6
28
29 -inherit autotools
30 -
31 -SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 -KEYWORDS="~amd64 ~x86"
33 +inherit autotools gnome2-utils
34
35 DESCRIPTION="Cross-desktop libraries and common resources"
36 HOMEPAGE="https://github.com/linuxmint/xapps/"
37 +LICENSE="GPL-3"
38 +
39 +SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +KEYWORDS="~amd64 ~x86"
41
42 -LICENSE="LGPL-3"
43 SLOT="0"
44 +IUSE="static-libs"
45
46 RDEPEND="
47 - >=x11-libs/gdk-pixbuf-2.22.0:2[introspection]
48 - >=x11-libs/gtk+-3.3.16:3[introspection]
49 >=dev-libs/glib-2.37.3:2
50 - x11-libs/cairo
51 gnome-base/libgnomekbd
52 gnome-base/gnome-common
53 + dev-libs/gobject-introspection:0=
54 + x11-libs/cairo
55 + >=x11-libs/gdk-pixbuf-2.22.0:2[introspection]
56 + >=x11-libs/gtk+-3.3.16:3[introspection]
57 + x11-libs/libxkbfile
58 "
59 -DEPEND="${RDEPEND}"
60
61 -src_prepare(){
62 +DEPEND="${RDEPEND}
63 + "
64 +
65 +src_prepare() {
66 + eapply_user
67 eautoreconf
68 - default
69 }
70
71 -src_install(){
72 +src_configure() {
73 + econf \
74 + $(use_enable static-libs static) \
75 + $(use_enable introspection)
76 +}
77 +
78 +src_install() {
79 default
80 rm -rf "${D}/usr/bin/" || die
81 + [ use static-libs ] || rm -rf "${D}/usr/lib64/libxapp.la" || die
82 +}
83 +
84 +pkg_postinst() {
85 + gnome2_icon_cache_update
86 +}
87 +
88 +pkg_postrm() {
89 + gnome2_icon_cache_update
90 }