Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/printer-drivers:master commit in: net-print/min12xxw/
Date: Fri, 06 Apr 2012 18:10:54
Message-Id: 1333735819.c8c563d1eff44b7612b5c21d425dd202afbfd320.dilfridge@gentoo
1 commit: c8c563d1eff44b7612b5c21d425dd202afbfd320
2 Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
3 AuthorDate: Fri Apr 6 18:10:19 2012 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 6 18:10:19 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/printer-drivers.git;a=commit;h=c8c563d1
7
8 [net-print/min12xxw] Added ebuild by kaeng and kavol <AT> email.cz
9
10 (Portage version: 2.1.10.55/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 net-print/min12xxw/Manifest | 1 +
14 net-print/min12xxw/metadata.xml | 5 ++++
15 net-print/min12xxw/min12xxw-0.0.9-r2.ebuild | 30 +++++++++++++++++++++++++++
16 3 files changed, 36 insertions(+), 0 deletions(-)
17
18 diff --git a/net-print/min12xxw/Manifest b/net-print/min12xxw/Manifest
19 new file mode 100644
20 index 0000000..10ef643
21 --- /dev/null
22 +++ b/net-print/min12xxw/Manifest
23 @@ -0,0 +1 @@
24 +DIST min12xxw-0.0.9.tar.gz 134610 SHA256 c32de0293c27335e99114076fe8237aa6c98b05a0fc3d4e7bc8dc594915fe100 SHA512 3f4d469f103807a3e2f59aec8dea21aaea614a548aff210a5b8ab6f6bd2e10d71e8e3da0687f4103782a8fdb237c2bd1b152b8afea93d00d4db77a92af409b99 WHIRLPOOL 37fdaa1c5d8ea9e2a3d5b3a71e638256afd8a114ae282557a326b54753686a3b856f84eddb0eea2f316389cb3ddf9df7bf97e9490cb5ce34d6a14e3c409260e9
25
26 diff --git a/net-print/min12xxw/metadata.xml b/net-print/min12xxw/metadata.xml
27 new file mode 100644
28 index 0000000..1fa0ca5
29 --- /dev/null
30 +++ b/net-print/min12xxw/metadata.xml
31 @@ -0,0 +1,5 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 +<herd>printing</herd>
36 +</pkgmetadata>
37
38 diff --git a/net-print/min12xxw/min12xxw-0.0.9-r2.ebuild b/net-print/min12xxw/min12xxw-0.0.9-r2.ebuild
39 new file mode 100644
40 index 0000000..7112b93
41 --- /dev/null
42 +++ b/net-print/min12xxw/min12xxw-0.0.9-r2.ebuild
43 @@ -0,0 +1,30 @@
44 +# Copyright 1999-2004 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Header: $
47 +
48 +EAPI=4
49 +
50 +DESCRIPTION="Driver for Minolta PagePro 1[234]xxW printers"
51 +HOMEPAGE="http://www.hinterbergen.de/mala/min12xxw/"
52 +SRC_URI="http://www.hinterbergen.de/mala/min12xxw/${P}.tar.gz"
53 +
54 +SLOT="0"
55 +IUSE="cups ppds"
56 +LICENSE="GPL-2"
57 +KEYWORDS="~x86 ~amd64"
58 +
59 +# To be able to print with CUPS, we _need_ the PPD, so let foomatic-filters-ppds
60 +# depend on 'cups' USE flag, not on 'ppds' ... but if set, install PPDS anyway
61 +# http://www.linux-foundation.org/en/OpenPrinting/Database/CUPSDocumentation
62 +DEPEND="cups? ( net-print/cups
63 + net-print/foomatic-filters-ppds )
64 + ppds? ( net-print/foomatic-filters-ppds )"
65 +
66 +pkg_postinst() {
67 + if use cups; then
68 + ewarn "WARNING: The driver expects the printer connected at /dev/lp0"
69 + ewarn "If you have another naming, CUPS may fail to print."
70 + fi
71 + einfo "The driver documentation may be found at LinuxPrinting.org"
72 + einfo "See http://linuxprinting.org/show_driver.cgi?driver=min12xxw"
73 +}