Bump x11-themes/{qtcurve,qtcurve-qt,gtk-engines-qtcurve}
[underlay.git] / x11-themes / gtk-engines-qtcurve / gtk-engines-qtcurve-0.55.1.ebuild
blobaf09a5852aae21ff969a606d02a6d7fbada25b62
1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
5 inherit multilib toolchain-funcs
7 MY_P="${P/gtk-engines-qtcurve/QtCurve-Gtk2}"
9 DESCRIPTION="A set of widget styles for Gtk2 based apps, also available for Qt4 and KDE"
10 HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
11 SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2"
12 RESTRICT="mirror"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="mozilla"
19 DEPEND=">=dev-util/cmake-2.4.0
20 >=x11-libs/gtk+-2.0
21 x11-libs/cairo"
23 S="${WORKDIR}/${MY_P}"
25 src_compile() {
26 local mycmakeargs="-DQTC_ADD_EVENT_FILTER=true"
27 use mozilla && mycmakeargs="${mycmakeargs} -DQTC_MODIFY_MOZILLA=true"
29 local libdir=$(get_libdir)
30 mkdir "${S}"/build && cd "${S}"/build || die "mkdir failed"
31 cmake -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
32 -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \
33 -DCMAKE_INSTALL_PREFIX=${PREFIX:-/usr} \
34 -DLIB_SUFFIX=${libdir/lib} \
35 ${mycmakeargs} .. \
36 || die "cmake failed"
38 emake || die "emake failed"
41 src_install () {
42 cd "${S}"/build
43 emake DESTDIR="${D}" install || die "emake install failed"
45 cd "${S}"
46 dodoc AUTHORS ChangeLog README TODO