diff options
author | Marcin Deranek <marcin.deranek@booking.com> | 2022-01-26 00:46:20 +0100 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@booking.com> | 2022-01-26 00:46:27 +0100 |
commit | 2cfdc4684a0e08516d18017834423a77e49290d4 (patch) | |
tree | a2e3bde06647270a6215ad34f78cde907f2471a2 /media-gfx/epsonscan2-non-free-plugin/epsonscan2-non-free-plugin-1.0.0.5.ebuild | |
parent | b85133628de37a139818b5d819170455372d70e6 (diff) | |
download | portage-2cfdc4684a0e08516d18017834423a77e49290d4.tar.gz portage-2cfdc4684a0e08516d18017834423a77e49290d4.tar.bz2 portage-2cfdc4684a0e08516d18017834423a77e49290d4.zip |
Initial build of epsonscan2 with plugins
Diffstat (limited to 'media-gfx/epsonscan2-non-free-plugin/epsonscan2-non-free-plugin-1.0.0.5.ebuild')
-rw-r--r-- | media-gfx/epsonscan2-non-free-plugin/epsonscan2-non-free-plugin-1.0.0.5.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-gfx/epsonscan2-non-free-plugin/epsonscan2-non-free-plugin-1.0.0.5.ebuild b/media-gfx/epsonscan2-non-free-plugin/epsonscan2-non-free-plugin-1.0.0.5.ebuild new file mode 100644 index 0000000..f71b612 --- /dev/null +++ b/media-gfx/epsonscan2-non-free-plugin/epsonscan2-non-free-plugin-1.0.0.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm + +DESCRIPTION="Plugins for Epson Scan 2" + +HOMEPAGE="https://support.epson.net/linux/en/epsonscan2.php" +# This is distributed as part of the "bundle driver"; since we already have the +# opensource part separately we just install the nonfree part here. + +EPSONSCAN2_VERSION="6.6.40.0" +REL="1" + +SRC_URI="https://download2.ebz.epson.net/epsonscan2/common/rpm/x64/epsonscan2-bundle-${EPSONSCAN2_VERSION}.x86_64.rpm.tar.gz" +LICENSE="EPSON" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="media-gfx/epsonscan2" +RESTRICT="bindist mirror strip" +S=${WORKDIR} + +src_unpack() { + default + rpm_unpack "./epsonscan2-bundle-${EPSONSCAN2_VERSION}.x86_64.rpm/plugins/${P}-${REL}.x86_64.rpm" +} + +src_install() { + mv usr/share/doc/${P}-${REL} usr/share/doc/${P} + insinto / + doins -r usr + # Fix permissions + find "${ED}/usr/lib"* -type f -exec chmod 0755 {} + +} |