aboutsummaryrefslogtreecommitdiff
path: root/audio/mixxx/chromaprint-1.4.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-08-10 15:15:39 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:13 +0700
commit40fb166516ee8d7793055fd7f972db21ffc8735d (patch)
tree3bb0ce3cea87f59a4f8ffb2a433c6041b3b88e83 /audio/mixxx/chromaprint-1.4.patch
parent4fee94826fc30884e7d6d18c1f682b3314d0e493 (diff)
audio/mixxx: Updated for version 2.1.1, changed maintainer.
Added the new dependency opusfile Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/mixxx/chromaprint-1.4.patch')
-rw-r--r--audio/mixxx/chromaprint-1.4.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/audio/mixxx/chromaprint-1.4.patch b/audio/mixxx/chromaprint-1.4.patch
deleted file mode 100644
index 35e63d2c5fe71..0000000000000
--- a/audio/mixxx/chromaprint-1.4.patch
+++ /dev/null
@@ -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,