/[gentoo-x86]/eclass/kde4-base.eclass
Gentoo

Diff of /eclass/kde4-base.eclass

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

Revision 1.115 Revision 1.116
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/eclass/kde4-base.eclass,v 1.115 2012/05/02 18:31:42 jdhore Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.116 2012/05/08 22:00:49 dilfridge Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
290# KDE dependencies 290# KDE dependencies
291# Qt accessibility classes are needed in various places, bug 325461 291# Qt accessibility classes are needed in various places, bug 325461
292kdecommondepend=" 292kdecommondepend="
293 dev-lang/perl 293 dev-lang/perl
294 >=x11-libs/qt-core-${QT_MINIMAL}:4[qt3support,ssl] 294 >=x11-libs/qt-core-${QT_MINIMAL}:4[qt3support,ssl]
295 >=x11-libs/qt-dbus-${QT_MINIMAL}:4
295 >=x11-libs/qt-gui-${QT_MINIMAL}:4[accessibility,dbus] 296 >=x11-libs/qt-gui-${QT_MINIMAL}:4[accessibility,dbus]
296 >=x11-libs/qt-qt3support-${QT_MINIMAL}:4[accessibility] 297 >=x11-libs/qt-qt3support-${QT_MINIMAL}:4[accessibility]
297 >=x11-libs/qt-script-${QT_MINIMAL}:4 298 >=x11-libs/qt-script-${QT_MINIMAL}:4
298 >=x11-libs/qt-sql-${QT_MINIMAL}:4[qt3support] 299 >=x11-libs/qt-sql-${QT_MINIMAL}:4[qt3support]
299 >=x11-libs/qt-svg-${QT_MINIMAL}:4 300 >=x11-libs/qt-svg-${QT_MINIMAL}:4
772 773
773 # sysconf needs to be /etc, not /usr/etc 774 # sysconf needs to be /etc, not /usr/etc
774 cmakeargs+=(-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc) 775 cmakeargs+=(-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc)
775 776
776 if [[ $(declare -p mycmakeargs 2>&-) != "declare -a mycmakeargs="* ]]; then 777 if [[ $(declare -p mycmakeargs 2>&-) != "declare -a mycmakeargs="* ]]; then
778 if [[ ${mycmakeargs} ]]; then
779 eqawarn "mycmakeargs should always be declared as an array, not a string"
780 fi
777 mycmakeargs=(${mycmakeargs}) 781 mycmakeargs=(${mycmakeargs})
778 fi 782 fi
779 783
780 mycmakeargs=("${cmakeargs[@]}" "${mycmakeargs[@]}") 784 mycmakeargs=("${cmakeargs[@]}" "${mycmakeargs[@]}")
781 785

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

  ViewVC Help
Powered by ViewVC 1.1.20