commit: 0f580f56480e30d726fc35dcaf3ba73370558d14 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Jul 4 19:52:53 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Jul 4 19:52:53 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0f580f56
kde-misc/krename: Add USE office for file names based on ODF metadata Upstream commit 854c90b3cd97a69fa79176569d7f1868e12b8ac7 Package-Manager: Portage-2.3.41, Repoman-2.3.9 kde-misc/krename/krename-9999.ebuild | 6 ++++-- kde-misc/krename/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/kde-misc/krename/krename-9999.ebuild b/kde-misc/krename/krename-9999.ebuild index 5d027b0f43..eb3c9ee918 100644 --- a/kde-misc/krename/krename-9999.ebuild +++ b/kde-misc/krename/krename-9999.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="http://www.krename.net/" LICENSE="GPL-2" KEYWORDS="" -IUSE="exif pdf taglib truetype" +IUSE="exif office pdf taglib truetype" COMMON_DEPEND=" $(add_frameworks_dep kcompletion) @@ -31,6 +31,7 @@ COMMON_DEPEND=" $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) exif? ( media-gfx/exiv2:= ) + office? ( $(add_frameworks_dep karchive) ) pdf? ( app-text/podofo ) taglib? ( media-libs/taglib ) truetype? ( media-libs/freetype:2 ) @@ -45,8 +46,9 @@ RDEPEND="${COMMON_DEPEND} src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package exif Exiv2) - $(cmake-utils_use_find_package taglib Taglib) + $(cmake-utils_use_find_package office KF5Archive) $(cmake-utils_use_find_package pdf PoDoFo) + $(cmake-utils_use_find_package taglib Taglib) $(cmake-utils_use_find_package truetype Freetype) ) diff --git a/kde-misc/krename/metadata.xml b/kde-misc/krename/metadata.xml index 2fdbf33d96..0cef9de7ae 100644 --- a/kde-misc/krename/metadata.xml +++ b/kde-misc/krename/metadata.xml @@ -5,4 +5,7 @@ <email>k...@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <use> + <flag name="office">Enable support for file naming based on ODF metadata</flag> + </use> </pkgmetadata>