wok-current view audacity/receipt @ rev 22386

audacity: update depends
author Richard Dunbar <mojo@slitaz.org>
date Thu Nov 28 09:13:22 2019 -0500 (2019-11-28)
parents 6e1e85ecba3f
children da470720fb85
line source
1 # SliTaz package receipt.
3 PACKAGE="audacity"
4 VERSION="2.3.2"
5 CATEGORY="multimedia"
6 TAGS="sound audio recorder editor"
7 SHORT_DESC="A free multi-track audio editor and recorder."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.audacityteam.org/"
12 SOURCE="Audacity"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL"
16 DEPENDS="alsa-lib ffmpeg flac gcc49-lib-base imlib2 lame libatomic \
17 libid3tag libmad libsndfile libvorbis wxWidgets xorg-libXxf86vm"
18 BUILD_DEPENDS="alsa-lib-dev bash cmake expat-dev ffmpeg-dev flac-dev \
19 gcc49 lame-dev libatomic libmad-dev libsndfile-dev libtool \
20 libvorbis-dev portaudio-dev wxWidgets-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export CC=gcc-49
26 export CXX=g++-49
27 export SHELL=/bin/bash
28 export CONFIG_SHELL=/bin/bash
29 export LDFLAGS="$LDFLAGS -l:libatomic.so.1"
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --with-ffmpeg=system \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/icons $fs/usr/share
48 cp -a $install/usr/share/audacity $fs/usr/share
49 cp -a $install/usr/share/pixmaps $fs/usr/share
50 cp -a $install/usr/share/applications $fs/usr/share
51 }