summaryrefslogtreecommitdiff
path: root/net-print/cnrdrvcups-lb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-print/cnrdrvcups-lb
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-print/cnrdrvcups-lb')
-rw-r--r--net-print/cnrdrvcups-lb/Manifest4
-rw-r--r--net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.20.ebuild192
-rw-r--r--net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.30.ebuild2
3 files changed, 2 insertions, 196 deletions
diff --git a/net-print/cnrdrvcups-lb/Manifest b/net-print/cnrdrvcups-lb/Manifest
index 8d60453b1192..329faa65a137 100644
--- a/net-print/cnrdrvcups-lb/Manifest
+++ b/net-print/cnrdrvcups-lb/Manifest
@@ -1,5 +1,3 @@
-DIST linux-UFRII-drv-v520-uken-05.tar.gz 107101656 BLAKE2B 4ea92eaaab76babca7fc94771c39b12804b9016ae7baeeaafc18e1979a83ffdcb2090a9cc8a5390314be129ca273c3571f95c83c9e4a29254aca18325687acb2 SHA512 31652894e8ad07e81ae044c5172ced73569a1b78f06f48bcafcd9cabcb19406f0645bfdf741cf3a60746859e671c443d14e5c0c04bffd540ac10406df7266b45
DIST linux-UFRII-drv-v530-uken-12.tar.gz 188172378 BLAKE2B 9d069843bbd5fa693d584b1e1f9348ca2076656dff85fc6b34ca941c10221a48fc6119d7f2bf9c9bb8e4f512a0dabbd7d65f7fb86e16394f98ba80afc679998f SHA512 61f060a742c9e6cc7439f26fac63fbac33c96722ec80c604eca40716255920a65eab4cd6f592deee627a8c803776df2c0b8c3dbce9727e53862fa7551a172ebe
-EBUILD cnrdrvcups-lb-5.20.ebuild 6035 BLAKE2B d4c5b830c8bae5c7fd7aa30282d9471b1d3780ba7a1cd7f4b664f857948765fa4ecbd2470d2facbfbb9d99df42bef1ae91aed8ebf31f2819cb9bf5cf0dc724b0 SHA512 47ce97b8735ebbdce29abd248930e9c878ed33bf29998a1fb1a8e7e81a4d703c1e069744b3990300cc742ed4486143cecd5ee9c0277a87c5825e769f1374c1b4
-EBUILD cnrdrvcups-lb-5.30.ebuild 6097 BLAKE2B ea33b9b6a56e0d82d650a5e3b050e2c85ca19da2720fd6134e7ca8ad00b40156af6182ccdb32dc7dfc9142ef5afbeac2bb0f91e97206d5036115e55fd7242021 SHA512 25364fb6fede9f5229edae1eda27981f1fedac5fe63735d6dbef3382bef1cfad0e863b30673ac5b68750d34d5ad4446bb072acf762c132992e3b1ec847aa0f1b
+EBUILD cnrdrvcups-lb-5.30.ebuild 6095 BLAKE2B 4d478238178bacf02163a435395a95ef00fe628cfac472072c35dcfc0f8d34ddf43aefae0b5b625014d7e955836152c2a1ec4ce32d7ad0d8eaf5af41eeacbcea SHA512 7d841d4c3fbf9857f79362deebb7b77991f74cbac64bf1c84638ea2d6ddf9d23008ecce4f5b4e6932545193757adb753a56f59b801ed38bcea962f6fba60de08
MISC metadata.xml 254 BLAKE2B 938f68b7b21ad386a35540a09e4bb956e241dfc963d4823c3c0cd46d3449ff4fb5a1cead67ad7c35a460503d30bdbde35822535f1c2d46f2939ee190f328b846 SHA512 26047ebb40fc49bfb4393121c5c5af69caee617a1d75676be84b0f5af75564828aeeef4503c7681eaaf7e48f6c662574874336296c18e002dca8e925162a1d4c
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.20.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.20.ebuild
deleted file mode 100644
index 0e7853a6e6ca..000000000000
--- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.20.ebuild
+++ /dev/null
@@ -1,192 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools desktop flag-o-matic toolchain-funcs
-
-CANON_REL="05"
-MY_PV="${PV//\./}"
-
-DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/"
-SRC_URI="https://dev.gentoo.org/~juippis/distfiles/linux-UFRII-drv-v${MY_PV}-uken-${CANON_REL}.tar.gz"
-
-LICENSE="Canon-UFR-II GPL-2 MIT"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-DEPEND="dev-libs/libxml2:2
- gnome-base/libglade:2.0
- media-libs/jbigkit
- net-print/cups
- x11-libs/gtk+:2"
-RDEPEND="${DEPEND}
- !net-print/cndrvcups-common-lb
- !net-print/cndrvcups-lb"
-
-HTML_DOCS=(
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-uken/Documents/README-ufr2-5.2xUK.html
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-uken/Documents/UsersGuide-ufr2-UK.html
-)
-
-S="${WORKDIR}/linux-UFRII-drv-v${MY_PV}-uken/Sources"
-
-pkg_setup() {
- QA_PREBUILT="/usr/bin/cnsetuputil2
- /usr/bin/cnrsdrvufr2
- /usr/bin/cnpkmoduleufr2r
- /usr/bin/cnpkbidir
- /usr/bin/cnpdfdrv
- /usr/$(get_libdir)/libufr2filterr.so.1.0.0
- /usr/$(get_libdir)/libColorGearCufr2.so.2.0.0
- /usr/$(get_libdir)/libcnlbcmr.so.1.0
- /usr/$(get_libdir)/libcanon_slimufr2.so.1.0.0
- /usr/$(get_libdir)/libcanonufr2r.so.1.0.0
- /usr/$(get_libdir)/libcaiowrapufr2.so.1.0.0
- /usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0
- /usr/$(get_libdir)/libcaepcmufr2.so.1.0"
-
- QA_SONAME="/usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/linux-UFRII-drv-v${MY_PV}-uken/Sources/" || die
- unpack ./${P}-1.tar.gz
-}
-
-common_op() {
- local i
- for i in backend buftool cngplp cnjbig rasterfilter; do
- cd "${S}/cnrdrvcups-common-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-driver_op() {
- local i
- for i in cngplp cngplp/files cpca pdftocpca; do
- cd "${S}/cnrdrvcups-lb-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-src_prepare() {
- default
-
- common_op mv configure.in configure.ac || die "failed to move configure.in"
- driver_op mv configure.in configure.ac || die "failed to move configure.in"
-
- common_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
- driver_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
-
- # This should work with autoreconf
- export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
-
- # Other components already depend on compiled product
- append-ldflags -L"${S}/cnrdrvcups-common-${PV}/buftool"
-
- common_op eautoreconf
- driver_op eautoreconf
-
- # Fix a QA issue with .desktop file,
- sed -i 's/Application;Utility/Utility/g' "${S}"/cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop ||
- die "Failed to modify cnsetuputil2.desktop file."
-
- append-cflags -fcommon
-
- # For some reason, @AR@ is defined everywhere else correctly, but not here.
- sed -i -e "s/AR = ar/AR = $(tc-getAR)/g" ./cnrdrvcups-common-${PV}/buftool/Makefile.in || die
-}
-
-src_configure() {
- common_op econf
- driver_op econf
-}
-
-src_compile() {
- common_op emake
- driver_op emake
-}
-
-src_install() {
- common_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
- driver_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
-
- insinto /usr/share/cups
- doins "${S}"/cnrdrvcups-common-${PV}/Rule/canon-laser-printer_ufr2.usb-quirks
-
- if use amd64; then
- cd "${S}"/lib/libs64 || die "failed to switch into libs64"
- elif use x86; then
- cd "${S}"/lib/libs32 || die "failed to switch into libs32"
- else
- die "I don't know what directory to switch into!"
- fi
-
- dolib.so libcaepcmufr2.so.1.0 libcaiocnpkbidir.so.1.0.0 \
- libcaiowrapufr2.so.1.0.0 libcanonufr2r.so.1.0.0 \
- libcanon_slimufr2.so.1.0.0 libcnlbcmr.so.1.0 \
- libColorGearCufr2.so.2.0.0 libufr2filterr.so.1.0.0
-
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so.1
-
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so.1
-
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so.1
-
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so.1
-
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so.1
-
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so.1
-
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so.2
-
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so.1
-
- dobin cnpdfdrv cnpkbidir cnpkmoduleufr2r cnrsdrvufr2 cnsetuputil2
-
- insinto /usr/share/cnpkbidir
- doins ./cnpkbidir_info*
-
- insinto /usr/share/ufr2filterr
- doins ./ThLB*
-
- cd "${S}" || die "Failed to switch back into ${S} during installation."
-
- dosym ../../../$(get_libdir)/cups/backend/cnusb /usr/libexec/cups/backend/cnusb
- dosym ../../../$(get_libdir)/cups/filter/pdftocpca /usr/libexec/cups/filter/pdftocpca
- dosym ../../../$(get_libdir)/cups/filter/rastertoufr2 /usr/libexec/cups/filter/rastertoufr2
-
- insinto /usr/share/caepcm/ufr2
- doins -r "${S}"/lib/data/ufr2/
-
- insinto /usr/share/cups/model
- doins ${P}/ppd/*.ppd
-
- domenu ./cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop
- doicon ./cnrdrvcups-utility-${PV}/data/cnsetuputil.png
-
- einstalldocs
- newdoc "${S}"/cnrdrvcups-common-${PV}/README README.common
- newdoc "${S}"/cnrdrvcups-common-${PV}/cngplp/README README.cngplp.common
- newdoc "${S}"/cnrdrvcups-lb-${PV}/README README.lb
- newdoc "${S}"/cnrdrvcups-lb-${PV}/cngplp/README README.cngplp.driver
-
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.30.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.30.ebuild
index d0658f1dbbaf..df6c68146fc5 100644
--- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.30.ebuild
+++ b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.30.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://gdlp01.c-wss.com/gds/${DL_ID}/linux-UFRII-drv-v${MY_PV}-uken-${
LICENSE="Canon-UFR-II GPL-2 MIT"
SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
IUSE=""
DEPEND="dev-libs/libxml2:2