wok view ardour/receipt @ rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (3 months ago) |
parents | c45b858c787a |
children | a0294319a84f |
line source
1 # SliTaz package receipt.
3 PACKAGE="ardour"
4 VERSION="7.4.0"
5 CATEGORY="multimedia"
6 TAGS="audio mixer recorder"
7 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://ardour.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-$VERSION.tar.bz2"
15 DEPENDS="aubio fftw gcc83-lib-base ladspa libgnomecanvas libgnomecanvasmm
16 liblo liblrdf libsamplerate libsndfile libusb-compat libxml2
17 libxslt raptor rubberband soundtouch"
18 BUILD_DEPENDS="alsa-lib-dev aubio-dev curl-dev flac-dev fftw-dev gcc83
19 gtkmm-dev jack-audio-connection-kit-dev ladspa-dev libarchive-dev
20 libart_lgpl-dev libboost-dev libboost-math-dev libboost-system-dev
21 libboost-thread-dev libcurl libgnomecanvas-dev libgnomecanvasmm-dev
22 liblo-dev liblrdf-dev libogg-dev libsamplerate-dev libsndfile-dev
23 libusb-dev libxml2-dev libxslt-dev lilv pkg-config pulseaudio-dev
24 raptor-dev rubberband-dev serd-dev sord-dev soundtouch-dev sratom
25 taglib-dev vamp-sdk-dev"
27 # What is the latest version available today?
28 current_version()
29 {
30 wget -O - https://github.com/Ardour/ardour/tags 2>/dev/null | \
31 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
32 }
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 # [ -s libs/ardour/svn_revision.cc ] ||
38 # cat > libs/ardour/svn_revision.cc <<EOT
39 #include "ardour/svn_revision.h"
40 #namespace ARDOUR {
41 # extern const char* svn_revision = "$VERSION";
42 #}
43 #EOT
44 # glibmm >=2.31 fix
45 # grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>'
47 # sed -i 's/uname -m/echo i686/' tools/config.guess
48 # sed -i '/-O3/d' SConstruct
49 # mkdir -p $DESTDIR
51 export CC=gcc-83
52 export CXX=g++-83
54 ./waf configure \
55 --also-libdir=/usr/lib \
56 --dist-target=x86 \
57 --prefix=/usr \
58 --keepflags \
59 --optimize \
60 --no-phone-home &&
62 ./waf build &&
64 cook_pick_manpages $src/ardour.1
65 for i in es fr ru; do
66 mkdir -p $install/usr/share/man/$i/man1
67 cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
68 done
69 }
71 # Rules to gen a SliTaz package suitable for Tazpkg.
72 genpkg_rules()
73 {
74 mkdir -p $fs/usr/lib/ardour2
75 mkdir -p $fs/usr/share
77 cp -a $install/usr/bin $fs/usr
78 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
79 cp -a $install/usr/share/ardour2 $fs/usr/share
80 }