summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-06-25 10:12:30 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-06-25 10:12:30 +0000
commite48b52c6ffeb9c061f234a825edb64eb1bf529a4 (patch)
treefa3303562c590314167b62523b15095398a8c8ac /kde-misc
parentCleaned uneeded patches (diff)
downloadgentoo-2-e48b52c6ffeb9c061f234a825edb64eb1bf529a4.tar.gz
gentoo-2-e48b52c6ffeb9c061f234a825edb64eb1bf529a4.tar.bz2
gentoo-2-e48b52c6ffeb9c061f234a825edb64eb1bf529a4.zip
Version bump. Introduce new pdf useflag.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/krename/ChangeLog8
-rw-r--r--kde-misc/krename/files/4.0.4-podofo_automagic.patch13
-rw-r--r--kde-misc/krename/krename-4.0.4.ebuild38
3 files changed, 58 insertions, 1 deletions
diff --git a/kde-misc/krename/ChangeLog b/kde-misc/krename/ChangeLog
index b8c89f730a1b..99d073ddea94 100644
--- a/kde-misc/krename/ChangeLog
+++ b/kde-misc/krename/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-misc/krename
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/krename/ChangeLog,v 1.58 2010/06/21 17:42:22 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/krename/ChangeLog,v 1.59 2010/06/25 10:12:30 scarabeus Exp $
+
+*krename-4.0.4 (25 Jun 2010)
+
+ 25 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/4.0.4-podofo_automagic.patch, +krename-4.0.4.ebuild:
+ Version bump. Introduce new pdf useflag.
21 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-files/4.0.0-fix_automagicness.patch, -krename-4.0.2.ebuild,
diff --git a/kde-misc/krename/files/4.0.4-podofo_automagic.patch b/kde-misc/krename/files/4.0.4-podofo_automagic.patch
new file mode 100644
index 000000000000..5f6213073d04
--- /dev/null
+++ b/kde-misc/krename/files/4.0.4-podofo_automagic.patch
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.old 2010-06-25 11:58:36.000000000 +0200
++++ CMakeLists.txt 2010-06-25 12:05:18.000000000 +0200
+@@ -43,7 +43,9 @@
+ CONFIGURE_FILE(config-krename.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-krename.h )
+
+ # Find podofo
+-FIND_PACKAGE(LIBPODOFO)
++macro_optional_find_package(LIBPODOFO)
++macro_log_feature(LIBPODOFO_FOUND "libPodofo" "A library to access pdf metadata" "http://podofo.sourceforge.net/" FALSE "")
++
+ IF(LIBPODOFO_FOUND)
+ ADD_DEFINITIONS( -DWITH_PODOFO )
+ MESSAGE("-- The podofo library was found. KRename will be built with podofo support.")
diff --git a/kde-misc/krename/krename-4.0.4.ebuild b/kde-misc/krename/krename-4.0.4.ebuild
new file mode 100644
index 000000000000..55ed3f94acf5
--- /dev/null
+++ b/kde-misc/krename/krename-4.0.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/krename/krename-4.0.4.ebuild,v 1.1 2010/06/25 10:12:30 scarabeus Exp $
+
+EAPI=2
+KDE_LINGUAS="bs cs de es fr hu it ja nl pl pt_BR 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"
+
+DEPEND="
+ exif? ( >=media-gfx/exiv2-0.13 )
+ pdf? ( >=app-text/podofo-0.8 )
+ taglib? ( >=media-libs/taglib-1.5 )
+"
+
+DOCS="AUTHORS README TODO"
+
+PATCHES=(
+ "${FILESDIR}/4.0.4-podofo_automagic.patch"
+)
+
+src_configure() {
+ mycmakeargs+=(
+ $(cmake-utils_use_with exif EXIV2)
+ $(cmake-utils_use_with taglib)
+ $(cmake-utils_use_with pdf LIBPODOFO)
+ )
+
+ kde4-base_src_configure
+}