summaryrefslogtreecommitdiffstats
path: root/kde/kde-workspace/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-07-31 14:04:18 +0200
committertnut <tnut at nutyx dot com>2011-07-31 14:04:18 +0200
commit17be020a67a4e9981e811348d3b94fe3b2853f38 (patch)
treea38b4d734437f60389b2f3ab1a8cf8d4b9e9e29c /kde/kde-workspace/Pkgfile
parentb4af8aeaca282c63dd7e579f75291aed2386b273 (diff)
downloadnutyx-pakxe-17be020a67a4e9981e811348d3b94fe3b2853f38.tar.gz
nutyx-pakxe-17be020a67a4e9981e811348d3b94fe3b2853f38.tar.bz2
nutyx-pakxe-17be020a67a4e9981e811348d3b94fe3b2853f38.tar.xz
nutyx-pakxe-17be020a67a4e9981e811348d3b94fe3b2853f38.zip
ajout de kde-workspace 4.7.0-1
Diffstat (limited to 'kde/kde-workspace/Pkgfile')
-rwxr-xr-xkde/kde-workspace/Pkgfile56
1 files changed, 56 insertions, 0 deletions
diff --git a/kde/kde-workspace/Pkgfile b/kde/kde-workspace/Pkgfile
new file mode 100755
index 000000000..ff4974d37
--- /dev/null
+++ b/kde/kde-workspace/Pkgfile
@@ -0,0 +1,56 @@
+# 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,qimageblitz,xorg-libxtst,xorg-libxkbfile,pciutils,libraw1394,networkmanager,libusb-compat,consolekit,upower,udisks,lm_sensors,boost,akonadi,gpsd,polkit-kde,kde-l10n-fr,phonon-backend-gstreamer
+# Run on :kdelibs,kdepimlibs,qimageblitz,xorg-libxtst,xorg-libxkbfile,pciutils,libraw1394,networkmanager,libusb-compat,consolekit,upower,udisks,lm_sensors,boost,akonadi,gpsd,polkit-kde,kde-l10n-fr,phonon-backend-gstreamer
+
+name=kde-workspace
+version=4.7.0
+release=1
+source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 \
+ http://nutyx.meticul.eu/files/patchs/$name/Pakxe.tar.bz2 \
+ http://nutyx.meticul.eu/files/patchs/$name/nutyx-pakxe-01.tar.bz2
+ kde.pam kde-np.pam kscreensaver.pam
+)
+
+build() {
+ cd $name-*
+
+ # Bug de la version 4.6.2
+ sed -i "s|shutdown -p|shutdown -h|" 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 \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+
+ 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/
+ rm -r $PKG/usr/share/apps/ksplash/Themes/Default
+ cp -a ../nutyx-pakxe \
+ $PKG/usr/share/apps/ksplash/Themes/
+
+ ln -sv nutyx-pakxe \
+ $PKG/usr/share/apps/ksplash/Themes/Default
+
+ 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
+}