wok diff mplayerplug-in/receipt @ rev 21009
updated gtick (0.4.2 -> 0.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 09 13:45:19 2019 +0100 (2019-03-09) |
parents | ed8073aa8cf0 |
children | 370da83187ab |
line diff
1.1 --- a/mplayerplug-in/receipt Mon Dec 21 00:07:14 2015 +0100 1.2 +++ b/mplayerplug-in/receipt Sat Mar 09 13:45:19 2019 +0100 1.3 @@ -7,7 +7,7 @@ 1.4 MAINTAINER="jozee@slitaz.org" 1.5 LICENSE="GPL" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://mplayerplug-in.sourceforge.net/" 1.8 +WEB_SITE="http://mplayerplug-in.sourceforge.net/" 1.9 WGET_URL="http://downloads.sourceforge.net/mplayerplug-in/$TARBALL" 1.10 TAGS="player audio video browser" 1.11 1.12 @@ -18,13 +18,12 @@ 1.13 get_firefox_version() 1.14 { 1.15 FIREFOX_VER=$(cat "$1/var/lib/tazpkg/installed/firefox/receipt" | \ 1.16 - grep VERSION= | cut -d \" -f 2) 1.17 + grep VERSION= | cut -d \" -f 2) 1.18 } 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 sed -i 's/npupp\.h/npfunctions.h/' */np* 1.25 sed -i 's|char [\* ]*NP*_GetMIMEDescription(|const &|' \ 1.26 plugingate/np_entry.cpp Source/plugin.cpp 1.27 @@ -65,23 +64,18 @@ 1.28 cp -a $install/usr/lib/mozilla $fs/usr/lib 1.29 # change the default video output to xv,x11 1.30 sed -i "s/#vo=xv,x11/vo=xv,x11/" $fs/etc/$PACKAGE.conf 1.31 - 1.32 } 1.33 1.34 post_install() 1.35 { 1.36 - echo -n "Processing post install commands..." 1.37 get_firefox_version "$1" 1.38 cd "$1/" 1.39 for i in usr/lib/mozilla/plugins/$PACKAGE*.so ; do 1.40 ln -s "/$i" "$1/usr/lib/firefox-$FIREFOX_VER/plugins" 1.41 - done 1.42 - status 1.43 + done 1.44 } 1.45 1.46 post_remove() 1.47 { 1.48 - echo -n "Processing post remove commands..." 1.49 rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so 1.50 - status 1.51 }