wok view ardour/receipt @ rev 20374

Add xorg-xf86-video-modesetting
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 12 13:38:11 2018 +0200 (2018-06-12)
parents 11b5e93cb5f2
children 3937da23fe1e
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 sed -i 's/uname -m/echo i686/' tools/config.guess
27 sed -i '/-O3/d' SConstruct
28 mkdir -p $DESTDIR
30 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
31 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
32 PREFIX=/usr \
33 NLS=1 \
34 FREEDESKTOP=0 \
35 SYSLIBS=1 \
36 VST=0 \
37 WIIMOTE=0 \
38 LV2=0 \
39 FREESOUND=1 \
40 LIBLO=1 \
41 AUBIO=1 \
42 TRANZPORT=1 \
43 DIST_LIBDIR=lib
45 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
46 PREFIX=/usr \
47 NLS=1 \
48 FREEDESKTOP=0 \
49 SYSLIBS=1 \
50 VST=0 \
51 WIIMOTE=0 \
52 LV2=0 \
53 FREESOUND=1 \
54 LIBLO=1 \
55 AUBIO=1 \
56 TRANZPORT=1 \
57 DIST_LIBDIR=lib \
58 DESTDIR=$DESTDIR install
60 cook_pick_manpages $src/ardour.1
61 for i in es fr ru; do
62 mkdir -p $install/usr/share/man/$i/man1
63 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
64 done
65 }
67 # Rules to gen a SliTaz package suitable for Tazpkg.
68 genpkg_rules()
69 {
70 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
71 cp -a $install/usr/bin $fs/usr
72 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
73 cp -a $install/usr/share/ardour2 $fs/usr/share
74 }