parent
8747bb93cb
commit
4f4d543db9
@ -1,2 +0,0 @@
|
||||
DIST imagescan-bundle-centos-7-1.3.28.x64.rpm.tar.gz 10975019 BLAKE2B c190fd160b91ea192c7f0f431e761e8e4c6ee369924b0e325a57e80a8a4c0b6c3162cdc80121fa813f1afef8118b440e59ea3a38a6621ecc320d00f8cad08268 SHA512 051743bc64760038bb468201114d7270e6f22c3f802824ee80f77b5b6200409aca4da330d3afb4a11a7754dfdcb28d7c4a8246180f3e0fb4483349072c10c86f
|
||||
DIST imagescan-bundle-centos-7-3.63.0.x64.rpm.tar.gz 11012473 BLAKE2B 221c041f113405cc679c51242a4b6ebf3fa8e25008748215074966e8c0298a18eb0e89a758d4c2ddaa36c7e0bd43924e17c3b6f75a78fd7a454b42c4d56ffe87 SHA512 ddfbf12849bfe25b903a8c483520a7297ead129477dc4f3b0c39c424918d507314834d0b161f84d58d1ceb469ee9a12c726ff9651a78807e901abbc81e608d2d
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rpm
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DESCRIPTION="Non-free network plugin package for Epson DS line of scanners"
|
||||
HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
|
||||
#SRC_URI="https://download2.ebz.epson.net/imagescanv3/centos/latest1/rpm/x64/imagescan-bundle-centos-7-${PV}.x64.rpm.tar.gz"
|
||||
SRC_URI="https://download2.ebz.epson.net/imagescanv3/centos/latest2/rpm/x64/imagescan-bundle-centos-7-${PV}.x64.rpm.tar.gz"
|
||||
|
||||
RESTRICT="nomirror"
|
||||
|
||||
LICENSE="COPYING.EPSON"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-gfx/utsushi
|
||||
"
|
||||
|
||||
# EPSON provided closed-source binary
|
||||
QA_PRESTRIPPED="usr/libexec/utsushi/networkscan"
|
||||
|
||||
src_unpack() {
|
||||
# Create a 'core' and 'plugins' directory to unpack into
|
||||
mkdir -p "${WORKDIR}/"{core,plugins}
|
||||
|
||||
# Unpack top-level package
|
||||
unpack "$A"
|
||||
|
||||
# Unpack the core drivers to the created 'core' directory
|
||||
cd "${WORKDIR}/core"
|
||||
rpm_unpack ./../imagescan-bundle-centos-7-${PV}.x64.rpm/core/imagescan-*.rpm
|
||||
|
||||
# Unpack 'networkscan' plugin to the created 'plugins' directory
|
||||
cd "${WORKDIR}/plugins"
|
||||
rpm_unpack ./../imagescan-bundle-centos-7-${PV}.x64.rpm/plugins/imagescan-plugin-networkscan*.rpm
|
||||
}
|
||||
|
||||
#
|
||||
# The udev rules are not installed as it's handled by the 'utsushi' source
|
||||
# package.
|
||||
#
|
||||
# The 'utsushi' config file for SANE (/etc/sane.d/dll.d/utsushi) is handled by
|
||||
# the 'utsushi' source package
|
||||
#
|
||||
src_install() {
|
||||
# Create a subdirectory to install the 'networkscan' docs
|
||||
dodoc ${WORKDIR}/plugins/usr/share/doc/imagescan-plugin-networkscan-*/{README,NEWS}
|
||||
|
||||
# Install the 'networkscan' config files
|
||||
# Renamed config to 'utsushi.conf' to be picked up by utsushi SANE backend
|
||||
insinto /etc/utsushi
|
||||
newins ${WORKDIR}/core/etc/imagescan/imagescan.conf utsushi.conf
|
||||
|
||||
# Install the 'networkscan' binary
|
||||
exeinto /usr/libexec/utsushi
|
||||
doexe ${WORKDIR}/plugins/usr/libexec/utsushi/networkscan
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Remember to insert your scanner information into:"
|
||||
elog " /etc/utsushi/utsushi.conf"
|
||||
elog
|
||||
elog "See /usr/share/doc/${PF}/README.bz2 for examples"
|
||||
elog
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rpm
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DESCRIPTION="Non-free network plugin package for Epson DS line of scanners"
|
||||
HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
|
||||
#SRC_URI="https://download2.ebz.epson.net/imagescanv3/centos/latest1/rpm/x64/imagescan-bundle-centos-7-${PV}.x64.rpm.tar.gz"
|
||||
SRC_URI="https://download2.ebz.epson.net/imagescanv3/centos/latest2/rpm/x64/imagescan-bundle-centos-7-${PV}.x64.rpm.tar.gz"
|
||||
|
||||
RESTRICT="nomirror"
|
||||
|
||||
LICENSE="COPYING.EPSON"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-gfx/utsushi
|
||||
"
|
||||
|
||||
# EPSON provided closed-source binary
|
||||
QA_PRESTRIPPED="usr/libexec/utsushi/networkscan"
|
||||
|
||||
src_unpack() {
|
||||
# Create a 'core' and 'plugins' directory to unpack into
|
||||
mkdir -p "${WORKDIR}/"{core,plugins}
|
||||
|
||||
# Unpack top-level package
|
||||
unpack "$A"
|
||||
|
||||
# Unpack the core drivers to the created 'core' directory
|
||||
cd "${WORKDIR}/core"
|
||||
rpm_unpack ./../imagescan-bundle-centos-7-${PV}.x64.rpm/core/imagescan-*.rpm
|
||||
|
||||
# Unpack 'networkscan' plugin to the created 'plugins' directory
|
||||
cd "${WORKDIR}/plugins"
|
||||
rpm_unpack ./../imagescan-bundle-centos-7-${PV}.x64.rpm/plugins/imagescan-plugin-networkscan*.rpm
|
||||
}
|
||||
|
||||
#
|
||||
# The udev rules are not installed as it's handled by the 'utsushi' source
|
||||
# package.
|
||||
#
|
||||
# The 'utsushi' config file for SANE (/etc/sane.d/dll.d/utsushi) is handled by
|
||||
# the 'utsushi' source package
|
||||
#
|
||||
src_install() {
|
||||
# Create a subdirectory to install the 'networkscan' docs
|
||||
dodoc ${WORKDIR}/plugins/usr/share/doc/imagescan-plugin-networkscan-*/{README,NEWS}
|
||||
|
||||
# Install the 'networkscan' config files
|
||||
# Renamed config to 'utsushi.conf' to be picked up by utsushi SANE backend
|
||||
insinto /etc/utsushi
|
||||
newins ${WORKDIR}/core/etc/imagescan/imagescan.conf utsushi.conf
|
||||
|
||||
# Install the 'networkscan' binary
|
||||
exeinto /usr/libexec/utsushi
|
||||
doexe ${WORKDIR}/plugins/usr/libexec/utsushi/networkscan
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Remember to insert your scanner information into:"
|
||||
elog " /etc/utsushi/utsushi.conf"
|
||||
elog
|
||||
elog "See /usr/share/doc/${PF}/README.bz2 for examples"
|
||||
elog
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in new issue