[arch-commits] Commit in rekonq/trunk (PKGBUILD with-nepomuk.patch)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Mar 8 10:42:42 UTC 2014
Date: Saturday, March 8, 2014 @ 11:42:42
Author: andrea
Revision: 106807
upgpkg: rekonq 2.4.2-2
Really build without nepomuk
Added:
rekonq/trunk/with-nepomuk.patch
Modified:
rekonq/trunk/PKGBUILD
--------------------+
PKGBUILD | 12 +++++++++---
with-nepomuk.patch | 16 ++++++++++++++++
2 files changed, 25 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-08 10:32:02 UTC (rev 106806)
+++ PKGBUILD 2014-03-08 10:42:42 UTC (rev 106807)
@@ -15,11 +15,16 @@
optdepends=('kdebase-konqueror: search engines support'
'qca-ossl: to use the sync handler')
install=${pkgname}.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('e9805b32f592ca5809bd1632c624c57fc0109ce98b73a8b8e3ebd04e9c875126')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+ 'with-nepomuk.patch')
+sha256sums=('e9805b32f592ca5809bd1632c624c57fc0109ce98b73a8b8e3ebd04e9c875126'
+ '19db70a6c9d3b323b58e07f4ca5b6193a2bd0fcba87c86019ea0f78987a22c69')
prepare() {
mkdir build
+
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/with-nepomuk.patch
}
build(){
@@ -26,7 +31,8 @@
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_NEPOMUK=OFF
make
}
Added: with-nepomuk.patch
===================================================================
--- with-nepomuk.patch (rev 0)
+++ with-nepomuk.patch 2014-03-08 10:42:42 UTC (rev 106807)
@@ -0,0 +1,16 @@
+--- rekonq-2.4.2/CMakeLists.txt~ 2014-03-08 10:35:22.003986721 +0000
++++ rekonq-2.4.2/CMakeLists.txt 2014-03-08 10:38:34.075974545 +0000
+@@ -48,9 +48,11 @@
+ # ==================================================================================
+ # optional nepomuk requirements
+
+-FIND_PACKAGE(Soprano)
++if(WITH_NEPOMUK)
++ FIND_PACKAGE(Soprano)
+
+-FIND_PACKAGE(NepomukCore 0.1.0)
++ FIND_PACKAGE(NepomukCore 0.1.0)
++endif()
+
+ IF(SOPRANO_FOUND AND NepomukCore_FOUND)
+ ADD_DEFINITIONS(-DHAVE_NEPOMUK)
More information about the arch-commits
mailing list