From f3c2b792d84e308b9b2074898c28f62002141228 Mon Sep 17 00:00:00 2001
From: Tomas Chvatal <scarabeus@gentoo.org>
Date: Mon, 25 Jan 2010 15:04:47 +0000
Subject: Version bump KDE 4.3.5 (Portage version: 2.2_rc61/cvs/Linux x86_64,
 RepoMan options: --force)

---
 kde-base/kdebindings-csharp/ChangeLog              | 10 +++-
 .../kdebindings-csharp-4.3.5.ebuild                | 60 ++++++++++++++++++++++
 2 files changed, 68 insertions(+), 2 deletions(-)
 create mode 100644 kde-base/kdebindings-csharp/kdebindings-csharp-4.3.5.ebuild

diff --git a/kde-base/kdebindings-csharp/ChangeLog b/kde-base/kdebindings-csharp/ChangeLog
index 75f8c27be312..3c61be582c25 100644
--- a/kde-base/kdebindings-csharp/ChangeLog
+++ b/kde-base/kdebindings-csharp/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for kde-base/kdebindings-csharp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings-csharp/ChangeLog,v 1.18 2009/12/22 23:43:55 abcd Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings-csharp/ChangeLog,v 1.19 2010/01/25 15:04:47 scarabeus Exp $
+
+*kdebindings-csharp-4.3.5 (25 Jan 2010)
+
+  25 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+  +kdebindings-csharp-4.3.5.ebuild:
+  Version bump
 
   22 Dec 2009; Jonathan Callen <abcd@gentoo.org>
   kdebindings-csharp-4.3.4.ebuild:
diff --git a/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.5.ebuild b/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.5.ebuild
new file mode 100644
index 000000000000..257c793fbd74
--- /dev/null
+++ b/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.5.ebuild,v 1.1 2010/01/25 15:04:47 scarabeus Exp $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="csharp"
+WEBKIT_REQUIRED="optional"
+inherit kde4-meta mono
+
+DESCRIPTION="C# bindings for KDE and Qt"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="akonadi +phonon plasma qscintilla"
+
+DEPEND="
+	dev-lang/mono
+	$(add_kdebase_dep smoke 'akonadi?,phonon?,qscintilla?,webkit?')
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="smoke/"
+
+PATCHES=( "${FILESDIR}"/${PN}-build-fixes.patch )
+
+pkg_setup() {
+	kde4-meta_pkg_setup
+
+	if use plasma && ! use webkit; then
+		eerror
+		eerror "The plasma USE flag requires the webkit USE flag to be enabled."
+		eerror
+		eerror "Please enable webkit or disable plasma."
+		die "plasma requires webkit"
+	fi
+}
+
+src_prepare() {
+	kde4-meta_src_prepare
+
+	sed -i "/add_subdirectory( examples )/ s:^:#:" csharp/plasma/CMakeLists.txt
+}
+
+src_configure() {
+	mycmakeargs=(
+		$(cmake-utils_use_enable webkit QTWEBKIT_SHARP)
+		$(cmake-utils_use_enable plasma PLASMA_SHARP)
+		$(cmake-utils_use_enable phonon PHONON_SHARP)
+		$(cmake-utils_use_enable qscintilla QSCINTILLA_SHARP)
+		$(cmake-utils_use_enable akonadi KdepimLibs)
+		$(cmake-utils_use_enable akonadi)
+	)
+	kde4-meta_src_configure
+}
+
+src_compile() {
+	# Parallel builds seem broken, check later
+	MAKEOPTS=-j1
+	kde4-meta_src_compile
+}
-- 
cgit v1.2.3-65-gdbad