diff options
author | orchidman <lesibel@free.fr> | 2011-07-19 09:21:00 +0200 |
---|---|---|
committer | orchidman <lesibel@free.fr> | 2011-07-19 09:21:00 +0200 |
commit | 9a439b5a889fab8ba8176e0e8abcec3ef6c068de (patch) | |
tree | 3600e7d2d047872534ae87f9e8a82002e103045c /kde/koffice/Pkgfile | |
parent | 2b65377ec1444c6b15b127cc381bc888066b351a (diff) | |
download | nutyx-extra-9a439b5a889fab8ba8176e0e8abcec3ef6c068de.tar.gz nutyx-extra-9a439b5a889fab8ba8176e0e8abcec3ef6c068de.tar.bz2 nutyx-extra-9a439b5a889fab8ba8176e0e8abcec3ef6c068de.tar.xz nutyx-extra-9a439b5a889fab8ba8176e0e8abcec3ef6c068de.zip |
koffice 2.3.2-1 ajout port
Diffstat (limited to 'kde/koffice/Pkgfile')
-rw-r--r-- | kde/koffice/Pkgfile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/kde/koffice/Pkgfile b/kde/koffice/Pkgfile new file mode 100644 index 000000000..c78d82f72 --- /dev/null +++ b/kde/koffice/Pkgfile @@ -0,0 +1,57 @@ +# Description: Siuite office intégrée dans KDE +# URL: http://www.koffice.org/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: cmake,automoc4,kdelibs,avahi,aspell,libxslt,shared-mime-info,upower,udisks,enchant,jasper,openexr,strigi,xorg-libxtst,soprano,ca-certificates,xdg-utils,qca,polkit-qt,xscreensaver,phonon,shared-desktop-ontologies,attica,xorg-libxcursor,hicolor-icon-theme,docbook-xsl,docbook-xml,libdbusmenu-qt,grantlee +# Run on: kdelibs,avahi,aspell,libxslt,shared-mime-info,upower,udisks,enchant,jasper,openexr,strigi,xorg-libxtst,soprano,ca-certificates,xdg-utils,qca,polkit-qt,xscreensaver,phonon,shared-desktop-ontologies,attica,xorg-libxcursor,hicolor-icon-theme,docbook-xsl,docbook-xml,libdbusmenu-qt,grantlee + +name=koffice +version=2.3.2 +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-2.3.2.tar.bz2 + koffice-libwpg02.patch + koffice-gcc46.patch ) + +build() { + cd $name-$version + patch -p1 -i ../koffice-libwpg02.patch + patch -p1 -i ../koffice-gcc46.patch + cd .. + mkdir build + cd build + cmake ../$name-l10n-fr-$version \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' + make + make DESTDIR=$PKG install + rm -r * + cmake ../$name-$version \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' + + make + make DESTDIR=$PKG install + for i in format-justify-center.png format-justify-fill.png \ + format-justify-left.png \ + format-justify-right.png \ + format-text-bold.png \ + format-text-italic.png \ + format-text-underline.png \ + object-group.png \ + object-order-back.png \ + object-order-front.png \ + object-order-lower.png \ + object-order-raise.png \ + object-ungroup.png + do + if [ -f $PKG//usr/share/icons/oxygen/16x16/actions/$i ]; then + rm $PKG//usr/share/icons/oxygen/16x16/actions/$i + fi + done +# rm -r $PKG//usr/share/doc/HTML/en +} |