summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-misc/krename
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-misc/krename')
-rw-r--r--kde-misc/krename/Manifest1
-rw-r--r--kde-misc/krename/files/krename-4.0.9-desktop-file.patch14
-rw-r--r--kde-misc/krename/files/krename-4.0.9-freetype-include.patch12
-rw-r--r--kde-misc/krename/krename-4.0.9-r3.ebuild44
-rw-r--r--kde-misc/krename/metadata.xml8
5 files changed, 79 insertions, 0 deletions
diff --git a/kde-misc/krename/Manifest b/kde-misc/krename/Manifest
new file mode 100644
index 00000000000..35190da081a
--- /dev/null
+++ b/kde-misc/krename/Manifest
@@ -0,0 +1 @@
+DIST krename-4.0.9.tar.bz2 244658 SHA256 baf1f426360824c98ee3134a74fe2c93763ea01c15aea8801d6968d676796d85 SHA512 13805de37b816c8475189a35c08febe8657101fb0a2b2a830c92c86320199eec193f582945b0f516f9ac4b08164b17d8af161cb2e890616b2ccf60ed5228dc42 WHIRLPOOL f0107ec77d96e1b47968d17e812425deb93e17e5585e2f5f10ab01d57f78e24efa43b222486d0d6aa18315057d1a5ce63190b9abea559f5e7f033bff5da5fe9f
diff --git a/kde-misc/krename/files/krename-4.0.9-desktop-file.patch b/kde-misc/krename/files/krename-4.0.9-desktop-file.patch
new file mode 100644
index 00000000000..bb7dbacb3af
--- /dev/null
+++ b/kde-misc/krename/files/krename-4.0.9-desktop-file.patch
@@ -0,0 +1,14 @@
+diff -urN krename-4.0.9.old/src/krename.desktop krename-4.0.9/src/krename.desktop
+--- krename-4.0.9.old/src/krename.desktop 2007-03-18 17:54:10.000000000 +0100
++++ krename-4.0.9/src/krename.desktop 2014-04-29 18:37:34.171237934 +0200
+@@ -1,8 +1,7 @@
+ [Desktop Entry]
+ Type=Application
+-Exec=krename -caption "%c" %i %m %U
+-Icon=krename.png
+-MiniIcon=krename.png
++Exec=krename -caption "%c" %i %U
++Icon=krename
+ DocPath=krename/index.html
+ Comment=A batch renamer
+ Comment[de]=Ein Batch Umbenenner
diff --git a/kde-misc/krename/files/krename-4.0.9-freetype-include.patch b/kde-misc/krename/files/krename-4.0.9-freetype-include.patch
new file mode 100644
index 00000000000..c6c70a584cf
--- /dev/null
+++ b/kde-misc/krename/files/krename-4.0.9-freetype-include.patch
@@ -0,0 +1,12 @@
+diff -ur krename-4.0.9_old/src/CMakeLists.txt krename-4.0.9/src/CMakeLists.txt
+--- krename-4.0.9_old/src/CMakeLists.txt 2010-09-26 08:50:36.000000000 +0200
++++ krename-4.0.9/src/CMakeLists.txt 2013-02-24 11:28:04.966613874 +0100
+@@ -18,7 +18,7 @@
+ ENDIF(LIBPODOFO_FOUND)
+
+ IF(FREETYPE_FOUND)
+- INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIR} )
++ INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIRS} )
+ ENDIF(FREETYPE_FOUND)
+
+ ADD_DEFINITIONS(${TAGLIB_CFLAGS} ${EXIV2_CFLAGS} ${LIBPODOFO_CFLAGS} ${KDE4_DEFINITIONS} )
diff --git a/kde-misc/krename/krename-4.0.9-r3.ebuild b/kde-misc/krename/krename-4.0.9-r3.ebuild
new file mode 100644
index 00000000000..d894be6655a
--- /dev/null
+++ b/kde-misc/krename/krename-4.0.9-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+)
+DOCS=( AUTHORS README TODO )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with exif Exiv2)
+ $(cmake-utils_use_with taglib)
+ $(cmake-utils_use_with pdf LIBPODOFO)
+ $(cmake-utils_use_with truetype Freetype)
+ )
+
+ kde4-base_src_configure
+}
diff --git a/kde-misc/krename/metadata.xml b/kde-misc/krename/metadata.xml
new file mode 100644
index 00000000000..2110fbb8f12
--- /dev/null
+++ b/kde-misc/krename/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <upstream>
+ <remote-id type="sourceforge">krename</remote-id>
+ </upstream>
+</pkgmetadata>