From 38ea2e71952c00f18230ed0e691532aadff4e2c1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 22 Nov 2012 02:31:09 -0800 Subject: Thu Nov 22 02:27:52 PST 2012 --- kde-unstable/kdebindings-korundum/PKGBUILD | 11 ++++++----- kde-unstable/kdebindings-korundum/ruby19.patch | 18 +++++++++--------- 2 files changed, 15 insertions(+), 14 deletions(-) (limited to 'kde-unstable/kdebindings-korundum') diff --git a/kde-unstable/kdebindings-korundum/PKGBUILD b/kde-unstable/kdebindings-korundum/PKGBUILD index 20167d978..1872ad76c 100644 --- a/kde-unstable/kdebindings-korundum/PKGBUILD +++ b/kde-unstable/kdebindings-korundum/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 163387 2012-07-11 22:21:19Z andrea $ +# $Id: PKGBUILD 171752 2012-11-21 18:44:02Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-korundum -pkgver=4.8.97 +pkgver=4.9.80 pkgrel=1 pkgdesc="Ruby bindings for libraries created by the KDE community" url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum" @@ -12,12 +12,13 @@ groups=('kdebindings') depends=('kdebindings-qtruby' 'kdebindings-smokekde') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen' 'boost' 'kdepimlibs' 'kdegraphics-okular' 'kdesdk-kate') +optdepends=('kdegraphics-okular: okular bindings' + 'kdepimlibs: akonadi bindings') conflicts=('kdebindings-ruby') -options=('!makeflags') source=("http://download.kde.org/unstable/${pkgver}/src/korundum-${pkgver}.tar.xz" 'ruby19.patch') -sha1sums=('432655321eefb8b3635c03c55e02175163340131' - '73299f56a891d8a5475ac07dd485619859312f70') +sha1sums=('e16ed8f538fc1208c2b29c1704da186fe3d97e8c' + 'c074f027bac3b9bffe70a2c2304a6a7be12be034') build() { cd "${srcdir}/korundum-${pkgver}" diff --git a/kde-unstable/kdebindings-korundum/ruby19.patch b/kde-unstable/kdebindings-korundum/ruby19.patch index ac4d32ae9..c2468d9ce 100644 --- a/kde-unstable/kdebindings-korundum/ruby19.patch +++ b/kde-unstable/kdebindings-korundum/ruby19.patch @@ -1,30 +1,30 @@ -diff -up korundum-4.8.0/src/krubypluginfactory.cpp.ruby19 korundum-4.8.0/src/krubypluginfactory.cpp ---- korundum-4.8.0/src/krubypluginfactory.cpp.ruby19 2011-07-27 13:37:29.000000000 -0500 -+++ korundum-4.8.0/src/krubypluginfactory.cpp 2012-02-17 08:30:38.785635819 -0600 -@@ -39,7 +39,7 @@ +--- korundum-4.9.0/src/krubypluginfactory.cpp~ 2012-07-27 10:44:19.544464612 +0000 ++++ korundum-4.9.0/src/krubypluginfactory.cpp 2012-07-27 10:53:15.247374749 +0000 +@@ -39,7 +39,6 @@ extern "C" { extern VALUE rb_load_path; extern VALUE qt_internal_module; -void Init_prelude(void); -+// void Init_prelude(void); } // -@@ -165,7 +165,7 @@ QObject *KRubyPluginFactory::create(cons +@@ -165,7 +164,8 @@ #if RUBY_VERSION >= 0x10900 VALUE gem = rb_define_module("Gem"); rb_const_set(gem, rb_intern("Enable"), Qtrue); - Init_prelude(); -+// Init_prelude(); ++ char *opts[] = { "ruby", "-e;" }; ++ ruby_options(2, opts); #endif ruby_incpush(QFile::encodeName(program.path())); -@@ -342,7 +342,7 @@ int kdemain(int argc, char **argv) +@@ -342,7 +342,8 @@ #if RUBY_VERSION >= 0x10900 VALUE gem = rb_define_module("Gem"); rb_const_set(gem, rb_intern("Enable"), Qtrue); - Init_prelude(); -+// Init_prelude(); ++ char *opts[] = { "ruby", "-e;" }; ++ ruby_options(2, opts); #endif ruby_incpush(QFile::encodeName(program.path())); -- cgit v1.2.3-54-g00ecf