mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
audacity: Revert to 2.1.2, more configure changes. Starts building.
Fails quite early on with its patched PortAudio which we have no working port of.
This commit is contained in:
86
media-sound/audacity/audacity-2.1.2.recipe
Normal file
86
media-sound/audacity/audacity-2.1.2.recipe
Normal file
@@ -0,0 +1,86 @@
|
||||
SUMMARY="Audio software for multi-track recording and editing"
|
||||
DESCRIPTION="Audacity can be used to perform a number of audio editing and \
|
||||
recording tasks such as making ringtones, mixing stero tracks, transferring \
|
||||
tapes and records to computer or CD, splitting recordings into separate \
|
||||
tracks and more."
|
||||
HOMEPAGE="http://www.audacityteam.org"
|
||||
COPYRIGHT="1999-2017 by Audacity Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
# The official site (FossHub) doesn't allow direct downloads, and has been
|
||||
# hit with really bad malware injections in the past. So use Fedora's mirror.
|
||||
SOURCE_URI="http://pkgs.fedoraproject.org/lookaside/extras/audacity/audacity-minsrc-2.1.2.tar.xz/2336353377132971fd8e22fc95fd6b83/audacity-minsrc-2.1.2.tar.xz"
|
||||
CHECKSUM_SHA256="0df79fe0647a4cd68e46ad40d6e73d2f8eaae413b6d8b186ac036be3554d7e44"
|
||||
SOURCE_DIR="audacity-minsrc-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
audacity$secondaryArchSuffix = $portVersion
|
||||
app:Audacity$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
wxqt$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
# lib:libid3tag$secondaryArchSuffix -- missing pkgconfig
|
||||
# lib:libmad$secondaryArchSuffix -- missing pkgconfig
|
||||
lib:libflac$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libavcodec$secondaryArchSuffix
|
||||
lib:libavformat$secondaryArchSuffix
|
||||
lib:libavutil$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
wxqt${secondaryArchSuffix}_devel
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
# devel:libid3tag$secondaryArchSuffix
|
||||
# devel:libmad$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libavcodec$secondaryArchSuffix
|
||||
devel:libavformat$secondaryArchSuffix
|
||||
devel:libavutil$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:wx_config$secondaryArchSuffix
|
||||
cmd:awk
|
||||
cmd:diff
|
||||
cmd:gettext$secondaryArchSuffix
|
||||
cmd:which
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# Hack in support for wxWidgets 3.1.
|
||||
sed -i 's/3.0.\*)/3.1.\*)/g' configure
|
||||
sed -i 's/3.0.\*)/3.1.\*)/g' lib-src/lib-widget-extra/configure
|
||||
|
||||
# pthreads
|
||||
sed -i 's/-pthread/-lpthread/g' lib-src/portaudio-v19/configure
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-dynamic-loading --without-lv2 \
|
||||
--without-portmixer --disable-nyquist
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user