summaryrefslogtreecommitdiffstats
path: root/kde3/kdelibs3/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-09-30 01:00:44 +0200
committertnut <thierryn1 at hispeed dot ch>2010-09-30 01:00:44 +0200
commit7bcab5bee1c9e4d7ff0ad229f197ed4405ae25bb (patch)
treef3c5a52dc57b07bccfa18fe490842b8a6d15850d /kde3/kdelibs3/Pkgfile
parentaebf0a08c92abe8a7ae4fda812def246b1bf0266 (diff)
downloadnutyx-extra-7bcab5bee1c9e4d7ff0ad229f197ed4405ae25bb.tar.gz
nutyx-extra-7bcab5bee1c9e4d7ff0ad229f197ed4405ae25bb.tar.bz2
nutyx-extra-7bcab5bee1c9e4d7ff0ad229f197ed4405ae25bb.tar.xz
nutyx-extra-7bcab5bee1c9e4d7ff0ad229f197ed4405ae25bb.zip
ajout de kdelibs3#3.5.10-1
Diffstat (limited to 'kde3/kdelibs3/Pkgfile')
-rw-r--r--kde3/kdelibs3/Pkgfile43
1 files changed, 43 insertions, 0 deletions
diff --git a/kde3/kdelibs3/Pkgfile b/kde3/kdelibs3/Pkgfile
new file mode 100644
index 000000000..c4d25951a
--- /dev/null
+++ b/kde3/kdelibs3/Pkgfile
@@ -0,0 +1,43 @@
+# Description: Jeu de librairies pour l'interface graphique KDE version 3
+# URL: http://www.kde.org
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: jasper, perl, libmad, libao, esound, qt3, audiofile, cups, hicolor-icon-theme, dbus-qt3, libart_lgpl, openexr, dbus-qt3
+
+name=kdelibs3
+version=3.5.10
+release=1
+localname=kdelibs
+source=(http://mirrors.isc.org/pub/kde/stable/3.5.10/src/kdelibs-$version.tar.bz2\
+ kdelibs-3.5.10-gcc44-1.patch kdelibs-3.5.10-openssl-1.patch \
+ kdelibs-3.5.10-gcc45-1.patch \
+ http://www.linuxfromscratch.org/patches/blfs/svn/kdelibs-3.5.10-charset-1.patch)
+
+build() {
+ cd kdelibs-$version
+ patch -Np1 -i ../kdelibs-3.5.10-gcc44-1.patch
+ patch -Np1 -i ../kdelibs-3.5.10-gcc45-1.patch
+ patch -Np1 -i ../kdelibs-3.5.10-openssl-1.patch
+ patch -Np1 -i ../kdelibs-3.5.10-charset-1.patch
+ sed -i -e 's|linux/inotify|sys/inotify|' \
+ -e '/^static inline int inotify_init/,/^}/d' \
+ -e '/^static inline int inotify_add_watch/,/^}/d' \
+ -e '/^static inline int inotify_rm_watch/,/^}/d' kio/kio/kdirwatch.cpp
+ ./configure --prefix=/opt/kde \
+ --disable-debug \
+ --disable-dnotify \
+ --disable-dnssd \
+ --without-lua \
+ --without-hspell \
+ --enable-gcc-hidden-visibility \
+ --disable-libfam \
+ --disable-dependency-tracking \
+ --sysconfdir=/etc/kde3 \
+ --enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/qt/lib" \
+ --enable-final
+ LD_LIBRARY_PATH="$QTDIR/lib" make
+ make DESTDIR=$PKG install
+# rm -rf $PKG/$KDE3_PREFIX/share/doc
+ rm -rf $PKG/usr/share/icons/hicolor/index.theme $PKG/usr/include/ltdl.h
+}
+