media-libs/libinsane: 1.0.2 bump
authorBernard Cafarelli <voyageur@gentoo.org>
Mon, 14 Oct 2019 21:03:36 +0000 (23:03 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Mon, 14 Oct 2019 21:04:02 +0000 (23:04 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
media-libs/libinsane/Manifest
media-libs/libinsane/libinsane-1.0.2.ebuild [new file with mode: 0644]

index aa253766695e4e37bce02128d38eb313123b7faf..f54f55211ec6b52ea6b90b1d38687752dd0cb24f 100644 (file)
@@ -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 (file)
index 0000000..5fa12b1
--- /dev/null
@@ -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
+}