forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
krename-4.0.9-r4.ebuild
44 lines (36 loc) · 988 Bytes
/
krename-4.0.9-r4.ebuild
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
40
41
42
43
44
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KDE_LINGUAS="bs cs de el es fr hu it ja lt 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"
RDEPEND="
exif? ( >=media-gfx/exiv2-0.13:= )
pdf? ( >=app-text/podofo-0.8 )
taglib? ( >=media-libs/taglib-1.5 )
truetype? ( media-libs/freetype:2 )
"
DEPEND="${RDEPEND}
sys-devel/gettext
"
PATCHES=(
"${FILESDIR}/${P}-freetype-include.patch"
"${FILESDIR}/${P}-desktop-file.patch"
"${FILESDIR}/${P}-gcc6.patch"
)
DOCS=( AUTHORS README TODO )
src_configure() {
local mycmakeargs=(
-DWITH_Exiv2=$(usex exif)
-DWITH_Taglib=$(usex taglib)
-DWITH_LIBPODOFO=$(usex pdf)
-DWITH_Freetype=$(usex truetype)
)
kde4-base_src_configure
}