summaryrefslogtreecommitdiff
blob: bc46987ba6b20423ac9ee85b6a675da4a7979d0f (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/krename/krename-4.0.1.ebuild,v 1.5 2009/10/20 17:05:13 scarabeus Exp $

EAPI="2"

KDE_LINGUAS="bs cs de es fr hu it ja nl pl pt_BR ru sl sv tr uk zh_CN"
inherit kde4-base

DESCRIPTION="KRename - a very powerful batch file renamer."
HOMEPAGE="http://www.krename.net/"
SRC_URI="mirror://sourceforge/krename/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="4"
KEYWORDS="amd64 x86"
IUSE="taglib exif"

DEPEND="
	exif? ( >=media-gfx/exiv2-0.13 )
	taglib? ( >=media-libs/taglib-1.5 )
	!${CATEGORY}/${PN}:0
"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}"/4.0.0-fix_automagicness.patch
	"${FILESDIR}"/4.0.0-fix_taglib_support.patch
	"${FILESDIR}"/4.0.0-fix_exiv2_support.patch
)

src_configure() {
	mycmakeargs="${mycmakeargs}
		$(cmake-utils_use_with exif EXIV2)
		$(cmake-utils_use_with taglib)
	"

	kde4-base_src_configure
}