[arch-commits] Commit in soprano/kde-unstable (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Thu Jun 4 22:46:14 UTC 2009
Date: Thursday, June 4, 2009 @ 18:46:14
Author: pierre
Revision: 41537
use a more sane version number; remove rpath etc.
Modified:
soprano/kde-unstable/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-06-04 22:30:36 UTC (rev 41536)
+++ PKGBUILD 2009-06-04 22:46:14 UTC (rev 41537)
@@ -3,7 +3,7 @@
# Contributor: Tobias Powalowski <tpowa at archlinux.org>
pkgname=soprano
-pkgver=2.2.977209
+pkgver=2.2.3.977209
pkgrel=1
pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data'
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
optdepends=('java-runtime=6: Sesame2 backend')
#source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('568820b69e1c8f77bd425428a245a419')
+md5sums=('69d813b03280677975abe95632e3af3e')
build() {
. /etc/profile.d/openjdk6.sh
@@ -28,6 +28,8 @@
cd build
cmake "../${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr || return 1
#This is evil. We hack the library paths in the binary so that jre is also possible instead of just only openjdk.
sed -e "s#${JAVA_HOME}/jre/lib/${_jvmarch}/server/libjvm.so#-L ${JAVA_HOME}/jre/lib/${_jvmarch}/server -ljvm#" \
More information about the arch-commits
mailing list