summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-01-02 11:41:52 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2021-01-02 11:56:39 +0100
commit4ce16684ccf9e07b93bea8aeb596b22e4c211551 (patch)
tree96d5b645369ee7ae34bbdc73cae925cbf2871998 /media-libs
parentapp-office/texstudio: cleanup old (diff)
downloadgentoo-4ce16684ccf9e07b93bea8aeb596b22e4c211551.tar.gz
gentoo-4ce16684ccf9e07b93bea8aeb596b22e4c211551.tar.bz2
gentoo-4ce16684ccf9e07b93bea8aeb596b22e4c211551.zip
media-libs/libinsane: 1.0.9 bump
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libinsane/Manifest1
-rw-r--r--media-libs/libinsane/libinsane-1.0.9.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 7b98221ffd92..9a01a49b05e9 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,2 +1,3 @@
DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197 SHA512 9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
DIST libinsane-1.0.8.tar.gz 965255 BLAKE2B f87281f599b097a077b3d09457585c31d6def2b42fcf66bb4207998cdd3e609b2ae4034f6867c49869668ff411effdd150d23b1ea0e92cce45adf43e23203c80 SHA512 810a7e7005b93a4da53aefa6b3c63824800eba5fee9b945d45f64372a98e04e6fd5fd554db817f2b41c481ec78b3723b151337de6cb5784d423868e19bd36aa3
+DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337 SHA512 a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2
diff --git a/media-libs/libinsane/libinsane-1.0.9.ebuild b/media-libs/libinsane/libinsane-1.0.9.ebuild
new file mode 100644
index 000000000000..56d97e6d53c0
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane"
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="dev-libs/gobject-introspection
+ media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen
+ dev-util/gtk-doc
+ )
+ test? (
+ dev-util/cunit
+ dev-util/valgrind
+ )"
+
+BDEPEND="dev-util/glib-utils
+ virtual/pkgconfig
+ $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+ vala_src_prepare
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use doc doc)
+ )
+ meson_src_configure
+}