summaryrefslogtreecommitdiffstats
path: root/kde/koffice/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/koffice/Pkgfile')
-rw-r--r--kde/koffice/Pkgfile19
1 files changed, 10 insertions, 9 deletions
diff --git a/kde/koffice/Pkgfile b/kde/koffice/Pkgfile
index 144c19e97..a9a236cca 100644
--- a/kde/koffice/Pkgfile
+++ b/kde/koffice/Pkgfile
@@ -1,29 +1,30 @@
-# Description: Suite office intégrée dans KDE
+# Description: Siuite office intégrée dans KDE
# URL: http://www.koffice.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: kdebase, kdepim, libwpg, wv2, glew, gsl, pstoedit, graphicsmagick, kipi-plugins, eigen2
+# Depends on: libgl, kdebase, kdepim, kdegraphics, libwpg, wv2, glew, gsl, pstoedit, graphicsmagick, kipi-plugins, eigen2, fftw
name=koffice
-version=2.1.2
+version=2.2.1
release=1
source=(ftp://ftp.kde.org/pub/kde/stable/$name-$version/$name-$version.tar.bz2 \
- ftp://ftp.kde.org/pub/kde/stable/$name-$version/$name-l10n/$name-l10n-fr-$version.tar.bz2\
- libpng14.patch koffice-2.1.2-gcc-4.5.0-1.patch)
+ ftp://ftp.kde.org/pub/kde/stable/$name-$version/$name-l10n/$name-l10n-fr-$version.tar.bz2)
build() {
cd $name-$version
- patch -Np0 -i ../libpng14.patch
- patch -Np1 -i ../koffice-2.1.2-gcc-4.5.0-1.patch
cd ..
mkdir build
cd build
- cmake ../${name}-l10n-fr-$version \
+ cmake ../$name-l10n-fr-$version \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make -j3
make DESTDIR=$PKG install
rm -r *
- cmake ../${name}-$version -DCMAKE_INSTALL_PREFIX=/usr
+ cmake ../$name-$version \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_BUILD_TYPE=Release
make -j3
make DESTDIR=$PKG install
for i in format-justify-center.png format-justify-fill.png \