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: Wed, 28 Nov 2018 19:57:01
Message-Id: 1543434954.6e4f29fa6597d8cef241c5092b8c200433921af4.k_f@gentoo
1 commit: 6e4f29fa6597d8cef241c5092b8c200433921af4
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 24 17:59:18 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 28 19:55:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4f29fa
7
8 x11-libs/xapps: New upstream version 1.4.2
9
10 Signed-off-by: Kristian Fiskerstrand <k_f <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 x11-libs/xapps/Manifest | 1 +
14 x11-libs/xapps/xapps-1.4.2.ebuild | 61 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest
18 index 61252395c33..3d9a425c3b2 100644
19 --- a/x11-libs/xapps/Manifest
20 +++ b/x11-libs/xapps/Manifest
21 @@ -1 +1,2 @@
22 DIST xapps-1.0.4.tar.gz 129497 BLAKE2B d668ff840fa83b4a037c4b0f1c502e1851236d7998c4e5c7161a779e170eee6f6f47a2a17e71f332edf3f42f6ccb88c20379ad3b12847277f5e57a3b3765f2ef SHA512 1b735167f8edf15be1093255691c67ee1ae99664a714b75d46b1b782b00a6d1da72befc484ee66f070a829b6b8fd4dfa50bec5033220f66a1a4b577363b673b7
23 +DIST xapps-1.4.2.tar.gz 69709 BLAKE2B 514e4cb2e614ccd9fa303625eb5ffb818847447b29d6d989c2abdc90b6b9840dac6124d8484b71ffc2e489a925f83dae597c0904aa79cd5d5a0c27d44420da96 SHA512 2d16bd893a16876270c41d755c62ca454f561931750acc719c480e63036b70dca8dae25e6a313f13ed0daae09fd650e0efcef9d272c405ccd9c04147aaf59fe2
24
25 diff --git a/x11-libs/xapps/xapps-1.4.2.ebuild b/x11-libs/xapps/xapps-1.4.2.ebuild
26 new file mode 100644
27 index 00000000000..b5abeaa603a
28 --- /dev/null
29 +++ b/x11-libs/xapps/xapps-1.4.2.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2018 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +VALA_USE_DEPEND="vapigen"
37 +inherit vala meson gnome2-utils xdg-utils
38 +
39 +DESCRIPTION="Cross-desktop libraries and common resources"
40 +HOMEPAGE="https://github.com/linuxmint/xapps/"
41 +LICENSE="GPL-3"
42 +
43 +SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +SLOT="0"
47 +IUSE="introspection static-libs"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.37.3:2
51 + dev-libs/gobject-introspection:0=
52 + gnome-base/libgnomekbd
53 + gnome-base/gnome-common
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 + sys-devel/gettext
61 + dev-util/gtk-doc
62 + dev-util/gtk-doc-am
63 + $(vala_depend)
64 +"
65 +
66 +src_prepare() {
67 + xdg_environment_reset
68 + vala_src_prepare
69 + default
70 +}
71 +
72 +src_configure() {
73 + meson_src_configure \
74 + -Dwith-docs=true
75 +}
76 +
77 +src_install() {
78 + meson_src_install
79 + rm -rf "${ED%/}"/usr/bin || die
80 +
81 + # package provides .pc files
82 + find "${D}" -name '*.la' -delete || die
83 +}
84 +
85 +pkg_postinst() {
86 + gnome2_icon_cache_update
87 +}
88 +
89 +pkg_postrm() {
90 + gnome2_icon_cache_update
91 +}