summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-09-02 22:56:20 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2020-09-02 22:56:37 +0200
commitedcd02ef0a5871990ceec2114fe4ef94a730b8cc (patch)
tree790a38ee4222c61d9ab9cdf506f09586ce3a4377 /media-libs/libinsane
parentnet-mail/fetchmail: 6.4.11 bump (diff)
downloadgentoo-edcd02ef0a5871990ceec2114fe4ef94a730b8cc.tar.gz
gentoo-edcd02ef0a5871990ceec2114fe4ef94a730b8cc.tar.bz2
gentoo-edcd02ef0a5871990ceec2114fe4ef94a730b8cc.zip
media-libs/libinsane: 1.0.7 bump
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-libs/libinsane')
-rw-r--r--media-libs/libinsane/Manifest1
-rw-r--r--media-libs/libinsane/libinsane-1.0.7.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index d87f78799b3c..785e018c7c3d 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
DIST libinsane-1.0.4.tar.gz 950729 BLAKE2B c09257646b21421eea6312748284456bd7b6f3eb1b64b831e15ae02b519e13d8bb39e2447186f44c6345190bf5e6a38640d9b95a73cbc899ece7c669c3650760 SHA512 2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be
+DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197 SHA512 9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
diff --git a/media-libs/libinsane/libinsane-1.0.7.ebuild b/media-libs/libinsane/libinsane-1.0.7.ebuild
new file mode 100644
index 000000000000..bf213a427962
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 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
+}