wok-next view ardour/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 7b8e000b629f |
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 compile_rules() {
21 # fix math
22 python2 waf configure \
23 --prefix=/usr \
24 --configdir=/etc \
25 --with-backends="jack,alsa,dummy" \
26 --libjack=weak \
27 --optimize \
28 --cxx11 \
29 --freedesktop \
30 --ptformat \
31 --no-phone-home \
32 &&
33 python2 waf build &&
34 python2 waf install --destdir="$install" || return 1
35 # xdg integration
36 install -vDm644 build/gtk2_ardour/ardour.xml \
37 $install/usr/share/mime/application/x-ardour.xml
38 install -vDm644 build/gtk2_ardour/ardour${VERSION%%.*}.desktop \
39 $install/usr/share/applications/ardour.desktop
40 for size in 16 22 32 48 256 512; do
41 install -vDm644 gtk2_ardour/resources/Ardour-icon_${size}px.png \
42 $install/usr/share/icons/hicolor/${size}x$size/apps/ardour${VERSION%%.*}.png
43 done
44 }
46 genpkg_rules() {
47 copy @std
48 DEPENDS="alsa-lib atk atkmm python-aubio cairo cairomm dbus fftw flac fontconfig \
49 freetype gdk-pixbuf glib glibmm gtk2 gtkmm libarchive libcurl libgiomm \
50 liblo liblrdf libogg libsamplerate libsigc++ libsndfile libusb libxml2 \
51 lilv pango pangomm readline rubberband serd sord sratom taglib \
52 vamp-plugin-sdk xorg-libX11"
53 TAGS="audio recorder mixer"
54 }