lmms: update to 1.2.0rc6 / unbreak armv6. (#196)

This commit is contained in:
cr6git 2018-06-21 06:42:13 +02:00 committed by GitHub
parent 34fbdd1049
commit 93757a4bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 14 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'lmms'
pkgname=lmms
version=1.2.0rc5
revision=3
version=1.2.0rc6
revision=1
wrksrc="lmms-${version/r/-r}"
_x11embed_commit=022b39a1d496d72eb3e5b5188e5559f66afca957
_rpmalloc_commit=2e0479192b8dfb15e0084969fdf06208cffbfd09
_rpmalloc_version=1.3.1
build_style=cmake
configure_args="-DWANT_QT5=ON -DWANT_WEAKJACK=OFF"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules"
@ -13,27 +13,23 @@ makedepends="SDL_sound-devel fltk-devel fluidsynth-devel jack-devel ladspa-sdk
lame-devel libsamplerate-devel portaudio-devel qt5-tools-devel
qt5-x11extras-devel redland-devel xcb-util-devel xcb-util-keysyms-devel
sndio-devel"
depends="desktop-file-utils"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Cross-platform music production software"
maintainer="Logen K. <logen@sudotask.com>"
license="GPL-2-or-later"
license="GPL-2.0-or-later"
homepage="https://lmms.io/"
distfiles="https://github.com/LMMS/lmms/archive/v${version/r/-r}.tar.gz
https://github.com/Lukas-W/qt5-x11embed/archive/${_x11embed_commit}.tar.gz
https://github.com/rampantpixels/rpmalloc/archive/${_rpmalloc_commit}.tar.gz"
checksum="2cdf8c50f1e3a6d1c2158e52dac831ceef2984d8f997876fd448b66d4689f9cc
https://github.com/rampantpixels/rpmalloc/archive/${_rpmalloc_version}.tar.gz"
checksum="2476371cff5f77412dbb4bb3e741ffe7c62b3ebab52d83379bf7d18860de0a9f
06159c71a5eeba5662bfb309d215e733f310c2699c8c1de83297d32d13a510bc
d7291aedec6abfc7bcac6106b3b9e24f8b3b225c0bf986fb0d8e8517af611625"
case $XBPS_TARGET_MACHINE in
armv6*) broken="https://travis-ci.org/voidlinux/void-packages/jobs/358366106";;
esac
9bc0013a0bf8c01540821e84fef0cef067f1d857a01ceceac36f83bd6fedc106"
post_extract() {
[ -d "${wrksrc}/../qt5-x11embed-${_x11embed_commit}" ] &&
rm -rf src/3rdparty/qt5-x11embed &&
mv "${wrksrc}/../qt5-x11embed-${_x11embed_commit}" src/3rdparty/qt5-x11embed
[ -d "${wrksrc}/../rpmalloc-${_rpmalloc_commit}" ] &&
[ -d "${wrksrc}/../rpmalloc-${_rpmalloc_version}" ] &&
rm -rf src/3rdparty/rpmalloc/rpmalloc &&
mv "${wrksrc}/../rpmalloc-${_rpmalloc_commit}" src/3rdparty/rpmalloc/rpmalloc
mv "${wrksrc}/../rpmalloc-${_rpmalloc_version}" src/3rdparty/rpmalloc/rpmalloc
}