wok-current view ardour/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
parents | 882ed2eee07b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ardour"
4 VERSION="7.4.0"
5 CATEGORY="multimedia"
6 TAGS="audio mixer recorder"
7 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://ardour.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-$VERSION.tar.bz2"
15 DEPENDS="aubio fftw gcc83-lib-base ladspa libgnomecanvas libgnomecanvasmm
16 liblo liblrdf libsamplerate libsndfile libusb-compat libxml2
17 libxslt raptor rubberband soundtouch"
18 BUILD_DEPENDS="alsa-lib-dev aubio-dev curl-dev flac-dev fftw-dev gcc83
19 gtkmm-dev jack-audio-connection-kit-dev ladspa-dev libarchive-dev
20 libart_lgpl-dev libboost-dev libboost-math-dev libboost-system-dev
21 libboost-thread-dev libcurl libgnomecanvas-dev libgnomecanvasmm-dev
22 liblo-dev liblrdf-dev libogg-dev libsamplerate-dev libsndfile-dev
23 libusb-dev libxml2-dev libxslt-dev lilv pkg-config pulseaudio-dev
24 raptor-dev rubberband-dev serd-dev sord-dev soundtouch-dev sratom
25 taglib-dev vamp-sdk-dev"
27 current_version()
28 {
29 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
30 sed '/archive.*tar/!d;/-pre/d;s|.*/\(.*\).tar.*|\1|;q'
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 # [ -s libs/ardour/svn_revision.cc ] ||
37 # cat > libs/ardour/svn_revision.cc <<EOT
38 #include "ardour/svn_revision.h"
39 #namespace ARDOUR {
40 # extern const char* svn_revision = "$VERSION";
41 #}
42 #EOT
43 # glibmm >=2.31 fix
44 # grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>'
46 # sed -i 's/uname -m/echo i686/' tools/config.guess
47 # sed -i '/-O3/d' SConstruct
48 # mkdir -p $DESTDIR
50 export CC=gcc-83
51 export CXX=g++-83
53 ./waf configure \
54 --also-libdir=/usr/lib \
55 --dist-target=x86 \
56 --prefix=/usr \
57 --keepflags \
58 --optimize \
59 --no-phone-home &&
61 ./waf build &&
63 cook_pick_manpages $src/ardour.1
64 for i in es fr ru; do
65 mkdir -p $install/usr/share/man/$i/man1
66 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
67 done
68 }
70 # Rules to gen a SliTaz package suitable for Tazpkg.
71 genpkg_rules()
72 {
73 mkdir -p $fs/usr/lib/ardour2
74 mkdir -p $fs/usr/share
76 cp -a $install/usr/bin $fs/usr
77 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
78 cp -a $install/usr/share/ardour2 $fs/usr/share
79 }