1 |
commit: 4ee9b268d86d795fc8963db16877aeada1c9a664 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 23:10:40 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 23:13:55 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ee9b268 |
7 |
|
8 |
media-libs/libinsane: add 1.0.10 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
media-libs/libinsane/Manifest | 1 + |
13 |
media-libs/libinsane/libinsane-1.0.10.ebuild | 49 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest |
17 |
index cb87f0c83d54..146e3df8a39d 100644 |
18 |
--- a/media-libs/libinsane/Manifest |
19 |
+++ b/media-libs/libinsane/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST libinsane-1.0.10.tar.bz2 896982 BLAKE2B 6e109f21ae90a58b5c1918baca3779e75ca471c453232067eb09ac454fd28a1e66c5b6d55f9212660df26c6c7440be21fcf620f04a9103e2af27bf050bc11139 SHA512 80ad2005ce3411c3254e513d402f8a03c54107507a45a319333961405fb778e9d89fd79abe8058f1ccb45883c8db75ee5218d5a1a1216fcc9504a43711049605 |
22 |
DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337 SHA512 a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2 |
23 |
|
24 |
diff --git a/media-libs/libinsane/libinsane-1.0.10.ebuild b/media-libs/libinsane/libinsane-1.0.10.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..a2fc36608592 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/libinsane/libinsane-1.0.10.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+inherit meson vala |
35 |
+ |
36 |
+DESCRIPTION="Crossplatform access to image scanners" |
37 |
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane" |
38 |
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="LGPL-3+" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="doc gtk-doc test" |
44 |
+ |
45 |
+RDEPEND="dev-libs/gobject-introspection |
46 |
+ media-gfx/sane-backends" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ doc? ( |
49 |
+ app-doc/doxygen |
50 |
+ dev-util/gtk-doc |
51 |
+ ) |
52 |
+ test? ( |
53 |
+ dev-util/cunit |
54 |
+ dev-util/valgrind |
55 |
+ )" |
56 |
+ |
57 |
+BDEPEND="dev-util/glib-utils |
58 |
+ virtual/pkgconfig |
59 |
+ $(vala_depend)" |
60 |
+ |
61 |
+# Tests require an operational valgrind |
62 |
+# https://wiki.gentoo.org/wiki/Debugging |
63 |
+RESTRICT="test" |
64 |
+ |
65 |
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch |
66 |
+ ) |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ vala_setup |
70 |
+ default |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local emesonargs=( |
75 |
+ $(meson_use doc doc) |
76 |
+ ) |
77 |
+ meson_src_configure |
78 |
+} |