wok-6.x annotate qjackctl/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 9689f1b75619
children b0069c845544
rev   line source
allan316@1373 1 # SliTaz package receipt.
allan316@1373 2
allan316@1373 3 PACKAGE="qjackctl"
al@13542 4 VERSION="0.3.9"
allan316@1373 5 CATEGORY="multimedia"
allan316@1373 6 SHORT_DESC="Application to Control Jack"
allan316@1373 7 MAINTAINER="allan316@gmail.com"
pascal@15001 8 LICENSE="GPL2"
al@13542 9 WEB_SITE="http://qjackctl.sourceforge.net"
allan316@1373 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@1373 11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/qjackctl/$TARBALL"
al@13542 12
al@13542 13 DEPENDS="alsa-lib bzlib expat fontconfig freetype gcc-lib-base glib \
al@13542 14 glibc-base jack-audio-connection-kit libffi libpng libQtCore libQtDBus \
pascal@17482 15 libQtGui libQtXml libxcb util-linux-uuid xorg-libICE xorg-libSM \
al@13542 16 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
al@13542 17 BUILD_DEPENDS="qmake Qt4-dev jack-audio-connection-kit \
al@13542 18 jack-audio-connection-kit-dev xorg-xproto xorg-libX11-dev"
jozee@4971 19 TAGS="audio sound"
allan316@1373 20
pascal@24353 21 # What is the latest version available today?
pascal@24353 22 current_version()
pascal@24353 23 {
pascal@24353 24 wget -O - https://sourceforge.net/projects/qjackctl/files/qjackctl/ 2>/dev/null | \
pascal@24353 25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24353 26 sed '/scope="row/!d;s|.*/qjackctl/||;s|/.*||;q'
pascal@24353 27 }
pascal@24353 28
allan316@1373 29 # Rules to configure and make the package.
allan316@1373 30 compile_rules()
allan316@1373 31 {
allan316@1373 32 cd $src
al@13542 33 #sed -i 's|^LIBS.*|& -Wl,--copy-dt-needed-entries -lX11|' qjackctl.pro.in
al@13542 34 ./configure $CONFIGURE_ARGS &&
al@13542 35 make &&
pascal@15602 36 make DESTDIR=$DESTDIR install
allan316@1373 37 }
allan316@1373 38
allan316@1373 39 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1373 40 genpkg_rules()
allan316@1373 41 {
pascal@15603 42 cp -a $install/usr $fs
al@13542 43 #rm -rf $fs/usr/share/man
allan316@1373 44 }
allan316@1373 45