wok-next view ardour/receipt @ rev 21048
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 27 02:24:27 2018 +0200 (2018-11-27) |
parents | d5aab818505e |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ardour"
4 VERSION="5.12.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ardour.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://community.ardour.org/src/Ardour-$VERSION.tar.bz2"
14 BUILD_DEPENDS="python itstool boost-dev \
15 alsa-lib-dev glib-dev glibmm-dev libsndfile-dev curl-dev libarchive-dev \
16 liblo-dev taglib-dev vamp-plugin-sdk-dev rubberband-dev eudev-dev fftw-dev \
17 aubio-dev cppunit-dev libusb-dev jack-dev pangomm-dev liblrdf-dev lv2 serd-dev \
18 sord-dev sratom lilv gtkmm-dev dbus-dev readline-dev gettext-dev"
20 DEPENDS_std="alsa-lib atk atkmm python-aubio cairo cairomm dbus fftw flac \
21 fontconfig freetype gdk-pixbuf glib glibmm gtk2 gtkmm libarchive libcurl \
22 libgiomm liblo liblrdf libogg libsamplerate libsigc++ libsndfile libusb \
23 libxml2 lilv pango pangomm readline rubberband serd sord sratom taglib \
24 vamp-plugin-sdk xorg-libX11"
25 TAGS_std="audio recorder mixer"
27 compile_rules() {
28 # fix math
29 python2 waf configure \
30 --prefix=/usr \
31 --configdir=/etc \
32 --with-backends="jack,alsa,dummy" \
33 --libjack=weak \
34 --optimize \
35 --cxx11 \
36 --freedesktop \
37 --ptformat \
38 --no-phone-home \
39 &&
40 python2 waf build &&
41 python2 waf install --destdir="$install" || return 1
42 # xdg integration
43 install -vDm644 build/gtk2_ardour/ardour.xml \
44 $install/usr/share/mime/application/x-ardour.xml
45 install -vDm644 build/gtk2_ardour/ardour${VERSION%%.*}.desktop \
46 $install/usr/share/applications/ardour.desktop
47 for size in 16 22 32 48 256 512; do
48 install -vDm644 gtk2_ardour/resources/Ardour-icon_${size}px.png \
49 $install/usr/share/icons/hicolor/${size}x$size/apps/ardour${VERSION%%.*}.png
50 done
52 fix symlinks
53 }