wok-current view ardour/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 9bbac86a37f7 |
children | c45b858c787a |
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="gcc83-lib-base liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \
15 libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch"
16 BUILD_DEPENDS="gcc83 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*}/tags 2>/dev/null | \
26 sed '/archive.*tar/!d;/-pre/d;s|.*/\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 [ -s libs/ardour/svn_revision.cc ] ||
33 cat > libs/ardour/svn_revision.cc <<EOT
34 #include "ardour/svn_revision.h"
35 namespace ARDOUR {
36 extern const char* svn_revision = "$VERSION";
37 }
38 EOT
39 # glibmm >=2.31 fix
40 grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>'
42 sed -i 's/uname -m/echo i686/' tools/config.guess
43 sed -i '/-O3/d' SConstruct
44 mkdir -p $DESTDIR
46 export CC=gcc-83
47 export CXX=g++-83
48 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
49 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
50 PREFIX=/usr \
51 NLS=1 \
52 FREEDESKTOP=0 \
53 SYSLIBS=1 \
54 VST=0 \
55 WIIMOTE=0 \
56 LV2=0 \
57 FREESOUND=1 \
58 LIBLO=1 \
59 AUBIO=1 \
60 TRANZPORT=1 \
61 DIST_LIBDIR=lib
63 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
64 PREFIX=/usr \
65 NLS=1 \
66 FREEDESKTOP=0 \
67 SYSLIBS=1 \
68 VST=0 \
69 WIIMOTE=0 \
70 LV2=0 \
71 FREESOUND=1 \
72 LIBLO=1 \
73 AUBIO=1 \
74 TRANZPORT=1 \
75 DIST_LIBDIR=lib \
76 DESTDIR=$DESTDIR install
78 cook_pick_manpages $src/ardour.1
79 for i in es fr ru; do
80 mkdir -p $install/usr/share/man/$i/man1
81 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
82 done
83 }
85 # Rules to gen a SliTaz package suitable for Tazpkg.
86 genpkg_rules()
87 {
88 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
89 cp -a $install/usr/bin $fs/usr
90 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
91 cp -a $install/usr/share/ardour2 $fs/usr/share
92 }