summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-07-09 21:05:13 +0200
committerJohannes Huber <johu@gentoo.org>2016-07-09 21:05:26 +0200
commit577852946efdb0d29df022f045aeff6448ce3bd8 (patch)
tree3945caa8472adad096de23944cb5172f1ade733c /kde-misc/krename/krename-4.0.9-r4.ebuild
parentsci-visualization/paraview: add a required use constraint, bug #586934 (diff)
downloadgentoo-577852946efdb0d29df022f045aeff6448ce3bd8.tar.gz
gentoo-577852946efdb0d29df022f045aeff6448ce3bd8.tar.bz2
gentoo-577852946efdb0d29df022f045aeff6448ce3bd8.zip
kde-misc/krename: Fix build with gcc-6
Revision bump adds patch from Arch Linux. Spotted by George Diamantopoulos <georgediam@gmail.com>. Gentoo-bug: 587994 Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-misc/krename/krename-4.0.9-r4.ebuild')
-rw-r--r--kde-misc/krename/krename-4.0.9-r4.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/kde-misc/krename/krename-4.0.9-r4.ebuild b/kde-misc/krename/krename-4.0.9-r4.ebuild
new file mode 100644
index 00000000000..638803e7080
--- /dev/null
+++ b/kde-misc/krename/krename-4.0.9-r4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}