wok view ardour/receipt @ rev 24270
updated perl-xml-writer (0.625 -> 0.900)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:39:58 2022 +0100 (2022-01-02) |
parents | dc0f7fd1ff7d |
children | 9bbac86a37f7 |
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 [ -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 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
47 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
48 PREFIX=/usr \
49 NLS=1 \
50 FREEDESKTOP=0 \
51 SYSLIBS=1 \
52 VST=0 \
53 WIIMOTE=0 \
54 LV2=0 \
55 FREESOUND=1 \
56 LIBLO=1 \
57 AUBIO=1 \
58 TRANZPORT=1 \
59 DIST_LIBDIR=lib
61 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
62 PREFIX=/usr \
63 NLS=1 \
64 FREEDESKTOP=0 \
65 SYSLIBS=1 \
66 VST=0 \
67 WIIMOTE=0 \
68 LV2=0 \
69 FREESOUND=1 \
70 LIBLO=1 \
71 AUBIO=1 \
72 TRANZPORT=1 \
73 DIST_LIBDIR=lib \
74 DESTDIR=$DESTDIR install
76 cook_pick_manpages $src/ardour.1
77 for i in es fr ru; do
78 mkdir -p $install/usr/share/man/$i/man1
79 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
80 done
81 }
83 # Rules to gen a SliTaz package suitable for Tazpkg.
84 genpkg_rules()
85 {
86 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
87 cp -a $install/usr/bin $fs/usr
88 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
89 cp -a $install/usr/share/ardour2 $fs/usr/share
90 }