summaryrefslogtreecommitdiff
path: root/media-libs/libinsane
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libinsane')
-rw-r--r--media-libs/libinsane/Manifest4
-rw-r--r--media-libs/libinsane/libinsane-1.0.10.ebuild49
-rw-r--r--media-libs/libinsane/metadata.xml3
3 files changed, 55 insertions, 1 deletions
diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 37d12803b3c3..f546e16757e3 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,5 +1,7 @@
AUX libinsane-1.0.1-meson_options.patch 2038 BLAKE2B b14ba254604f214c2cd1a15e705ea361b635bac7faae4995811477456ea8a8d8bf969fefb4330b3b6f05cd498cd2f01b8b065c2f8f3c88e21e62ea6ef204de15 SHA512 c0d5d3ce5d763d04327ea500229c9f26d989aa8072dec569adb3766c70e0cab9e00629e3099c5ab8bd4e3c84b86925ad108fe78eeae9066164de1302e2226572
AUX libinsane-1.0.9-musl.patch 8877 BLAKE2B 00a344cc995342ee4d8025be142a277ecb031e39a7a9d415d98ac0e45e0cbf4ee234f55473bbd1bb1fbe24d24ab2245027085f63841438f04db3b71e83c18652 SHA512 97660a9f1a074bdefcddebed21603dad89c39a1138a48571ddf360953c12d9369b63efaaeb21c750de11b1260fb87a1cc2041604e01f57d14c142ed3abae6787
+DIST libinsane-1.0.10.tar.bz2 896982 BLAKE2B 6e109f21ae90a58b5c1918baca3779e75ca471c453232067eb09ac454fd28a1e66c5b6d55f9212660df26c6c7440be21fcf620f04a9103e2af27bf050bc11139 SHA512 80ad2005ce3411c3254e513d402f8a03c54107507a45a319333961405fb778e9d89fd79abe8058f1ccb45883c8db75ee5218d5a1a1216fcc9504a43711049605
DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337 SHA512 a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2
+EBUILD libinsane-1.0.10.ebuild 956 BLAKE2B ad96c4f46e8efa1ce17162a2db1637a29ea69a9aec3b13e2830ba87513534de5db14b2461580760109c2611e3b9e461f421cf2b27502a3dcfca365ee878b259d SHA512 db2c94732da0eb589b76620a913b0aa771a5d9e66b057abaf3a3e0f15feaf8ff07e67ce5302261a355c4b275dd0c49f9bb69d8e79621c214571cf07124aee388
EBUILD libinsane-1.0.9.ebuild 992 BLAKE2B 0cbcca0c7c505512b16692fd3d0ded8b2d4d1d42850f26fb1c2eec5366ac6640e051d23fa7f5cbf6a138da68595382e2717e3b71c11b5dba9cce38adb785a54c SHA512 f5df12a6e92428fb62ec42f1ea9f4d680a83c5eed8c12e0958d487853174e05632993ecbd7cad20b25e66d8735beadd633f4ea4cb63e80709d2afa6e4baebba3
-MISC metadata.xml 1016 BLAKE2B a332e663ae5b286f57990c4e48d0c3767a54b6e5f6059986367783b75618dabbd13c2118de34e8c750765f3bed207cc40a8eaeca02e2fb8b5d2557799457d5b5 SHA512 b8870c17184ef366edf70710deb5f40e16819301870478c8902471bf09820fb08c9cfd85ae14d844c2a0b8ad3ba1f99cf6c84a7d47c5029a40de5584ab73efa7
+MISC metadata.xml 1120 BLAKE2B aa4af72ae73ec80cd19f6a1739df2c5f76d6247f8ec7ec86bd10af5d9349cfbf86b0c31ef423221acf6bd31b31342435663ae883d30ccd52ad2a51ff09db89dd SHA512 6cf5064cdc8bbded8a47a31d5deae94aed202916c8a740e600adaa670b6629fffbe575a283e3d7dd6a559e88c1267408303344e96d2bad059352240906b3bbce
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
+}
diff --git a/media-libs/libinsane/metadata.xml b/media-libs/libinsane/metadata.xml
index b67250773718..0c76ef027fde 100644
--- a/media-libs/libinsane/metadata.xml
+++ b/media-libs/libinsane/metadata.xml
@@ -17,4 +17,7 @@ It has however some limitations:
It is the successor of Pyinsane2 but shares no code with it.
</longdescription>
+ <upstream>
+ <remote-id type="gnome-gitlab">World/OpenPaperwork/libinsane</remote-id>
+ </upstream>
</pkgmetadata>