summaryrefslogtreecommitdiff
blob: f6633ae01180ec2a63d6bb5cac880c4a2e3994f0 (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
34
35
36
37
38
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcm_gtk/kcm_gtk-1.1.ebuild,v 1.1 2009/12/29 10:27:55 ssuominen Exp $

EAPI=2
CMAKE_IN_SOURCE_BUILD="1"
KDE_LINGUAS="bg cs de es fr it nn ru sv tr"

inherit kde4-base

MY_PN=gtk-qt-engine

DESCRIPTION="KControl GTK+ Theme Selector"
HOMEPAGE="http://gtk-qt.ecs.soton.ac.uk"
SRC_URI="http://gtk-qt.ecs.soton.ac.uk/files/${PV}/${MY_PN}-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="gnome"

DEPEND="!x11-themes/gtk-engines-qt
	x11-libs/gtk+:2
	gnome? ( gnome-base/libbonoboui )"

S=${WORKDIR}/${MY_PN}

src_prepare() {
	sed -i \
		-e "s:\${XDG_APPS_INSTALL_DIR}:${KDEDIR}/share/kde4/services/:g" \
		kcm_gtk/CMakeLists.txt || die
	
	sed -i \
		-e '/ADD_SUBDIRECTORY(src)/d' \
		CMakeLists.txt || die

	kde4-base_src_prepare
}