summaryrefslogtreecommitdiffstats
path: root/kde/koffice/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-17 23:51:30 +0200
committersibel <lesibel at free dot fr>2010-07-17 23:51:30 +0200
commit3ca89111615bc07f0f072bbaa9cbae650ecfeba0 (patch)
tree829fe5f5a6da3665974dc11c2e869b208c56eb35 /kde/koffice/Pkgfile
parente7f20837b71e869144baa9be34e4756a70d576f2 (diff)
downloadnutyx-pakxe-3ca89111615bc07f0f072bbaa9cbae650ecfeba0.tar.gz
nutyx-pakxe-3ca89111615bc07f0f072bbaa9cbae650ecfeba0.tar.bz2
nutyx-pakxe-3ca89111615bc07f0f072bbaa9cbae650ecfeba0.tar.xz
nutyx-pakxe-3ca89111615bc07f0f072bbaa9cbae650ecfeba0.zip
maj de
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 \