Gentoo Archives: gentoo-commits

From: "Thilo Bangert (bangert)" <bangert@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/openclipart: ChangeLog openclipart-0.19.ebuild
Date: Mon, 11 May 2009 13:44:46
Message-Id: E1M3VoB-0006wm-Nn@stork.gentoo.org
1 bangert 09/05/11 13:44:43
2
3 Modified: ChangeLog
4 Added: openclipart-0.19.ebuild
5 Log:
6 version bump - bug #264732 - thanks hitachi
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.16 x11-misc/openclipart/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/openclipart/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/openclipart/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/openclipart/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/openclipart/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 24 Jan 2009 13:48:43 -0000 1.15
23 +++ ChangeLog 11 May 2009 13:44:43 -0000 1.16
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-misc/openclipart
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/openclipart/ChangeLog,v 1.15 2009/01/24 13:48:43 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/openclipart/ChangeLog,v 1.16 2009/05/11 13:44:43 bangert Exp $
29 +
30 +*openclipart-0.19 (11 May 2009)
31 +
32 + 11 May 2009; Thilo Bangert <bangert@g.o> +openclipart-0.19.ebuild:
33 + version bump - bug #264732
34
35 24 Jan 2009; nixnut <nixnut@g.o> openclipart-0.18-r1.ebuild:
36 ppc stable #254547
37
38
39
40 1.1 x11-misc/openclipart/openclipart-0.19.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/openclipart/openclipart-0.19.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/openclipart/openclipart-0.19.ebuild?rev=1.1&content-type=text/plain
44
45 Index: openclipart-0.19.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-misc/openclipart/openclipart-0.19.ebuild,v 1.1 2009/05/11 13:44:43 bangert Exp $
50
51 EAPI="2"
52
53 DESCRIPTION="Open Clip Art Library (openclipart.org)"
54 HOMEPAGE="http://www.openclipart.org/"
55
56 SRC_URI="http://download.openclipart.org/downloads/${PV}/${P}.tar.bz2"
57 LICENSE="public-domain"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 IUSE="svg png gzip"
61
62 # We don't really need anything to run
63 DEPEND=""
64 RDEPEND=""
65
66 # suggested basedir for cliparts
67 CLIPART="/usr/share/clipart/${PN}"
68
69 src_compile() {
70 local removeext
71
72 if ! use svg && ! use png; then
73 elog "No image formats specified - defaulting to all (png and svg)"
74 else
75 ! use png && removeext="${removeext} png"
76 ! use svg && removeext="${removeext} svg"
77 fi
78
79 for ext in ${removeext}; do
80 elog "Removing ${ext} files..."
81 find -name "*.${ext}" -exec rm -f {} \; \
82 || die "Failed - remove"
83 done
84
85 if use gzip; then
86 einfo "Compressing SVG files..."
87 find -name "*.svg" -print0 | xargs -L 1 -0 \
88 bash -c 'gzip -9c "${1}" > "${1}z"; rm -f "${1}"' --
89 fi
90 }
91
92 src_install() {
93 insinto ${CLIPART}
94 doins -r .
95 }