/[gentoo-x86]/x11-themes/qtcurve-qt4/qtcurve-qt4-0.61.4.ebuild
Gentoo

Contents of /x11-themes/qtcurve-qt4/qtcurve-qt4-0.61.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Jul 24 08:40:25 2009 UTC (5 years, 3 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, removing some old ebuilds
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 yngwin 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 yngwin 1.3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-0.61.4.ebuild,v 1.2 2009/03/02 22:56:49 yngwin Exp $
4 yngwin 1.1
5     EAPI="2"
6 yngwin 1.2 NEED_KDE="none"
7 yngwin 1.1 inherit flag-o-matic cmake-utils kde4-base
8    
9     MY_P="${P/qtcurve-qt4/QtCurve-KDE4}"
10     DESCRIPTION="A set of widget styles for Qt4 based apps, also available for KDE3 and GTK2"
11     HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
12     SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16 yngwin 1.2 # NOTE: alpha and sparc dropped due to kde4-base dep on qt-webkit
17     KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
18 yngwin 1.1 IUSE="kde"
19    
20     DEPEND="x11-libs/qt-gui:4[dbus]
21     kde? ( >=kde-base/kwin-4.1.0 )"
22     RDEPEND="${DEPEND}"
23    
24     S="${WORKDIR}/${MY_P}"
25     DOCS="ChangeLog README TODO"
26    
27     src_prepare() {
28     if has_version '>=x11-libs/qt-gui-4.5.0_rc1'; then
29     sed -i "s/QStyleOptionTabV2/QStyleOptionTabV3/" "${S}"/style/qtcurve.cpp
30     fi
31     if use !kde ; then
32     append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true";
33     sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt
34     fi
35     }

  ViewVC Help
Powered by ViewVC 1.1.20