summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-10-14 23:03:36 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2019-10-14 23:04:02 +0200
commit6eb53584b321e889cbf25c53b7397fec96bf9dc1 (patch)
tree29de7b53f5e77028441d492b0b722c2961f15a83 /media-libs/libinsane
parentwww-apps/piwigo: 2.10.1 bump (diff)
downloadgentoo-6eb53584b321e889cbf25c53b7397fec96bf9dc1.tar.gz
gentoo-6eb53584b321e889cbf25c53b7397fec96bf9dc1.tar.bz2
gentoo-6eb53584b321e889cbf25c53b7397fec96bf9dc1.zip
media-libs/libinsane: 1.0.2 bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17 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.2.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index aa253766695..f54f55211ec 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a SHA512 1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc
+DIST libinsane-1.0.2.tar.gz 712366 BLAKE2B 5be68792b3a89718308a180b1ca9383e7aebbd2f4e3420376ffecbc7d9b32d16b2fdcf060760708f8ef8f125c4d4caf2f41c6c15da53506e46302dc4155038be SHA512 d65c3fdcc8f64be473a7ff8078b5c9cbfa65ebbf44184fb76c12b40eedc87742167c8fa720683d83d5d29292664c6e311a2c12f45dff35306f60ac7612e63d97
diff --git a/media-libs/libinsane/libinsane-1.0.2.ebuild b/media-libs/libinsane/libinsane-1.0.2.ebuild
new file mode 100644
index 00000000000..5fa12b107f7
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.2.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
+}