diff options
Diffstat (limited to 'net-print/cnrdrvcups-lb')
-rw-r--r-- | net-print/cnrdrvcups-lb/Manifest | 4 | ||||
-rw-r--r-- | net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.00.ebuild | 187 | ||||
-rw-r--r-- | net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10.ebuild | 2 |
3 files changed, 2 insertions, 191 deletions
diff --git a/net-print/cnrdrvcups-lb/Manifest b/net-print/cnrdrvcups-lb/Manifest index c0b7a60c6dcd..989b0b867395 100644 --- a/net-print/cnrdrvcups-lb/Manifest +++ b/net-print/cnrdrvcups-lb/Manifest @@ -1,5 +1,3 @@ -DIST linux-UFRII-drv-v500-uken-06.tar.gz 107038301 BLAKE2B f02a8c9ea1052c4bf60d375eec8d896a81ab07358f9b794ba24fe70c4d21d66dd6bdb814c1d5774d281bb2657d59bf7cbfdaff1887f548bf3213951f4c171f1c SHA512 56ef4f53de630651e3953c17525f473b51b804853425f987b05ef1ee797234be01efde594f25b0a89d80098e5f5a2987cffd9eabee836dde0e3916c30cd25cf3 DIST linux-UFRII-drv-v510-uken-08.tar.gz 106569187 BLAKE2B 46017d4e82653314e1555b32c6e3a73ae8c9c7cef95e4f70d51d62e15f26831cf0ea8d1b180503cd63a880d637621427fe6c69971b40d9ee0119ecd493772515 SHA512 dbc8b8e600ec29e73afa4ba8a760fd643d58ee2017f6c3c35e63c7f2186cf0cb675adb0ea344b0bd04d0b4fa7f13763b5ce97e8264790356134e6ded3069bf54 -EBUILD cnrdrvcups-lb-5.00.ebuild 5838 BLAKE2B 4498ea2b3bbf1ec09ce33cf3416b75974fc279a507ede4ba17dba7bb328bd9884705e04511dff7cc68fd87aff2d67790e26ba049b34b7bd5e1add1422c456e58 SHA512 1bc151ae25cb5cb291cd37232f8026588816faa13bd2ff969018e91e55a3476e9fa0fe746afa89327c157b9e863fd77eadf731b7823c00228c83882ca654dc07 -EBUILD cnrdrvcups-lb-5.10.ebuild 5838 BLAKE2B 5c5ef8997fe11f997cebbeb518ea93e6eb16d497874316896b83d89bf939b3eadb3d0f5e59c28713579a291d62462f12e9e05d6cfd86d1b630aad9ec49fb0308 SHA512 b44e827af6e32f3d10bb9103fa2d0e98a18b1b3e00230dd407267682151a2fa262a421cb60eaa89e4236ab46489b4626d7024455262bb783a82ab5425a3369b8 +EBUILD cnrdrvcups-lb-5.10.ebuild 5836 BLAKE2B e8c47eaf72467101a44e129e44b101c5cdc9716160c2a7ac07cd0675f09efcd88e092077115a64216f1f5fcfa199063ad9c5b88bf85d00655c590ef62e53a9e0 SHA512 a1c83fe52a04971dc9229043aa48e98b871f20fa11b7eb4152eedb08d343da74d24fa791a6543d796af29088990245ec4fe1819260f684f75ddc1471aac5d7ad MISC metadata.xml 254 BLAKE2B 938f68b7b21ad386a35540a09e4bb956e241dfc963d4823c3c0cd46d3449ff4fb5a1cead67ad7c35a460503d30bdbde35822535f1c2d46f2939ee190f328b846 SHA512 26047ebb40fc49bfb4393121c5c5af69caee617a1d75676be84b0f5af75564828aeeef4503c7681eaaf7e48f6c662574874336296c18e002dca8e925162a1d4c diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.00.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.00.ebuild deleted file mode 100644 index d59b7d2cb2cc..000000000000 --- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.00.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop flag-o-matic - -MY_DOWNLOAD_ID="8/0100007658/11" -MY_PV="${PV//\./}" - -DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux " -HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/" -SRC_URI="http://gdlp01.c-wss.com/gds/${MY_DOWNLOAD_ID}/linux-UFRII-drv-v${MY_PV}-uken-06.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.0xUK.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." -} - -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/caepcm/ufr2 - 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.10.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10.ebuild index 20747dde650d..78e55a879950 100644 --- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10.ebuild +++ b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://gdlp01.c-wss.com/gds/${MY_DOWNLOAD_ID}/linux-UFRII-drv-v${MY_PV} LICENSE="Canon-UFR-II GPL-2 MIT" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 x86" IUSE="" DEPEND="dev-libs/libxml2:2 |