summaryrefslogtreecommitdiff
blob: 3f9d6b5f3d9c79910dfb8bfbea4791ae1d08e091 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/gtk-engines-qt-0.7.ebuild,v 1.2 2006/08/22 17:12:48 genstef Exp $

inherit kde eutils

MY_PN="gtk-qt-engine"
DESCRIPTION="GTK+2 Qt Theme Engine"
HOMEPAGE="http://www.freedesktop.org/Software/gtk-qt"
SRC_URI="http://www.freedesktop.org/~davidsansome/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"

DEPEND="${DEPEND}
	>=x11-libs/gtk+-2.2"

need-kde 3
# Set slot after the need-kde. Fixes bug #78455.
SLOT="2"

S=${WORKDIR}/${MY_PN}

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/gtk-engines-qt-0.7-implicit.patch
}

src_install() {
	kde_src_install
	# remove duplicate .desktop
	rm ${D}/usr/share/applnk/Settings/LookNFeel/kcmgtk.desktop
	echo gtk-icon-theme-name="gnome" >> ${D}/usr/share/themes/Qt/gtk-2.0/gtkrc
}