mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mixxx: update to 2.3.3, adopt.
This commit is contained in:
parent
93bf159ce1
commit
8ad874c780
1 changed files with 14 additions and 43 deletions
|
@ -1,51 +1,22 @@
|
||||||
# Template file for 'mixxx'
|
# Template file for 'mixxx'
|
||||||
pkgname=mixxx
|
pkgname=mixxx
|
||||||
version=2.2.4
|
version=2.3.3
|
||||||
revision=13
|
revision=1
|
||||||
wrksrc="mixxx-release-${version}"
|
build_style=cmake
|
||||||
build_style=scons
|
configure_args="-DCMAKE_BUILD_TYPE=Release"
|
||||||
hostmakedepends="pkg-config protobuf"
|
hostmakedepends="extra-cmake-modules pkg-config protobuf qt5-host-tools qt5-devel"
|
||||||
makedepends="chromaprint-devel faad2-devel ffmpeg-devel fftw-devel glu-devel
|
makedepends="chromaprint-devel faad2-devel ffmpeg-devel fftw-devel glu-devel
|
||||||
libid3tag-devel libmad-devel libmp4v2-devel libshout-devel libusb-devel
|
lame-devel libid3tag-devel libmad-devel libmodplug-devel libusb-devel
|
||||||
opusfile-devel portaudio-devel portmidi-devel protobuf-devel qt5-script-devel
|
opusfile-devel libflac-devel libogg-devel libsndfile-devel libvorbis-devel
|
||||||
|
wavpack-devel portaudio-devel portmidi-devel protobuf-devel qt5-script-devel
|
||||||
qt5-svg-devel qt5-xmlpatterns-devel rubberband-devel taglib-devel upower-devel
|
qt5-svg-devel qt5-xmlpatterns-devel rubberband-devel taglib-devel upower-devel
|
||||||
vamp-plugin-sdk-devel lv2 lilv-devel qt5-x11extras-devel hidapi-devel
|
vamp-plugin-sdk-devel lv2 lilv-devel qt5-x11extras-devel hidapi-devel libtheora-devel
|
||||||
libtheora-devel speex-devel soundtouch-devel"
|
speex-devel soundtouch-devel qtkeychain-qt5-devel qt5-plugin-mysql qt5-plugin-odbc
|
||||||
|
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds libebur128-devel"
|
||||||
depends="qt5-plugin-sqlite"
|
depends="qt5-plugin-sqlite"
|
||||||
short_desc="Open source digital DJing software that allows mixing music"
|
short_desc="Open source digital DJing software that allows mixing music"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="prez <prez@national.shitposting.agency>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://www.mixxx.org"
|
homepage="https://www.mixxx.org"
|
||||||
distfiles="https://github.com/mixxxdj/mixxx/archive/release-${version}.tar.gz"
|
distfiles="https://github.com/mixxxdj/mixxx/archive/${version}.tar.gz"
|
||||||
checksum=9372b43d5ec882845b4fe2350ef50dabb3f1e0cc029f182b0ed8aa4f4f3b2afa
|
checksum=8e3a5a545175982336bb07c81a3839897a007c43689b93641242db662f6beb9c
|
||||||
_scons_args="shoutcast=1 faad=1 tuned=0 prefix=/usr qt5=1 qtdir=/usr/include/qt5"
|
|
||||||
|
|
||||||
nocross=https://build.voidlinux.org/builders/armv7l_builder/builds/7882/steps/shell_3/logs/stdio
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) find plugins -type f -exec sed -i "{}" \
|
|
||||||
-e "s;u_int8_t;uint8_t;g" -e "s;u_int32_t;uint32_t;g" \;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
if [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then
|
|
||||||
export CFLAGS+=" -msse"
|
|
||||||
export CXXFLAGS+=" -msse"
|
|
||||||
fi
|
|
||||||
sed -i \
|
|
||||||
-e 's/branch_name = .*/branch_name = "mixxx"/' \
|
|
||||||
-e 's/vcs_revision = .*/vcs_revision = "'$version'"/' \
|
|
||||||
src/SConscript
|
|
||||||
|
|
||||||
sed -i -e 's/vamp-plugin-sdk/vamp-sdk/g' build/features.py vamp-plugins/SConscript
|
|
||||||
|
|
||||||
MAKEFLAGS="${makejobs}" scons ${makejobs} ${_scons_args}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
||||||
export CFLAGS+=" -msse"
|
|
||||||
export CXXFLAGS+=" -msse"
|
|
||||||
fi
|
|
||||||
scons ${_scons_args} install_root=${DESTDIR}/usr install
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue