[arch-commits] Commit in mixxx/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 8 16:09:35 UTC 2021
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 <lfleischer at archlinux.org>
+# Contributor: David Runge <dvzrv 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.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__')
+
More information about the arch-commits
mailing list