[arch-commits] Commit in mixxx/repos (2 files)
Lukas Fleischer
lfleischer at archlinux.org
Sat Dec 7 14:29:08 UTC 2019
Date: Saturday, December 7, 2019 @ 14:29:08
Author: lfleischer
Revision: 536280
archrelease: copy trunk to community-staging-x86_64
Added:
mixxx/repos/community-staging-x86_64/
mixxx/repos/community-staging-x86_64/PKGBUILD
(from rev 536279, mixxx/trunk/PKGBUILD)
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
Copied: mixxx/repos/community-staging-x86_64/PKGBUILD (from rev 536279, mixxx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-12-07 14:29:08 UTC (rev 536280)
@@ -0,0 +1,68 @@
+# 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.2
+pkgrel=4
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('x86_64')
+url="https://www.mixxx.org"
+license=('GPL2')
+groups=('pro-audio')
+depends=('chromaprint' 'faad2' 'gcc-libs' 'glibc' 'glib2' 'hidapi' 'libFLAC.so'
+'libglvnd' 'libid3tag' 'liblilv-0.so' 'libmad' 'libmodplug' 'libmp4v2' 'libogg'
+'libportaudio.so' 'libportmidi.so' 'librubberband.so' 'libshout' 'libsndfile'
+'libtcmalloc.so' 'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so'
+'libvorbisfile.so' 'libx11' 'opusfile' 'protobuf' 'qt5-base' 'qt5-script'
+'qt5-svg' 'qt5-x11extras' 'qtkeychain' 'soundtouch' 'sqlite' 'taglib' 'upower'
+'wavpack')
+makedepends=('glu' 'lv2' 'qt5-tools' 'scons' 'vamp-plugin-sdk')
+checkdepends=('xorg-server-xvfb')
+source=("https://github.com/${pkgname}dj/${pkgname}/archive/release-${pkgver}.tar.gz"
+ "${pkgname}-scons-python3.patch::https://github.com/mixxxdj/mixxx/commit/73d02e58bcd.patch"
+ "${pkgname}-list-fix.patch::https://github.com/mixxxdj/mixxx/commit/03fad27e1f0.patch")
+sha512sums=('3b9365bd9d9a7d387cd8791d7d9f6315116e04322370db103998d5e055a6de5e159a4605c7de96cbcf13e7d0653cbe53140dca18a8c3f1b688b227be2c4aeb6f'
+ '3dc0e7de1dbc6ab45b42ac418c03e5dd122411b0504b122050c27fbea41e7c5a5f9414c4189978e76d58d0c04e41aebe83addf7c449f80ae0a3674b00d018539'
+ 'aaef4ff6a8f9384b97157dad5ad655ddd7efaecd277fc34c90e52fb67b1aba127bda4e9ba72152279210c77ca9a42d1beadcd04595f6f43a98bd7ef22dc2c880')
+
+prepare() {
+ mv -v "${pkgname}-release-${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ # fixes for building with python3 based scons
+ patch -Np1 -i ../${pkgname}-scons-python3.patch
+ patch -Np1 -i ../${pkgname}-list-fix.patch
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export SCONSFLAGS="-j $(nproc)"
+ scons prefix=/usr \
+ build=release \
+ faad=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() {
+ cd "${pkgname}-${pkgver}"
+ scons prefix=/usr \
+ install_root="${pkgdir}/usr" \
+ install
+ # removing the test executable
+ rm -v "${pkgdir}/usr/bin/${pkgname}-test"
+}
More information about the arch-commits
mailing list