calligra rebuild to add mariadb dep, enable mysql in build

This commit is contained in:
abveritas 2013-02-17 19:13:44 +00:00
parent 94afca8e38
commit d1412777a7

View File

@ -27,13 +27,13 @@ pkgname=('calligra-3rdparty'
'calligra-braindump' 'calligra-braindump'
'calligra-flow') 'calligra-flow')
pkgver=2.6.1 pkgver=2.6.1
pkgrel=1 pkgrel=2
arch=('x86_64') arch=('x86_64')
url='http://www.calligra-suite.org' url='http://www.calligra-suite.org'
license=('FDL1.2' 'GPL2' 'LGPL') license=('FDL1.2' 'GPL2' 'LGPL')
makedepends=('kdepimlibs' 'eigen' 'freetds' 'kdegraphics-okular' 'kdeedu-marble' 'xbase' 'libpqxx<4' 'libvisio' makedepends=('kdepimlibs' 'eigen' 'freetds' 'kdegraphics-okular' 'kdeedu-marble' 'xbase' 'libpqxx<4' 'libvisio'
'libgsf' 'libwpd' 'libwpg' 'libwps' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' 'libspnav' 'libqtgtl' 'libgsf' 'libwpd' 'libwpg' 'libwps' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' 'libspnav' 'libqtgtl'
'boost' 'libkdcraw' 'fftw' 'opengtl' 'docbook-xsl' 'create-resources' 'lcms2') 'boost' 'libkdcraw' 'fftw' 'opengtl' 'docbook-xsl' 'create-resources' 'lcms2' 'libmariadbclient')
groups=('calligra') groups=('calligra')
source=("http://mirrors.mit.edu/kde/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2") source=("http://mirrors.mit.edu/kde/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
screenshot=("http://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Calligra_Stage_2.4.png/800px-Calligra_Stage_2.4.png") screenshot=("http://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Calligra_Stage_2.4.png/800px-Calligra_Stage_2.4.png")
@ -43,14 +43,12 @@ md5sums=('8ba98f3ccb3c5097eb059d86b51f6139')
build() { build() {
cd "${srcdir}" cd "${srcdir}"
mkdir build #mkdir build
cd build cd build
cmake ../${pkgbase}-${pkgver} \ cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_active=OFF \ -DBUILD_active=OFF
-DBUILD_mysql=OFF
make make
} }
@ -169,7 +167,7 @@ package_calligra-karbon() {
package_calligra-kexi() { package_calligra-kexi() {
pkgdesc="Develop desktop database applications" pkgdesc="Develop desktop database applications"
depends=('calligra-libs' 'calligra-sheets' 'sqlite3' 'xbase') depends=('calligra-libs' 'calligra-sheets' 'sqlite3' 'xbase' 'libmariadbclient')
provides=('kexi') provides=('kexi')
conflicts=('koffice-kexi' 'calligra-kexi-git') conflicts=('koffice-kexi' 'calligra-kexi-git')
replaces=('koffice-kexi' 'calligra-kexi-git') replaces=('koffice-kexi' 'calligra-kexi-git')