summaryrefslogtreecommitdiff
path: root/media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@booking.com>2022-07-21 13:27:16 +0200
committerMarcin Deranek <marcin.deranek@booking.com>2022-07-21 13:27:22 +0200
commitc26def08fa73fb2ed6d846e84052b242e7905d72 (patch)
tree895eaddb0d15161bcc1589f337fe94706d24787e /media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild
parentdc229ffd4e2413bcc697fa876666deb0c1885bc8 (diff)
downloadportage-c26def08fa73fb2ed6d846e84052b242e7905d72.tar.gz
portage-c26def08fa73fb2ed6d846e84052b242e7905d72.tar.bz2
portage-c26def08fa73fb2ed6d846e84052b242e7905d72.zip
epsonscan2 version bump
Diffstat (limited to 'media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild')
-rw-r--r--media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild54
1 files changed, 0 insertions, 54 deletions
diff --git a/media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild b/media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild
deleted file mode 100644
index fc790de..0000000
--- a/media-gfx/epsonscan2/epsonscan2-6.6.40.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_VERSION="${PV}-1"
-
-DESCRIPTION="Epson scanner management utility"
-HOMEPAGE="https://support.epson.net/linux/en/epsonscan2.php"
-SRC_URI="https://support.epson.net/linux/src/scanner/${PN}/${PN}-${MY_VERSION}.src.tar.gz"
-S="${WORKDIR}/${PN}-${MY_VERSION}"
-
-inherit cmake desktop
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- dev-libs/boost
- dev-libs/rapidjson
- media-gfx/sane-backends
- media-libs/libharu
- media-libs/libpng
- media-libs/tiff
- virtual/jpeg
- virtual/libusb:1
-"
-# dev-qt/qtsingleapplication
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_prepare() {
- cmake_src_prepare
- sed -i \
- -e '/\(execute_process.*\)${EPSON_INSTALL_ROOT}/d' \
- -e "s|^\(set(EPSON_VERSION \).*|\1-${PV})|g" \
- CMakeLists.txt || die
- # Force usage of system libraries
- rm -rf thirdparty/{HaruPDF,rapidjson,zlib}
- sed -i \
- -e '/thirdparty\/HaruPDF/d' \
- -e '/thirdparty\/zlib/d' \
- -e 's|^\([[:blank:]]*\)\(usb-1.0\)|\1\2\n\1hpdf\n\1z|' \
- src/Controller/CMakeLists.txt || die
-}
-src_install() {
- cmake_src_install
- # Sane symlinks
- dosym ../epsonscan2/libsane-epsonscan2.so /usr/$(get_libdir)/sane/libsane-epsonscan2.so.1
- dosym ../epsonscan2/libsane-epsonscan2.so /usr/$(get_libdir)/sane/libsane-epsonscan2.so.1.0.0
- # Desktop icon
- domenu desktop/rpm/x86_64/epsonscan2.desktop
-}