wok annotate ardour/receipt @ rev 24011
mosh: create /usr/share/terminfo/x/xterm-256color link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 05 17:16:12 2021 +0000 (2021-02-05) |
parents | 075c2a379d6c |
children | dc0f7fd1ff7d |
rev | line source |
---|---|
jozee@6828 | 1 # SliTaz package receipt. |
jozee@6828 | 2 |
jozee@6828 | 3 PACKAGE="ardour" |
pascal@13404 | 4 VERSION="2.8.14" |
jozee@6828 | 5 CATEGORY="multimedia" |
jozee@6828 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 7 LICENSE="GPL2" |
jozee@6828 | 8 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation" |
jozee@6828 | 9 WEB_SITE="http://ardour.org" |
jozee@6828 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@6828 | 11 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL" |
jozee@6828 | 12 TAGS="audio recorder mixer" |
jozee@6828 | 13 |
al@19267 | 14 DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \ |
slaxemulator@13106 | 15 libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch" |
slaxemulator@13106 | 16 BUILD_DEPENDS="scons libboost-dev libboost-thread-dev libboost-math-dev \ |
slaxemulator@13106 | 17 jack-audio-connection-kit-dev alsa-lib-dev liblo-dev aubio-dev libxslt-dev \ |
slaxemulator@13106 | 18 libsndfile-dev ladspa-dev liblrdf-dev libart_lgpl-dev libusb-dev \ |
slaxemulator@13106 | 19 libsamplerate-dev curl-dev fftw-dev soundtouch-dev raptor-dev \ |
pascal@13403 | 20 libgnomecanvasmm-dev libgnomecanvas-dev pkg-config liblrdf-dev gtkmm-dev \ |
pascal@13403 | 21 libboost-system-dev" |
erjo@9906 | 22 |
jozee@6828 | 23 # Rules to configure and make the package. |
slaxemulator@13106 | 24 compile_rules() |
slaxemulator@13106 | 25 { |
pascal@21792 | 26 # glibmm >=2.31 fix |
pascal@21792 | 27 grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>' |
pascal@21792 | 28 |
pascal@20249 | 29 sed -i 's/uname -m/echo i686/' tools/config.guess |
al@19267 | 30 sed -i '/-O3/d' SConstruct |
al@19267 | 31 mkdir -p $DESTDIR |
al@19267 | 32 |
al@19267 | 33 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" |
al@19267 | 34 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ |
slaxemulator@13106 | 35 PREFIX=/usr \ |
jozee@6828 | 36 NLS=1 \ |
jozee@6828 | 37 FREEDESKTOP=0 \ |
slaxemulator@13106 | 38 SYSLIBS=1 \ |
jozee@6828 | 39 VST=0 \ |
jozee@6828 | 40 WIIMOTE=0 \ |
jozee@6828 | 41 LV2=0 \ |
jozee@6828 | 42 FREESOUND=1 \ |
jozee@6828 | 43 LIBLO=1 \ |
jozee@6828 | 44 AUBIO=1 \ |
jozee@6828 | 45 TRANZPORT=1 \ |
al@19267 | 46 DIST_LIBDIR=lib |
al@19267 | 47 |
al@19267 | 48 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ |
slaxemulator@13106 | 49 PREFIX=/usr \ |
jozee@6828 | 50 NLS=1 \ |
jozee@6828 | 51 FREEDESKTOP=0 \ |
slaxemulator@13106 | 52 SYSLIBS=1 \ |
jozee@6828 | 53 VST=0 \ |
jozee@6828 | 54 WIIMOTE=0 \ |
jozee@6828 | 55 LV2=0 \ |
jozee@6828 | 56 FREESOUND=1 \ |
jozee@6828 | 57 LIBLO=1 \ |
jozee@6828 | 58 AUBIO=1 \ |
jozee@6828 | 59 TRANZPORT=1 \ |
jozee@6828 | 60 DIST_LIBDIR=lib \ |
al@19267 | 61 DESTDIR=$DESTDIR install |
jozee@6828 | 62 |
al@19275 | 63 cook_pick_manpages $src/ardour.1 |
al@19267 | 64 for i in es fr ru; do |
al@19267 | 65 mkdir -p $install/usr/share/man/$i/man1 |
al@19269 | 66 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1 |
al@19267 | 67 done |
jozee@6828 | 68 } |
jozee@6828 | 69 |
jozee@6828 | 70 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6828 | 71 genpkg_rules() |
jozee@6828 | 72 { |
jozee@6828 | 73 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share |
pascal@15000 | 74 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 75 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2 |
pascal@15000 | 76 cp -a $install/usr/share/ardour2 $fs/usr/share |
jozee@6828 | 77 } |