summaryrefslogtreecommitdiff
blob: 668972c8e4c3f7257fa330730fe31c1e8e9ea908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kedit/kedit-3.5.9.ebuild,v 1.5 2008/05/12 20:03:18 ranger Exp $

KMNAME=kdeutils
EAPI="1"
inherit kde-meta eutils

DESCRIPTION="KDE: very simple text editor"
KEYWORDS="alpha ~amd64 ~hppa ia64 ppc ~ppc64 sparc ~x86 ~x86-fbsd"
IUSE="kdehiddenvisibility"

src_compile() {
	kde-meta_src_compile
	sed -e "/^Categories/s/=.*$/=Qt;KDE;Utility;TextEditor;/" \
		-e "/Mimetype/s/$/;/" -i "${S}"/${PN}/KEdit.desktop \
		|| die "Sed to fix .desktop entry failed."
}