summaryrefslogtreecommitdiff
path: root/extra/kdebindings-korundum
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-08 09:02:16 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-08 09:02:16 -0300
commitdec82423b45179c362a4727cc3d63fb2349af369 (patch)
tree552f0832ffe5dab6305382ea0c0e4a42da17063a /extra/kdebindings-korundum
parenta0f85906119bcb8e7269dee701076946b3ec45ea (diff)
parentef815a5d80eecd4ba0679a376386741c374e0d1b (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/dzen2/PKGBUILD community/qtcurve-kde4/PKGBUILD core/openldap/PKGBUILD extra/geeqie/PKGBUILD extra/kactivities/PKGBUILD extra/kdebase-runtime/PKGBUILD extra/kdebase-workspace/PKGBUILD extra/kdebindings-korundum/PKGBUILD extra/kdebindings-kross/PKGBUILD extra/kdebindings-perlkde/PKGBUILD extra/kdebindings-perlqt/PKGBUILD extra/kdebindings-python/PKGBUILD extra/kdebindings-qtruby/PKGBUILD extra/kdebindings-qyoto/PKGBUILD extra/kdebindings-smokegen/PKGBUILD extra/kdebindings-smokekde/PKGBUILD extra/kdebindings-smokeqt/PKGBUILD extra/kdeedu-analitza/PKGBUILD extra/kdegraphics-ksaneplugin/PKGBUILD extra/kdegraphics-mobipocket/PKGBUILD extra/kdegraphics-strigi-analyzer/PKGBUILD extra/kdegraphics-svgpart/PKGBUILD extra/kdegraphics-thumbnailers/PKGBUILD extra/kdepim-runtime/PKGBUILD extra/kdepim/PKGBUILD extra/kdepimlibs/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/kdeutils-sweeper/PKGBUILD extra/libkdcraw/PKGBUILD extra/libkdeedu/PKGBUILD extra/libkexiv2/PKGBUILD extra/libkipi/PKGBUILD extra/libksane/PKGBUILD extra/moc/PKGBUILD extra/strigi/PKGBUILD extra/vice/PKGBUILD
Diffstat (limited to 'extra/kdebindings-korundum')
-rw-r--r--extra/kdebindings-korundum/PKGBUILD20
-rw-r--r--extra/kdebindings-korundum/ruby19.patch30
2 files changed, 40 insertions, 10 deletions
diff --git a/extra/kdebindings-korundum/PKGBUILD b/extra/kdebindings-korundum/PKGBUILD
index f42133a4c..b08d5b5b1 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' 'mips64el')
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()));