media-gfx/libsane-dsseries-bin: Import from sattvik
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
b3ddb6aeec
commit
0b311ecff5
1
media-gfx/libsane-dsseries-bin/Manifest
Normal file
1
media-gfx/libsane-dsseries-bin/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST libsane-dsseries_1.0.5-1_amd64.deb 211312 BLAKE2B 0f147b8ac6f461d2440b41fbb9af300b2f52f96be6c794b41700510c62a9a507cccbcd8d3eb692ebaaf03f7c4f166716a659b011fde3293a97115cc1b54602ad SHA512 cdd2e0a1d588e0bbe22eb2ad4721467f6f786ae997c17b0192d832ba9a329dbd08a059a2a0b8f60be015e463383d3de4ec8729741bd9e06bfe5e09fcb2e2b826
|
|
@ -0,0 +1,2 @@
|
|||
# Brother DS-720D
|
||||
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="60e2", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
1
media-gfx/libsane-dsseries-bin/files/dsseries.conf
Normal file
1
media-gfx/libsane-dsseries-bin/files/dsseries.conf
Normal file
|
@ -0,0 +1 @@
|
|||
dsseries
|
|
@ -0,0 +1,48 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit unpacker eutils udev
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
|
||||
DESCRIPTION="SANE driver for Brother DS-series scanners"
|
||||
HOMEPAGE="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html"
|
||||
SRC_URI="http://download.brother.com/welcome/dlf100976/${PN/-bin}_${MY_PV}_amd64.deb"
|
||||
|
||||
RESTRICT="mirror"
|
||||
QA_PREBUILT=".*"
|
||||
|
||||
LICENSE="metapackage"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-gfx/sane-backends"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/lib64/sane
|
||||
insopts -m0755
|
||||
doins "usr/lib/tmp_DSDriver/x64/dsdrv_x64.so"
|
||||
doins "usr/lib/tmp_DSDriver/x64/NvUSBScan_x64.so"
|
||||
doins "usr/lib/tmp_DSDriver/x64/libsane-dsseries.so.1.0.17"
|
||||
dosym "libsane-dsseries.so.1.0.17" "usr/lib64/sane/libsane-dsseries.so.1"
|
||||
dosym "libsane-dsseries.so.1" "usr/lib64/sane/libsane-dsseries.so"
|
||||
|
||||
insinto /etc/sane.d/dll.d
|
||||
insopts -m0644
|
||||
doins "${FILESDIR}/dsseries.conf"
|
||||
|
||||
insinto /etc/sane.d
|
||||
doins "usr/lib/tmp_DSDriver/dsseries.conf"
|
||||
|
||||
udev_dorules "${FILESDIR}/60-libsane-dsseries.rules"
|
||||
}
|
8
media-gfx/libsane-dsseries-bin/metadata.xml
Normal file
8
media-gfx/libsane-dsseries-bin/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Daniel Solano Gómez</name>
|
||||
<email>daniel@solanogomez.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue