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

David Runge dvzrv at gemini.archlinux.org
Mon Jan 31 14:38:24 UTC 2022


    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 <dvzrv at archlinux.org>
+# 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.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=('17cf8dee2aaca2ed85067474d40b0955abd22268767a9c68dbc8126554e6b216ddab9a42b6c888606aca61fdcccccda3062f5b4f1f550722c5033c516e046816'
+            '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.h	2021-09-29 16:23:02.000000000 +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 <limits>
+ #include <vector>
+ 
+ #include "check.h"



More information about the arch-commits mailing list