Receipt for package "audacity"
# SliTaz package receipt. PACKAGE="audacity" VERSION="3.1.3" CATEGORY="multimedia" TAGS="sound audio recorder editor" SHORT_DESC="A free multi-track audio editor and recorder." MAINTAINER="allan316@gmail.com" LICENSE="GPL2" WEB_SITE="https://www.audacityteam.org" SOURCE="Audacity" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL" DEPENDS="alsa-lib ffmpeg flac imlib2 lame libatomic libid3tag \ portmidi libmad libsndfile libvorbis portaudio opus \ wxWidgets xorg-libXxf86vm" BUILD_DEPENDS="alsa-lib-dev bash cmake expat-dev ffmpeg-dev flac-dev \ lame-dev libid3tag-dev portmidi libatomic libmad-dev libtool \ libsndfile-dev libtool python3 gtk+-dev glib-dev libvorbis-dev \ portaudio-dev opus-dev git wxWidgets-dev" HOST_ARCH="i486 x86_64" current_version() { wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ sed '/releases.tag/!d;s|.*/tag.Audacity-\(.*\)".*|\1|;q' } # Rules to configure and make the package. compile_rules() { export SHELL=/bin/bash export CONFIG_SHELL=/bin/bash export LDFLAGS="$LDFLAGS -l:libatomic.so.1" # Patch to build with wxWidgets 3.2.0 # See https://github.com/audacity/audacity/issues/2774 # and https://github.com/audacity/audacity/pull/2776 patch -p1 < $stuff/fix-build-wxWidgets-3.1.6.patch mkdir build && cd build cmake -G "Unix Makefiles" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -Daudacity_conan_enabled=Off \ -Daudacity_use_expact=system \ -Daudacity_use_ffmpeg=loaded \ -Daudacity_use_zlib=system \ -Daudacity_use_curl=system \ -Daudacity_use_wxwidgets=system \ -DAUDACITY_BUILD_LEVEL=2 \ .. make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/icons $fs/usr/share cp -a $install/usr/share/audacity $fs/usr/share cp -a $install/usr/share/pixmaps $fs/usr/share cp -a $install/usr/share/applications $fs/usr/share cp -a $install/usr/lib*/audacity $fs/usr/lib # For 3.0 branch, we need use custom wxWidgets #cp -a $src/build/lib/libwx*.so* $fs/usr/lib/audacity }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)