/[gentoo-x86]/media-gfx/converseen/converseen-0.4.7.ebuild
Gentoo

Contents of /media-gfx/converseen/converseen-0.4.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Dec 12 19:11:23 2011 UTC (3 years ago) by maksbotan
Branch: MAIN
Changes since 1.1: +7 -1 lines
Fix bug 393557, thanks to Nikoli

(Portage version: 2.1.10.40/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/converseen/converseen-0.4.7.ebuild,v 1.1 2011/12/07 20:31:27 maksbotan Exp $
4
5 EAPI="4"
6 LANGSLONG="cs_CZ de_DE fr_FR hu_HU it_IT pl_PL pt_BR tr_TR"
7 LANGS="es_CL"
8
9 inherit cmake-utils
10
11 DESCRIPTION="Batch image converter and resizer based on ImageMagick"
12 HOMEPAGE="http://converseen.sourceforge.net"
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="debug"
19 for x in ${LANGS}; do
20 IUSE="${IUSE} linguas_${x}"
21 done
22 for x in ${LANGSLONG}; do
23 IUSE="${IUSE} linguas_${x%_*}"
24 done
25
26 RDEPEND="
27 x11-libs/qt-gui:4
28 || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
29 "
30 DEPEND="${RDEPEND}"
31
32 DOCS="README"
33
34 src_prepare() {
35 for x in ${LANGSLONG}; do
36 if use !linguas_${x%_*}; then
37 rm -f "loc/${PN}_${x}."* || die
38 sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
39 fi
40 done
41 for x in ${LANGS}; do
42 if use !linguas_${x}; then
43 rm -f "loc/${PN}_${x}."* || die
44 sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
45 fi
46 done
47 }

  ViewVC Help
Powered by ViewVC 1.1.20