mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +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:
@@ -7,10 +7,11 @@ HOMEPAGE="http://www.audacityteam.org"
|
||||
COPYRIGHT="1999-2017 by Audacity Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/audacity/audacity/archive/0ceae629648d900dc11967328ad32630f7f3f99f.tar.gz"
|
||||
CHECKSUM_SHA256="e9eb1ad8c0a2b81dbb943f52ebe908549480108916f49ce0d6e9eb5997726349"
|
||||
SOURCE_DIR="audacity-0ceae629648d900dc11967328ad32630f7f3f99f"
|
||||
#PATCHES="cantata-$portVersion.patchset"
|
||||
# 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"
|
||||
@@ -27,12 +28,11 @@ REQUIRES="
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
# lib:libid3tag$secondaryArchSuffix -- missing pkgconfig
|
||||
# lib:libmad$secondaryArchSuffix -- missing pkgconfig
|
||||
# lib:libflac$secondaryArchSuffix -- configure finds it but refuses to use???
|
||||
lib:libflac$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
# lib:libavcodec$secondaryArchSuffix -- configure finds it but refuses to use???
|
||||
# lib:libavformat$secondaryArchSuffix -- configure finds it but refuses to use???
|
||||
# lib:libavutil$secondaryArchSuffix -- configure finds it but refuses to use???
|
||||
lib:libz$secondaryArchSuffix #-- only because of intree flac
|
||||
lib:libavcodec$secondaryArchSuffix
|
||||
lib:libavformat$secondaryArchSuffix
|
||||
lib:libavutil$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -43,12 +43,12 @@ BUILD_REQUIRES="
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
# devel:libid3tag$secondaryArchSuffix
|
||||
# devel:libmad$secondaryArchSuffix
|
||||
# devel:libflac$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libavcodec$secondaryArchSuffix
|
||||
devel:libavformat$secondaryArchSuffix
|
||||
devel:libavutil$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
@@ -67,16 +67,16 @@ 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
|
||||
|
||||
# The lv2 configure script is a broken pile of garbage.
|
||||
rm -rf lib-src/lv2/
|
||||
# pthreads
|
||||
sed -i 's/-pthread/-lpthread/g' lib-src/portaudio-v19/configure
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# Audacity's configure script is very broken, it won't use system
|
||||
# stuff even if you tell it to. Go figure.
|
||||
runConfigure ./configure --disable-dynamic-loading --without-libmad
|
||||
runConfigure ./configure --disable-dynamic-loading --without-lv2 \
|
||||
--without-portmixer --disable-nyquist
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user