[arch-commits] Commit in mixxx/repos (10 files)

Jelle van der Waa jelle at archlinux.org
Fri Feb 10 21:39:50 UTC 2017


    Date: Friday, February 10, 2017 @ 21:39:49
  Author: jelle
Revision: 211799

db-move: moved mixxx from [community-staging] to [community-testing] (i686, x86_64)

Added:
  mixxx/repos/community-testing-i686/
  mixxx/repos/community-testing-i686/PKGBUILD
    (from rev 211798, mixxx/repos/community-staging-i686/PKGBUILD)
  mixxx/repos/community-testing-i686/mixxx-2.0.0-chromaprint-1.4.0.patch
    (from rev 211798, mixxx/repos/community-staging-i686/mixxx-2.0.0-chromaprint-1.4.0.patch)
  mixxx/repos/community-testing-i686/mixxx-2.0.0-gcc-6.patch
    (from rev 211798, mixxx/repos/community-staging-i686/mixxx-2.0.0-gcc-6.patch)
  mixxx/repos/community-testing-x86_64/
  mixxx/repos/community-testing-x86_64/PKGBUILD
    (from rev 211798, mixxx/repos/community-staging-x86_64/PKGBUILD)
  mixxx/repos/community-testing-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch
    (from rev 211798, mixxx/repos/community-staging-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch)
  mixxx/repos/community-testing-x86_64/mixxx-2.0.0-gcc-6.patch
    (from rev 211798, mixxx/repos/community-staging-x86_64/mixxx-2.0.0-gcc-6.patch)
Deleted:
  mixxx/repos/community-staging-i686/
  mixxx/repos/community-staging-x86_64/

--------------------------------------------------------------+
 community-testing-i686/PKGBUILD                              |   40 ++++++++++
 community-testing-i686/mixxx-2.0.0-chromaprint-1.4.0.patch   |   17 ++++
 community-testing-i686/mixxx-2.0.0-gcc-6.patch               |   17 ++++
 community-testing-x86_64/PKGBUILD                            |   40 ++++++++++
 community-testing-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch |   17 ++++
 community-testing-x86_64/mixxx-2.0.0-gcc-6.patch             |   17 ++++
 6 files changed, 148 insertions(+)

Copied: mixxx/repos/community-testing-i686/PKGBUILD (from rev 211798, mixxx/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-02-10 21:39:49 UTC (rev 211799)
@@ -0,0 +1,40 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Ali H. Caliskan <ali.h.caliskan AT gmail DOT com>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=mixxx
+pkgver=2.0.0
+pkgrel=8
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('i686' 'x86_64')
+url='http://www.mixxx.org'
+license=('GPL')
+depends=('fftw' 'libid3tag' 'libmad' 'libogg' 'libshout' 'libsndfile' 'portaudio' 'portmidi'
+         'taglib' 'qt4' 'vamp-plugin-sdk' 'libusbx' 'protobuf' 'faad2' 'libmp4v2'
+         'rubberband' 'chromaprint' 'sqlite' 'opus' 'opusfile')
+makedepends=('mesa' 'scons' 'libshout' 'glu')
+source=("https://downloads.mixxx.org/${pkgname}-${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+        mixxx-2.0.0-gcc-6.patch
+        mixxx-2.0.0-chromaprint-1.4.0.patch)
+md5sums=('5520a2f110f1078197d2ff914ccca37a'
+         '957245cf7a06e57d42fb7f8e3421a934'
+         '9aa411ccc9e72b27860858ac68104f2b')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 -i ../mixxx-2.0.0-gcc-6.patch
+  patch -p1 -i ../mixxx-2.0.0-chromaprint-1.4.0.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export SCONSFLAGS="-j $(nproc)"
+  scons build=release optimize=portable virtualize=0 localecompare=1 qt_sqlite_plugin=0 opus=1 \
+    qtdir=/usr/lib/qt4 prefix=/usr faad=1
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  scons qtdir=/usr/lib/qt4 prefix=/usr install_root="${pkgdir}/usr" install
+}

Copied: mixxx/repos/community-testing-i686/mixxx-2.0.0-chromaprint-1.4.0.patch (from rev 211798, mixxx/repos/community-staging-i686/mixxx-2.0.0-chromaprint-1.4.0.patch)
===================================================================
--- community-testing-i686/mixxx-2.0.0-chromaprint-1.4.0.patch	                        (rev 0)
+++ community-testing-i686/mixxx-2.0.0-chromaprint-1.4.0.patch	2017-02-10 21:39:49 UTC (rev 211799)
@@ -0,0 +1,17 @@
+--- mixxx-2.0.0/src/musicbrainz/chromaprinter.cpp.old	2017-01-13 14:24:15.105139156 +0100
++++ mixxx-2.0.0/src/musicbrainz/chromaprinter.cpp	2017-01-13 14:24:06.568450904 +0100
+@@ -57,12 +57,12 @@ QString ChromaPrinter::calcFingerPrint(c
+     }
+     chromaprint_finish(ctx);
+ 
+-    void* fprint = NULL;
++    uint32_t* fprint = NULL;
+     int size = 0;
+     int ret = chromaprint_get_raw_fingerprint(ctx, &fprint, &size);
+     QByteArray fingerprint;
+     if (ret == 1) {
+-        void* encoded = NULL;
++        char* encoded = NULL;
+         int encoded_size = 0;
+         chromaprint_encode_fingerprint(fprint, size,
+                                        CHROMAPRINT_ALGORITHM_DEFAULT,

Copied: mixxx/repos/community-testing-i686/mixxx-2.0.0-gcc-6.patch (from rev 211798, mixxx/repos/community-staging-i686/mixxx-2.0.0-gcc-6.patch)
===================================================================
--- community-testing-i686/mixxx-2.0.0-gcc-6.patch	                        (rev 0)
+++ community-testing-i686/mixxx-2.0.0-gcc-6.patch	2017-02-10 21:39:49 UTC (rev 211799)
@@ -0,0 +1,17 @@
+--- ./src/util/math.h.orig	2016-07-14 04:13:22.861482580 +0100
++++ ./src/util/math.h	2016-07-14 04:15:36.966067224 +0100
+@@ -4,7 +4,13 @@
+ // Causes MSVC to define M_PI and friends.
+ // http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
+ #define _USE_MATH_DEFINES
+-#include <cmath>
++#include <math.h>
++#include <cmath> 
++// Note: Because of our fpclassify hack, we actualy need to inlude both, 
++// the c and the c++ version of the math header.  
++// From GCC 6.1.1 math.h depends on cmath, which failes to compile if included 
++// after our fpclassify hack 
++
+ #include <algorithm>
+ 
+ #include "util/assert.h"

Copied: mixxx/repos/community-testing-x86_64/PKGBUILD (from rev 211798, mixxx/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-02-10 21:39:49 UTC (rev 211799)
@@ -0,0 +1,40 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Ali H. Caliskan <ali.h.caliskan AT gmail DOT com>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=mixxx
+pkgver=2.0.0
+pkgrel=8
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('i686' 'x86_64')
+url='http://www.mixxx.org'
+license=('GPL')
+depends=('fftw' 'libid3tag' 'libmad' 'libogg' 'libshout' 'libsndfile' 'portaudio' 'portmidi'
+         'taglib' 'qt4' 'vamp-plugin-sdk' 'libusbx' 'protobuf' 'faad2' 'libmp4v2'
+         'rubberband' 'chromaprint' 'sqlite' 'opus' 'opusfile')
+makedepends=('mesa' 'scons' 'libshout' 'glu')
+source=("https://downloads.mixxx.org/${pkgname}-${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+        mixxx-2.0.0-gcc-6.patch
+        mixxx-2.0.0-chromaprint-1.4.0.patch)
+md5sums=('5520a2f110f1078197d2ff914ccca37a'
+         '957245cf7a06e57d42fb7f8e3421a934'
+         '9aa411ccc9e72b27860858ac68104f2b')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 -i ../mixxx-2.0.0-gcc-6.patch
+  patch -p1 -i ../mixxx-2.0.0-chromaprint-1.4.0.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export SCONSFLAGS="-j $(nproc)"
+  scons build=release optimize=portable virtualize=0 localecompare=1 qt_sqlite_plugin=0 opus=1 \
+    qtdir=/usr/lib/qt4 prefix=/usr faad=1
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  scons qtdir=/usr/lib/qt4 prefix=/usr install_root="${pkgdir}/usr" install
+}

Copied: mixxx/repos/community-testing-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch (from rev 211798, mixxx/repos/community-staging-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch)
===================================================================
--- community-testing-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch	                        (rev 0)
+++ community-testing-x86_64/mixxx-2.0.0-chromaprint-1.4.0.patch	2017-02-10 21:39:49 UTC (rev 211799)
@@ -0,0 +1,17 @@
+--- mixxx-2.0.0/src/musicbrainz/chromaprinter.cpp.old	2017-01-13 14:24:15.105139156 +0100
++++ mixxx-2.0.0/src/musicbrainz/chromaprinter.cpp	2017-01-13 14:24:06.568450904 +0100
+@@ -57,12 +57,12 @@ QString ChromaPrinter::calcFingerPrint(c
+     }
+     chromaprint_finish(ctx);
+ 
+-    void* fprint = NULL;
++    uint32_t* fprint = NULL;
+     int size = 0;
+     int ret = chromaprint_get_raw_fingerprint(ctx, &fprint, &size);
+     QByteArray fingerprint;
+     if (ret == 1) {
+-        void* encoded = NULL;
++        char* encoded = NULL;
+         int encoded_size = 0;
+         chromaprint_encode_fingerprint(fprint, size,
+                                        CHROMAPRINT_ALGORITHM_DEFAULT,

Copied: mixxx/repos/community-testing-x86_64/mixxx-2.0.0-gcc-6.patch (from rev 211798, mixxx/repos/community-staging-x86_64/mixxx-2.0.0-gcc-6.patch)
===================================================================
--- community-testing-x86_64/mixxx-2.0.0-gcc-6.patch	                        (rev 0)
+++ community-testing-x86_64/mixxx-2.0.0-gcc-6.patch	2017-02-10 21:39:49 UTC (rev 211799)
@@ -0,0 +1,17 @@
+--- ./src/util/math.h.orig	2016-07-14 04:13:22.861482580 +0100
++++ ./src/util/math.h	2016-07-14 04:15:36.966067224 +0100
+@@ -4,7 +4,13 @@
+ // Causes MSVC to define M_PI and friends.
+ // http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
+ #define _USE_MATH_DEFINES
+-#include <cmath>
++#include <math.h>
++#include <cmath> 
++// Note: Because of our fpclassify hack, we actualy need to inlude both, 
++// the c and the c++ version of the math header.  
++// From GCC 6.1.1 math.h depends on cmath, which failes to compile if included 
++// after our fpclassify hack 
++
+ #include <algorithm>
+ 
+ #include "util/assert.h"



More information about the arch-commits mailing list