1 |
commit: f29caa82decaffcd5f705734e05537e8ddf741a7 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 19:21:43 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 24 20:04:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29caa82 |
7 |
|
8 |
dev-libs/libpeas: Version bump to 1.34.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libpeas/Manifest | 1 + |
13 |
dev-libs/libpeas/libpeas-1.34.0.ebuild | 96 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 97 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libpeas/Manifest b/dev-libs/libpeas/Manifest |
17 |
index 1242cd351aa5..661b66282c1b 100644 |
18 |
--- a/dev-libs/libpeas/Manifest |
19 |
+++ b/dev-libs/libpeas/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libpeas-1.32.0.tar.xz 193572 BLAKE2B a29be56dd4add53ac11e52e7a9b6f9aaf1634bec0be6efe33d99fbb1a323cdc2f9d81917f160c3d8f4b88068d13a3b6cc732aa147bba1c1e524ed5eb1e238ad9 SHA512 520a5fd8657f75dc0e28a17ccab88a2952d018f81384eaea0fc65779e66b0ebc79b0dc8ce184e49d43406381c75c2028b402c1bb9d650eae2edf35ec8617a897 |
22 |
+DIST libpeas-1.34.0.tar.xz 194716 BLAKE2B 8162a7475e54d43ac7d2f75e80a2ff3aa9256432ad6c2dfa4071ff3660455db3523b650f4fde7a0ede52b73fcd591323b4fa39f61e3127b19d391c00d91ec2b7 SHA512 3d8877b15d1aecdce6768bcbbd69471b8b009596e60b54a781fe961d24f18f33af62838552a98ee0aa8b2ef0855837cd10189b3b9c9040f7dc40c17f42922b1b |
23 |
|
24 |
diff --git a/dev-libs/libpeas/libpeas-1.34.0.ebuild b/dev-libs/libpeas/libpeas-1.34.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..bfad7da20729 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libpeas/libpeas-1.34.0.ebuild |
29 |
@@ -0,0 +1,96 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+LUA_COMPAT=( lua5-1 luajit ) |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit gnome.org lua-single meson python-single-r1 vala virtualx xdg |
39 |
+ |
40 |
+DESCRIPTION="A GObject plugins library" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Libpeas https://gitlab.gnome.org/GNOME/libpeas" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+ |
47 |
+IUSE="glade +gtk gtk-doc lua +python vala" |
48 |
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) |
49 |
+ python? ( ${PYTHON_REQUIRED_USE} )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/glib-2.38:2 |
53 |
+ >=dev-libs/gobject-introspection-1.39:= |
54 |
+ gtk? ( >=x11-libs/gtk+-3.0.0:3[introspection] ) |
55 |
+ glade? ( >=dev-util/glade-3.9.1:3.10 ) |
56 |
+ lua? ( |
57 |
+ ${LUA_DEPS} |
58 |
+ $(lua_gen_cond_dep ' |
59 |
+ >=dev-lua/lgi-0.9.0[${LUA_USEDEP}] |
60 |
+ ') |
61 |
+ ) |
62 |
+ python? ( |
63 |
+ ${PYTHON_DEPS} |
64 |
+ $(python_gen_cond_dep ' |
65 |
+ >=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}] |
66 |
+ ') |
67 |
+ ) |
68 |
+" |
69 |
+DEPEND="${RDEPEND}" |
70 |
+BDEPEND=" |
71 |
+ dev-util/glib-utils |
72 |
+ gtk-doc? ( |
73 |
+ >=dev-util/gtk-doc-1.11 |
74 |
+ >=dev-util/gi-docgen-2021.7 |
75 |
+ app-text/docbook-xml-dtd:4.3 |
76 |
+ ) |
77 |
+ >=sys-devel/gettext-0.19.8 |
78 |
+ virtual/pkgconfig |
79 |
+" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ # Gentoo-specific lua tweak hack |
83 |
+ "${FILESDIR}"/1.26.0-lua.patch |
84 |
+) |
85 |
+ |
86 |
+pkg_setup() { |
87 |
+ use lua && lua-single_pkg_setup |
88 |
+ use python && python-single-r1_pkg_setup |
89 |
+} |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ default |
93 |
+ use vala && vala_setup |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ local emesonargs=( |
98 |
+ $(meson_feature $(usex lua '!lua_single_target_luajit' 'lua') lua51) |
99 |
+ $(meson_feature $(usex lua 'lua_single_target_luajit' 'lua') luajit) |
100 |
+ -Dpython2=false |
101 |
+ $(meson_use python python3) |
102 |
+ # introspection was always enabled in autotools; would need readiness by consumers |
103 |
+ # to USE flag it, but most need it for python plugins anyways |
104 |
+ -Dintrospection=true |
105 |
+ $(meson_use vala vapi) |
106 |
+ $(meson_use gtk widgetry) |
107 |
+ $(meson_use glade glade_catalog) |
108 |
+ -Ddemos=false |
109 |
+ $(meson_use gtk-doc gtk_doc) |
110 |
+ ) |
111 |
+ meson_src_configure |
112 |
+} |
113 |
+ |
114 |
+src_test() { |
115 |
+ virtx meson_src_test |
116 |
+} |
117 |
+ |
118 |
+src_install() { |
119 |
+ meson_src_install |
120 |
+ |
121 |
+ if use gtk-doc; then |
122 |
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die |
123 |
+ mv "${ED}"/usr/share/doc/libpeas{,-gtk}-1.0 "${ED}"/usr/share/gtk-doc/html/ || die |
124 |
+ fi |
125 |
+} |