1 |
commit: e79b34070c2735c24de828be78b4d86d86695df8 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 26 01:03:23 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 28 16:17:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e79b3407 |
7 |
|
8 |
dev-libs/libpeas: bump to 1.22.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
11 |
|
12 |
dev-libs/libpeas/Manifest | 1 + |
13 |
dev-libs/libpeas/libpeas-1.22.0.ebuild | 84 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 85 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libpeas/Manifest b/dev-libs/libpeas/Manifest |
17 |
index 357ea31b9d1..8de0c8b80c1 100644 |
18 |
--- a/dev-libs/libpeas/Manifest |
19 |
+++ b/dev-libs/libpeas/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libpeas-1.20.0.tar.xz 557872 BLAKE2B c10cd85ff6f15f2124541aba3b437e3216322647e36f93a2202df14aebda7c35896a5f77a40ddcd5a5f0300df11c274334cc3a8dfba3fe2745e0b364cb7eac4c SHA512 b3ddebf65e1a76493b5cd5150f60c13597c90398eea16c002e51d25449a595f7591bd0ccd1214ca3a8cbce724eb10f38a316e8c95092442034c048bc95cfdbf4 |
22 |
+DIST libpeas-1.22.0.tar.xz 561332 BLAKE2B 219918f8663cd60c9353f477ef905ce0d1e21bf5b7c09661c4cb3c8adbba3af9f5e93b9de8a1b098dab09b1f4071854a871c8ea1db878bda8fe9e51aa45e5f87 SHA512 9c1da1d4b5688c0f4d0647f3519dbfbed94c8921091057aaef0e41bf5ed3f8faf04a49ce9e4eea3fd7bf4ac4dfa1727d76a5f6dae2a4f52228d4c8c74b420c91 |
23 |
|
24 |
diff --git a/dev-libs/libpeas/libpeas-1.22.0.ebuild b/dev-libs/libpeas/libpeas-1.22.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8d8c434cf02 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libpeas/libpeas-1.22.0.ebuild |
29 |
@@ -0,0 +1,84 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+GNOME2_LA_PUNT="yes" |
35 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} ) |
36 |
+ |
37 |
+inherit autotools eutils gnome2 multilib python-single-r1 virtualx |
38 |
+ |
39 |
+DESCRIPTION="A GObject plugins library" |
40 |
+HOMEPAGE="https://developer.gnome.org/libpeas/stable/" |
41 |
+ |
42 |
+LICENSE="LGPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" |
45 |
+ |
46 |
+IUSE="+gtk glade lua luajit +python" |
47 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-libs/glib-2.38:2 |
51 |
+ >=dev-libs/gobject-introspection-1.39:= |
52 |
+ glade? ( >=dev-util/glade-3.9.1:3.10 ) |
53 |
+ gtk? ( >=x11-libs/gtk+-3:3[introspection] ) |
54 |
+ lua? ( |
55 |
+ >=dev-lua/lgi-0.9.0 |
56 |
+ luajit? ( >=dev-lang/luajit-2:2 ) |
57 |
+ !luajit? ( =dev-lang/lua-5.1*:0 ) ) |
58 |
+ python? ( |
59 |
+ ${PYTHON_DEPS} |
60 |
+ >=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}] ) |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ >=dev-util/gtk-doc-am-1.11 |
64 |
+ >=dev-util/intltool-0.40 |
65 |
+ virtual/pkgconfig |
66 |
+ |
67 |
+ dev-libs/gobject-introspection-common |
68 |
+ gnome-base/gnome-common |
69 |
+" |
70 |
+# eautoreconf needs gobject-introspection-common, gnome-common |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ use python && python-single-r1_pkg_setup |
74 |
+} |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ # Gentoo uses unversioned lua - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1 |
78 |
+ eapply "${FILESDIR}"/${PN}-1.14.0-lua.pc.patch |
79 |
+ eautoreconf |
80 |
+ gnome2_src_prepare |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov |
85 |
+ # What do we do about gdb, valgrind, gcov, etc? |
86 |
+ local myconf=( |
87 |
+ $(use_enable glade glade-catalog) |
88 |
+ $(use_enable gtk) |
89 |
+ --disable-static |
90 |
+ |
91 |
+ # py2 not supported anymore |
92 |
+ --disable-python2 |
93 |
+ $(use_enable python python3) |
94 |
+ |
95 |
+ # lua |
96 |
+ $(use_enable lua lua5.1) |
97 |
+ $(use_enable $(usex luajit lua luajit) luajit) |
98 |
+ ) |
99 |
+ |
100 |
+ gnome2_src_configure "${myconf[@]}" |
101 |
+} |
102 |
+ |
103 |
+src_test() { |
104 |
+ # This looks fixed since 1.18.0: |
105 |
+ # |
106 |
+ # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme |
107 |
+ # DO NOT REPORT UPSTREAM, this is not a libpeas bug. |
108 |
+ # To reproduce: |
109 |
+ # >>> from gi.repository import Gtk |
110 |
+ # >>> Gtk.IconTheme.get_default().has_icon("gtk-about") |
111 |
+ # This should return True, it returns False for Xvfb |
112 |
+ virtx emake check |
113 |
+} |