summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGrey Christoforo2019-11-28 10:19:55 +0000
committerGrey Christoforo2019-11-28 10:19:55 +0000
commit2c90efb4ce5951b31ec6571d00ee61d85b24d478 (patch)
treee8eba58d6647c816fd6b64395735dee05c4854b3 /PKGBUILD
parentb0f6dec2410ac4b2861789f3889e21376ff0b8f6 (diff)
downloadaur-oce.tar.gz
change some build flags
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 61c61a00511..acb80bb6b73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="Open CASCADE Community Edition: patches/improvements/experiments contributed by users over the official Open CASCADE library."
url="https://github.com/tpaviot/oce"
arch=('i686' 'x86_64')
-license=('GPLv2.1')
+license=('GPL')
makedepends=('cmake')
depends=('intel-tbb' 'gl2ps' 'freeimage' 'tk' 'glu')
source=(https://github.com/tpaviot/${pkgname}/archive/OCE-${pkgver}.tar.gz 99_oce.sh 99_oce.conf)
@@ -27,9 +27,14 @@ build() {
flags=""
flags="$flags -DOCE_INSTALL_PREFIX=/opt/oce"
flags="$flags -DOCE_MULTITHREAD_LIBRARY:STRING=TBB"
- flags="$flags -DOCE_WITH_GL2PS=ON"
+ flags="$flags -DOCE_WITH_GL2PS=OFF"
flags="$flags -DOCE_WITH_FREEIMAGE=ON"
- flags="$flags -DOCE_DRAW=ON"
+ flags="$flags -DCMAKE_BUILD_TYPE=RelWithDebInfo"
+ flags="$flags -DOCE_TESTING=OFF"
+ flags="$flags -DOCE_USE_PCH=OFF"
+ flags="$flags -DOCE_COPY_HEADERS_BUILD=ON"
+ flags="$flags -DOCE_WITH_VTK=OFF"
+ flags="$flags -DOCE_ENABLE_DEB_FLAG=OFF"
cmake $flags ..
make
}