Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/kphotoalbum: ChangeLog kphotoalbum-3.1.0.ebuild kphotoalbum-2.2.ebuild kphotoalbum-3.0.2.ebuild kphotoalbum-3.0.1.ebuild
Date: Sun, 02 Dec 2007 00:58:29
Message-Id: E1IydA4-00012B-Aw@stork.gentoo.org
1 philantrop 07/12/02 00:58:20
2
3 Modified: ChangeLog
4 Added: kphotoalbum-3.1.0.ebuild
5 Removed: kphotoalbum-2.2.ebuild kphotoalbum-3.0.2.ebuild
6 kphotoalbum-3.0.1.ebuild
7 Log:
8 Version bump as per bug 200378. Removed obsolete versions.
9 (Portage version: 2.1.4_rc4)
10
11 Revision Changes Path
12 1.20 media-gfx/kphotoalbum/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/kphotoalbum/ChangeLog?rev=1.20&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/kphotoalbum/ChangeLog?rev=1.20&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/kphotoalbum/ChangeLog?r1=1.19&r2=1.20
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v
21 retrieving revision 1.19
22 retrieving revision 1.20
23 diff -u -r1.19 -r1.20
24 --- ChangeLog 17 Jun 2007 14:26:02 -0000 1.19
25 +++ ChangeLog 2 Dec 2007 00:58:19 -0000 1.20
26 @@ -1,6 +1,14 @@
27 # ChangeLog for media-gfx/kphotoalbum
28 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.19 2007/06/17 14:26:02 philantrop Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.20 2007/12/02 00:58:19 philantrop Exp $
31 +
32 +*kphotoalbum-3.1.0 (02 Dec 2007)
33 +
34 + 02 Dec 2007; Wulf C. Krueger <philantrop@g.o>
35 + +files/kphotoalbum-3.1.0-exiv2.patch, -kphotoalbum-2.2.ebuild,
36 + -kphotoalbum-3.0.1.ebuild, -kphotoalbum-3.0.2.ebuild,
37 + +kphotoalbum-3.1.0.ebuild:
38 + Version bump as per bug 200378. Removed obsolete versions.
39
40 *kphotoalbum-3.0.2-r1 (17 Jun 2007)
41
42
43
44
45 1.1 media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild?rev=1.1&content-type=text/plain
49
50 Index: kphotoalbum-3.1.0.ebuild
51 ===================================================================
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild,v 1.1 2007/12/02 00:58:19 philantrop Exp $
55
56 inherit kde
57
58 DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images."
59 HOMEPAGE="http://www.kphotoalbum.org/"
60 SRC_URI="http://www.kphotoalbum.org/download/${P}.tar.bz2"
61
62 SLOT="0"
63 LICENSE="GPL-2"
64 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
65 IUSE="arts exif raw"
66
67 LANGS="ar be br ca cs cy da de el en_GB es et fi fr ga gl hi is it ja ka lt mt
68 nb nds nl pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta tr uk vi zh_CN"
69
70 LANGS_DOC="da de es et fr it nl pt sv"
71
72 for lang in ${LANGS}; do
73 IUSE="${IUSE} linguas_${lang}"
74 done
75
76 DEPEND="exif? ( >=media-gfx/exiv2-0.15 )
77 raw? ( >=media-libs/libkdcraw-0.1.1 )
78 >=media-libs/jpeg-6b-r7
79 >=media-libs/libkipi-0.1
80 || ( kde-base/kdegraphics kde-base/kdegraphics-kfile-plugins )
81 arts? ( kde-base/arts )"
82
83 need-kde 3.5
84
85 PATCHES="${FILESDIR}/${P}-exiv2.patch"
86
87 pkg_setup() {
88 setupok=1
89 if use exif ; then
90 if ! built_with_use =x11-libs/qt-3* sqlite ; then
91 elog "To enable KPhotoAlbum to search your images"
92 elog "using EXIF information you also need to have"
93 elog "Qt installed with SQLite support."
94 elog
95 elog "Make sure your Qt is installed with the sqlite USE flag."
96 setupok=0
97 fi
98 fi
99
100 slot_rebuild "media-libs/libkipi"
101 setupok=$?
102
103 if [ $setupok == 0 ] ; then
104 die
105 fi
106 }
107
108 src_unpack() {
109 kde_src_unpack
110
111 # Adapted from kde.eclass
112 if [[ -z ${LINGUAS} ]]; then
113 elog "You can drop some of the translations of the interface and"
114 elog "documentation by setting the \${LINGUAS} variable to the"
115 elog "languages you want installed."
116 elog
117 elog "Enabling all languages"
118 else
119 if [[ -n ${LANGS} ]]; then
120 MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | tr ' ' '\n' | sort | uniq -d))
121 elog "Enabling translations for: ${MAKE_PO}"
122 sed -i -e "s:^SUBDIRS=.*:SUBDIRS = ${MAKE_PO}:" "${KDE_S}/translations/Makefile.am" \
123 || die "sed for locale failed"
124 rm -f "${KDE_S}/configure"
125 fi
126
127 if [[ -n ${LANGS_DOC} ]]; then
128 MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | tr ' ' '\n' | sort | uniq -d))
129 elog "Enabling documentation for: ${MAKE_DOC}"
130 elog "(If some languages you chose are missing, it's because there's no translation for them.)"
131 fi
132 fi
133 }
134
135 src_compile() {
136 local myconf="$(use_enable raw kdcraw)"
137 if ! use exif; then
138 elog "NOTICE: You have the exif USE flag disabled. ${CATEGORY}/${PN}"
139 elog "will be compiled without EXIF support."
140 myconf="${myconf} --disable-exiv2"
141 fi
142 kde_src_compile
143 }
144
145
146
147 --
148 gentoo-commits@g.o mailing list