Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/
Date: Wed, 02 Sep 2020 20:56:54
Message-Id: 1599080197.edcd02ef0a5871990ceec2114fe4ef94a730b8cc.voyageur@gentoo
1 commit: edcd02ef0a5871990ceec2114fe4ef94a730b8cc
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 20:56:20 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 20:56:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edcd02ef
7
8 media-libs/libinsane: 1.0.7 bump
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 media-libs/libinsane/Manifest | 1 +
14 media-libs/libinsane/libinsane-1.0.7.ebuild | 48 +++++++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
18 index d87f78799b3..785e018c7c3 100644
19 --- a/media-libs/libinsane/Manifest
20 +++ b/media-libs/libinsane/Manifest
21 @@ -1 +1,2 @@
22 DIST libinsane-1.0.4.tar.gz 950729 BLAKE2B c09257646b21421eea6312748284456bd7b6f3eb1b64b831e15ae02b519e13d8bb39e2447186f44c6345190bf5e6a38640d9b95a73cbc899ece7c669c3650760 SHA512 2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be
23 +DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197 SHA512 9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
24
25 diff --git a/media-libs/libinsane/libinsane-1.0.7.ebuild b/media-libs/libinsane/libinsane-1.0.7.ebuild
26 new file mode 100644
27 index 00000000000..bf213a42796
28 --- /dev/null
29 +++ b/media-libs/libinsane/libinsane-1.0.7.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit meson vala
36 +
37 +DESCRIPTION="Crossplatform access to image scanners"
38 +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane"
39 +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz"
40 +
41 +LICENSE="LGPL-3+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="doc gtk-doc test"
45 +
46 +RDEPEND="dev-libs/gobject-introspection
47 + media-gfx/sane-backends"
48 +DEPEND="${RDEPEND}
49 + doc? (
50 + app-doc/doxygen
51 + dev-util/gtk-doc
52 + )
53 + test? (
54 + dev-util/cunit
55 + dev-util/valgrind
56 + )"
57 +
58 +BDEPEND="dev-util/glib-utils
59 + virtual/pkgconfig
60 + $(vala_depend)"
61 +
62 +# Tests require an operational valgrind
63 +# https://wiki.gentoo.org/wiki/Debugging
64 +RESTRICT="test"
65 +
66 +PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
67 +
68 +src_prepare() {
69 + vala_src_prepare
70 + default
71 +}
72 +
73 +src_configure() {
74 + local emesonargs=(
75 + $(meson_use doc doc)
76 + )
77 + meson_src_configure
78 +}