Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/photoprint: metadata.xml ChangeLog photoprint-0.4.2_pre2.ebuild
Date: Mon, 28 Feb 2011 07:08:31
Message-Id: 20110228070731.E26DB20054@flycatcher.gentoo.org
1 radhermit 11/02/28 07:07:31
2
3 Added: metadata.xml ChangeLog photoprint-0.4.2_pre2.ebuild
4 Log:
5 Initial import (bug #192847). Ebuild by me.
6
7 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-gfx/photoprint/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>graphics</herd>
21 <maintainer>
22 <email>radhermit@g.o</email>
23 <name>Tim Harder</name>
24 </maintainer>
25 </pkgmetadata>
26
27
28
29 1.1 media-gfx/photoprint/ChangeLog
30
31 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/ChangeLog?rev=1.1&view=markup
32 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/ChangeLog?rev=1.1&content-type=text/plain
33
34 Index: ChangeLog
35 ===================================================================
36 # ChangeLog for media-gfx/photoprint
37 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
38 # $Header: /var/cvsroot/gentoo-x86/media-gfx/photoprint/ChangeLog,v 1.1 2011/02/28 07:07:31 radhermit Exp $
39
40 *photoprint-0.4.2_pre2 (28 Feb 2011)
41
42 28 Feb 2011; Tim Harder <radhermit@g.o> +photoprint-0.4.2_pre2.ebuild,
43 +files/photoprint-0.4.2_pre2-cups-automagic.patch, +metadata.xml:
44 Initial import (bug #192847). Ebuild by me.
45
46
47
48
49 1.1 media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild?rev=1.1&content-type=text/plain
53
54 Index: photoprint-0.4.2_pre2.ebuild
55 ===================================================================
56 # Copyright 1999-2011 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild,v 1.1 2011/02/28 07:07:31 radhermit Exp $
59
60 EAPI=4
61
62 inherit eutils autotools
63
64 MY_P=${P/_/-}
65 DESCRIPTION="A utility for printing digital photographs"
66 HOMEPAGE="http://www.blackfiveimaging.co.uk/index.php?article=02Software%2F01PhotoPrint"
67 SRC_URI="http://www.blackfiveimaging.co.uk/photoprint/${MY_P}.tar.gz"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE="cups"
73
74 RDEPEND="cups? ( net-print/cups )
75 dev-libs/glib:2
76 media-libs/lcms:0
77 media-libs/netpbm
78 media-libs/tiff
79 >=net-print/gutenprint-5
80 virtual/jpeg
81 >=x11-libs/gtk+-2.4:2
82 x11-libs/libX11
83 x11-proto/xproto"
84 DEPEND="${RDEPEND}
85 sys-devel/gettext
86 dev-util/pkgconfig"
87
88 S="${WORKDIR}/${MY_P}"
89
90 src_prepare() {
91 epatch "${FILESDIR}"/${P}-cups-automagic.patch
92
93 # Ships with po/Makefile.in.in from gettext-0.17
94 # which fails with >=gettext-0.18
95 cp "${EROOT}"/usr/share/gettext/po/Makefile.in.in po/
96
97 eautoreconf
98 }
99
100 src_configure() {
101 econf \
102 $(use_enable cups)
103 }