forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-misc/krename: Add 4.0.9_p20170610 KF5-based snapshot
Package-Manager: Portage-2.3.5, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |