blob: ee163862eb2b85c82d0079e16137236b89735a64 (
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
39
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/kflickr/kflickr-0.9.1.ebuild,v 1.1 2008/01/20 03:13:34 philantrop Exp $
inherit kde
DESCRIPTION="KDE App for easy upload of your favourite photos to your Flickr.com account"
HOMEPAGE="http://kflickr.sourceforge.net/"
SRC_URI="mirror://sourceforge/kflickr/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
need-kde 3.5
LANGS="ar ca de es fr he it ko nb nds nl pl pt_BR ru sl sv zh_CN"
for lang in ${LANGS} ${LANGS_DOC}; do
IUSE="${IUSE} linguas_${lang}"
done
src_unpack() {
kde_src_unpack
if [[ -z ${LINGUAS} ]]; then
einfo "You can drop some of the translations of the interface and"
einfo "documentation by setting the \${LINGUAS} variable to the"
einfo "languages you want installed."
einfo
einfo "Enabling all languages"
else
cd "${S}/po"
for X in ${LANGS} ; do
use linguas_${X} || rm -f "${X}."*
done
rm -f "${S}/configure"
fi
}
|