# Description: Programme de base de KDE4 # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr # Depends on: polkit-qt, kdebase-runtime, xorg-libxscrnsaver, shared-mime-info, kdelibs, kdepimlibs, hal, libvorbis, libogg, audiofile, alsa-utils, qimageblitz, lm_sensors, libxklavier, libcaptury, consolekit, networkmanager, libraw1394 name=kdebase-workspace version=4.4.95 release=2 source=( ftp://ftp.kde.org/pub/kde/unstable/$version/src/$name-$version.tar.bz2 \ lxde.desktop ede.desktop Xsession.kde4 \ http://kiao.no-ip.info/NuTyX/files/kdm-nutyx2009-2.tar.gz\ http://kiao.no-ip.info/NuTyX/files/absolute-nutyx.tar.gz \ http://kiao.no-ip.info/NuTyX/files/Attapu.tar.gz ) build() { mkdir -v -p $PKG/etc/kde cd $name-$version mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_PolkitQt=OFF \ -DWITH_Xmms=OFF \ -DWITH_Googlegadgets=OFF \ -DWITH_QEdje=OFF \ -DBUILD_doc=OFF make -j3 make DESTDIR=$PKG install cd .. install -m644 ../{ede.desktop,lxde.desktop} \ $PKG/usr/share/apps/kdm/sessions/ install -m755 ../Xsession.kde4 \ $PKG/usr/share/config/kdm/Xsession chown -R 0:0 ../kdm-nutyx cp -a ../kdm-nutyx \ $PKG/usr/share/apps/kdm/themes/ sed -i "s/AllowRootLogin=false/AllowRootLogin=true/" \ $PKG/usr/share/config/kdm/kdmrc sed -i "s/oxygen-air/kdm-nutyx/" $PKG/usr/share/config/kdm/kdmrc sed -i "s/xdm.pid/kdm.pid/" $PKG/usr/share/config/kdm/kdmrc sed -i "s/#Language=de_DE/Language=fr_FR/" $PKG/usr/share/config/kdm/kdmrc mv $PKG/usr/share/config/kdm/kdmrc $PKG/etc/kde/kdmrc ln -sv /etc/kde/kdmrc $PKG/usr/share/config/kdm/kdmrc mv ../Attapu $PKG/usr/share/wallpapers/ # ksplash also quite dirty rm -r $PKG/usr/share/apps/ksplash/Themes/Default cp -a ../Absolute-NuTyX \ $PKG/usr/share/apps/ksplash/Themes/ ln -sv Absolute-NuTyX \ $PKG/usr/share/apps/ksplash/Themes/Default chown -R root:root $PKG # mv $PKG/usr/etc/* $PKG/etc/ # rm -r $PKG/usr/etc mkdir -p $PKG/var/lib/kdm chown -R kdm:kdm $PKG/var/lib/kdm }