summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-08-04 00:13:35 +0000
committerAlex Alexander <wired@gentoo.org>2009-08-04 00:13:35 +0000
commit4e0697abb3c53fc48139780148241a384ce3541f (patch)
tree9c4cf43edec874ede1926b7d8ff7501979b7b8e8 /kde-base/kdebindings-csharp
parentVersion bump KDE 4.3.0 (diff)
downloadgentoo-2-4e0697abb3c53fc48139780148241a384ce3541f.tar.gz
gentoo-2-4e0697abb3c53fc48139780148241a384ce3541f.tar.bz2
gentoo-2-4e0697abb3c53fc48139780148241a384ce3541f.zip
Version bump KDE 4.3.0
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/kdebindings-csharp')
-rw-r--r--kde-base/kdebindings-csharp/ChangeLog11
-rw-r--r--kde-base/kdebindings-csharp/files/kdebindings-csharp-build-fixes.patch49
-rw-r--r--kde-base/kdebindings-csharp/kdebindings-csharp-4.3.0.ebuild49
3 files changed, 109 insertions, 0 deletions
diff --git a/kde-base/kdebindings-csharp/ChangeLog b/kde-base/kdebindings-csharp/ChangeLog
new file mode 100644
index 000000000000..2ee15cdba7de
--- /dev/null
+++ b/kde-base/kdebindings-csharp/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2009/08/04 00:13:35 wired Exp $
+
+*kdebindings-csharp-4.3.0 (04 Aug 2009)
+
+ 04 Aug 2009; Alex Alexander <wired@gentoo.org>
+ +kdebindings-csharp-4.3.0.ebuild,
+ +files/kdebindings-csharp-build-fixes.patch:
+ Version bump
+
diff --git a/kde-base/kdebindings-csharp/files/kdebindings-csharp-build-fixes.patch b/kde-base/kdebindings-csharp/files/kdebindings-csharp-build-fixes.patch
new file mode 100644
index 000000000000..f0c5799e88ec
--- /dev/null
+++ b/kde-base/kdebindings-csharp/files/kdebindings-csharp-build-fixes.patch
@@ -0,0 +1,49 @@
+--- kdebindings.orig/csharp/qtscript/CMakeLists.txt
++++ kdebindings/csharp/qtscript/CMakeLists.txt
+@@ -15,7 +15,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/
+ ${CMAKE_CURRENT_SOURCE_DIR}/../qyoto/src ${QT_INCLUDES})
+ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
+ ADD_LIBRARY(qtscript-sharp MODULE ${SRC_CPP})
+-TARGET_LINK_LIBRARIES(qtscript-sharp smokeqt smokeqtscript qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
++TARGET_LINK_LIBRARIES(qtscript-sharp smokeqt smokeqtscript qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTSCRIPT_LIBRARY})
+
+ SET(CS_FLAGS -r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll -warn:0 -keyfile:${KEYFILE})
+ ADD_CS_LIBRARY(qtscript "${SRC_CS}" ALL)
+--- kdebindings.orig/csharp/qtwebkit/CMakeLists.txt
++++ kdebindings/csharp/qtwebkit/CMakeLists.txt
+@@ -14,7 +14,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/
+ ${CMAKE_CURRENT_SOURCE_DIR}/../qyoto/src ${QT_INCLUDES})
+ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
+ ADD_LIBRARY(qtwebkit-sharp MODULE ${SRC_CPP})
+-TARGET_LINK_LIBRARIES(qtwebkit-sharp smokeqt smokeqtwebkit qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
++TARGET_LINK_LIBRARIES(qtwebkit-sharp smokeqt smokeqtwebkit qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTWEBKIT_LIBRARY})
+
+ SET(CS_FLAGS -r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll -warn:0 -keyfile:${KEYFILE})
+ ADD_CS_LIBRARY(qtwebkit "${SRC_CS}" ALL)
+--- kdebindings.orig/csharp/qyoto/CMakeLists.txt
++++ kdebindings/csharp/qyoto/CMakeLists.txt
+@@ -39,11 +39,11 @@ INCLUDE_DIRECTORIES (${QT_INCLUDES} ${CM
+ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
+
+ ADD_LIBRARY (qyotoshared SHARED ${SRC_QYOTO_SHARED})
+-TARGET_LINK_LIBRARIES (qyotoshared smokeqt ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
++TARGET_LINK_LIBRARIES (qyotoshared smokeqt ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY})
+ set_target_properties(qyotoshared PROPERTIES VERSION 1.0.0 SOVERSION 1)
+
+ ADD_LIBRARY (qyoto MODULE ${SRC_QYOTO})
+-TARGET_LINK_LIBRARIES (qyoto qyotoshared smokeqt ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
++TARGET_LINK_LIBRARIES (qyoto qyotoshared smokeqt ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDBUS_LIBRARY})
+
+ SET(CS_FLAGS -debug -define:DEBUG -unsafe -warn:0 -keyfile:${KEYFILE})
+ ADD_CS_LIBRARY(qt-dotnet "${SRC_CS_QYOTO}" ALL)
+--- kdebindings.orig/csharp/soprano/CMakeLists.txt
++++ kdebindings/csharp/soprano/CMakeLists.txt
+@@ -21,7 +21,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/
+ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
+ ADD_LIBRARY(soprano-sharp MODULE ${SRC_CPP})
+ ADD_DEPENDENCIES(soprano-sharp smokesoprano)
+-TARGET_LINK_LIBRARIES(soprano-sharp smokeqt smokesoprano qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
++TARGET_LINK_LIBRARIES(soprano-sharp smokeqt smokesoprano qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${SOPRANO_LIBRARIES})
+
+ SET(CS_FLAGS -r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll -warn:0 -keyfile:${KEYFILE})
+ ADD_CS_LIBRARY(soprano "${SRC_CS}" ALL)
diff --git a/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.0.ebuild b/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.0.ebuild
new file mode 100644
index 000000000000..0079deac3c4f
--- /dev/null
+++ b/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 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.0.ebuild,v 1.1 2009/08/04 00:13:35 wired Exp $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="csharp"
+WEBKIT_REQUIRED="optional"
+inherit kde4-meta mono
+
+DESCRIPTION="C# bindings for KDE and Qt"
+KEYWORDS="~amd64 ~x86"
+IUSE="akonadi +phonon qscintilla"
+
+COMMON_DEPEND="
+ dev-lang/mono
+ >=kde-base/smoke-${PV}:${SLOT}[akonadi?,kdeprefix=,phonon?,qscintilla?,webkit?]
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+KMEXTRACTONLY="smoke/"
+
+PATCHES=( "${FILESDIR}"/${PN}-build-fixes.patch )
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ sed -i "/add_subdirectory( examples )/ s:^:#:" csharp/plasma/CMakeLists.txt
+}
+
+src_configure() {
+ local mycmakeargs="
+ $(cmake-utils_use_enable webkit WEBKIT_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
+}