# Description: Programme de base de KDE4 # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr # Depends on: cmake, automoc4 ,kdelibs, kdepimlibs, kdebase-runtime, kdebase, kdegraphics, kdebindings, libdbusmenu-qt, polkit-qt, lm_sensors, libraw1394, qimageblitz, pciutils, usbutils, consolekit, xorg-libxtst, xorg-libxkbfile, xorg-libxdamage, networkmanager # Run on: lm_sensors,libraw1394,qimageblitz,polkit-kde,consolekit,xorg-xprop,xorg-libxdamage,xorg-libxkbfile name=kdebase-workspace version=4.6.2 release=4 source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 \ http://nutyx.meticul.eu/files/patchs/$name/Pakxe.tar.bz2 \ kde.pam kde-np.pam kscreensaver.pam ) build() { mkdir -v -p $PKG/etc/kde cd $name-* sed -e "s#@REPLACE_LDFLAGS@##" \ -i startkde.cmake sed -e "s#@REPLACE_LIBDIR@#$(get_libdir)#" \ -i startkde.cmake # Bug de la version 4.6.2 sed -i "s|sutdomn -p now|shutdown -hP now|" kdm/config.def mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DWITH_Xmms=OFF \ -DWITH_Googlegadgets=OFF \ -DKDE_DEFAULT_HOME=.kde \ -DSYSCONF_INSTALL_DIR=/etc/kde make make DESTDIR=$PKG install cd .. sed -i "s/AllowRootLogin=false/AllowRootLogin=true/" \ $PKG/usr/share/config/kdm/kdmrc sed -i "s/#Language=de_DE/Language=fr_FR/" $PKG/usr/share/config/kdm/kdmrc mv ../Pakxe $PKG/usr/share/wallpapers/ chown -R root:root $PKG 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 }