extra/analitza to 14.12.1-2

This commit is contained in:
Kevin Mihelich 2015-01-24 16:46:39 +00:00
parent 5d18e18c6f
commit 35b7bce32b
2 changed files with 15 additions and 11 deletions

View file

@ -1,22 +1,24 @@
# $Id: PKGBUILD 179350 2013-03-05 15:25:49Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch and cmake define to disable opengl for ARM
pkgname=kdeedu-analitza
pkgver=4.14.3
pkgrel=1
pkgname=analitza
pkgver=14.12.1
pkgrel=2
pkgdesc="A library to add mathematical features to your program"
url="https://projects.kde.org/projects/kde/kdeedu/analitza"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'glu')
source=("http://download.kde.org/stable/${pkgver}/src/analitza-${pkgver}.tar.xz"
depends=('qt5-svg' 'qt5-declarative')
makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'eigen')
replaces=('kdebase-analitza')
conflicts=('kdebase-analitza')
source=("http://download.kde.org/stable/applications/${pkgver}/src/analitza-${pkgver}.tar.xz"
'analitza-4.10.1-opengl_optional.patch')
sha1sums=('49277482fe8831772ce61657ef0933358ed5639e'
sha1sums=('363c4c8df73eb52b66c24fd263916bc6093f85cc'
'1b3a522acf87ed3dee51af4290a841645bf98a32')
prepare() {
@ -30,8 +32,10 @@ build() {
cd build
cmake ../analitza-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DSHOULD_BUILD_OPENGL=OFF
make
}