wok diff razorqt/receipt @ rev 12897

get-skype: add pre_remove cleanup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 28 11:46:48 2012 +0200 (2012-05-28)
parents 6cfe3e516210
children 0dfd215d3c0f
line diff
     1.1 --- a/razorqt/receipt	Tue Apr 17 14:21:40 2012 +0200
     1.2 +++ b/razorqt/receipt	Mon May 28 11:46:48 2012 +0200
     1.3 @@ -8,10 +8,10 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://razor-qt.org/"
     1.6  WGET_URL="https://github.com/downloads/Razor-qt/razor-qt/$TARBALL"
     1.7 -SUGGESTED="razorqt-themes razorqt-appswitcher"
     1.8 +SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power"
     1.9  
    1.10  DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic"
    1.11 -BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev"
    1.12 +BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev"
    1.13  # polkit-dev polkit-qt-dev doxygen
    1.14  
    1.15  # Rules to configure and make the package.
    1.16 @@ -25,12 +25,14 @@
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.21 +	mkdir -p $fs/usr/lib $fs/usr/share/xsessions
    1.22  	# Use SliTaz XDG Menu
    1.23  	#cp -a $install/etc $fs
    1.24  	cp -a $install/usr/bin $fs/usr
    1.25 +	cp -f $install/usr/share/xsessions/razor.desktop \
    1.26 +		$fs/usr/share/xsessions
    1.27  	
    1.28 -	# Split plugins ?
    1.29 +	# Split more plugins ?
    1.30  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.31  	cp -a $install/usr/lib/razor-* $fs/usr/lib
    1.32  	cp -a $install/usr/share/librazorqt $fs/usr/share
    1.33 @@ -39,6 +41,10 @@
    1.34  	# Appswitcher --> razorqt-appswitcher
    1.35  	rm -f $fs/usr/bin/razor-appswitcher
    1.36  	
    1.37 +	# Power --> razorqt-power
    1.38 +	rm -f $fs/usr/bin/razor-power
    1.39 +	rm -rf $fs/usr/share/razor/razor-power
    1.40 +	
    1.41  	# Themes --> razorqt-themes
    1.42  	rm -rf $fs/usr/share/razor/themes
    1.43  	mkdir -p $fs/usr/share/razor/themes