| 1 |
dilfridge |
1.1 |
# Copyright 1999-2011 Gentoo Foundation |
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
johu |
1.2 |
# $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 $ |
| 4 |
dilfridge |
1.1 |
|
| 5 |
|
|
EAPI=4 |
| 6 |
|
|
KDE_LINGUAS="bs cs de el es fr hu it ja nl pl pt ru sl sv tr uk zh_CN" |
| 7 |
|
|
inherit kde4-base |
| 8 |
|
|
|
| 9 |
|
|
DESCRIPTION="KRename - a very powerful batch file renamer." |
| 10 |
|
|
HOMEPAGE="http://www.krename.net/" |
| 11 |
|
|
SRC_URI="mirror://sourceforge/krename/${P}.tar.bz2" |
| 12 |
|
|
|
| 13 |
|
|
LICENSE="GPL-2" |
| 14 |
|
|
SLOT="4" |
| 15 |
|
|
KEYWORDS="~amd64 ~x86" |
| 16 |
|
|
IUSE="debug exif pdf taglib truetype" |
| 17 |
|
|
|
| 18 |
|
|
DEPEND=" |
| 19 |
|
|
exif? ( >=media-gfx/exiv2-0.13 ) |
| 20 |
|
|
pdf? ( >=app-text/podofo-0.8 ) |
| 21 |
|
|
taglib? ( >=media-libs/taglib-1.5 ) |
| 22 |
|
|
truetype? ( media-libs/freetype:2 ) |
| 23 |
|
|
" |
| 24 |
|
|
RDEPEND="${DEPEND}" |
| 25 |
|
|
|
| 26 |
|
|
DOCS="AUTHORS README TODO" |
| 27 |
|
|
|
| 28 |
|
|
PATCHES=( "${FILESDIR}/${PN}-4.0.7-fix-segfault.patch" ) |
| 29 |
|
|
|
| 30 |
|
|
src_configure() { |
| 31 |
|
|
mycmakeargs+=( |
| 32 |
|
|
$(cmake-utils_use_with exif EXIV2) |
| 33 |
|
|
$(cmake-utils_use_with taglib) |
| 34 |
|
|
$(cmake-utils_use_with pdf LIBPODOFO) |
| 35 |
|
|
$(cmake-utils_use_with truetype Freetype) |
| 36 |
|
|
) |
| 37 |
|
|
|
| 38 |
|
|
kde4-base_src_configure |
| 39 |
|
|
} |