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

2022-01-31 Thread David Runge via arch-commits
Date: Monday, January 31, 2022 @ 14:38:23
  Author: dvzrv
Revision: 1121237

archrelease: copy trunk to community-staging-x86_64

Added:
  mixxx/repos/community-staging-x86_64/
  mixxx/repos/community-staging-x86_64/PKGBUILD
(from rev 1121236, mixxx/trunk/PKGBUILD)
  mixxx/repos/community-staging-x86_64/add-missing-include.patch
(from rev 1121236, mixxx/trunk/add-missing-include.patch)

---+
 PKGBUILD  |   66 
 add-missing-include.patch |   11 +++
 2 files changed, 77 insertions(+)

Copied: mixxx/repos/community-staging-x86_64/PKGBUILD (from rev 1121236, 
mixxx/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-31 14:38:23 UTC (rev 1121237)
@@ -0,0 +1,66 @@
+# Maintainer: David Runge 
+# Maintainer: Lukas Fleischer 
+# Contributor: Ali H. Caliskan 
+# Contributor: Ryan Coyner 
+# Contributor: Stefan Husmann 
+
+pkgname=mixxx
+pkgver=2.3.1
+pkgrel=4
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=(x86_64)
+url="https://www.mixxx.org";
+license=(GPL2)
+groups=(pro-audio)
+# TODO: package libshout-idjc
+depends=(gcc-libs glibc hidapi lame libglvnd libmad libmodplug libx11 openssl
+opusfile qt5-base qt5-script qt5-svg qt5-x11extras qtkeychain soundtouch speex
+sqlite taglib upower wavpack)
+makedepends=(chromaprint cmake faad2 ffmpeg fftw flac glib2 glu gperftools
+libid3tag libogg libsndfile libusb libvorbis lilv lv2 qt5-tools portaudio
+portmidi protobuf rubberband vamp-plugin-sdk)
+checkdepends=(xorg-server-xvfb)
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz";
+  
"${pkgname}-2.3.1-ffmpeg5.patch::https://github.com/mixxxdj/mixxx/pull/4638.patch";
+  add-missing-include.patch
+)
+sha512sums=('17cf8dee2aaca2ed85067474d40b0955abd22268767a9c68dbc8126554e6b216ddab9a42b6c888606aca61fdcda3062f5b4f1f550722c5033c516e046816'
+
'e70ebc20251c34450c8cd8c75ce68fe42319b451f56f3c6ce60d118ff3d0b4eeb6ef3fe68f4a4b921345e36ab7afb5181defa7b88f455b5e7346bf21f3dda712'
+
'3a3de0ca03652cb203c5627f37f7cf1fa661f8f0adb542f2569feff61d39232f9eb92e4ba86bae044dfd10c915d65fac6bd9330c93893643633dce0ccc45321c')
+b2sums=('08edfe19f5d0f16072762c3800e34ff37dcad478bde04356b0aae6a02ab99b115a5d1e8a33846f7f142228860bb5b19ded16b52dd464e4738462f6634b9fd6be'
+
'94e61a8278f3224b932789e37fff93ce49f2264daf62366eaf3afdcab9dcb95de7c7872f8b1ad77988f704b4be8f3ccb8c43b061003383dec14f04f1bbfe6f08'
+
'ff844bb91a284883e54daf3912962cc256bbabc530c2dff9693081165ecf4e7b85f70fb6a49691b5dedb91347b038fc69ea3e78a81f51bd1869c502eaaf22848')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # 
https://github.com/mixxxdj/mixxx/commit/e590711ca2a0882e331162d14405e25c49f7b774
+  patch -Np1 -i ../add-missing-include.patch
+
+  # fix for ffmpeg >= 5.0
+  patch -Np1 -i ../"${pkgname}-2.3.1-ffmpeg5.patch"
+}
+
+build() {
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-Wno-dev \
+-B build \
+-S "${pkgname}-${pkgver}"
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run ../build/${pkgname}-test
+}
+
+package() {
+  depends+=(libFLAC.so libavcodec.so libavformat.so libavutil.so
+  libchromaprint.so libfftw3.so libglib-2.0.so libid3tag.so libgobject-2.0.so
+  liblilv-0.so libogg.so libportaudio.so libportmidi.so libprotobuf-lite.so
+  librubberband.so libsndfile.so libusb-1.0.so libvorbis.so libvorbisenc.so
+  libvorbisfile.so)
+
+  make DESTDIR="${pkgdir}" install -C build
+}

Copied: mixxx/repos/community-staging-x86_64/add-missing-include.patch (from 
rev 1121236, mixxx/trunk/add-missing-include.patch)
===
--- community-staging-x86_64/add-missing-include.patch  
(rev 0)
+++ community-staging-x86_64/add-missing-include.patch  2022-01-31 14:38:23 UTC 
(rev 1121237)
@@ -0,0 +1,11 @@
+diff -upr mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h 
mixxx-2.3.1/lib/benchmark/src/benchmark_register.h
+--- mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h2021-09-29 
16:23:02.0 +0300
 mixxx-2.3.1/lib/benchmark/src/benchmark_register.h 2021-12-22 
23:15:18.935803347 +0200
+@@ -1,6 +1,7 @@
+ #ifndef BENCHMARK_REGISTER_H
+ #define BENCHMARK_REGISTER_H
+ 
++#include 
+ #include 
+ 
+ #include "check.h"



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

2022-01-12 Thread David Runge via arch-commits
Date: Wednesday, January 12, 2022 @ 20:46:49
  Author: dvzrv
Revision: 1101746

archrelease: copy trunk to community-staging-x86_64

Added:
  mixxx/repos/community-staging-x86_64/
  mixxx/repos/community-staging-x86_64/PKGBUILD
(from rev 1101745, mixxx/trunk/PKGBUILD)
  mixxx/repos/community-staging-x86_64/add-missing-include.patch
(from rev 1101745, mixxx/trunk/add-missing-include.patch)

---+
 PKGBUILD  |   60 
 add-missing-include.patch |   11 
 2 files changed, 71 insertions(+)

Copied: mixxx/repos/community-staging-x86_64/PKGBUILD (from rev 1101745, 
mixxx/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-12 20:46:49 UTC (rev 1101746)
@@ -0,0 +1,60 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: David Runge 
+# Contributor: Ali H. Caliskan 
+# Contributor: Ryan Coyner 
+# Contributor: Stefan Husmann 
+
+pkgname=mixxx
+pkgver=2.3.1
+pkgrel=3
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('x86_64')
+url="https://www.mixxx.org";
+license=('GPL2')
+groups=('pro-audio')
+# TODO: package libshout-idjc
+depends=('gcc-libs' 'glibc' 'hidapi' 'lame' 'libglvnd' 'libmad' 'libmodplug'
+'libx11' 'openssl' 'opusfile' 'qt5-base' 'qt5-script' 'qt5-svg' 'qt5-x11extras'
+'qtkeychain' 'soundtouch' 'speex' 'sqlite' 'taglib' 'upower' 'wavpack')
+makedepends=('chromaprint' 'cmake' 'faad2' 'ffmpeg' 'fftw' 'flac' 'glib2' 'glu'
+'gperftools' 'libid3tag' 'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv'
+'lv2' 'qt5-tools' 'portaudio' 'portmidi' 'protobuf' 'rubberband'
+'vamp-plugin-sdk')
+checkdepends=('xorg-server-xvfb')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz";
+add-missing-include.patch)
+sha512sums=('17cf8dee2aaca2ed85067474d40b0955abd22268767a9c68dbc8126554e6b216ddab9a42b6c888606aca61fdcda3062f5b4f1f550722c5033c516e046816'
+
'3a3de0ca03652cb203c5627f37f7cf1fa661f8f0adb542f2569feff61d39232f9eb92e4ba86bae044dfd10c915d65fac6bd9330c93893643633dce0ccc45321c')
+b2sums=('08edfe19f5d0f16072762c3800e34ff37dcad478bde04356b0aae6a02ab99b115a5d1e8a33846f7f142228860bb5b19ded16b52dd464e4738462f6634b9fd6be'
+
'ff844bb91a284883e54daf3912962cc256bbabc530c2dff9693081165ecf4e7b85f70fb6a49691b5dedb91347b038fc69ea3e78a81f51bd1869c502eaaf22848')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../add-missing-include.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='Release' \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run build/${pkgname}-test
+}
+
+package() {
+  depends+=('libFLAC.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
+  'libchromaprint.so' 'libfftw3.so' 'libglib-2.0.so' 'libid3tag.so'
+  'libgobject-2.0.so' 'liblilv-0.so' 'libogg.so' 'libportaudio.so'
+  'libportmidi.so' 'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so'
+  'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
+
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+}

Copied: mixxx/repos/community-staging-x86_64/add-missing-include.patch (from 
rev 1101745, mixxx/trunk/add-missing-include.patch)
===
--- community-staging-x86_64/add-missing-include.patch  
(rev 0)
+++ community-staging-x86_64/add-missing-include.patch  2022-01-12 20:46:49 UTC 
(rev 1101746)
@@ -0,0 +1,11 @@
+diff -upr mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h 
mixxx-2.3.1/lib/benchmark/src/benchmark_register.h
+--- mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h2021-09-29 
16:23:02.0 +0300
 mixxx-2.3.1/lib/benchmark/src/benchmark_register.h 2021-12-22 
23:15:18.935803347 +0200
+@@ -1,6 +1,7 @@
+ #ifndef BENCHMARK_REGISTER_H
+ #define BENCHMARK_REGISTER_H
+ 
++#include 
+ #include 
+ 
+ #include "check.h"



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

2021-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 22, 2021 @ 21:26:21
  Author: felixonmars
Revision: 1082922

archrelease: copy trunk to community-staging-x86_64

Added:
  mixxx/repos/community-staging-x86_64/
  mixxx/repos/community-staging-x86_64/PKGBUILD
(from rev 1082921, mixxx/trunk/PKGBUILD)
  mixxx/repos/community-staging-x86_64/add-missing-include.patch
(from rev 1082921, mixxx/trunk/add-missing-include.patch)

---+
 PKGBUILD  |   60 
 add-missing-include.patch |   11 
 2 files changed, 71 insertions(+)

Copied: mixxx/repos/community-staging-x86_64/PKGBUILD (from rev 1082921, 
mixxx/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-22 21:26:21 UTC (rev 1082922)
@@ -0,0 +1,60 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: David Runge 
+# Contributor: Ali H. Caliskan 
+# Contributor: Ryan Coyner 
+# Contributor: Stefan Husmann 
+
+pkgname=mixxx
+pkgver=2.3.1
+pkgrel=2
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('x86_64')
+url="https://www.mixxx.org";
+license=('GPL2')
+groups=('pro-audio')
+# TODO: package libshout-idjc
+depends=('gcc-libs' 'glibc' 'hidapi' 'lame' 'libglvnd' 'libmad' 'libmodplug'
+'libx11' 'openssl' 'opusfile' 'qt5-base' 'qt5-script' 'qt5-svg' 'qt5-x11extras'
+'qtkeychain' 'soundtouch' 'speex' 'sqlite' 'taglib' 'upower' 'wavpack')
+makedepends=('chromaprint' 'cmake' 'faad2' 'ffmpeg' 'fftw' 'flac' 'glib2' 'glu'
+'gperftools' 'libid3tag' 'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv'
+'lv2' 'qt5-tools' 'portaudio' 'portmidi' 'protobuf' 'rubberband'
+'vamp-plugin-sdk')
+checkdepends=('xorg-server-xvfb')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz";
+add-missing-include.patch)
+sha512sums=('17cf8dee2aaca2ed85067474d40b0955abd22268767a9c68dbc8126554e6b216ddab9a42b6c888606aca61fdcda3062f5b4f1f550722c5033c516e046816'
+
'3a3de0ca03652cb203c5627f37f7cf1fa661f8f0adb542f2569feff61d39232f9eb92e4ba86bae044dfd10c915d65fac6bd9330c93893643633dce0ccc45321c')
+b2sums=('08edfe19f5d0f16072762c3800e34ff37dcad478bde04356b0aae6a02ab99b115a5d1e8a33846f7f142228860bb5b19ded16b52dd464e4738462f6634b9fd6be'
+
'ff844bb91a284883e54daf3912962cc256bbabc530c2dff9693081165ecf4e7b85f70fb6a49691b5dedb91347b038fc69ea3e78a81f51bd1869c502eaaf22848')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../add-missing-include.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='Release' \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run build/${pkgname}-test
+}
+
+package() {
+  depends+=('libFLAC.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
+  'libchromaprint.so' 'libfftw3.so' 'libglib-2.0.so' 'libid3tag.so'
+  'libgobject-2.0.so' 'liblilv-0.so' 'libogg.so' 'libportaudio.so'
+  'libportmidi.so' 'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so'
+  'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
+
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+}

Copied: mixxx/repos/community-staging-x86_64/add-missing-include.patch (from 
rev 1082921, mixxx/trunk/add-missing-include.patch)
===
--- community-staging-x86_64/add-missing-include.patch  
(rev 0)
+++ community-staging-x86_64/add-missing-include.patch  2021-12-22 21:26:21 UTC 
(rev 1082922)
@@ -0,0 +1,11 @@
+diff -upr mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h 
mixxx-2.3.1/lib/benchmark/src/benchmark_register.h
+--- mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h2021-09-29 
16:23:02.0 +0300
 mixxx-2.3.1/lib/benchmark/src/benchmark_register.h 2021-12-22 
23:15:18.935803347 +0200
+@@ -1,6 +1,7 @@
+ #ifndef BENCHMARK_REGISTER_H
+ #define BENCHMARK_REGISTER_H
+ 
++#include 
+ #include 
+ 
+ #include "check.h"



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

2021-06-20 Thread Evangelos Foutras via arch-commits
Date: Sunday, June 20, 2021 @ 19:43:54
  Author: foutrelis
Revision: 966058

archrelease: copy trunk to community-staging-x86_64

Added:
  mixxx/repos/community-staging-x86_64/
  mixxx/repos/community-staging-x86_64/PKGBUILD
(from rev 966057, mixxx/trunk/PKGBUILD)
  mixxx/repos/community-staging-x86_64/mixxx-mp4v2-c++.patch
(from rev 966057, mixxx/trunk/mixxx-mp4v2-c++.patch)

---+
 PKGBUILD  |   71 
 mixxx-mp4v2-c++.patch |   26 +
 2 files changed, 97 insertions(+)

Copied: mixxx/repos/community-staging-x86_64/PKGBUILD (from rev 966057, 
mixxx/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-20 19:43:54 UTC (rev 966058)
@@ -0,0 +1,71 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: David Runge 
+# Contributor: Ali H. Caliskan 
+# Contributor: Ryan Coyner 
+# Contributor: Stefan Husmann 
+
+pkgname=mixxx
+pkgver=2.2.4
+pkgrel=6
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('x86_64')
+url="https://www.mixxx.org";
+license=('GPL2')
+groups=('pro-audio')
+depends=('chromaprint' 'gcc-libs' 'glibc' 'hidapi' 'libglvnd' 'libmad'
+'libmodplug' 'libmp4v2' 'libshout' 'libx11' 'openssl' 'opusfile>=0.12' 
'qt5-base'
+'qt5-script' 'qt5-svg' 'qt5-x11extras' 'qtkeychain' 'soundtouch' 'speex'
+'sqlite' 'taglib' 'upower' 'wavpack')
+makedepends=('faad2' 'ffmpeg' 'flac' 'glib2' 'glu' 'gperftools' 'libid3tag'
+'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv' 'lv2' 'qt5-tools' 'portaudio'
+'portmidi' 'protobuf' 'rubberband' 'scons' 'vamp-plugin-sdk')
+checkdepends=('xorg-server-xvfb')
+source=("https://github.com/${pkgname}dj/${pkgname}/archive/release-${pkgver}.tar.gz";
+ mixxx-mp4v2-c++.patch)
+sha512sums=('34f67088ea2271cb13b75d001d3814237b1b6c2052646d670a36e341fb78e24c34d361a3eb03b0dbfb2d94b0026fecc9125713d7533aac7e99161c27090115fa'
+
'c7ea562ac32e46ec12302cb3c50f2152d172830cfe669f230f810dff51c1421ae7811a96a26cbc06f28be6cf1900f9fc161ff91dfcad659831bd0ff24dea3cd7')
+
+prepare() {
+  mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+
+# Check for mp4v2 headers in C++ mode, since using mp4v2 in C is broken 
https://github.com/TechSmith/mp4v2/issues/47
+  patch -p1 < ../mixxx-mp4v2-c++.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  export SCONSFLAGS="-j $(nproc)"
+  scons prefix=/usr \
+build=release \
+faad=1 \
+ffmpeg=1 \
+modplug=1 \
+perftools=1 \
+perftools_profiler=1 \
+qt_sqlite_plugin=0 \
+qtkeychain=1 \
+test=1 \
+target=linux \
+virtualize=0 \
+wv=1
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run lin64_build/${pkgname}-test
+}
+
+package() {
+  depends+=('libFLAC.so' 'libfaad.so' 'libavcodec.so' 'libavformat.so'
+  'libavutil.so' 'libglib-2.0.so' 'libid3tag.so' 'libgobject-2.0.so'
+  'liblilv-0.so' 'libogg.so' 'libportaudio.so' 'libportmidi.so'
+  'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so' 'libtcmalloc.so'
+  'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
+  cd "${pkgname}-${pkgver}"
+  scons prefix=/usr \
+install_root="${pkgdir}/usr" \
+install
+  # removing the test executable
+  rm -v "${pkgdir}/usr/bin/${pkgname}-test"
+}

Copied: mixxx/repos/community-staging-x86_64/mixxx-mp4v2-c++.patch (from rev 
966057, mixxx/trunk/mixxx-mp4v2-c++.patch)
===
--- community-staging-x86_64/mixxx-mp4v2-c++.patch  
(rev 0)
+++ community-staging-x86_64/mixxx-mp4v2-c++.patch  2021-06-20 19:43:54 UTC 
(rev 966058)
@@ -0,0 +1,26 @@
+diff --git a/build/features.py b/build/features.py
+index 7d5c76249f..2275567e4b 100644
+--- a/build/features.py
 b/build/features.py
+@@ -502,7 +502,7 @@ class FAAD(Feature):
+ if not self.enabled(build):
+ return
+ 
+-have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h')
++have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h', language='C++')
+ have_mp4v2 = conf.CheckLib(['mp4v2', 'libmp4v2'], autoadd=False)
+ have_mp4_h = conf.CheckHeader('mp4.h')
+ have_mp4 = conf.CheckLib('mp4', autoadd=False)
+diff --git a/plugins/soundsourcem4a/SConscript 
b/plugins/soundsourcem4a/SConscript
+index 9f9a74cbca..9f8006908a 100644
+--- a/plugins/soundsourcem4a/SConscript
 b/plugins/soundsourcem4a/SConscript
+@@ -38,7 +38,7 @@ if int(build.flags['faad']):
+ 
+ conf = Configure(env)
+ 
+-have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h')
++have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h', language='C++')
+ if have_mp4v2_h:
+ env.Append(CPPDEFINES = '__MP4V2__')
+ 


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

2021-05-08 Thread Evangelos Foutras via arch-commits
Date: Saturday, May 8, 2021 @ 16:09:35
  Author: foutrelis
Revision: 928855

archrelease: copy trunk to community-staging-x86_64

Added:
  mixxx/repos/community-staging-x86_64/
  mixxx/repos/community-staging-x86_64/PKGBUILD
(from rev 928854, mixxx/trunk/PKGBUILD)
  mixxx/repos/community-staging-x86_64/mixxx-mp4v2-c++.patch
(from rev 928854, mixxx/trunk/mixxx-mp4v2-c++.patch)

---+
 PKGBUILD  |   71 
 mixxx-mp4v2-c++.patch |   26 +
 2 files changed, 97 insertions(+)

Copied: mixxx/repos/community-staging-x86_64/PKGBUILD (from rev 928854, 
mixxx/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-08 16:09:35 UTC (rev 928855)
@@ -0,0 +1,71 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: David Runge 
+# Contributor: Ali H. Caliskan 
+# Contributor: Ryan Coyner 
+# Contributor: Stefan Husmann 
+
+pkgname=mixxx
+pkgver=2.2.4
+pkgrel=5
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('x86_64')
+url="https://www.mixxx.org";
+license=('GPL2')
+groups=('pro-audio')
+depends=('chromaprint' 'gcc-libs' 'glibc' 'hidapi' 'libglvnd' 'libmad'
+'libmodplug' 'libmp4v2' 'libshout' 'libx11' 'openssl' 'opusfile>=0.12' 
'qt5-base'
+'qt5-script' 'qt5-svg' 'qt5-x11extras' 'qtkeychain' 'soundtouch' 'speex'
+'sqlite' 'taglib' 'upower' 'wavpack')
+makedepends=('faad2' 'ffmpeg' 'flac' 'glib2' 'glu' 'gperftools' 'libid3tag'
+'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv' 'lv2' 'qt5-tools' 'portaudio'
+'portmidi' 'protobuf' 'rubberband' 'scons' 'vamp-plugin-sdk')
+checkdepends=('xorg-server-xvfb')
+source=("https://github.com/${pkgname}dj/${pkgname}/archive/release-${pkgver}.tar.gz";
+ mixxx-mp4v2-c++.patch)
+sha512sums=('34f67088ea2271cb13b75d001d3814237b1b6c2052646d670a36e341fb78e24c34d361a3eb03b0dbfb2d94b0026fecc9125713d7533aac7e99161c27090115fa'
+
'c7ea562ac32e46ec12302cb3c50f2152d172830cfe669f230f810dff51c1421ae7811a96a26cbc06f28be6cf1900f9fc161ff91dfcad659831bd0ff24dea3cd7')
+
+prepare() {
+  mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+
+# Check for mp4v2 headers in C++ mode, since using mp4v2 in C is broken 
https://github.com/TechSmith/mp4v2/issues/47
+  patch -p1 < ../mixxx-mp4v2-c++.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  export SCONSFLAGS="-j $(nproc)"
+  scons prefix=/usr \
+build=release \
+faad=1 \
+ffmpeg=1 \
+modplug=1 \
+perftools=1 \
+perftools_profiler=1 \
+qt_sqlite_plugin=0 \
+qtkeychain=1 \
+test=1 \
+target=linux \
+virtualize=0 \
+wv=1
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run lin64_build/${pkgname}-test
+}
+
+package() {
+  depends+=('libFLAC.so' 'libfaad.so' 'libavcodec.so' 'libavformat.so'
+  'libavutil.so' 'libglib-2.0.so' 'libid3tag.so' 'libgobject-2.0.so'
+  'liblilv-0.so' 'libogg.so' 'libportaudio.so' 'libportmidi.so'
+  'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so' 'libtcmalloc.so'
+  'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
+  cd "${pkgname}-${pkgver}"
+  scons prefix=/usr \
+install_root="${pkgdir}/usr" \
+install
+  # removing the test executable
+  rm -v "${pkgdir}/usr/bin/${pkgname}-test"
+}

Copied: mixxx/repos/community-staging-x86_64/mixxx-mp4v2-c++.patch (from rev 
928854, mixxx/trunk/mixxx-mp4v2-c++.patch)
===
--- community-staging-x86_64/mixxx-mp4v2-c++.patch  
(rev 0)
+++ community-staging-x86_64/mixxx-mp4v2-c++.patch  2021-05-08 16:09:35 UTC 
(rev 928855)
@@ -0,0 +1,26 @@
+diff --git a/build/features.py b/build/features.py
+index 7d5c76249f..2275567e4b 100644
+--- a/build/features.py
 b/build/features.py
+@@ -502,7 +502,7 @@ class FAAD(Feature):
+ if not self.enabled(build):
+ return
+ 
+-have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h')
++have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h', language='C++')
+ have_mp4v2 = conf.CheckLib(['mp4v2', 'libmp4v2'], autoadd=False)
+ have_mp4_h = conf.CheckHeader('mp4.h')
+ have_mp4 = conf.CheckLib('mp4', autoadd=False)
+diff --git a/plugins/soundsourcem4a/SConscript 
b/plugins/soundsourcem4a/SConscript
+index 9f9a74cbca..9f8006908a 100644
+--- a/plugins/soundsourcem4a/SConscript
 b/plugins/soundsourcem4a/SConscript
+@@ -38,7 +38,7 @@ if int(build.flags['faad']):
+ 
+ conf = Configure(env)
+ 
+-have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h')
++have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h', language='C++')
+ if have_mp4v2_h:
+ env.Append(CPPDEFINES = '__MP4V2__')
+