summaryrefslogtreecommitdiff
path: root/kde-base/kdebindings-ruby
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-01-04 23:52:44 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2011-01-04 23:52:44 +0300
commit7bbfb978f86f71f1ea9b86e91e14ee74375d7a3f (patch)
treee7a476c7a685b887281d9350f92f8475c8b76dad /kde-base/kdebindings-ruby
parentb61c1e950f2c49ea788e2e05574e552d34634ad5 (diff)
downloadkde-7bbfb978f86f71f1ea9b86e91e14ee74375d7a3f.tar.gz
kde-7bbfb978f86f71f1ea9b86e91e14ee74375d7a3f.tar.bz2
kde-7bbfb978f86f71f1ea9b86e91e14ee74375d7a3f.zip
[kde-base] Add KDE SC 4.5.5
Diffstat (limited to 'kde-base/kdebindings-ruby')
-rw-r--r--kde-base/kdebindings-ruby/Manifest2
-rw-r--r--kde-base/kdebindings-ruby/kdebindings-ruby-4.5.5.ebuild91
2 files changed, 93 insertions, 0 deletions
diff --git a/kde-base/kdebindings-ruby/Manifest b/kde-base/kdebindings-ruby/Manifest
index ccdcdd45a24..f39e54669ca 100644
--- a/kde-base/kdebindings-ruby/Manifest
+++ b/kde-base/kdebindings-ruby/Manifest
@@ -1,5 +1,7 @@
AUX kdebindings-ruby-fix-linkage.patch 1726 RMD160 7f23b1526b7ab6b2f73b31a45bfa6fed0bd62c29 SHA1 c44db3400dae4c81f6c4f6e3941896204fcfd8b8 SHA256 d9ea60a9271db666384ffc0542a7ff3e6d45e0058bcbf14b7ee11907de6052a8
+DIST kdebindings-4.5.5.tar.bz2 7134992 RMD160 c69f387c8dd5e3205fa8a436cc63cecf9511f38e SHA1 5f754f0b6989df9557c5ccec18b4f96207fceb94 SHA256 7bfa2df7e8a01c7f1a9cfd2e79e544794b94490d3ca3576cbbedb2328ef257c5
DIST kdebindings-4.5.90.tar.bz2 7077557 RMD160 78627250786a0f81b46fd2dbb9be4704e682243d SHA1 721ea1ba951255701f7137bdf2c122fca61c6b55 SHA256 28214858cf0e686f46204e1f7460d29d59719488e189ccc7fae438066513f83d
+EBUILD kdebindings-ruby-4.5.5.ebuild 2190 RMD160 d73cde7bced2d9fad79261f27c610b4ab4703205 SHA1 3d073ba52e7ec20358e3e608215179383b8c0b14 SHA256 b49ba0ab3d68405a0a3d4de2db940b864986ccef246fd56f95d1b634729d99cf
EBUILD kdebindings-ruby-4.5.90.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
diff --git a/kde-base/kdebindings-ruby/kdebindings-ruby-4.5.5.ebuild b/kde-base/kdebindings-ruby/kdebindings-ruby-4.5.5.ebuild
new file mode 100644
index 00000000000..ea989719b7a
--- /dev/null
+++ b/kde-base/kdebindings-ruby/kdebindings-ruby-4.5.5.ebuild
@@ -0,0 +1,91 @@
+# 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="~amd64 ~ppc ~x86"
+IUSE="akonadi debug okular phonon plasma qscintilla qwt semantic-desktop"
+
+DEPEND="
+ $(add_kdebase_dep smoke 'akonadi?,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_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
+}