summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/package.keywords/kde-4.4.9999.d/kdebindings-4.41
-rw-r--r--Documentation/package.keywords/kde-4.4.9999.keywords1
-rw-r--r--Documentation/package.keywords/kde-4.4.keywords1
-rw-r--r--Documentation/package.keywords/kde-live.d/kdebindings-live1
-rw-r--r--Documentation/package.keywords/kde-live.keywords1
-rw-r--r--Documentation/package.unmask/kde-4.41
-rw-r--r--Documentation/package.unmask/kde-live1
-rw-r--r--kde-base/kdebindings-ruby/Manifest7
-rw-r--r--kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch34
-rw-r--r--kde-base/kdebindings-ruby/kdebindings-ruby-4.3.98.ebuild94
-rw-r--r--kde-base/kdebindings-ruby/kdebindings-ruby-4.4.0.ebuild94
-rw-r--r--kde-base/kdebindings-ruby/kdebindings-ruby-4.4.9999.ebuild94
-rw-r--r--kde-base/kdebindings-ruby/kdebindings-ruby-9999.ebuild94
-rw-r--r--profiles/package.mask1
-rw-r--r--sets/kdebindings1
-rw-r--r--sets/kdebindings-4.41
-rw-r--r--sets/kdebindings-live1
17 files changed, 428 insertions, 0 deletions
diff --git a/Documentation/package.keywords/kde-4.4.9999.d/kdebindings-4.4 b/Documentation/package.keywords/kde-4.4.9999.d/kdebindings-4.4
index 04a4ca0bd0f..9e8bcc1520d 100644
--- a/Documentation/package.keywords/kde-4.4.9999.d/kdebindings-4.4
+++ b/Documentation/package.keywords/kde-4.4.9999.d/kdebindings-4.4
@@ -1,4 +1,5 @@
~kde-base/kdebindings-csharp-4.4.9999 **
+~kde-base/kdebindings-ruby-4.4.9999 **
~kde-base/krossjava-4.4.9999 **
~kde-base/krosspython-4.4.9999 **
~kde-base/krossruby-4.4.9999 **
diff --git a/Documentation/package.keywords/kde-4.4.9999.keywords b/Documentation/package.keywords/kde-4.4.9999.keywords
index 691da3cbe02..3f0b47e0187 100644
--- a/Documentation/package.keywords/kde-4.4.9999.keywords
+++ b/Documentation/package.keywords/kde-4.4.9999.keywords
@@ -103,6 +103,7 @@
~kde-base/solid-runtime-4.4.9999 **
~kde-base/systemsettings-4.4.9999 **
~kde-base/kdebindings-csharp-4.4.9999 **
+~kde-base/kdebindings-ruby-4.4.9999 **
~kde-base/krossjava-4.4.9999 **
~kde-base/krosspython-4.4.9999 **
~kde-base/krossruby-4.4.9999 **
diff --git a/Documentation/package.keywords/kde-4.4.keywords b/Documentation/package.keywords/kde-4.4.keywords
index c168537f823..71e9124418c 100644
--- a/Documentation/package.keywords/kde-4.4.keywords
+++ b/Documentation/package.keywords/kde-4.4.keywords
@@ -103,6 +103,7 @@ kde-base/solid:4.4
kde-base/solid-runtime:4.4
kde-base/systemsettings:4.4
kde-base/kdebindings-csharp:4.4
+kde-base/kdebindings-ruby:4.4
kde-base/krossjava:4.4
kde-base/krosspython:4.4
kde-base/krossruby:4.4
diff --git a/Documentation/package.keywords/kde-live.d/kdebindings-live b/Documentation/package.keywords/kde-live.d/kdebindings-live
index 245318040d1..61c46397f57 100644
--- a/Documentation/package.keywords/kde-live.d/kdebindings-live
+++ b/Documentation/package.keywords/kde-live.d/kdebindings-live
@@ -1,4 +1,5 @@
~kde-base/kdebindings-csharp-9999 **
+~kde-base/kdebindings-ruby-9999 **
~kde-base/krossjava-9999 **
~kde-base/krosspython-9999 **
~kde-base/krossruby-9999 **
diff --git a/Documentation/package.keywords/kde-live.keywords b/Documentation/package.keywords/kde-live.keywords
index 641a1c2af9a..c56491a9af1 100644
--- a/Documentation/package.keywords/kde-live.keywords
+++ b/Documentation/package.keywords/kde-live.keywords
@@ -103,6 +103,7 @@
~kde-base/solid-runtime-9999 **
~kde-base/systemsettings-9999 **
~kde-base/kdebindings-csharp-9999 **
+~kde-base/kdebindings-ruby-9999 **
~kde-base/krossjava-9999 **
~kde-base/krosspython-9999 **
~kde-base/krossruby-9999 **
diff --git a/Documentation/package.unmask/kde-4.4 b/Documentation/package.unmask/kde-4.4
index e6c7818b63e..9dbdb59367f 100644
--- a/Documentation/package.unmask/kde-4.4
+++ b/Documentation/package.unmask/kde-4.4
@@ -103,6 +103,7 @@ kde-base/solid:4.4
kde-base/solid-runtime:4.4
kde-base/systemsettings:4.4
kde-base/kdebindings-csharp:4.4
+kde-base/kdebindings-ruby:4.4
kde-base/krossjava:4.4
kde-base/krosspython:4.4
kde-base/krossruby:4.4
diff --git a/Documentation/package.unmask/kde-live b/Documentation/package.unmask/kde-live
index c7d470e53a7..1b482340fa3 100644
--- a/Documentation/package.unmask/kde-live
+++ b/Documentation/package.unmask/kde-live
@@ -173,6 +173,7 @@ kde-base/solid:live
kde-base/solid-runtime:live
kde-base/systemsettings:live
kde-base/kdebindings-csharp:live
+kde-base/kdebindings-ruby:live
kde-base/krossjava:live
kde-base/krosspython:live
kde-base/krossruby:live
diff --git a/kde-base/kdebindings-ruby/Manifest b/kde-base/kdebindings-ruby/Manifest
new file mode 100644
index 00000000000..c6a77c37f18
--- /dev/null
+++ b/kde-base/kdebindings-ruby/Manifest
@@ -0,0 +1,7 @@
+AUX kdebindings-ruby-fix-linkage.patch 1726 RMD160 7f23b1526b7ab6b2f73b31a45bfa6fed0bd62c29 SHA1 c44db3400dae4c81f6c4f6e3941896204fcfd8b8 SHA256 d9ea60a9271db666384ffc0542a7ff3e6d45e0058bcbf14b7ee11907de6052a8
+DIST kdebindings-4.3.98.tar.bz2 5002968 RMD160 65753c1215beb1816ce5dcb227cf32f76282f24c SHA1 bc0a1b90506062114aabd627e59d4b84887e5127 SHA256 5b6e586f09a8a2df7834bc6d6ef8855a8ce977ce16d93569f310f8c212f15c22
+DIST kdebindings-4.4.0.tar.bz2 5004654 RMD160 5afaef8c4e71796baf0154528a1e8d96012cbd8c SHA1 232ca73567463a03ae3660afd66a6acfe3298e6f SHA256 6d4b415ef4f52674def98eddf49392d5b07b59690edf24111277bd68ade7c0fa
+EBUILD kdebindings-ruby-4.3.98.ebuild 2138 RMD160 c2840ee7856c303dab652fd52c62f6065ab9a105 SHA1 e793fecf99904b27f8a1d82044386c99209764f7 SHA256 4bc01f4a80d5b1cb8ac5efd6ad386cdf63f8f6d12ee365ad8b33f74ddf8cc598
+EBUILD kdebindings-ruby-4.4.0.ebuild 2138 RMD160 c2840ee7856c303dab652fd52c62f6065ab9a105 SHA1 e793fecf99904b27f8a1d82044386c99209764f7 SHA256 4bc01f4a80d5b1cb8ac5efd6ad386cdf63f8f6d12ee365ad8b33f74ddf8cc598
+EBUILD kdebindings-ruby-4.4.9999.ebuild 2138 RMD160 c2840ee7856c303dab652fd52c62f6065ab9a105 SHA1 e793fecf99904b27f8a1d82044386c99209764f7 SHA256 4bc01f4a80d5b1cb8ac5efd6ad386cdf63f8f6d12ee365ad8b33f74ddf8cc598
+EBUILD kdebindings-ruby-9999.ebuild 2138 RMD160 c2840ee7856c303dab652fd52c62f6065ab9a105 SHA1 e793fecf99904b27f8a1d82044386c99209764f7 SHA256 4bc01f4a80d5b1cb8ac5efd6ad386cdf63f8f6d12ee365ad8b33f74ddf8cc598
diff --git a/kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch b/kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch
new file mode 100644
index 00000000000..3e087ff1603
--- /dev/null
+++ b/kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch
@@ -0,0 +1,34 @@
+Unfortunately, it seems upstream hasn't added all the needed libraries for linking... fix that
+
+--- kdebindings/ruby/qtscript/CMakeLists.txt
++++ kdebindings/ruby/qtscript/CMakeLists.txt
+@@ -4,7 +4,7 @@
+ set(qtscript_LIBRARY_SRC qtscript.cpp qtscripthandlers.cpp)
+
+ add_library(qtscript MODULE ${qtscript_LIBRARY_SRC})
+-target_link_libraries(qtscript ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokeqtscript qtruby4shared)
++target_link_libraries(qtscript ${QT_QTCORE_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokeqtscript qtruby4shared)
+ set_target_properties(qtscript PROPERTIES PREFIX "")
+ install(TARGETS qtscript DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
+ install(FILES qtscript.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtscript)
+--- kdebindings/ruby/soprano/CMakeLists.txt
++++ kdebindings/ruby/soprano/CMakeLists.txt
+@@ -3,7 +3,7 @@
+
+ set(rubysoprano_LIBRARY_SRC soprano.cpp sopranohandlers.cpp)
+ add_library(rubysoprano MODULE ${rubysoprano_LIBRARY_SRC})
+-target_link_libraries(rubysoprano ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokesoprano qtruby4shared)
++target_link_libraries(rubysoprano ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} ${SOPRANO_LIBRARIES} smokeqtcore smokesoprano qtruby4shared)
+ set_target_properties(rubysoprano PROPERTIES PREFIX "" OUTPUT_NAME soprano)
+ install(TARGETS rubysoprano DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
+ install(FILES soprano.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/soprano)
+--- kdebindings/ruby/nepomuk/CMakeLists.txt
++++ kdebindings/ruby/nepomuk/CMakeLists.txt
+@@ -7,6 +7,7 @@
+ target_link_libraries(rubynepomuk
+ ${RUBY_LIBRARY}
+ ${NEPOMUK_LIBRARIES}
++ ${SOPRANO_LIBRARIES}
+ smokeqtcore
+ smokesoprano
+ smokekdecore
diff --git a/kde-base/kdebindings-ruby/kdebindings-ruby-4.3.98.ebuild b/kde-base/kdebindings-ruby/kdebindings-ruby-4.3.98.ebuild
new file mode 100644
index 00000000000..42d454ba697
--- /dev/null
+++ b/kde-base/kdebindings-ruby/kdebindings-ruby-4.3.98.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="ruby"
+WEBKIT_REQUIRED="optional"
+
+USE_RUBY="ruby18"
+
+inherit kde4-meta ruby-ng
+
+DESCRIPTION="KDE Ruby bindings"
+KEYWORDS="~amd64 ~x86"
+IUSE="akonadi debug kdevplatform phonon plasma qscintilla qwt semantic-desktop"
+
+DEPEND="
+ $(add_kdebase_dep smoke 'akonadi?,kdevplatform?,phonon?,qscintilla?,qwt?,semantic-desktop?')
+"
+
+RDEPEND="${DEPEND}
+ !dev-ruby/qt4-qtruby
+"
+
+KMEXTRACTONLY="
+ ruby/krossruby
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-fix-linkage.patch
+)
+
+pkg_setup() {
+ ruby-ng_pkg_setup
+ kde4-meta_pkg_setup
+}
+
+src_unpack() {
+ kde4-meta_src_unpack
+
+ cd "${WORKDIR}"
+ mkdir all
+ mv ${P} all/ || die "Could not move sources"
+}
+
+all_ruby_prepare() {
+ kde4-meta_src_prepare
+
+ sed -i -e "s#smoke/smoke.h#smoke.h#" \
+ ruby/qtruby/src/handlers.cpp \
+ ruby/qtruby/src/marshall.h \
+ ruby/qtruby/src/marshall_types.h \
+ ruby/qtruby/src/Qt.cpp \
+ ruby/qtruby/src/qtruby.cpp \
+ ruby/qtruby/src/qtruby.h \
+ ruby/qtruby/src/smokeruby.h || die
+}
+
+each_ruby_configure() {
+ CMAKE_USE_DIR=${S}
+ mycmakeargs=(
+ $(cmake-utils_use_enable akonadi KdepimLibs)
+ $(cmake-utils_use_enable akonadi)
+ $(cmake-utils_use_enable kdevplatform KDEVPLATFORM_RUBY)
+ $(cmake-utils_use_with kdevplatform KDevPlatform)
+ $(cmake-utils_use_enable plasma PLASMA_RUBY)
+ $(cmake-utils_use_enable phonon)
+ $(cmake-utils_use_enable phonon PHONON_RUBY)
+ $(cmake-utils_use_enable qscintilla QScintilla)
+ $(cmake-utils_use_enable qscintilla QSCINTILLA_RUBY)
+ $(cmake-utils_use_enable qwt QWT_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Soprano)
+ $(cmake-utils_use_enable semantic-desktop SOPRANO_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Nepomuk)
+ $(cmake-utils_use_enable webkit QTWEBKIT_RUBY)
+ -DENABLE_KROSSRUBY=OFF
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ )
+ kde4-meta_src_configure
+}
+
+each_ruby_compile() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_compile
+}
+
+each_ruby_install() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_install
+}
diff --git a/kde-base/kdebindings-ruby/kdebindings-ruby-4.4.0.ebuild b/kde-base/kdebindings-ruby/kdebindings-ruby-4.4.0.ebuild
new file mode 100644
index 00000000000..42d454ba697
--- /dev/null
+++ b/kde-base/kdebindings-ruby/kdebindings-ruby-4.4.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="ruby"
+WEBKIT_REQUIRED="optional"
+
+USE_RUBY="ruby18"
+
+inherit kde4-meta ruby-ng
+
+DESCRIPTION="KDE Ruby bindings"
+KEYWORDS="~amd64 ~x86"
+IUSE="akonadi debug kdevplatform phonon plasma qscintilla qwt semantic-desktop"
+
+DEPEND="
+ $(add_kdebase_dep smoke 'akonadi?,kdevplatform?,phonon?,qscintilla?,qwt?,semantic-desktop?')
+"
+
+RDEPEND="${DEPEND}
+ !dev-ruby/qt4-qtruby
+"
+
+KMEXTRACTONLY="
+ ruby/krossruby
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-fix-linkage.patch
+)
+
+pkg_setup() {
+ ruby-ng_pkg_setup
+ kde4-meta_pkg_setup
+}
+
+src_unpack() {
+ kde4-meta_src_unpack
+
+ cd "${WORKDIR}"
+ mkdir all
+ mv ${P} all/ || die "Could not move sources"
+}
+
+all_ruby_prepare() {
+ kde4-meta_src_prepare
+
+ sed -i -e "s#smoke/smoke.h#smoke.h#" \
+ ruby/qtruby/src/handlers.cpp \
+ ruby/qtruby/src/marshall.h \
+ ruby/qtruby/src/marshall_types.h \
+ ruby/qtruby/src/Qt.cpp \
+ ruby/qtruby/src/qtruby.cpp \
+ ruby/qtruby/src/qtruby.h \
+ ruby/qtruby/src/smokeruby.h || die
+}
+
+each_ruby_configure() {
+ CMAKE_USE_DIR=${S}
+ mycmakeargs=(
+ $(cmake-utils_use_enable akonadi KdepimLibs)
+ $(cmake-utils_use_enable akonadi)
+ $(cmake-utils_use_enable kdevplatform KDEVPLATFORM_RUBY)
+ $(cmake-utils_use_with kdevplatform KDevPlatform)
+ $(cmake-utils_use_enable plasma PLASMA_RUBY)
+ $(cmake-utils_use_enable phonon)
+ $(cmake-utils_use_enable phonon PHONON_RUBY)
+ $(cmake-utils_use_enable qscintilla QScintilla)
+ $(cmake-utils_use_enable qscintilla QSCINTILLA_RUBY)
+ $(cmake-utils_use_enable qwt QWT_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Soprano)
+ $(cmake-utils_use_enable semantic-desktop SOPRANO_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Nepomuk)
+ $(cmake-utils_use_enable webkit QTWEBKIT_RUBY)
+ -DENABLE_KROSSRUBY=OFF
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ )
+ kde4-meta_src_configure
+}
+
+each_ruby_compile() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_compile
+}
+
+each_ruby_install() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_install
+}
diff --git a/kde-base/kdebindings-ruby/kdebindings-ruby-4.4.9999.ebuild b/kde-base/kdebindings-ruby/kdebindings-ruby-4.4.9999.ebuild
new file mode 100644
index 00000000000..42d454ba697
--- /dev/null
+++ b/kde-base/kdebindings-ruby/kdebindings-ruby-4.4.9999.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="ruby"
+WEBKIT_REQUIRED="optional"
+
+USE_RUBY="ruby18"
+
+inherit kde4-meta ruby-ng
+
+DESCRIPTION="KDE Ruby bindings"
+KEYWORDS="~amd64 ~x86"
+IUSE="akonadi debug kdevplatform phonon plasma qscintilla qwt semantic-desktop"
+
+DEPEND="
+ $(add_kdebase_dep smoke 'akonadi?,kdevplatform?,phonon?,qscintilla?,qwt?,semantic-desktop?')
+"
+
+RDEPEND="${DEPEND}
+ !dev-ruby/qt4-qtruby
+"
+
+KMEXTRACTONLY="
+ ruby/krossruby
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-fix-linkage.patch
+)
+
+pkg_setup() {
+ ruby-ng_pkg_setup
+ kde4-meta_pkg_setup
+}
+
+src_unpack() {
+ kde4-meta_src_unpack
+
+ cd "${WORKDIR}"
+ mkdir all
+ mv ${P} all/ || die "Could not move sources"
+}
+
+all_ruby_prepare() {
+ kde4-meta_src_prepare
+
+ sed -i -e "s#smoke/smoke.h#smoke.h#" \
+ ruby/qtruby/src/handlers.cpp \
+ ruby/qtruby/src/marshall.h \
+ ruby/qtruby/src/marshall_types.h \
+ ruby/qtruby/src/Qt.cpp \
+ ruby/qtruby/src/qtruby.cpp \
+ ruby/qtruby/src/qtruby.h \
+ ruby/qtruby/src/smokeruby.h || die
+}
+
+each_ruby_configure() {
+ CMAKE_USE_DIR=${S}
+ mycmakeargs=(
+ $(cmake-utils_use_enable akonadi KdepimLibs)
+ $(cmake-utils_use_enable akonadi)
+ $(cmake-utils_use_enable kdevplatform KDEVPLATFORM_RUBY)
+ $(cmake-utils_use_with kdevplatform KDevPlatform)
+ $(cmake-utils_use_enable plasma PLASMA_RUBY)
+ $(cmake-utils_use_enable phonon)
+ $(cmake-utils_use_enable phonon PHONON_RUBY)
+ $(cmake-utils_use_enable qscintilla QScintilla)
+ $(cmake-utils_use_enable qscintilla QSCINTILLA_RUBY)
+ $(cmake-utils_use_enable qwt QWT_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Soprano)
+ $(cmake-utils_use_enable semantic-desktop SOPRANO_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Nepomuk)
+ $(cmake-utils_use_enable webkit QTWEBKIT_RUBY)
+ -DENABLE_KROSSRUBY=OFF
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ )
+ kde4-meta_src_configure
+}
+
+each_ruby_compile() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_compile
+}
+
+each_ruby_install() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_install
+}
diff --git a/kde-base/kdebindings-ruby/kdebindings-ruby-9999.ebuild b/kde-base/kdebindings-ruby/kdebindings-ruby-9999.ebuild
new file mode 100644
index 00000000000..42d454ba697
--- /dev/null
+++ b/kde-base/kdebindings-ruby/kdebindings-ruby-9999.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="ruby"
+WEBKIT_REQUIRED="optional"
+
+USE_RUBY="ruby18"
+
+inherit kde4-meta ruby-ng
+
+DESCRIPTION="KDE Ruby bindings"
+KEYWORDS="~amd64 ~x86"
+IUSE="akonadi debug kdevplatform phonon plasma qscintilla qwt semantic-desktop"
+
+DEPEND="
+ $(add_kdebase_dep smoke 'akonadi?,kdevplatform?,phonon?,qscintilla?,qwt?,semantic-desktop?')
+"
+
+RDEPEND="${DEPEND}
+ !dev-ruby/qt4-qtruby
+"
+
+KMEXTRACTONLY="
+ ruby/krossruby
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-fix-linkage.patch
+)
+
+pkg_setup() {
+ ruby-ng_pkg_setup
+ kde4-meta_pkg_setup
+}
+
+src_unpack() {
+ kde4-meta_src_unpack
+
+ cd "${WORKDIR}"
+ mkdir all
+ mv ${P} all/ || die "Could not move sources"
+}
+
+all_ruby_prepare() {
+ kde4-meta_src_prepare
+
+ sed -i -e "s#smoke/smoke.h#smoke.h#" \
+ ruby/qtruby/src/handlers.cpp \
+ ruby/qtruby/src/marshall.h \
+ ruby/qtruby/src/marshall_types.h \
+ ruby/qtruby/src/Qt.cpp \
+ ruby/qtruby/src/qtruby.cpp \
+ ruby/qtruby/src/qtruby.h \
+ ruby/qtruby/src/smokeruby.h || die
+}
+
+each_ruby_configure() {
+ CMAKE_USE_DIR=${S}
+ mycmakeargs=(
+ $(cmake-utils_use_enable akonadi KdepimLibs)
+ $(cmake-utils_use_enable akonadi)
+ $(cmake-utils_use_enable kdevplatform KDEVPLATFORM_RUBY)
+ $(cmake-utils_use_with kdevplatform KDevPlatform)
+ $(cmake-utils_use_enable plasma PLASMA_RUBY)
+ $(cmake-utils_use_enable phonon)
+ $(cmake-utils_use_enable phonon PHONON_RUBY)
+ $(cmake-utils_use_enable qscintilla QScintilla)
+ $(cmake-utils_use_enable qscintilla QSCINTILLA_RUBY)
+ $(cmake-utils_use_enable qwt QWT_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Soprano)
+ $(cmake-utils_use_enable semantic-desktop SOPRANO_RUBY)
+ $(cmake-utils_use_enable semantic-desktop Nepomuk)
+ $(cmake-utils_use_enable webkit QTWEBKIT_RUBY)
+ -DENABLE_KROSSRUBY=OFF
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ )
+ kde4-meta_src_configure
+}
+
+each_ruby_compile() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_compile
+}
+
+each_ruby_install() {
+ CMAKE_USE_DIR=${S}
+ kde4-meta_src_install
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index 345f68290de..6ce2cea8ba7 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -110,6 +110,7 @@ kde-base/solid:4.4
kde-base/solid-runtime:4.4
kde-base/systemsettings:4.4
kde-base/kdebindings-csharp:4.4
+kde-base/kdebindings-ruby:4.4
kde-base/krossjava:4.4
kde-base/krosspython:4.4
kde-base/krossruby:4.4
diff --git a/sets/kdebindings b/sets/kdebindings
index 2c90d1a01d0..ff60075b0c0 100644
--- a/sets/kdebindings
+++ b/sets/kdebindings
@@ -1,4 +1,5 @@
kde-base/kdebindings-csharp
+kde-base/kdebindings-ruby
kde-base/krossjava
kde-base/krosspython
kde-base/krossruby
diff --git a/sets/kdebindings-4.4 b/sets/kdebindings-4.4
index 3420c1d132d..8e52c7a6d8c 100644
--- a/sets/kdebindings-4.4
+++ b/sets/kdebindings-4.4
@@ -1,4 +1,5 @@
kde-base/kdebindings-csharp:4.4
+kde-base/kdebindings-ruby:4.4
kde-base/krossjava:4.4
kde-base/krosspython:4.4
kde-base/krossruby:4.4
diff --git a/sets/kdebindings-live b/sets/kdebindings-live
index 51e16758907..6c8b41ef28c 100644
--- a/sets/kdebindings-live
+++ b/sets/kdebindings-live
@@ -1,4 +1,5 @@
kde-base/kdebindings-csharp:live
+kde-base/kdebindings-ruby:live
kde-base/krossjava:live
kde-base/krosspython:live
kde-base/krossruby:live