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

Diff of /x11-themes/qtcurve-qt4/qtcurve-qt4-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-1.5.0.ebuild,v 1.1 2010/06/28 11:39:34 wired Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-1.5.0.ebuild,v 1.2 2010/06/29 15:50:40 wired Exp $
4 4
5EAPI="2" 5EAPI="2"
6KDE_REQUIRED="optional" 6KDE_REQUIRED="optional"
7KDE_MINIMAL="4.2" 7KDE_MINIMAL="4.2"
8inherit confutils cmake-utils kde4-base 8inherit confutils cmake-utils kde4-base
29pkg_setup() { 29pkg_setup() {
30 confutils_use_depend_all windeco kde 30 confutils_use_depend_all windeco kde
31 use kde && kde4-base_pkg_setup 31 use kde && kde4-base_pkg_setup
32} 32}
33 33
34src_prepare() {
35 if use kde && ! use windeco; then
36 sed -e "/#include <kdecoration.h>/d" \
37 -e "s/if(KDecorationDefines::BorderTiny==size)/if(0==size)/" \
38 -i "${S}"/kwin/qtcurveconfig.cpp ||
39 die "sed failed"
40 fi
41}
42
34src_configure() { 43src_configure() {
35 if use kde; then 44 if use kde; then
36 kde4-base_src_configure 45 kde4-base_src_configure
37 else 46 else
38 mycmakeargs="-DQTC_QT_ONLY=true" 47 mycmakeargs="-DQTC_QT_ONLY=true"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20