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