wok view xine-ui/receipt @ rev 24108
Up rdesktop (1.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 08:31:51 2021 +0000 (2021-09-28) |
parents | 106635122fe4 |
children | ec9531d04de1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-ui"
4 VERSION="0.99.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine media player user interface."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.xine-project.org/"
11 WGET_URL="$SF_MIRROR/project/xine/xine-ui/$VERSION/$TARBALL"
13 # Keep Xine small for Live system, we have MPlaye or VLC has big video player.
14 DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv xorg-libXi libpng \
15 xorg-libXft xorg-libXxf86vm xorg-libXss"
16 BUILD_DEPENDS="xine-lib-dev xorg-dev xorg-libXv-dev xorg-libXxf86vm-dev \
17 libpng-dev jpeg-dev xorg-libXss-dev"
19 # Use a custom .desktop file
20 GENERIC_MENUS="no"
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE/ 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --without-curl \
33 --disable-lirc \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/xine $fs/usr/share
45 # Remove the sample default.avi
46 rm $fs/usr/share/xine/visuals/*.mpv
47 }