summaryrefslogtreecommitdiff
path: root/extra/kdebindings-korundum
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-04 00:45:57 -0700
committerroot <root@rshg054.dnsready.net>2013-07-04 00:45:57 -0700
commit04b07250d0055e5cecd7c998660c5595699cfe1c (patch)
tree8697097210dfb2b705afb6ba145dafd08c476f84 /extra/kdebindings-korundum
parent68e8645dcd1ce619af6d92f3645c43b15bc5ac71 (diff)
Thu Jul 4 00:45:57 PDT 2013
Diffstat (limited to 'extra/kdebindings-korundum')
-rw-r--r--extra/kdebindings-korundum/PKGBUILD14
-rw-r--r--extra/kdebindings-korundum/ruby19.patch30
2 files changed, 5 insertions, 39 deletions
diff --git a/extra/kdebindings-korundum/PKGBUILD b/extra/kdebindings-korundum/PKGBUILD
index f9022b24c..bc2ea2e07 100644
--- a/extra/kdebindings-korundum/PKGBUILD
+++ b/extra/kdebindings-korundum/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 187963 2013-06-08 07:59:44Z andrea $
+# $Id: PKGBUILD 189526 2013-07-03 17:01:24Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdebindings-korundum
-pkgver=4.10.4
+pkgver=4.10.5
pkgrel=1
pkgdesc="Ruby bindings for libraries created by the KDE community"
url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum"
@@ -15,18 +15,14 @@ makedepends=('cmake' 'automoc4' 'kdebindings-smokegen' 'boost'
optdepends=('kdegraphics-okular: okular bindings'
'kdepimlibs: akonadi bindings')
conflicts=('kdebindings-ruby')
-source=("http://download.kde.org/stable/${pkgver}/src/korundum-${pkgver}.tar.xz"
- 'ruby19.patch')
-sha1sums=('d4b2920db047a10addbd1a8818878b2f93c75648'
- 'c074f027bac3b9bffe70a2c2304a6a7be12be034')
+source=("http://download.kde.org/stable/${pkgver}/src/korundum-${pkgver}.tar.xz")
+sha1sums=('fa3e3c8dfdd4a81e49f91aa264d64f700ec4241f')
prepare() {
- cd korundum-${pkgver}
- patch -p1 -i "${srcdir}/ruby19.patch"
+ mkdir build
}
build() {
- mkdir build
cd build
cmake ../korundum-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
diff --git a/extra/kdebindings-korundum/ruby19.patch b/extra/kdebindings-korundum/ruby19.patch
deleted file mode 100644
index c2468d9ce..000000000
--- a/extra/kdebindings-korundum/ruby19.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- 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()));