[arch-commits] Commit in kdebindings-korundum/kde-unstable (PKGBUILD no-nepomuk.patch)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Mar 8 16:16:46 UTC 2014


    Date: Saturday, March 8, 2014 @ 17:16:46
  Author: andrea
Revision: 207399

upgpkg: kdebindings-korundum 4.12.80-2

Drop nepomuk bindings

Added:
  kdebindings-korundum/kde-unstable/no-nepomuk.patch
Modified:
  kdebindings-korundum/kde-unstable/PKGBUILD

------------------+
 PKGBUILD         |   14 ++++++++++----
 no-nepomuk.patch |   21 +++++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-08 16:16:26 UTC (rev 207398)
+++ PKGBUILD	2014-03-08 16:16:46 UTC (rev 207399)
@@ -3,7 +3,7 @@
 
 pkgname=kdebindings-korundum
 pkgver=4.12.80
-pkgrel=1
+pkgrel=2
 pkgdesc="Ruby bindings for libraries created by the KDE community"
 url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum"
 arch=('i686' 'x86_64')
@@ -15,11 +15,16 @@
 optdepends=('kdegraphics-okular: okular bindings'
             'kdepimlibs: akonadi bindings')
 conflicts=('kdebindings-ruby')
-source=("http://download.kde.org/unstable/${pkgver}/src/korundum-${pkgver}.tar.xz")
-sha1sums=('79a57dbfcae018491a5045ae6a25df2ab0f620b0')
+source=("http://download.kde.org/unstable/${pkgver}/src/korundum-${pkgver}.tar.xz"
+        'no-nepomuk.patch')
+sha1sums=('79a57dbfcae018491a5045ae6a25df2ab0f620b0'
+          'c4834bab76316f0f7c956c0527351e9d885694fd')
 
 prepare() {
   mkdir build
+
+  cd korundum-${pkgver}
+  patch -p1 -i "${srcdir}"/no-nepomuk.patch
 }
 
 build() {
@@ -29,7 +34,8 @@
     -DKDE4_BUILD_TESTS=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCUSTOM_RUBY_SITE_LIB_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]') \
-    -DCUSTOM_RUBY_SITE_ARCH_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]')
+    -DCUSTOM_RUBY_SITE_ARCH_DIR=$(ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]') \
+    -DWITH_Nepomuk=OFF
 
   make
 }

Added: no-nepomuk.patch
===================================================================
--- no-nepomuk.patch	                        (rev 0)
+++ no-nepomuk.patch	2014-03-08 16:16:46 UTC (rev 207399)
@@ -0,0 +1,21 @@
+--- korundum-4.12.80/CMakeLists.txt~	2014-03-08 16:02:37.343367661 +0000
++++ korundum-4.12.80/CMakeLists.txt	2014-03-08 16:13:01.699397634 +0000
+@@ -19,12 +19,16 @@
+         Phonon
+         Plasma
+         QtCore
+-        Solid
++        Solid )
++
++find_package(Smoke COMPONENTS
++        Akonadi
++        Okular
++        Kate
+         Soprano
+         SopranoClient
+         SopranoServer
+         Nepomuk )
+-find_package(Smoke COMPONENTS Akonadi Okular Kate)
+ include(KDE4Defaults)
+ include_directories( ${KDE4_INCLUDES} ${SMOKE_INCLUDE_DIR} ${QTRUBY_INCLUDE_DIR} ${SMOKE_QTCORE_INCLUDE_DIR} ${SMOKE_KDECORE_INCLUDE_DIR} )
+ 




More information about the arch-commits mailing list