From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-print/cndrvcups-lb/Manifest | 5 ++ net-print/cndrvcups-lb/cndrvcups-lb-3.40.ebuild | 108 ++++++++++++++++++++++++ net-print/cndrvcups-lb/metadata.xml | 8 ++ 3 files changed, 121 insertions(+) create mode 100644 net-print/cndrvcups-lb/Manifest create mode 100644 net-print/cndrvcups-lb/cndrvcups-lb-3.40.ebuild create mode 100644 net-print/cndrvcups-lb/metadata.xml (limited to 'net-print/cndrvcups-lb') diff --git a/net-print/cndrvcups-lb/Manifest b/net-print/cndrvcups-lb/Manifest new file mode 100644 index 000000000000..dbe37d8b94ca --- /dev/null +++ b/net-print/cndrvcups-lb/Manifest @@ -0,0 +1,5 @@ +DIST linux-UFRII-drv-v340-uken.tar.gz 117746329 SHA256 fb3701f564f987126a9a3d03a163951f3182d6f7d626530a6767cb1f996fa203 SHA512 05f12d2cac5ae9987fe389be1a15b11d280734f6d47b86f04fa2fcb61bf94175b7afdba4cc1cf5ecf2c1ef5a8e2c14eda5d72f7671618d7c94581c620fea4494 WHIRLPOOL d17dacb98b6ea39d62822a4dd379fb6f8abc900243476893869e0d3a3d1ce1504cb5866d16f775bc006e94a3aeb726912a4c58faa50bf9f390e270482f20512e +EBUILD cndrvcups-lb-3.40.ebuild 2575 SHA256 15268475723f7f4a335f5f941b7a1bdfce2328fcb154713342377cf920e123d7 SHA512 1e7b061e8e1c3c65e8c359f3b064ee728c54129b4e1af6028f61aca3c8ca4828c1a2a0bafcf2db4a76891c2c9b9819988f7f933fd1f843816a115af4ee6234d5 WHIRLPOOL dcc248415fd2dd572ecb374dcb7918e0311d9208605df65bc7daffcdd938d032c518951de983c748e2f86d24e868399686bb0c163462adf25f0d52c275202872 +MISC ChangeLog 3263 SHA256 b010fe94b8f59131531f840f387516124a818a1a340bb730505d560059dd00c9 SHA512 1d363af6ebdcd240ebe4353456fb86ea8b7cb79a00ef4d66a8e9fb845f201866caf9689e5dcc19a518e60cc85748676e05369d32d11bcbc3238f5b67c4cb0446 WHIRLPOOL 839673c8690ec1a0dd07c21c92b499a7623005fb8075fddaa9fe001789ad05415a195f8e5ccf1b61dcc057aee3c2c48c43c26f7aa96a4a4d55047fb44ae38e0a +MISC ChangeLog-2015 1321 SHA256 d5cfc327cc1c9192a4c38578d0e03736ee6043ac5cac5345e0348b6a54885ab1 SHA512 62a7d1f82133d8bd7cf4da4dc8e0ad4c932a399aa006cb654efac8d7606056daee04f53fdaf3355714878730779f97997900372611e23e1c215bf5116bf7b619 WHIRLPOOL 80857b210536bdfea43f873ad78d471263b4be244806d3b2f4df1302f9a0977ad03ceaf27a2a1ab80cfdddd2ad022dfda4cc32ecc04c5c7e9e9444556e75b406 +MISC metadata.xml 239 SHA256 a712e24a6753f11e79989f54afbe96fdd4f2992f1ee71e75622b3be915b4d78f SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623 WHIRLPOOL c086ac59403178d68159ad470a7223dbc0ccfa028fc6f501b5827d4ea1194058dfbc7db08e770e9da9ef06039c31f80165e023c728a59c698aab375dccd85cce diff --git a/net-print/cndrvcups-lb/cndrvcups-lb-3.40.ebuild b/net-print/cndrvcups-lb/cndrvcups-lb-3.40.ebuild new file mode 100644 index 000000000000..5547321c0517 --- /dev/null +++ b/net-print/cndrvcups-lb/cndrvcups-lb-3.40.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools ltprune versionator + +MY_PV="$(delete_all_version_separators)" +SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken" + +DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux" +HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1133.aspx?type=drivers&language=EN&os=LINUX" +SRC_URI="http://gdlp01.c-wss.com/gds/8/0100007658/04/${SOURCES_NAME}.tar.gz" + +LICENSE="Canon-UFR-II" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" + +RDEPEND=" + gnome-base/libglade + net-print/cups + ~net-print/cndrvcups-common-lb-${PV} + x11-libs/gtk+:2 + >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)] + virtual/jpeg:62[abi_x86_32(-)] +" +DEPEND="${DEPEND}" + +S="${WORKDIR}/${SOURCES_NAME}/Sources/${P}" +MAKEOPTS+=" -j1" + +pkg_setup() { + # Don't raise a fuss over pre-built binaries + QA_PREBUILT=" + /usr/bin/cnpkbidi + /usr/bin/cnpkmoduleufr2 + /usr/$(get_abi_LIBDIR x86)/libEnoJPEG.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libEnoJBIG.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libufr2filter.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libcnlbcm.so.1.0 + /usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0 + /usr/$(get_abi_LIBDIR x86)/libcanonufr2.so.1.0.0 + " + QA_SONAME="/usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0" +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die + unpack ./${P}-1.tar.gz +} + +change_dir() { + for i in ppd pstoufr2cpca cngplp cngplp/files cpca ; do + cd "${i}" || die + "${@}" + cd "${S}" || die + done +} + +src_prepare() { + default + sed -i -e \ + "s:filterdir = \$(libdir)/cups/filter:filterdir = `cups-config --serverbin`/filter:" \ + pstoufr2cpca/filter/Makefile.am || die + + export "LIBS=-lgmodule-2.0" + change_dir eautoreconf +} + +src_configure() { + change_dir econf +} + +src_install() { + default + + einstalldocs + + prune_libtool_files + + cd "${S}/data" || die + insinto /usr/share/caepcm + doins * + + cd "${S}/libs" || die + insinto /usr/share/cnpkbidi + doins cnpkbidi_info* + + insinto /usr/share/ufr2filter + doins ThLB* + + ABI=x86 + dobin cnpkbidi cnpkmoduleufr2 + dolib.so libcnlbcm.so.1.0 + dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so.1" + dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so" + for lib in *.so.?.?.?; do + dolib.so "${lib}" + dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}" + dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}" + done + + # c3pldrv dlopens the absolute path /usr/lib/libcnlbcm.so :( + if [[ "$(get_libdir)" != lib ]]; then + dosym "../$(get_libdir)/libcnlbcm.so" /usr/lib/libcnlbcm.so + fi +} diff --git a/net-print/cndrvcups-lb/metadata.xml b/net-print/cndrvcups-lb/metadata.xml new file mode 100644 index 000000000000..f61881680816 --- /dev/null +++ b/net-print/cndrvcups-lb/metadata.xml @@ -0,0 +1,8 @@ + + + + + pacho@gentoo.org + Pacho Ramos + + -- cgit v1.2.3