1 |
commit: 8961258d6c143aa4d9a8e9da0470044bcc92c317 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 17 16:40:58 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 17:47:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8961258d |
7 |
|
8 |
gui-libs/libhandy: Initial import |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
gui-libs/libhandy/Manifest | 1 + |
14 |
gui-libs/libhandy/libhandy-0.0.9.ebuild | 61 +++++++++++++++++++++++++++++++++ |
15 |
gui-libs/libhandy/metadata.xml | 13 +++++++ |
16 |
3 files changed, 75 insertions(+) |
17 |
|
18 |
diff --git a/gui-libs/libhandy/Manifest b/gui-libs/libhandy/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..e5c93a20fa4 |
21 |
--- /dev/null |
22 |
+++ b/gui-libs/libhandy/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST libhandy-v0.0.9.tar.bz2 110100 BLAKE2B c1abf60b37d76a0b2f0ed82152decc9a87c9feff664af8df91ede192018a70003ac7ff3c1307668e7196089f59bb5dc21d1449ccc1deb3e2e362f32ff8f9f30b SHA512 d3256c2ff49a7fd0ccfec14ba3e34ed51577841c1670902d25f2a0166e63820428e689c722dddbccf787e1380c7f9a8ddc5b9042a1632b688b151ecce0f6d262 |
25 |
|
26 |
diff --git a/gui-libs/libhandy/libhandy-0.0.9.ebuild b/gui-libs/libhandy/libhandy-0.0.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..06eafda4c3d |
29 |
--- /dev/null |
30 |
+++ b/gui-libs/libhandy/libhandy-0.0.9.ebuild |
31 |
@@ -0,0 +1,61 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit meson xdg vala virtualx |
38 |
+ |
39 |
+MY_P="${PN}-v${PV}" |
40 |
+DESCRIPTION="Library with GTK widgets for mobile phones" |
41 |
+HOMEPAGE="https://source.puri.sm/Librem5/libhandy/" |
42 |
+SRC_URI="https://source.puri.sm/Librem5/libhandy/-/archive/v${PV}/${MY_P}.tar.bz2" |
43 |
+S="${WORKDIR}/${MY_P}" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1+" |
46 |
+SLOT="0.0/0" # It may or may not break ABI in future versions at this point; if new |
47 |
+# SLOT happens, it'll likely file conflict on gtk-doc and glade library and catalog |
48 |
+KEYWORDS="~amd64" |
49 |
+ |
50 |
+IUSE="examples glade gtk-doc +introspection test vala" |
51 |
+REQUIRED_USE="vala? ( introspection )" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-libs/glib-2.44:2 |
56 |
+ >=x11-libs/gtk+-3.24.1:3[introspection?] |
57 |
+ glade? ( dev-util/glade:3.10= ) |
58 |
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND}" |
61 |
+BDEPEND=" |
62 |
+ vala? ( $(vala_depend) ) |
63 |
+ dev-libs/libxml2:2 |
64 |
+ dev-util/glib-utils |
65 |
+ >=sys-devel/gettext-0.19.8 |
66 |
+ virtual/pkgconfig |
67 |
+ gtk-doc? ( dev-util/gtk-doc |
68 |
+ app-text/docbook-xml-dtd:4.3 ) |
69 |
+" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ use vala && vala_src_prepare |
73 |
+ xdg_src_prepare |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local emesonargs=( |
78 |
+ -Dprofiling=false # -pg passing |
79 |
+ -Dstatic=false |
80 |
+ $(meson_feature introspection) |
81 |
+ $(meson_use vala vapi) |
82 |
+ $(meson_use gtk-doc gtk_doc) |
83 |
+ $(meson_use test tests) |
84 |
+ $(meson_use examples) |
85 |
+ $(meson_feature glade glade_catalog) |
86 |
+ ) |
87 |
+ meson_src_configure |
88 |
+} |
89 |
+ |
90 |
+src_test() { |
91 |
+ virtx meson_src_test |
92 |
+} |
93 |
|
94 |
diff --git a/gui-libs/libhandy/metadata.xml b/gui-libs/libhandy/metadata.xml |
95 |
new file mode 100644 |
96 |
index 00000000000..65bbdf40f15 |
97 |
--- /dev/null |
98 |
+++ b/gui-libs/libhandy/metadata.xml |
99 |
@@ -0,0 +1,13 @@ |
100 |
+<?xml version="1.0" encoding="UTF-8"?> |
101 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
102 |
+<pkgmetadata> |
103 |
+ <maintainer type="project"> |
104 |
+ <email>gnome@g.o</email> |
105 |
+ <name>Gentoo GNOME Desktop</name> |
106 |
+ </maintainer> |
107 |
+ <use> |
108 |
+ <flag name="glade">Install module and catalog for <pkg>dev-util/glade</pkg></flag> |
109 |
+ </use> |
110 |
+ <longdescription>libhandy is a collection of GTK+ widgets for applications |
111 |
+ targeting mobile phones.</longdescription> |
112 |
+</pkgmetadata> |