wok view ardour/receipt @ rev 19795

gettext: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 23 15:03:21 2017 +0100 (2017-02-23)
parents 7f39549720b8
children 075c2a379d6c
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 '/-O3/d' SConstruct
27 mkdir -p $DESTDIR
29 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
30 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
31 PREFIX=/usr \
32 NLS=1 \
33 FREEDESKTOP=0 \
34 SYSLIBS=1 \
35 VST=0 \
36 WIIMOTE=0 \
37 LV2=0 \
38 FREESOUND=1 \
39 LIBLO=1 \
40 AUBIO=1 \
41 TRANZPORT=1 \
42 DIST_LIBDIR=lib
44 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
45 PREFIX=/usr \
46 NLS=1 \
47 FREEDESKTOP=0 \
48 SYSLIBS=1 \
49 VST=0 \
50 WIIMOTE=0 \
51 LV2=0 \
52 FREESOUND=1 \
53 LIBLO=1 \
54 AUBIO=1 \
55 TRANZPORT=1 \
56 DIST_LIBDIR=lib \
57 DESTDIR=$DESTDIR install
59 cook_pick_manpages $src/ardour.1
60 for i in es fr ru; do
61 mkdir -p $install/usr/share/man/$i/man1
62 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
63 done
64 }
66 # Rules to gen a SliTaz package suitable for Tazpkg.
67 genpkg_rules()
68 {
69 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
70 cp -a $install/usr/bin $fs/usr
71 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
72 cp -a $install/usr/share/ardour2 $fs/usr/share
73 }