# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P="${P/gtk-engines-qtcurve/QtCurve-Gtk2}" DESCRIPTION="A set of widget styles for GTK2 based apps, also available for KDE" HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492" SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="mozilla" DEPEND="x11-libs/cairo >=x11-libs/gtk+-2.0" S="${WORKDIR}/${MY_P}" src_compile() { mkdir build cd build cmake .. \ -DQTC_ADD_EVENT_FILTER=true \ || die "cmake error" # If I enable those then compilation breaks, I dunno why # not have any reason to worry about them ;) # i92guboj@terra.es # -DQTC_MODIFY_MOZILLA=true \ # -DQTC_MODIFY_MOZILLA_USER_JS=true \ make } src_install () { cd build make DESTDIR="${D}" install || die "make install failed" dodoc ChangeLog README TODO }