wok-next rev 16969

xine-ui: fix double .desktop entry
author Christophe Lincoln <pankso@slitaz.org>
date Sat Aug 02 11:53:48 2014 +0200 (2014-08-02)
parents 3e4d8dd8e394
children 929485d8a229
files xine-ui/receipt
line diff
     1.1 --- a/xine-ui/receipt	Thu Jul 31 21:01:46 2014 -0300
     1.2 +++ b/xine-ui/receipt	Sat Aug 02 11:53:48 2014 +0200
     1.3 @@ -16,10 +16,12 @@
     1.4  BUILD_DEPENDS="xine-lib-dev xorg-dev xorg-libXv-dev xorg-libXxf86vm-dev \
     1.5  libpng-dev jpeg-dev xorg-libXss-dev"
     1.6  
     1.7 +# Use a custom .desktop file
     1.8 +GENERIC_MENUS="no"
     1.9 +
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	cd $src
    1.14  	./configure \
    1.15  		--without-curl \
    1.16  		--disable-lirc \
    1.17 @@ -30,10 +32,10 @@
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/share/applications
    1.22 -	cp -a $stuff/xine-ui.desktop $fs/usr/share/applications
    1.23 +	mkdir -p $fs/usr/share
    1.24  	cp -a $install/usr/bin $fs/usr
    1.25  	cp -a $install/usr/share/xine $fs/usr/share
    1.26 +	cp -a $install/usr/share/mime $fs/usr/share
    1.27  
    1.28  	# Remove the sample default.avi
    1.29  	rm $fs/usr/share/xine/visuals/*.mpv