summaryrefslogtreecommitdiff
blob: febf013281d45ce880d97012e2d1ed7370486d70 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/skanlite/skanlite-0.3.ebuild,v 1.1 2009/06/22 08:53:59 scarabeus Exp $

EAPI="2"

KDE_LINGUAS="be cs da de el en_GB es et fr ga gl it ja km lt lv
nb nds nl nn pa pl pt pt_BR ro ru sk sv tr uk wa zh_CN zh_TW"
inherit kde4-base

KDE_VERSION="4.2.4"
MY_P="${P}-kde${KDE_VERSION}"

DESCRIPTION="KDE image scannig application"
HOMEPAGE="http://www.kde.org"
SRC_URI="mirror://kde/stable/${KDE_VERSION}/src/extragear/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=kde-base/libksane-${KDE_MINIMAL}"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
	sed -e 's/Icon=skanlite/Icon=scanner/' \
			-i skanlite.desktop || die "Sed failed for skanlite.desktop"
	kde4-base_src_prepare
}