summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-12-30 14:39:48 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2019-12-30 14:57:26 +0100
commit654252811e81d61212b601f34ba86cc1fbf8d3d8 (patch)
treed81e9497740cbbca3ca915a1badb15c6e61c212b /media-libs/libinsane
parentapp-text/tesseract: sync live ebuild (diff)
downloadgentoo-654252811e81d61212b601f34ba86cc1fbf8d3d8.tar.gz
gentoo-654252811e81d61212b601f34ba86cc1fbf8d3d8.tar.bz2
gentoo-654252811e81d61212b601f34ba86cc1fbf8d3d8.zip
media-libs/libinsane: 1.0.3 bump
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.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index f54f55211ec6..362f72625664 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,2 +1,3 @@
DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a SHA512 1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc
DIST libinsane-1.0.2.tar.gz 712366 BLAKE2B 5be68792b3a89718308a180b1ca9383e7aebbd2f4e3420376ffecbc7d9b32d16b2fdcf060760708f8ef8f125c4d4caf2f41c6c15da53506e46302dc4155038be SHA512 d65c3fdcc8f64be473a7ff8078b5c9cbfa65ebbf44184fb76c12b40eedc87742167c8fa720683d83d5d29292664c6e311a2c12f45dff35306f60ac7612e63d97
+DIST libinsane-1.0.3.tar.gz 715603 BLAKE2B f6e97fc62c38a3481675671c5bed90d2c9c9db0ce9bf36e66f49f94726ce708300157484107e16b8e5f5a2c86fdd456418998a4b5566391246eeb213bf95f79f SHA512 2508347554cbcfc122dd8be16e60d7357a2fb7876ee044ba6024a4e564378d3748d1b267bd3b63cb0a2f6f9bb8daf748be72d3901d8f6e36961cf0849ff4ceb4
diff --git a/media-libs/libinsane/libinsane-1.0.3.ebuild b/media-libs/libinsane/libinsane-1.0.3.ebuild
new file mode 100644
index 000000000000..5fa12b107f72
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 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="media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen
+ dev-util/gtk-doc
+ )
+ test? (
+ dev-util/cunit
+ dev-util/valgrind
+ )"
+
+BDEPEND="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
+}