lmms: add sndio option

This commit is contained in:
Christian Buschau 2019-01-25 15:00:12 +01:00 committed by maxice8
parent 16174a8676
commit 0860dc5289

View File

@ -1,7 +1,7 @@
# Template file for 'lmms'
pkgname=lmms
version=1.2.0rc7
revision=1
revision=2
wrksrc="lmms-${version/r/-r}"
_x11embed_commit=022b39a1d496d72eb3e5b5188e5559f66afca957
_rpmalloc_version=1.3.1
@ -12,7 +12,7 @@ hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules"
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"
$(vopt_if sndio sndio-devel)"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Cross-platform music production software"
maintainer="Logen K. <logen@sudotask.com>"
@ -25,6 +25,9 @@ checksum="2efba2eda8ec3030ff6d446fd7bbe2245b38472f60c622b9e41053b1981fd592
06159c71a5eeba5662bfb309d215e733f310c2699c8c1de83297d32d13a510bc
9bc0013a0bf8c01540821e84fef0cef067f1d857a01ceceac36f83bd6fedc106"
build_options="sndio"
build_options_default="sndio"
post_extract() {
[ -d "${wrksrc}/../qt5-x11embed-${_x11embed_commit}" ] &&
rm -rf src/3rdparty/qt5-x11embed &&