summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/krename/Manifest1
-rw-r--r--kde-misc/krename/krename-4.0.9_p20170610.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/kde-misc/krename/Manifest b/kde-misc/krename/Manifest
index 35190da081a6..a42f10aad6b0 100644
--- a/kde-misc/krename/Manifest
+++ b/kde-misc/krename/Manifest
@@ -1 +1,2 @@
DIST krename-4.0.9.tar.bz2 244658 SHA256 baf1f426360824c98ee3134a74fe2c93763ea01c15aea8801d6968d676796d85 SHA512 13805de37b816c8475189a35c08febe8657101fb0a2b2a830c92c86320199eec193f582945b0f516f9ac4b08164b17d8af161cb2e890616b2ccf60ed5228dc42 WHIRLPOOL f0107ec77d96e1b47968d17e812425deb93e17e5585e2f5f10ab01d57f78e24efa43b222486d0d6aa18315057d1a5ce63190b9abea559f5e7f033bff5da5fe9f
+DIST krename-4.0.9_p20170610.tar.xz 117888 SHA256 88278f3a3bc68a9acabdf55edb1d2e109adce2d4d78742bde23676f4ee92d760 SHA512 a406650f9c2b9094e21ea5224166b6f621da8cab9720737ded37b92c8fd0942ef10cdedc475a08ab363320719ffb203e3f7e0e72de4e64658fc68ad0600736fa WHIRLPOOL 73e5a162c7319ce16b25a7d55276bb08f438fcc8efeea94abd3297eb6367823b3bf1700663bb6d0d732ce404db4b45340b894e75ad27630c139fe41ab6e55f84
diff --git a/kde-misc/krename/krename-4.0.9_p20170610.ebuild b/kde-misc/krename/krename-4.0.9_p20170610.ebuild
new file mode 100644
index 000000000000..076aa1fbefa9
--- /dev/null
+++ b/kde-misc/krename/krename-4.0.9_p20170610.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Powerful batch file renamer"
+HOMEPAGE="http://www.krename.net/"
+SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="exif pdf taglib truetype"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kjs)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ exif? ( media-gfx/exiv2:= )
+ pdf? ( app-text/podofo )
+ taglib? ( media-libs/taglib )
+ truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+ !kde-misc/krename:4
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package exif Exiv2)
+ $(cmake-utils_use_find_package taglib Taglib)
+ $(cmake-utils_use_find_package pdf PoDoFo)
+ $(cmake-utils_use_find_package truetype Freetype)
+ )
+
+ kde5_src_configure
+}