wok-6.x view ardour/receipt @ rev 23640
updated sftp-server (7.9p1 -> 8.2p1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 10:33:34 2020 +0100 (2020-04-20) |
parents | 075c2a379d6c |
children | dc0f7fd1ff7d |
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.bz2"
11 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL"
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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # glibmm >=2.31 fix
27 grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>'
29 sed -i 's/uname -m/echo i686/' tools/config.guess
30 sed -i '/-O3/d' SConstruct
31 mkdir -p $DESTDIR
33 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
34 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
35 PREFIX=/usr \
36 NLS=1 \
37 FREEDESKTOP=0 \
38 SYSLIBS=1 \
39 VST=0 \
40 WIIMOTE=0 \
41 LV2=0 \
42 FREESOUND=1 \
43 LIBLO=1 \
44 AUBIO=1 \
45 TRANZPORT=1 \
46 DIST_LIBDIR=lib
48 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
49 PREFIX=/usr \
50 NLS=1 \
51 FREEDESKTOP=0 \
52 SYSLIBS=1 \
53 VST=0 \
54 WIIMOTE=0 \
55 LV2=0 \
56 FREESOUND=1 \
57 LIBLO=1 \
58 AUBIO=1 \
59 TRANZPORT=1 \
60 DIST_LIBDIR=lib \
61 DESTDIR=$DESTDIR install
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 $fs/usr/share
74 cp -a $install/usr/bin $fs/usr
75 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
76 cp -a $install/usr/share/ardour2 $fs/usr/share
77 }