Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/pnm2ppa: pnm2ppa-1.13.ebuild ChangeLog
Date: Mon, 02 Jul 2012 10:16:54
Message-Id: 20120702101639.5AF072004B@flycatcher.gentoo.org
1 scarabeus 12/07/02 10:16:39
2
3 Modified: ChangeLog
4 Added: pnm2ppa-1.13.ebuild
5 Log:
6 Try to bump to latest release.
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 net-print/pnm2ppa/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 18 Jul 2009 18:24:17 -0000 1.17
24 +++ ChangeLog 2 Jul 2012 10:16:39 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-print/pnm2ppa
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v 1.17 2009/07/18 18:24:17 ssuominen Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v 1.18 2012/07/02 10:16:39 scarabeus Exp $
31 +
32 +*pnm2ppa-1.13 (02 Jul 2012)
33 +
34 + 02 Jul 2012; Tomáš Chvátal <scarabeus@g.o> +pnm2ppa-1.13.ebuild:
35 + Try to bump to latest release.
36
37 18 Jul 2009; Samuli Suominen <ssuominen@g.o> pnm2ppa-1.12.ebuild,
38 files/pnm2ppa-1.12-gentoo.diff:
39
40
41
42 1.1 net-print/pnm2ppa/pnm2ppa-1.13.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pnm2ppa-1.13.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13.ebuild,v 1.1 2012/07/02 10:16:39 scarabeus Exp $
52
53 EAPI=4
54
55 inherit base
56
57 DESCRIPTION="Print driver for Hp Deskjet 710, 712, 720, 722, 820, 1000 series"
58 HOMEPAGE="http://pnm2ppa.sourceforge.net"
59 SRC_URI="mirror://sourceforge/pnm2ppa/${P}.tar.gz"
60
61 KEYWORDS="~amd64 ~x86"
62 SLOT="0"
63 LICENSE="GPL-2"
64 IUSE="syslog"
65
66 # en on first place so others can override it
67 LANGS="en cs es fr it nl"
68 for lng in ${LANGS}; do
69 IUSE+=" linguas_${lng}"
70 done
71
72 RDEPEND="
73 app-text/ghostscript-gpl
74 net-print/cups
75 net-print/foomatic-filters
76 sys-libs/glibc
77 syslog? ( virtual/logger )
78 "
79 DEPEND="${RDEPEND}"
80
81 src_configure() {
82 local lng i withval
83
84 for lng in ${LANGS}; do
85 if use linguas_${lng}; then
86 if [[ -n ${i} ]] ; then
87 ewarn "This package supports only one translation at a time."
88 ewarn "Overriding previous value: \"${withval}\" with \"${lng}\""
89 fi
90 withval="${lng}"
91 i=true
92 fi
93 done
94
95 econf \
96 --with-language="${lng}" \
97 --enable-vlink \
98 $(use_enable syslog)
99 }
100
101 src_install() {
102 default
103
104 dobin utils/Linux/detect_ppa utils/Linux/test_ppa
105
106 insinto /usr/share/pnm2ppa
107 doins -r lpd pdq
108
109 exeinto /usr/share/pnm2ppa/lpd
110 doexe lpd/lpdsetup
111
112 exeinto /usr/share/pnm2ppa/sample_scripts
113 doexe sample_scripts/*
114
115 exeinto /etc/pdq/drivers/ghostscript
116 doexe pdq/gs-pnm2ppa
117 exeinto /etc/pdq/interfaces
118 doexe pdq/dummy
119 }