diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-06-16 19:45:15 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-06-16 19:55:46 +0200 |
commit | 26862ddcb5c67e3d1c9bc314cfd4a3aeee50590f (patch) | |
tree | 14459d37fefc011f824f0d6d065559bfc92851d8 /media-gfx/sane-airscan | |
parent | dev-python/mccabe: Fix variable order (diff) | |
download | gentoo-26862ddcb5c67e3d1c9bc314cfd4a3aeee50590f.tar.gz gentoo-26862ddcb5c67e3d1c9bc314cfd4a3aeee50590f.tar.bz2 gentoo-26862ddcb5c67e3d1c9bc314cfd4a3aeee50590f.zip |
media-gfx/sane-airscan: add 0.99.29
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'media-gfx/sane-airscan')
-rw-r--r-- | media-gfx/sane-airscan/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/sane-airscan/sane-airscan-0.99.29.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/sane-airscan/Manifest b/media-gfx/sane-airscan/Manifest index 8f0c6165eac5..7ab733ee18c9 100644 --- a/media-gfx/sane-airscan/Manifest +++ b/media-gfx/sane-airscan/Manifest @@ -1 +1,2 @@ DIST sane-airscan-0.99.27.tar.gz 198418 BLAKE2B bcf2aff08feb90a65c10a4abaca67939874ad7c9376745b572f18ebfdaf7bff3e344d1379b00c73904a6892731a75f4632a90ea7c20f7cb4e30eab43413b829d SHA512 a35a92e26a4e3831f127e59bc520248abde8a7b304eb63ecf1d68092f51a8bc49bbc7503bead47ac84d0333d59ae0045d6d7a9f7b89d95f3ddfa2458f3781256 +DIST sane-airscan-0.99.29.tar.gz 211753 BLAKE2B 35f0df4d5df57d2651e6d0195046e703a5f4a49b8d50345d749b570892b0c865cf7b1ed7313fba27ce9586cededffd5d85ce211ca767b50f59fe752c2f869d4c SHA512 a75a3db66aa1c77508a946dc7647f322d0be9c8defc6b4b6fdf1015f5a81ea02209efb7aa2c5284813e257bc2b8727a430804385368c8c7b97df24d61adda483 diff --git a/media-gfx/sane-airscan/sane-airscan-0.99.29.ebuild b/media-gfx/sane-airscan/sane-airscan-0.99.29.ebuild new file mode 100644 index 000000000000..786dff0320a0 --- /dev/null +++ b/media-gfx/sane-airscan/sane-airscan-0.99.29.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="SANE backend for AirScan (eSCL) and WSD document scanners" +HOMEPAGE="https://github.com/alexpevzner/sane-airscan" +SRC_URI="https://github.com/alexpevzner/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/libxml2 + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/tiff:= + net-dns/avahi + net-libs/gnutls:= +" +RDEPEND="${DEPEND} + media-gfx/sane-backends +" + +PATCHES=( + "${FILESDIR}/${PN}-0.99.27-makefile-fixes.patch" +) + +src_compile() { + emake \ + CFLAGS="${CFLAGS}" \ + CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" COMPRESS= STRIP= install +} |