summaryrefslogtreecommitdiff
blob: e7aec521eca23e218838d05ea9c0b91a860e7c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.2 2009/10/28 21:04:30 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/kdialog-${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
}