wok-current view mixxx/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 241fb98cab1c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mixxx"
4 VERSION="1.10.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Digital DJ mixing software"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="https://www.mixxx.org/"
11 WGET_URL="https://github.com/mixxxdj/mixxx/archive/refs/tags/release-$VERSION.tar.gz"
13 DEPENDS="libsndfile libogg libid3tag libmad libvorbis taglib libshout \
14 portaudio portmidi libQtOpenGL libQtWebkit libQt3Support libQtScript \
15 libQtSvg libQtDBus libQtPlugins phonon-backend-gstreamer"
16 BUILD_DEPENDS="libsndfile-dev libogg-dev libid3tag-dev libmad-dev \
17 libvorbis-dev taglib-dev libshout-dev portaudio-dev phonon-dev \
18 Qt4-dev alsa-lib-dev jack-audio-connection-kit-dev mesa-dev scons \
19 pkg-config flac-dev portmidi"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://mixxx.org/download/ 2>/dev/null | \
25 sed '/the stable/!d;s|.*stable">||;s|<.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 scons machine=i686 qtdir=/usr/lib/qt prefix=/usr install_root=$DESTDIR/usr | sed s/ERROR/error/
32 scons machine=i686 qtdir=/usr/lib/qt prefix=/usr install_root=$DESTDIR/usr install | sed s/ERROR/error/
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }