1 |
commit: a392bc84fc0e36bd78218c3a1c691dd9c856aacc |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 12:23:43 2021 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 12:23:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a392bc84 |
7 |
|
8 |
dev-libs/libappindicator: Bump to latest snapshot used in Ubuntu |
9 |
|
10 |
Bug: https://bugs.gentoo.org/569702 |
11 |
Closes: https://bugs.gentoo.org/621452 |
12 |
Closes: https://bugs.gentoo.org/706084 |
13 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
14 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libappindicator/Manifest | 1 + |
17 |
.../libappindicator-12.10.1_p20200706.ebuild | 71 ++++++++++++++++++++++ |
18 |
2 files changed, 72 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/libappindicator/Manifest b/dev-libs/libappindicator/Manifest |
21 |
index 883177ca882..dd1b5ead3d1 100644 |
22 |
--- a/dev-libs/libappindicator/Manifest |
23 |
+++ b/dev-libs/libappindicator/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST libappindicator-12.10.0.tar.gz 535562 BLAKE2B a05dc839aaea9fb3fda118d16aac0eb5c35e6c5095a83eb5e8a2af4902bc1da14960fbd57d3cda5d4d5d874023549ce83657a515aa9ee16a54cadfa81062d993 SHA512 317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a |
26 |
+DIST libappindicator_12.10.1+20.10.20200706.1.orig.tar.gz 75204 BLAKE2B ccc7909f25946413cf39275d8565afca253b3a2676272e4d3833f030a114e7be695fe958d2d99868a20d03a2b9c4a1fcd7fdfba07325b7a9f7f39879851e0366 SHA512 cc60875b1c4ab06348eece442a59a4057d7e13f25605435902242558e8dd5e66aeeee6725b9bd2662ef89052d3614dc4577ed8c233e9b84236a75e771aa67352 |
27 |
|
28 |
diff --git a/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild b/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..d9f65441712 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild |
33 |
@@ -0,0 +1,71 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+VALA_USE_DEPEND="vapigen" |
39 |
+ |
40 |
+inherit autotools multilib-minimal vala |
41 |
+ |
42 |
+DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar" |
43 |
+HOMEPAGE="https://launchpad.net/libappindicator" |
44 |
+ |
45 |
+MY_PV="${PV%_p*}" |
46 |
+PATCH_VERSION="${PV#*_p}" |
47 |
+SRC_URI="mirror://ubuntu/pool/main/liba/${PN}/${PN}_${MY_PV}+20.10.${PATCH_VERSION}.1.orig.tar.gz" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1 LGPL-3" |
50 |
+SLOT="3" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" |
52 |
+IUSE="+introspection test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-libs/dbus-glib-0.98[${MULTILIB_USEDEP}] |
56 |
+ >=dev-libs/glib-2.35.4:2[${MULTILIB_USEDEP}] |
57 |
+ >=dev-libs/libdbusmenu-0.6.2[gtk3,${MULTILIB_USEDEP}] |
58 |
+ >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP},introspection?] |
59 |
+ introspection? ( >=dev-libs/gobject-introspection-1:= ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+BDEPEND=" |
63 |
+ introspection? ( $(vala_depend) ) |
64 |
+ >=dev-util/gtk-doc-am-1.14 |
65 |
+ virtual/pkgconfig |
66 |
+ test? ( dev-util/dbus-test-runner ) |
67 |
+" |
68 |
+ |
69 |
+S="${WORKDIR}" |
70 |
+ |
71 |
+# FIXME: tests keep trying to access dirs they don't have access, feel free |
72 |
+# to report a bug about how to avoid that |
73 |
+RESTRICT="test" |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ default |
77 |
+ eautoreconf |
78 |
+ |
79 |
+ # Disable MONO for now because of https://bugs.gentoo.org/382491 |
80 |
+ sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die |
81 |
+} |
82 |
+ |
83 |
+multilib_src_configure() { |
84 |
+ if multilib_is_native_abi; then |
85 |
+ local -x VALAC VALA_API_GEN VAPIGEN_VAPIDIR PKG_CONFIG_PATH |
86 |
+ use introspection && vala_src_prepare && export VALA_API_GEN="${VAPIGEN}" |
87 |
+ fi |
88 |
+ |
89 |
+ ECONF_SOURCE="${S}" \ |
90 |
+ econf \ |
91 |
+ --disable-static \ |
92 |
+ --with-gtk=3 \ |
93 |
+ $(multilib_native_use_enable introspection) |
94 |
+} |
95 |
+ |
96 |
+multilib_src_test() { |
97 |
+ # Prevent tests from trying to write on /dev/fuse |
98 |
+ GVFS_DISABLE_FUSE=1 dbus-run-session emake check |
99 |
+} |
100 |
+ |
101 |
+multilib_src_install_all() { |
102 |
+ einstalldocs |
103 |
+ find "${ED}" -name '*.la' -delete || die |
104 |
+} |