You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/kde-misc/krename/krename-4.0.7-r1.ebuild,v 1.1 2011/12/30 22:41:06 dilfridge Exp $
|
|
|
|
EAPI=4
|
|
KDE_LINGUAS="bs cs de el es fr hu it ja nl pl pt 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="debug exif pdf taglib truetype"
|
|
|
|
DEPEND="
|
|
exif? ( >=media-gfx/exiv2-0.13 )
|
|
pdf? ( >=app-text/podofo-0.8 )
|
|
taglib? ( >=media-libs/taglib-1.5 )
|
|
truetype? ( media-libs/freetype:2 )
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
DOCS="AUTHORS README TODO"
|
|
|
|
PATCHES=( "${FILESDIR}/${PN}-4.0.7-fix-segfault.patch" )
|
|
|
|
src_configure() {
|
|
mycmakeargs+=(
|
|
$(cmake-utils_use_with exif EXIV2)
|
|
$(cmake-utils_use_with taglib)
|
|
$(cmake-utils_use_with pdf LIBPODOFO)
|
|
$(cmake-utils_use_with truetype Freetype)
|
|
)
|
|
|
|
kde4-base_src_configure
|
|
}
|