Browse Source
audio/mixxx: Updated for version 2.1.1, changed maintainer.
audio/mixxx: Updated for version 2.1.1, changed maintainer.
Added the new dependency opusfile Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>pull/47/head
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
4 changed files with 32 additions and 71 deletions
-
4audio/mixxx/README
-
44audio/mixxx/chromaprint-1.4.patch
-
43audio/mixxx/mixxx.SlackBuild
-
12audio/mixxx/mixxx.info
@ -1,44 +0,0 @@ |
|||||
Description: chromaprint 1.4 compatibility |
|
||||
Origin: upstream, |
|
||||
https://github.com/mixxxdj/mixxx/commit/71f3e5d0adb5116a23f9163b045f3419b9056a08, |
|
||||
https://github.com/mixxxdj/mixxx/commit/830e864384ee1c96272997ee3f1dae4f71b28f3e, |
|
||||
https://github.com/mixxxdj/mixxx/commit/c5b4368fd228feee28af4fb32ab6fbfd3f29f212 |
|
||||
Last-Update: 2017-01-11 |
|
||||
|
|
||||
--- mixxx-2.0.0~dfsg.orig/src/musicbrainz/chromaprinter.cpp
|
|
||||
+++ mixxx-2.0.0~dfsg/src/musicbrainz/chromaprinter.cpp
|
|
||||
@@ -5,6 +5,19 @@
|
|
||||
#include "musicbrainz/chromaprinter.h" |
|
||||
#include "soundsourceproxy.h" |
|
||||
|
|
||||
+namespace
|
|
||||
+{
|
|
||||
+ // Type declarations of *fprint and *encoded pointers need to account for Chromaprint API version
|
|
||||
+ // (void* -> uint32_t*) and (void* -> char*) changed in versions v1.4.0 or later -- alyptik 12/2016
|
|
||||
+ #if (CHROMAPRINT_VERSION_MINOR > 3) || (CHROMAPRINT_VERSION_MAJOR > 1)
|
|
||||
+ typedef uint32_t* uint32_p;
|
|
||||
+ typedef char* char_p;
|
|
||||
+ #else
|
|
||||
+ typedef void* uint32_p;
|
|
||||
+ typedef void* char_p;
|
|
||||
+ #endif
|
|
||||
+}
|
|
||||
+
|
|
||||
ChromaPrinter::ChromaPrinter(QObject* parent) |
|
||||
: QObject(parent) { |
|
||||
} |
|
||||
@@ -57,12 +70,12 @@ QString ChromaPrinter::calcFingerPrint(c
|
|
||||
} |
|
||||
chromaprint_finish(ctx); |
|
||||
|
|
||||
- void* fprint = NULL;
|
|
||||
+ uint32_p fprint = NULL;
|
|
||||
int size = 0; |
|
||||
int ret = chromaprint_get_raw_fingerprint(ctx, &fprint, &size); |
|
||||
QByteArray fingerprint; |
|
||||
if (ret == 1) { |
|
||||
- void* encoded = NULL;
|
|
||||
+ char_p encoded = NULL;
|
|
||||
int encoded_size = 0; |
|
||||
chromaprint_encode_fingerprint(fprint, size, |
|
||||
CHROMAPRINT_ALGORITHM_DEFAULT, |
|
@ -1,10 +1,10 @@ |
|||||
PRGNAM="mixxx" |
PRGNAM="mixxx" |
||||
VERSION="2.0.0" |
|
||||
|
VERSION="2.1.1" |
||||
HOMEPAGE="https://www.mixxx.org" |
HOMEPAGE="https://www.mixxx.org" |
||||
DOWNLOAD="http://downloads.mixxx.org/mixxx-2.0.0/mixxx-2.0.0-src.tar.gz" |
|
||||
MD5SUM="5520a2f110f1078197d2ff914ccca37a" |
|
||||
|
DOWNLOAD="https://github.com/mixxxdj/mixxx/archive/release-2.1.1/mixxx-2.1.1.tar.gz" |
||||
|
MD5SUM="6336d6568bbf860c4e03295ae51ee286" |
||||
DOWNLOAD_x86_64="" |
DOWNLOAD_x86_64="" |
||||
MD5SUM_x86_64="" |
MD5SUM_x86_64="" |
||||
REQUIRES="chromaprint faad2 libmp4v2 libshout opencore-amr portaudio portmidi protobuf rubberband" |
|
||||
MAINTAINER="Elvio Basello (HelLViS69)" |
|
||||
EMAIL="hellvis69@gmail.com" |
|
||||
|
REQUIRES="chromaprint faad2 libmp4v2 libshout opencore-amr opusfile portaudio portmidi protobuf rubberband" |
||||
|
MAINTAINER="Matteo Bernardini" |
||||
|
EMAIL="ponce@slackbuilds.org" |
Write
Preview
Loading…
Cancel
Save
Reference in new issue