mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
media-gfx/airsane: drop 0.4.10
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST airsane-0.4.10.tar.gz 128022 BLAKE2B 53eced5463614f1daae8e83e0de6413361672b782b8bcab0d36c3da2e135e9913d73abe8463df755bd9c8584fd1ccb4159a850cae5110a1ffbaf05b00c0ddc6a SHA512 65d35354a2e9e4d574947f91cc5c848866908bd7d0fcabfecc6492f4177284d22f82635b5d518c8a6973c2ab2f51a2715492980fd13cbe7bf4714e155f8986f5
|
||||
DIST airsane-0.4.11.tar.gz 128477 BLAKE2B f7b05ab10a7260ea8966148dcded8bcaa2e70c848bffaaa334bf2d9cef0abddc291e7e1b4f587d5a213065bc7399a6494e4c26e0f8eeb2c43112e35f82e5eda7 SHA512 50ecd944e8f5a2b0d398039c54e9b8d5f386c569207854ebd27b4d73a53079dbb1877e33d9efcc8a4e9b68bb31278eb5df939dcdcea1cd22ba4c3355f9424b8f
|
||||
|
||||
@@ -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