mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-22 09:18:18 +00:00
PICARD-2422: Removed packaging of AB streaming extractor
This commit is contained in:
@@ -35,12 +35,3 @@ if [ -n "$FPCALC_VERSION" ]; then
|
||||
tar -xf "$FPCALC_FILENAME"
|
||||
cp "chromaprint-fpcalc-$FPCALC_VERSION-macos-x86_64/fpcalc" .
|
||||
fi
|
||||
|
||||
# Install AcousticBrainz extractor
|
||||
if [ -n "$ABEXTRACTOR_VERSION" ]; then
|
||||
ABEXTRACTOR_FILENAME="essentia-extractor-$ABEXTRACTOR_VERSION-macos.tar.gz"
|
||||
wget "https://github.com/phw/essentia-extractor-builds/releases/download/$ABEXTRACTOR_VERSION/$ABEXTRACTOR_FILENAME"
|
||||
echo "$ABEXTRACTOR_SHA256SUM $ABEXTRACTOR_FILENAME" | shasum --algorithm 256 --check --status
|
||||
tar -xf "$ABEXTRACTOR_FILENAME"
|
||||
cp "essentia-extractor-$ABEXTRACTOR_VERSION-macos/streaming_extractor_music" .
|
||||
fi
|
||||
|
||||
@@ -10,13 +10,7 @@ Param(
|
||||
$FpcalcVersion,
|
||||
[Parameter(Mandatory=$true)]
|
||||
[String]
|
||||
$FpcalcSha256Sum,
|
||||
[Parameter(Mandatory=$true)]
|
||||
[String]
|
||||
$AbextractorVersion,
|
||||
[Parameter(Mandatory=$true)]
|
||||
[String]
|
||||
$AbextractorSha256Sum
|
||||
$FpcalcSha256Sum
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
@@ -65,11 +59,3 @@ DownloadFile -Url "https://github.com/acoustid/chromaprint/releases/download/v$F
|
||||
VerifyHash -FileName $ArchiveFile -Sha256Sum $FpcalcSha256Sum
|
||||
Expand-Archive -Path $ArchiveFile -DestinationPath .\build\fpcalc -Force
|
||||
Copy-Item .\build\fpcalc\chromaprint-fpcalc-$FpcalcVersion-windows-x86_64\fpcalc.exe .
|
||||
|
||||
$ArchiveFile = ".\build\abz.zip"
|
||||
Write-Output "Downloading AcousticBrainz extractor $AbextractorVersion to $ArchiveFile..."
|
||||
DownloadFile -Url "https://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-$AbextractorVersion-win-i686.zip" `
|
||||
-FileName $ArchiveFile
|
||||
VerifyHash -FileName $ArchiveFile -Sha256Sum $AbextractorSha256Sum
|
||||
Expand-Archive -Path $ArchiveFile -DestinationPath .\build\abz -Force
|
||||
Copy-Item .\build\abz\streaming_extractor_music.exe .
|
||||
Reference in New Issue
Block a user