wok-next view ardour/receipt @ rev 21360
guacamole: inserted fix libtool
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 13 06:41:39 2020 +0100 (2020-04-13) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ardour"
4 VERSION="5.12.0"
5 CATEGORY="multimedia"
6 TAGS_std="audio recorder mixer"
7 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://ardour.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://community.ardour.org/src/Ardour-$VERSION.tar.bz2"
15 BUILD_DEPENDS="alsa-lib-dev aubio-dev boost-dev cppunit-dev curl-dev dbus-dev
16 eudev-dev fftw-dev gettext-dev glib-dev glibmm-dev gtkmm-dev itstool
17 jack-dev libarchive-dev liblo-dev liblrdf-dev libsndfile-dev libusb-dev
18 lilv lv2 pangomm-dev python readline-dev rubberband-dev serd-dev
19 sord-dev sratom taglib-dev vamp-plugin-sdk-dev "
21 DEPENDS_std="alsa-lib atk atkmm cairomm dbus fftw flac fontconfig freetype
22 gdk-pixbuf glib glibmm gtk2 gtkmm libarchive libcairo libcurl libgiomm
23 liblo liblrdf libogg libsamplerate libsigc++ libsndfile libusb libx11
24 libxml2 lilv pango pangomm python-aubio readline rubberband serd sord
25 sratom taglib vamp-plugin-sdk"
27 compile_rules()
28 {
29 # fix math
30 python2 waf configure \
31 --prefix=/usr \
32 --configdir=/etc \
33 --with-backends="jack,alsa,dummy" \
34 --libjack=weak \
35 --optimize \
36 --cxx11 \
37 --freedesktop \
38 --ptformat \
39 --no-phone-home \
40 &&
41 python2 waf build &&
42 python2 waf install --destdir="$install" || return 1
44 # xdg integration
45 install -vDm644 build/gtk2_ardour/ardour.xml \
46 $install/usr/share/mime/application/x-ardour.xml
47 install -vDm644 build/gtk2_ardour/ardour${VERSION%%.*}.desktop \
48 $install/usr/share/applications/ardour.desktop
49 for size in 16 22 32 48 256 512
50 do
51 install -vDm644 gtk2_ardour/resources/Ardour-icon_${size}px.png \
52 $install/usr/share/icons/hicolor/${size}x$size/apps/ardour${VERSION%%.*}.png
53 done
55 fix symlinks
56 }