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