summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-03-04 00:10:40 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-03-04 00:13:55 +0100
commit4ee9b268d86d795fc8963db16877aeada1c9a664 (patch)
tree2f39a92208adea20ffa579a988994215ca212c7d
parentapp-benchmarks/geekbench: add 6.0.1, drop 6.0.0 (diff)
downloadgentoo-4ee9b268d86d795fc8963db16877aeada1c9a664.tar.gz
gentoo-4ee9b268d86d795fc8963db16877aeada1c9a664.tar.bz2
gentoo-4ee9b268d86d795fc8963db16877aeada1c9a664.zip
media-libs/libinsane: add 1.0.10
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
-rw-r--r--media-libs/libinsane/Manifest1
-rw-r--r--media-libs/libinsane/libinsane-1.0.10.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index cb87f0c83d54..146e3df8a39d 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
+DIST libinsane-1.0.10.tar.bz2 896982 BLAKE2B 6e109f21ae90a58b5c1918baca3779e75ca471c453232067eb09ac454fd28a1e66c5b6d55f9212660df26c6c7440be21fcf620f04a9103e2af27bf050bc11139 SHA512 80ad2005ce3411c3254e513d402f8a03c54107507a45a319333961405fb778e9d89fd79abe8058f1ccb45883c8db75ee5218d5a1a1216fcc9504a43711049605
DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337 SHA512 a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2
diff --git a/media-libs/libinsane/libinsane-1.0.10.ebuild b/media-libs/libinsane/libinsane-1.0.10.ebuild
new file mode 100644
index 000000000000..a2fc36608592
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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.bz2"
+
+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_setup
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use doc doc)
+ )
+ meson_src_configure
+}