summaryrefslogtreecommitdiff
blob: b230035b89eecc5ab2578b0d62d8ff57187c24e4 (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-2008 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.8-r1.ebuild,v 1.3 2008/06/29 18:19:49 opfer Exp $

ARTS_REQUIRED="never"

inherit kde

MY_PN="gtk-qt-engine"
DESCRIPTION="GTK+2 Qt 3 Theme Engine"
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"
KEYWORDS="~amd64 ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"

DEPEND=">=x11-libs/gtk+-2.2
	dev-util/cmake"
# the little gnome_apps.png...
RDEPEND="|| ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* )
	>=x11-libs/gtk+-2.2"
need-kde 3.5

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

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

PATCHES="${FILESDIR}/gtk-engines-qt-0.8-konq-flash.patch"

src_install() {
	kde_src_install
	mv "${D}"/usr/local/share/{locale,applications} "${D}"/usr/share/ || die
}