39 lines
1.7 KiB
Bash
39 lines
1.7 KiB
Bash
# Template file for 'lmms'
|
|
pkgname=lmms
|
|
version=1.2.0rc7
|
|
revision=2
|
|
wrksrc="lmms-${version/r/-r}"
|
|
_x11embed_commit=022b39a1d496d72eb3e5b5188e5559f66afca957
|
|
_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"
|
|
#missing optional depend libstk for STK instruments plugins
|
|
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
|
|
$(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>"
|
|
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_version}.tar.gz"
|
|
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 &&
|
|
mv "${wrksrc}/../qt5-x11embed-${_x11embed_commit}" src/3rdparty/qt5-x11embed
|
|
[ -d "${wrksrc}/../rpmalloc-${_rpmalloc_version}" ] &&
|
|
rm -rf src/3rdparty/rpmalloc/rpmalloc &&
|
|
mv "${wrksrc}/../rpmalloc-${_rpmalloc_version}" src/3rdparty/rpmalloc/rpmalloc
|
|
}
|