community/lmms: fix

This commit is contained in:
Kevin Mihelich 2018-10-13 00:21:32 +00:00
parent c3db01c22a
commit 650f10dca3

View file

@ -8,6 +8,7 @@
# - remove wine makedepend and optdepend
# - remove carla makedepend
# - remove -DWINE_INCLUDE_DIR and -DWINE_LIBRARY from cmake command
# - upstream rpmalloc fix for ARM
_pkgver=1.2.0-rc7
pkgname=lmms
@ -25,10 +26,12 @@ makedepends=('cmake' 'doxygen' 'extra-cmake-modules' 'freetype2' 'git'
optdepends=('pulseaudio: pulseaudio support')
source=("git+https://github.com/${pkgname}/${pkgname}.git#tag=v${_pkgver}"
'git+https://github.com/Lukas-W/qt5-x11embed.git'
'git+https://github.com/rampantpixels/rpmalloc.git')
'git+https://github.com/rampantpixels/rpmalloc.git'
'https://github.com/rampantpixels/rpmalloc/commit/1c580b394e1a20e63d63c72cad421f7be4422089.patch')
sha512sums=('SKIP'
'SKIP'
'SKIP')
'SKIP'
'95b8df46fbb1194d30ba9dd34e7b0325590c63a1a2f34730fa62c00fea1a75e728733ee3c287ed2b31150e66aa18e170fe4725a0e7cad2518039a19b12dc389c')
prepare() {
mv -v "${pkgname}" "${pkgname}-${pkgver}"
@ -42,6 +45,8 @@ prepare() {
sed -e 's|lib64|lib|g' -i cmake/modules/DetectMachine.cmake
# setting proper DESTDIR based install path for bash-completion
sed -e 's/\(${BASHCOMP_USER\)/\\$DESTDIR\1/g' -i cmake/modules/BashCompletion.cmake
# upstream rpmalloc fix for ARM
patch -p1 -d src/3rdparty/rpmalloc/rpmalloc -i "${srcdir}/1c580b394e1a20e63d63c72cad421f7be4422089.patch"
}
build() {