diff options
author | Daniel Solano Gómez <daniel@solanogomez.org> | 2017-10-16 20:37:02 -0500 |
---|---|---|
committer | Daniel Solano Gómez <daniel@solanogomez.org> | 2017-10-16 20:37:02 -0500 |
commit | e7b0464d37f4472d52251759cbc2d1397107df5d (patch) | |
tree | 1290f158ace835b0ce7e8ba8b1f58df14df98645 /media-gfx | |
parent | Add dev-java/boot-bin-2.7.2 (diff) | |
download | sattvik-e7b0464d37f4472d52251759cbc2d1397107df5d.tar.gz sattvik-e7b0464d37f4472d52251759cbc2d1397107df5d.tar.bz2 sattvik-e7b0464d37f4472d52251759cbc2d1397107df5d.zip |
add media-gfx/libsane-dsseries-bin
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/libsane-dsseries-bin/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild | 55 | ||||
-rw-r--r-- | media-gfx/libsane-dsseries-bin/metadata.xml | 8 |
3 files changed, 66 insertions, 0 deletions
diff --git a/media-gfx/libsane-dsseries-bin/Manifest b/media-gfx/libsane-dsseries-bin/Manifest new file mode 100644 index 0000000..2527d2c --- /dev/null +++ b/media-gfx/libsane-dsseries-bin/Manifest @@ -0,0 +1,3 @@ +DIST libsane-dsseries_1.0.5-1_amd64.deb 211312 SHA256 4e0b649df73f8e9900c045d5bbf7361fd32ca7e3dc18ca2723406fca66809927 SHA512 cdd2e0a1d588e0bbe22eb2ad4721467f6f786ae997c17b0192d832ba9a329dbd08a059a2a0b8f60be015e463383d3de4ec8729741bd9e06bfe5e09fcb2e2b826 WHIRLPOOL e74b116b9e14d1ef2b999b31f98765a37a9cd3456711df17c11ed8b456bfac137b57ce8c3739a9ec01438eeefebd7e73bfe6619aec8d77257ad4248b36cfc851 +EBUILD libsane-dsseries-bin-1.0.5_p1.ebuild 1354 SHA256 547532491217b2ed5a709dd9c8e02a4901fc2175129ad3e70926d38ba0bc6fdb SHA512 361fd734c53def344af1ba989380daeab4deb862c86c12ed223a089476fd37f1d300ee73f218579fd851bd29974633b668896e619346ba372211b54467a1084c WHIRLPOOL 032a1c5f3626a1c7c721d78ec357021b0dcc98ea2ffdd2145f945fe746938b378e47199831cfd0d41b13879aab492e55cdac9ded3a667ae803148cf8fa8e5bb3 +MISC metadata.xml 258 SHA256 3d6905cf3d3b29bd8fb2789198b243b3499e6bca73665ddc0f97525cc7ab349d SHA512 4cfc761fa9825ff2c8ed065ce5351ee4f9d8a442a72b71300264ffb6e83caac5a6b841d9316f40e917a32d6ea576383ffa36650e98317e8c5553be4e5e91bf90 WHIRLPOOL 23658eec05e93c4bafceefe293fa5081d4623517b3f0761b4020f74137ab9bc7de14c09b4e2832c5f2da09f9cbf38be721ed01896384c9fb8fd05495351acdde diff --git a/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild b/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild new file mode 100644 index 0000000..71f9032 --- /dev/null +++ b/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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} + echo > dsseries.conf <<EOF +dsseries +EOF + echo > 60-libsane-brother-dsseries.rules <<EOF +# Brother DS-720D +ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="60e2", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes" +EOF +} + +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 dsseries.conf + + insinto /etc/sane.d + doins "usr/lib/tmp_DSDriver/dsseries.conf" + + udev_dorules 60-libsane-brother-dsseries.rules +} diff --git a/media-gfx/libsane-dsseries-bin/metadata.xml b/media-gfx/libsane-dsseries-bin/metadata.xml new file mode 100644 index 0000000..6582c4c --- /dev/null +++ b/media-gfx/libsane-dsseries-bin/metadata.xml @@ -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> |