wok annotate umplayer-svn/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (9 days ago)
parents ad0bc3efbf37
children
rev   line source
pascal@12974 1 # SliTaz package receipt.
pascal@12974 2
pascal@12974 3 PACKAGE="umplayer-svn"
pascal@12974 4 VERSION="181"
pascal@12974 5 CATEGORY="multimedia"
pascal@12974 6 SHORT_DESC="Ultimate Multimedia Player (QT MPlayer frontend)"
pascal@12974 7 MAINTAINER="paul@slitaz.org"
pascal@15216 8 LICENSE="GPL3"
pascal@12974 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25510 10 WEB_SITE="https://sourceforge.net/projects/umplayer/"
pascal@12974 11 WGET_URL="subversion|https://umplayer.svn.sourceforge.net/svnroot/umplayer/umplayer/trunk"
pascal@12974 12 BRANCH="$VERSION"
pascal@12974 13 TAGS="player audio video movie"
pascal@12974 14
pascal@15216 15 DEPENDS="mplayer libQtCore libQtGui libQtXml"
pascal@15216 16 BUILD_DEPENDS="subversion qt4 Qt4-dev qmake"
pascal@15216 17
pascal@24713 18 # What is the latest version available today?
pascal@24713 19 current_version()
pascal@24713 20 {
pascal@24713 21 wget -O - https://sourceforge.net/p/umplayer/code/HEAD/tree/ 2>/dev/null | \
pascal@24713 22 sed '/umplayer\/code\/[0-9]/!d;s|.*code/||;s|/.*||;q'
pascal@24713 23 }
pascal@24713 24
pascal@12974 25 # Rules to configure and make the package.
pascal@12974 26 compile_rules()
pascal@12974 27 {
pascal@12974 28 cd $src
pascal@12974 29 make PREFIX=/usr &&
pascal@12974 30 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@12974 31 }
pascal@12974 32
pascal@12974 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12974 34 genpkg_rules()
pascal@12974 35 {
pascal@12974 36 mkdir -p $fs/usr
pascal@15216 37 cp -a $install/usr/bin $fs/usr
pascal@15216 38 cp -a $install/usr/share $fs/usr
pascal@12974 39 rm -rf $fs/usr/share/man
pascal@12974 40 }
pascal@12974 41