summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/xparts/xparts-3.5.0.ebuild')
-rw-r--r--kde-base/xparts/xparts-3.5.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/kde-base/xparts/xparts-3.5.0.ebuild b/kde-base/xparts/xparts-3.5.0.ebuild
new file mode 100644
index 000000000000..54d75e0de78f
--- /dev/null
+++ b/kde-base/xparts/xparts-3.5.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/xparts/xparts-3.5.0.ebuild,v 1.1 2005/11/22 22:14:16 danarmak Exp $
+
+KMNAME=kdebindings
+KMEXTRACTONLY="dcopc"
+KMCOPYLIB="libdcopc dcopc"
+KM_MAKEFILESREV=1
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta
+
+DESCRIPTION="Allows embedding of generic XParts as KDE KParts"
+KEYWORDS="~amd64 ~x86" # broken according to upstream - 3.4a1 README
+IUSE="mozilla"
+DEPEND="=dev-libs/glib-1.2*
+ =x11-libs/gtk+-1.2*
+ mozilla? ( www-client/mozilla )"
+PATCHES="$FILESDIR/no-gtk-glib-check.diff"
+
+src_unpack() {
+ kde-meta_src_unpack
+
+ # Doesn't affect makefile tarballs.
+ # Real solution will be to split this further and make a separate
+ # ebuild for the mozilla xpart.
+ # But since this is officially broken anyway I'm not going to bother...
+ if ! useq 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} && make -f admin/Makefile.common
+}
+