summaryrefslogtreecommitdiff
blob: b3397566ca42889ef6d9aef27ce1c8b80a2ba534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libkexif/libkexif-0.2.5.ebuild,v 1.4 2007/04/19 19:58:28 gustavoz Exp $

inherit kde

DESCRIPTION="A KDE library for loss-less EXIF operations."
HOMEPAGE="http://www.kipi-plugins.org/"
SRC_URI="mirror://sourceforge/kipi/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ppc sparc ~x86"
IUSE=""

RDEPEND=">=media-libs/libexif-0.6.9"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

LANGS="ar bg br ca cs cy da de el en_GB es et fr ga gl is it ja lt mt nb nl nn
pa pl pt pt_BR ru rw sk sr sr@Latn sv ta tr uk zh_CN"

for X in ${LANGS} ; do
	IUSE="${IUSE} linguas_${X}"
done

src_unpack() {
	kde_src_unpack
	cd "${WORKDIR}/${P}/po"
	for X in ${LANGS} ; do
		use linguas_${X} || rm -rf "${X}"
	done
	rm -f "${S}/configure"
}

need-kde 3.4