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

Diff of /eclass/kde-base.eclass

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

Revision 1.5 Revision 1.7
1# Copyright 1999-2000 Gentoo Technologies, Inc. 1# Copyright 1999-2000 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# Author Dan Armak <danarmak@gentoo.org> 3# Author Dan Armak <danarmak@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/kde-base.eclass,v 1.5 2001/09/29 13:12:52 danarmak Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/kde-base.eclass,v 1.7 2001/09/29 21:03:25 danarmak Exp $
5# This is the kde ebuild for >=2.2.1 kde base packages. Don't use for kdelibs though :-) 5# This is the kde ebuild for >=2.2.1 kde base packages. Don't use for kdelibs though :-)
6# It can't be used for e.g. kdevelop, koffice because of their separate versionnig schemes.
6. /usr/portage/eclass/inherit.eclass || die 7. /usr/portage/eclass/inherit.eclass || die
7inherit c autoconf base || die 8inherit c autoconf base || die
8ECLASS=kde-base 9ECLASS=kde-base
9 10
10DESCRIPTION="KDE ${PV} - " 11DESCRIPTION="KDE ${PV} - "
19 ( kde-base/kdelibs-${PV} ) 20 ( kde-base/kdelibs-${PV} )
20 objprelink? ( dev-util/objprelink ) 21 objprelink? ( dev-util/objprelink )
21 >=x11-libs/qt-x11-2.3.0" 22 >=x11-libs/qt-x11-2.3.0"
22 23
23RDEPEND="${RDEPEND} 24RDEPEND="${RDEPEND}
24 ( kde-base/kdelibs-${PV} ) 25 ( kde-base/kdelibs-${PV} )
25 >=x11-libs/qt-x11-2.3.0" 26 >=x11-libs/qt-x11-2.3.0"
26 27
27kde-base_src_compile() { 28kde-base_src_compile() {
28 29
29 echo "in kde-base_src_compile, 1st parameter is $1" 30 echo "in kde-base_src_compile, 1st parameter is $1"
30 [ -z "$1" ] && kde-base_src_compile all 31 [ -z "$1" ] && kde-base_src_compile all
31 32
32 while [ "$1" ]; do 33 while [ "$1" ]; do
33 34
34 case $1 in 35 case $1 in
35 myconf) 36 myconf)
36 echo "in kde-base_src_compile, action is myconf" 37 echo "in kde-base_src_compile, action is myconf"
37 use qtmt && myconf="$myconf --enable-mt" 38 use qtmt && myconf="$myconf --enable-mt"
38 use mitshm && myconf="$myconf --enable-mitshm" 39 use objprelink && myconf="$myconf --enable-objprelink" || myconf="$myconf --disable-objprelink"
39 use objprelink && myconf="$myconf --enable-objprelink"
40 ;; 40 ;;
41 configure) 41 configure)
42 echo "in kde-base_src_compile, action is configure" 42 echo "in kde-base_src_compile, action is configure"
43 ./configure --host=${CHOST} --with-x \ 43 ./configure --host=${CHOST} --with-x \
44 ${myconf} --with-xinerama || die 44 ${myconf} --with-xinerama || die

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20