mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
media-gfx/airsane: drop 0.4.11
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST airsane-0.4.11.tar.gz 128477 BLAKE2B f7b05ab10a7260ea8966148dcded8bcaa2e70c848bffaaa334bf2d9cef0abddc291e7e1b4f587d5a213065bc7399a6494e4c26e0f8eeb2c43112e35f82e5eda7 SHA512 50ecd944e8f5a2b0d398039c54e9b8d5f386c569207854ebd27b4d73a53079dbb1877e33d9efcc8a4e9b68bb31278eb5df939dcdcea1cd22ba4c3355f9424b8f
|
||||
DIST airsane-0.4.12.tar.gz 128651 BLAKE2B 13ee288f96a389505e772ad87db2c7505c9067198abc999668b9eaba683d2f40793d4867dab13268f9d7a6234b512c3254f7da7a4e33ead5ea82ee8809582062 SHA512 ef1339e2abd263837322cf24050ca270b8d4e55d8b4ab5ea3bea900976df2ba86367bd366943615eacd54caeadb0ab34140155536cde0a4aa1da3acc40e02a8e
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Publish SANE scanners via Apple Airscan/eSCL"
|
||||
|
||||
HOMEPAGE="https://github.com/SimulPiscator/AirSane"
|
||||
SRC_URI="https://github.com/SimulPiscator/AirSane/archive/refs/tags/v.${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# License of the package. This must match the name of file(s) in the
|
||||
# licenses/ directory. For complex license combination see the developer
|
||||
# docs on gentoo.org for details.
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="media-gfx/sane-backends
|
||||
media-libs/libpng
|
||||
media-libs/libjpeg-turbo
|
||||
net-dns/avahi
|
||||
virtual/libusb:1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
mv "AirSane-v.${PV}" "${P}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
# Upstream condtionally installs config files
|
||||
sed -i "${S}/CMakeLists.txt" \
|
||||
-e "s/\(.*\)NOT EXISTS \/etc\/airsane\/.*/\11)/g" \
|
||||
|| die
|
||||
# Gentoo uses the "scanner" group not "saned".
|
||||
# Also remove 15 seocnd delay hack. Shouldn't be needed anymore:
|
||||
# https://github.com/SimulPiscator/AirSane/issues/55
|
||||
sed -i "${S}/systemd/airsaned.service.in" \
|
||||
-e "s/\(Group=\)saned/\1scanner/" \
|
||||
-e "/\/bin\/sleep/d" \
|
||||
|| die
|
||||
}
|
||||
Reference in New Issue
Block a user