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: Sat, 24 Jun 2017 14:58:47
Message-Id: 1498316312.3133b6aebb2264db3c571a40cc1c9ff645ef8666.k_f@gentoo
1 commit: 3133b6aebb2264db3c571a40cc1c9ff645ef8666
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 24 14:55:25 2017 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 24 14:58:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3133b6ae
7
8 x11-libs/xapps: New upstream version 1.0.3
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 x11-libs/xapps/Manifest | 1 +
13 x11-libs/xapps/xapps-1.0.3.ebuild | 58 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest
17 index 795ed39f563..ace91cf8306 100644
18 --- a/x11-libs/xapps/Manifest
19 +++ b/x11-libs/xapps/Manifest
20 @@ -1 +1,2 @@
21 DIST xapps-1.0.2.tar.gz 109067 SHA256 1443e9f319763f8b90749ea9669880005f315af060f7bbaa2b4241b4c4ca49a4 SHA512 59426a8e39af48eb6435cb649fd88601a1a324d284ed9d222f12b7e52e70a0b250235b5924af1ecb7d6f3abd6c8e53e0cf38672c94dff44193f01dbc90c35646 WHIRLPOOL 6e4f01f17c7450b246dbfbed3fa229315166f5223c051422be7fd8510df376d6e916ab5e9eaac645abd57e055ac89da81291aa73de38af6a9129497f1994201d
22 +DIST xapps-1.0.3.tar.gz 121490 SHA256 bb1b89b586eec67fc109140de791710c5b4ec488b01ef3ac261e288a27b4797e SHA512 1182062153fc7344f94e9a25e98a457237b54c4841e425d202f8b57751f288e460423ca7408a888aff7a2b162acd194efda332b6acbd0a5cc2c12ae9414ea3c3 WHIRLPOOL 43784ca1328d810f38a3843eb0ef9bc9ac9a30c4bbc524c4898e0f7f3c0e6bbe3ceb507be4d48e962f06be8a652ffbc4a80ac3ed76d0807cce80d1d86f87c211
23
24 diff --git a/x11-libs/xapps/xapps-1.0.3.ebuild b/x11-libs/xapps/xapps-1.0.3.ebuild
25 new file mode 100644
26 index 00000000000..845c739490a
27 --- /dev/null
28 +++ b/x11-libs/xapps/xapps-1.0.3.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit autotools gnome2-utils xdg-utils
36 +
37 +DESCRIPTION="Cross-desktop libraries and common resources"
38 +HOMEPAGE="https://github.com/linuxmint/xapps/"
39 +LICENSE="GPL-3"
40 +
41 +SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +KEYWORDS="~amd64 ~x86"
43 +
44 +SLOT="0"
45 +IUSE="introspection static-libs"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.37.3:2
49 + dev-libs/gobject-introspection:0=
50 + gnome-base/libgnomekbd
51 + gnome-base/gnome-common
52 + x11-libs/cairo
53 + >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?]
54 + >=x11-libs/gtk+-3.3.16:3[introspection?]
55 + x11-libs/libxkbfile
56 +"
57 +DEPEND="${RDEPEND}
58 + sys-devel/gettext
59 +"
60 +
61 +src_prepare() {
62 + xdg_environment_reset
63 + default
64 + eautoreconf
65 +}
66 +
67 +src_configure() {
68 + econf \
69 + $(use_enable introspection) \
70 + $(use_enable static-libs static)
71 +}
72 +
73 +src_install() {
74 + default
75 + rm -rf "${ED%/}"/usr/bin || die
76 +
77 + # package provides .pc files
78 + find "${D}" -name '*.la' -delete || die
79 +}
80 +
81 +pkg_postinst() {
82 + gnome2_icon_cache_update
83 +}
84 +
85 +pkg_postrm() {
86 + gnome2_icon_cache_update
87 +}