media-gfx/sane-airscan - 0.99.36 (gentoo)

Search

Package Information

Description:
SANE backend for AirScan (eSCL) and WSD document scanners
Homepage:
https://github.com/alexpevzner/sane-airscan
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.99.36 8 amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2021-2026 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 ~arm64 ~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.36-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
}

Dependencies

DEPEND

	dev-libs/libxml2:=
	media-libs/libjpeg-turbo:=
	media-libs/libpng:=
	media-libs/tiff:=
	net-dns/avahi
	net-libs/gnutls:=

RDEPEND

	dev-libs/libxml2:=
	media-libs/libjpeg-turbo:=
	media-libs/libpng:=
	media-libs/tiff:=
	net-dns/avahi
	net-libs/gnutls:=

	media-gfx/sane-backends

Manifest for 0.99.36

Type File Size Source URLs
DIST sane-airscan-0.99.36.tar.gz 218775 bytes https://github.com/alexpevzner/sane-airscan/archive/0.99.36.tar.gz