summaryrefslogtreecommitdiffstats
path: root/kde/kdebase-workspace/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdebase-workspace/Pkgfile')
-rwxr-xr-xkde/kdebase-workspace/Pkgfile25
1 files changed, 20 insertions, 5 deletions
diff --git a/kde/kdebase-workspace/Pkgfile b/kde/kdebase-workspace/Pkgfile
index 04ea44eb7..4e07a173f 100755
--- a/kde/kdebase-workspace/Pkgfile
+++ b/kde/kdebase-workspace/Pkgfile
@@ -2,22 +2,33 @@
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: xorg-libxkbfile,kdebase-runtime, xorg-libxscrnsaver, xorg-libxtst, shared-mime-info, kdelibs, kdepimlibs, libvorbis, libogg, audiofile, alsa-utils, qimageblitz, lm_sensors, libxklavier, libcaptury, consolekit, networkmanager, libraw1394, docbook-xsl
-# Run on: kdebase-runtime,xorg-libxscrnsaver,shared-mime-info,kdelibs,kdepimlibs,libvorbis,libogg,audiofile,alsa-utils,qimageblitz,lm_sensors,libxklavier,libcaptury,consolekit,networkmanager,libraw1394
+# Depends on: cmake, automoc4, boost, networkmanager, polkit-kde, qimageblitz, libraw1394, lm_sensors, xorg-libxkbfile, xorg-libxdamage, xorg-libxtst, kdepimlibs, gpsd, consolekit
+
+# Run on: kdepim-runtime, lm_sensors, libraw1394, qimageblitz, polkit-kde, consolekit, xorg-xprop, xorg-libxdamage, xorg-libxkbfile
+
name=kdebase-workspace
version=4.6.0
-release=3
+release=5
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 \
lxde.desktop ede.desktop Xsession.kde4 \
http://nutyx.meticul.eu/files/kdm-nutyx-attapu.1.tar.bz2 \
http://nutyx.meticul.eu/files/nutyx-attapu-ksplash.tar.gz \
- http://nutyx.meticul.eu/files/Attapu.tar.bz2 )
+ http://nutyx.meticul.eu/files/Attapu.tar.bz2 \
+ kdebase-workspace-4.6.0-fix-plasma-crash-on-exit.patch \
+ kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch \
+ kde.pam \
+ kde-np.pam \
+ kscreensaver.pam)
build() {
mkdir -v -p $PKG/etc/kde
- cd $name-*
+ cd $name-*
+
+ patch -Np0 -i $SRC/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch
+ patch -Np1 -i $SRC/kdebase-workspace-4.6.0-fix-plasma-crash-on-exit.patch
+
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
@@ -56,4 +67,8 @@ build() {
# rm -r $PKG/usr/etc
mkdir -p $PKG/var/lib/kdm
chown -R kdm:kdm $PKG/var/lib/kdm
+
+ install -D -m644 $SRC/kde.pam $PKG/etc/pam.d/kde
+ install -D -m644 $SRC/kde-np.pam $PKG/etc/pam.d/kde-np
+ install -D -m644 $SRC/kscreensaver.pam $PKG/etc/pam.d/kscreensaver
}