wok-current view ardour/receipt @ rev 24061
Add lz4ultra
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 12 09:05:17 2021 +0000 (2021-06-12) |
parents | 3937da23fe1e |
children | 68cf96abc146 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ardour"
4 VERSION="2.8.14"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
9 WEB_SITE="http://ardour.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/Ardour/ardour/archive/refs/tags/$VERSION.tar.gz"
12 TAGS="audio recorder mixer"
14 DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \
15 libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch"
16 BUILD_DEPENDS="scons libboost-dev libboost-thread-dev libboost-math-dev \
17 jack-audio-connection-kit-dev alsa-lib-dev liblo-dev aubio-dev libxslt-dev \
18 libsndfile-dev ladspa-dev liblrdf-dev libart_lgpl-dev libusb-dev \
19 libsamplerate-dev curl-dev fftw-dev soundtouch-dev raptor-dev \
20 libgnomecanvasmm-dev libgnomecanvas-dev pkg-config liblrdf-dev gtkmm-dev \
21 libboost-system-dev"
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # glibmm >=2.31 fix
33 grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>'
35 sed -i 's/uname -m/echo i686/' tools/config.guess
36 sed -i '/-O3/d' SConstruct
37 mkdir -p $DESTDIR
39 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
40 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
41 PREFIX=/usr \
42 NLS=1 \
43 FREEDESKTOP=0 \
44 SYSLIBS=1 \
45 VST=0 \
46 WIIMOTE=0 \
47 LV2=0 \
48 FREESOUND=1 \
49 LIBLO=1 \
50 AUBIO=1 \
51 TRANZPORT=1 \
52 DIST_LIBDIR=lib
54 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
55 PREFIX=/usr \
56 NLS=1 \
57 FREEDESKTOP=0 \
58 SYSLIBS=1 \
59 VST=0 \
60 WIIMOTE=0 \
61 LV2=0 \
62 FREESOUND=1 \
63 LIBLO=1 \
64 AUBIO=1 \
65 TRANZPORT=1 \
66 DIST_LIBDIR=lib \
67 DESTDIR=$DESTDIR install
69 cook_pick_manpages $src/ardour.1
70 for i in es fr ru; do
71 mkdir -p $install/usr/share/man/$i/man1
72 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
73 done
74 }
76 # Rules to gen a SliTaz package suitable for Tazpkg.
77 genpkg_rules()
78 {
79 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
80 cp -a $install/usr/bin $fs/usr
81 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
82 cp -a $install/usr/share/ardour2 $fs/usr/share
83 }