summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-28 21:02:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-28 21:02:32 +0000
commited3af5326531a17e1df30628fddeb6a49fabeee0 (patch)
tree94b4458a21b6f15c8e66404e34b5882367aac5da /kde-misc/kim4
parentFixing build against >=net-libs/gnutls-2.7.1 bug #271989. Fixing broken pkg-c... (diff)
downloadgentoo-2-ed3af5326531a17e1df30628fddeb6a49fabeee0.tar.gz
gentoo-2-ed3af5326531a17e1df30628fddeb6a49fabeee0.tar.bz2
gentoo-2-ed3af5326531a17e1df30628fddeb6a49fabeee0.zip
Initial commit wrt #154115, thanks to LIETART Frederic for reporting.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/kim4')
-rw-r--r--kde-misc/kim4/ChangeLog10
-rw-r--r--kde-misc/kim4/files/kim4-0.9.5-install.sh.patch39
-rw-r--r--kde-misc/kim4/kim4-0.9.5.ebuild32
-rw-r--r--kde-misc/kim4/metadata.xml5
4 files changed, 86 insertions, 0 deletions
diff --git a/kde-misc/kim4/ChangeLog b/kde-misc/kim4/ChangeLog
new file mode 100644
index 000000000000..90a36cff7854
--- /dev/null
+++ b/kde-misc/kim4/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for kde-misc/kim4
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kim4/ChangeLog,v 1.1 2009/10/28 21:02:31 ssuominen Exp $
+
+*kim4-0.9.5 (28 Oct 2009)
+
+ 28 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +kim4-0.9.5.ebuild,
+ +files/kim4-0.9.5-install.sh.patch:
+ Initial commit wrt #154115, thanks to LIETART Frederic for reporting.
+
diff --git a/kde-misc/kim4/files/kim4-0.9.5-install.sh.patch b/kde-misc/kim4/files/kim4-0.9.5-install.sh.patch
new file mode 100644
index 000000000000..042b0a17107e
--- /dev/null
+++ b/kde-misc/kim4/files/kim4-0.9.5-install.sh.patch
@@ -0,0 +1,39 @@
+--- install.sh.orig 2009-02-22 18:08:21.000000000 +0200
++++ install.sh 2009-10-29 00:00:04.000000000 +0200
+@@ -19,19 +19,22 @@
+
+ kdeinstdir=`kde4-config --prefix`
+
+-cp src/kim_*.desktop $kdeinstdir/share/kde4/services/ServiceMenus/
+-cp src/bin/kim_* $kdeinstdir/bin/
+-chmod a+rx $kdeinstdir/bin/kim_*
+-chmod a+r $kdeinstdir/share/kde4/services/ServiceMenus/kim_*.desktop
+-mv $kdeinstdir/share/kde4/services/ServiceMenus/imageconverter.desktop $kdeinstdir/share/kde4/services/ServiceMenus/imageconverter.desktop~
+-
+-mkdir $kdeinstdir/share/kim
+-cp COPYING $kdeinstdir/share/kim/kim_about.txt
++mkdir -p ${DESTDIR}$kdeinstdir/share/kde4/services/ServiceMenus
++cp src/kim_*.desktop ${DESTDIR}$kdeinstdir/share/kde4/services/ServiceMenus/
+
+-mkdir $kdeinstdir/share/kim/slideshow/
+-cp src/slideshow/* $kdeinstdir/share/kim/slideshow/
++mkdir -p ${DESTDIR}$kdeinstdir/bin
++cp src/bin/kim_* ${DESTDIR}$kdeinstdir/bin/
+
+-mkdir $kdeinstdir/share/kim/gallery
+-cp src/gallery/* $kdeinstdir/share/kim/gallery
++chmod a+rx ${DESTDIR}$kdeinstdir/bin/kim_*
++chmod a+r ${DESTDIR}$kdeinstdir/share/kde4/services/ServiceMenus/kim_*.desktop
+
+-echo "Kim has been installed. Good bye!"
+\ No newline at end of file
++mkdir -p ${DESTDIR}$kdeinstdir/share/apps/kim
++cp COPYING ${DESTDIR}$kdeinstdir/share/apps/kim/kim_about.txt
++
++mkdir -p ${DESTDIR}$kdeinstdir/share/kim/slideshow
++cp src/slideshow/* ${DESTDIR}$kdeinstdir/share/kim/slideshow/
++
++mkdir -p ${DESTDIR}$kdeinstdir/share/kim/gallery
++cp src/gallery/* ${DESTDIR}$kdeinstdir/share/kim/gallery
++
++echo "Kim has been installed. Good bye!"
diff --git a/kde-misc/kim4/kim4-0.9.5.ebuild b/kde-misc/kim4/kim4-0.9.5.ebuild
new file mode 100644
index 000000000000..e4b932b45816
--- /dev/null
+++ b/kde-misc/kim4/kim4-0.9.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kim4/kim4-0.9.5.ebuild,v 1.1 2009/10/28 21:02:31 ssuominen Exp $
+
+EAPI=2
+KDE_MINIMAL=4.3
+inherit eutils
+
+DESCRIPTION="a Dolphin and Konqueror service menu for ImageMagick"
+HOMEPAGE="http://www.kde-apps.org/content/show.php/Kim+%28Kde+Image+Menu%29?content=11505"
+SRC_URI="http://bouveyron.free.fr/kim/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+RDEPEND=">=kde-base/kdelibs-${KDE_MINIMAL}
+ || ( >=kde-base/dolphin-${KDE_MINIMAL} >=kde-base/konqueror-${KDE_MINIMAL} )
+ media-gfx/imagemagick"
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-install.sh.patch
+}
+
+src_install() {
+ DESTDIR=${D} ./install.sh || die
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/kde-misc/kim4/metadata.xml b/kde-misc/kim4/metadata.xml
new file mode 100644
index 000000000000..8d1e86a9cefb
--- /dev/null
+++ b/kde-misc/kim4/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>