wok-6.x view xine-ui/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | ec9531d04de1 |
children |
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="https://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 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE/ 2>/dev/null | \
26 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --without-curl \
34 --disable-lirc \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/xine $fs/usr/share
46 # Remove the sample default.avi
47 rm $fs/usr/share/xine/visuals/*.mpv
48 }