wok-next view xine-plugin/receipt @ rev 21640
updated fbgrab (1.2 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 15:42:40 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xine-plugin"
4 VERSION="1.0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine media player Firefox plugin"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://xinehq.de/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/xine/$TARBALL"
14 BUILD_DEPENDS="shared-mime-info xine-lib xine-lib-dev xorg-dev gfortran"
16 compile_rules() {
17 mkdir -p $install/root/.mozilla/plugins
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$install install || return 1
24 mkdir -p $install/usr/share/xine
25 # There's something different, don't know why
26 if [ -d $install/root ]; then
27 # in next64
28 echo "Found $install/root/.mozilla/plugins/"
29 mv $install/root/.mozilla/plugins/* $install/usr/share/xine/
30 rm -r $install/root/
31 else
32 # in next
33 echo "Found $install/.mozilla/plugins/"
34 mv $install/.mozilla/plugins/* $install/usr/share/xine/
35 rm -r $install/.mozilla
36 fi
37 }
39 genpkg_rules() {
40 copy *.so
41 DEPENDS="xine-lib firefox"
42 }
44 post_install() {
45 ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/
46 ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/"
47 }