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: Sun, 25 Oct 2020 17:58:27
Message-Id: 1603648698.e98f889be033a2a9eebd765a117bcd25ca2ccacc.voyageur@gentoo
1 commit: e98f889be033a2a9eebd765a117bcd25ca2ccacc
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 24 21:26:34 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 25 17:58:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98f889b
7
8 media-libs/libinsane: 1.0.8 bump
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 media-libs/libinsane/Manifest | 1 +
14 media-libs/libinsane/libinsane-1.0.8.ebuild | 48 +++++++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
18 index 7fbbd584f22..7b98221ffd9 100644
19 --- a/media-libs/libinsane/Manifest
20 +++ b/media-libs/libinsane/Manifest
21 @@ -1 +1,2 @@
22 DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197 SHA512 9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
23 +DIST libinsane-1.0.8.tar.gz 965255 BLAKE2B f87281f599b097a077b3d09457585c31d6def2b42fcf66bb4207998cdd3e609b2ae4034f6867c49869668ff411effdd150d23b1ea0e92cce45adf43e23203c80 SHA512 810a7e7005b93a4da53aefa6b3c63824800eba5fee9b945d45f64372a98e04e6fd5fd554db817f2b41c481ec78b3723b151337de6cb5784d423868e19bd36aa3
24
25 diff --git a/media-libs/libinsane/libinsane-1.0.8.ebuild b/media-libs/libinsane/libinsane-1.0.8.ebuild
26 new file mode 100644
27 index 00000000000..bf213a42796
28 --- /dev/null
29 +++ b/media-libs/libinsane/libinsane-1.0.8.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 +}