diff options
author | root <root@rshg054.dnsready.net> | 2012-08-08 00:02:17 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-08 00:02:17 +0000 |
commit | 6c114b503b2456476f22ff6bdb2b45cac8dac612 (patch) | |
tree | 663d91755132361628dec7a42b77734ecf7b36b7 /extra/kdebindings-korundum | |
parent | 9d36fcd5638035abf19f303deebd9e861d384254 (diff) |
Wed Aug 8 00:02:17 UTC 2012
Diffstat (limited to 'extra/kdebindings-korundum')
-rw-r--r-- | extra/kdebindings-korundum/PKGBUILD | 20 | ||||
-rw-r--r-- | extra/kdebindings-korundum/ruby19.patch | 30 |
2 files changed, 40 insertions, 10 deletions
diff --git a/extra/kdebindings-korundum/PKGBUILD b/extra/kdebindings-korundum/PKGBUILD index cc90349a5..1a5690a8b 100644 --- a/extra/kdebindings-korundum/PKGBUILD +++ b/extra/kdebindings-korundum/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 161149 2012-06-08 06:36:08Z andrea $ +# $Id: PKGBUILD 164877 2012-08-06 23:16:29Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=kdebindings-korundum -pkgver=4.8.4 +pkgver=4.9.0 pkgrel=1 -pkgdesc="KDE bindings for ruby" -url="http://kde.org/" +pkgdesc="Ruby bindings for libraries created by the KDE community" +url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kdebindings') @@ -13,16 +13,16 @@ depends=('kdebindings-qtruby' 'kdebindings-smokekde') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen' 'boost' 'kdepimlibs' 'kdegraphics-okular' 'kdesdk-kate') conflicts=('kdebindings-ruby') -options=('!makeflags') source=("http://download.kde.org/stable/${pkgver}/src/korundum-${pkgver}.tar.xz" - 'korundum-4.8.0-ruby19.patch') -sha1sums=('ce722ea7c64ce90d11370e393a87cb067962853e' - '73299f56a891d8a5475ac07dd485619859312f70') + 'ruby19.patch') +sha1sums=('7c97b549bb6958223fc0b28f657fec09bb95b7e5' + 'c074f027bac3b9bffe70a2c2304a6a7be12be034') build() { cd "${srcdir}/korundum-${pkgver}" - patch -p1 -i "${srcdir}/korundum-4.8.0-ruby19.patch" - cd .. + patch -p1 -i "${srcdir}/ruby19.patch" + + cd "${srcdir}" mkdir build cd build diff --git a/extra/kdebindings-korundum/ruby19.patch b/extra/kdebindings-korundum/ruby19.patch new file mode 100644 index 000000000..c2468d9ce --- /dev/null +++ b/extra/kdebindings-korundum/ruby19.patch @@ -0,0 +1,30 @@ +--- 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); + } + + // +@@ -165,7 +164,8 @@ + #if RUBY_VERSION >= 0x10900 + VALUE gem = rb_define_module("Gem"); + rb_const_set(gem, rb_intern("Enable"), Qtrue); +- Init_prelude(); ++ char *opts[] = { "ruby", "-e;" }; ++ ruby_options(2, opts); + #endif + + ruby_incpush(QFile::encodeName(program.path())); +@@ -342,7 +342,8 @@ + #if RUBY_VERSION >= 0x10900 + VALUE gem = rb_define_module("Gem"); + rb_const_set(gem, rb_intern("Enable"), Qtrue); +- Init_prelude(); ++ char *opts[] = { "ruby", "-e;" }; ++ ruby_options(2, opts); + #endif + + ruby_incpush(QFile::encodeName(program.path())); |