summaryrefslogtreecommitdiff
path: root/kde-base/kdebindings-ruby
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-12-23 00:03:37 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2010-12-23 00:03:37 +0100
commite59a9d2204b48219bee3e85ee72120d957d49d06 (patch)
tree452187fd32b83bff9321bcee4b152a64ed34975f /kde-base/kdebindings-ruby
parent61d59c482e4e3b509bc82748abec201954173fe0 (diff)
downloadkde-e59a9d2204b48219bee3e85ee72120d957d49d06.tar.gz
kde-e59a9d2204b48219bee3e85ee72120d957d49d06.tar.bz2
kde-e59a9d2204b48219bee3e85ee72120d957d49d06.zip
[kde-base] Bump 4.6.9999 (don't try it yet, kdepim will fail)
Diffstat (limited to 'kde-base/kdebindings-ruby')
-rw-r--r--kde-base/kdebindings-ruby/Manifest1
-rw-r--r--kde-base/kdebindings-ruby/kdebindings-ruby-4.6.9999.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/kde-base/kdebindings-ruby/Manifest b/kde-base/kdebindings-ruby/Manifest
index fab22f654ed..d471fb27237 100644
--- a/kde-base/kdebindings-ruby/Manifest
+++ b/kde-base/kdebindings-ruby/Manifest
@@ -2,5 +2,6 @@ AUX kdebindings-ruby-fix-linkage.patch 1726 RMD160 7f23b1526b7ab6b2f73b31a45bfa6
DIST kdebindings-4.5.85.tar.bz2 6995903 RMD160 3a562ad0769331d79efdac5e139df2170b027c3b SHA1 3eefcc71adef0296829523337f15ae735a5dc19d SHA256 1f805b63b80ef9ac78532388db6ae843229ff364a53f839c168d7a59d308a5a7
EBUILD kdebindings-ruby-4.5.85.ebuild 2256 RMD160 85affaf1119f47b824b1132d6fc4f08cdcfb89da SHA1 bae99129533d6c282402d993fbd4f06cef7e3437 SHA256 35622f3771a7b973dfc9d3a01be017764f7bc6b6489a5a61a47c2b0c49b29820
EBUILD kdebindings-ruby-4.5.9999.ebuild 2174 RMD160 fa18e9eb354115c409e5c4b78b155cdd67e27a29 SHA1 d6a203a907068ce1f64768af31f68be1c210c13a SHA256 c32f99a5814dceeb8257fdea03ead65f38f0cc51883de85bd6977f152304e0dd
+EBUILD kdebindings-ruby-4.6.9999.ebuild 2245 RMD160 3da1134b652822b683c0f6522afab762ff42304f SHA1 9b8f2ee60ded256766afac09aac21ba89ae3fa0d SHA256 b8c156eeb7a359b3fbb1c536270165778f57f1ef7ae37ec7d0f672ab370334a1
EBUILD kdebindings-ruby-9999.ebuild 2245 RMD160 3da1134b652822b683c0f6522afab762ff42304f SHA1 9b8f2ee60ded256766afac09aac21ba89ae3fa0d SHA256 b8c156eeb7a359b3fbb1c536270165778f57f1ef7ae37ec7d0f672ab370334a1
MISC metadata.xml 734 RMD160 4354992a8c9480e53f75bc4eb02f4823659c99d3 SHA1 f5b67b71eee52afed5fbfaba57de2afd68ff1631 SHA256 be7c2f5f31466fcb6aa63d96cf32259b1f1b9290bf3b519434987aaf49861059
diff --git a/kde-base/kdebindings-ruby/kdebindings-ruby-4.6.9999.ebuild b/kde-base/kdebindings-ruby/kdebindings-ruby-4.6.9999.ebuild
new file mode 100644
index 00000000000..66ef563f566
--- /dev/null
+++ b/kde-base/kdebindings-ruby/kdebindings-ruby-4.6.9999.ebuild
@@ -0,0 +1,93 @@
+# 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"
+# No ruby19 for three reasons:
+# 1) it does not build (yet) - will likely be solved soon
+# 2) cmake bails when configuring twice or more - solved with CMAKE_IN_SOURCE_BUILD=1
+# 3) the ebuild can only be installed for one ruby variant, otherwise the compiled
+# files with identical path+name will overwrite each other - difficult :(
+
+inherit kde4-meta ruby-ng
+
+DESCRIPTION="KDE Ruby bindings"
+KEYWORDS=""
+IUSE="akonadi debug kate okular phonon plasma qscintilla qwt semantic-desktop"
+
+# TODO add qt-declarative
+DEPEND="
+ $(add_kdebase_dep smoke 'akonadi?,kate?,okular?,phonon?,qscintilla?,qwt?,semantic-desktop?,webkit?')
+"
+
+ruby_add_bdepend dev-ruby/rubygems
+
+RDEPEND="${DEPEND}
+ !dev-ruby/qt4-qtruby
+"
+
+# Merged with kdebindings-ruby after 4.4.80
+add_blocker krossruby
+
+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=(
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ $(cmake-utils_use_with akonadi)
+ $(cmake-utils_use_with akonadi KdepimLibs)
+ $(cmake-utils_use_disable kate)
+ $(cmake-utils_use_with okular)
+ $(cmake-utils_use_with phonon)
+ $(cmake-utils_use_with plasma)
+ $(cmake-utils_use_with qscintilla QScintilla)
+ $(cmake-utils_use_with qwt Qwt)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_disable webkit QtWebKit)
+ )
+ 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
+}