Add my fixes from master to eclass
[proj/kde.git] / x11-themes / gtk-engines-kde4 / gtk-engines-kde4-0.8b.ebuild
1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="2_pre1"
6 NEED_KDE=4.1
7 inherit qt4 kde4-base
8
9 DESCRIPTION="GTK+2 Qt4 Theme Engine"
10 MY_PN="gtk-kde4"
11 HOMEPAGE="http://kde-apps.org/content/show.php/gtk-kde4?content=74689"
12 SRC_URI="http://betta.h.com.ua/no-site/${MY_PN}v${PV}.tar.gz"
13
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17 DEPEND="|| (
18                 >=x11-libs/qt-4.4.1:4
19                 ( >=x11-libs/qt-core-4.4.1:4 >=x11-libs/qt-gui-4.4.1:4 )
20         )
21         >=kde-base/kdelibs-4.1.0:${SLOT}
22         x11-libs/gtk+:2"
23 RDEPEND="${DEPEND}"
24 SLOT="0"
25
26 S=${WORKDIR}/${MY_PN}
27
28 src_compile() {
29         cmake . || die "cmake failed"
30         emake || die "emake failed"
31 }
32
33 pkg_postinst() {
34         elog "If you want additional themes just download"
35         elog "http://betta.h.com.ua/no-site/qt4.tar.gz"
36         elog "and put into ~/.themes/"
37 }