diff options
author | 2004-01-15 03:40:10 +0000 | |
---|---|---|
committer | 2004-01-15 03:40:10 +0000 | |
commit | bd979cf93eca6a3879a250aa3baec52a1f579856 (patch) | |
tree | 8c42089774dd7069971d1d975e443839b12e228c /kde-base/kdebindings/kdebindings-3.1.5.ebuild | |
parent | New version (diff) | |
download | gentoo-2-bd979cf93eca6a3879a250aa3baec52a1f579856.tar.gz gentoo-2-bd979cf93eca6a3879a250aa3baec52a1f579856.tar.bz2 gentoo-2-bd979cf93eca6a3879a250aa3baec52a1f579856.zip |
New version
Diffstat (limited to 'kde-base/kdebindings/kdebindings-3.1.5.ebuild')
-rw-r--r-- | kde-base/kdebindings/kdebindings-3.1.5.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/kde-base/kdebindings/kdebindings-3.1.5.ebuild b/kde-base/kdebindings/kdebindings-3.1.5.ebuild new file mode 100644 index 000000000000..e3c62aeb42d9 --- /dev/null +++ b/kde-base/kdebindings/kdebindings-3.1.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings/kdebindings-3.1.5.ebuild,v 1.1 2004/01/15 03:38:48 caleb Exp $ +# TODO: add gnustep, objc bindings +inherit kde-dist + +IUSE="mozilla java python" +DESCRIPTION="KDE library bindings for languages other than c++" +KEYWORDS="x86 ~sparc ~ppc ~amd64" + +DEPEND="=kde-base/kdebase-${PV}* + =x11-libs/gtk+-1.2* + dev-lang/perl + python? ( dev-lang/python ) + java? ( virtual/jdk ) + =dev-libs/glib-1.2* + ~kde-base/kdenetwork-${PV} + mozilla? ( net-www/mozilla )" + +use python || myconf="$myconf --without-python" +use java && myconf="$myconf --with-java=`java-config --jdk-home`" || myconf="$myconf --without-java" + +# obj bindings are officially broken +#myconf="$myconf --enable-objc" + +# we need to have csant (from pnet, from portable.NET) in portage for qtsharp +export DO_NOT_COMPILE="$DO_NOT_COMPILE qtsharp" + +export LIBPYTHON="`python-config`" + +# fix bug #14756 fex. Doesn't compile well with -j2. +export MAKEOPTS="$MAKEOPTS -j1" + +src_unpack() +{ + kde_src_unpack + + if [ -z "`use mozilla`" ]; then + # disable mozilla bindings/xpart, because configure doesn't seem to do so + # even when it doesn't detect the mozilla headers + cd ${S}/xparts + cp Makefile.am Makefile.am.orig + sed -e 's:mozilla::' Makefile.am.orig > Makefile.am + fi + + cd ${S} && aclocal +} + |