Date: Tuesday, May 26, 2020 @ 19:04:03 Author: arojas Revision: 635182
archrelease: copy trunk to community-staging-x86_64 Added: lmms/repos/community-staging-x86_64/ lmms/repos/community-staging-x86_64/PKGBUILD (from rev 635181, lmms/trunk/PKGBUILD) ----------+ PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) Copied: lmms/repos/community-staging-x86_64/PKGBUILD (from rev 635181, lmms/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-05-26 19:04:03 UTC (rev 635182) @@ -0,0 +1,52 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Shinlun Hsieh <yngwi...@yahoo.com.tw> +# Contributor: Mateusz Herych <heni...@gmail.com> +# Contributor: Storyteller <spiralsor...@hotmail.com> + +pkgname=lmms +pkgver=1.2.1 +pkgrel=4 +pkgdesc='The Linux MultiMedia Studio' +arch=('x86_64') +url="https://lmms.io" +license=('GPL2') +groups=('pro-audio') +depends=('alsa-lib' 'fftw' 'fltk' 'fluidsynth' 'gcc-libs' 'glibc' 'lame' +'libgig.so' 'libogg' 'libportaudio.so' 'libpulse' 'libsamplerate' 'libsndfile' +'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so' 'libx11' 'qt5-base' +'qt5-x11extras' 'sdl' 'stk') +makedepends=('carla' 'cmake' 'doxygen' 'extra-cmake-modules' 'freetype2' +'ladspa' 'qt5-tools' 'wine') +optdepends=('pulseaudio: pulseaudio support' + 'wine: VST plugin support') +source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}_${pkgver}.tar.xz") +sha512sums=('7054d1592fdea60d76423a0260e941c217f50d2db9c4fcc35df20c8b58067c431ed9b264ef05e9f3f2cba84ca66870d1bf23da92b294a00ac6d567e3d3e771d6') + +prepare() { + cd "${pkgname}-${pkgver}" + mkdir -vp build + # setting lib dir + sed -e 's|lib64|lib|g' -i cmake/modules/DetectMachine.cmake +} + +build() { + cd "${pkgname}-${pkgver}/build" + export LDFLAGS="${LDFLAGS}" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_QT5=ON \ + -DWANT_SOUNDIO=OFF \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_MODULE_PATH=/usr/share/ECM/find-modules \ + -DCMAKE_PREFIX_PATH=/usr/include/wine/windows \ + -DWINE_INCLUDE_DIR=/usr/include/wine/windows \ + -DWINE_LIBRARY=/usr/lib32/wine \ + -DOpenGL_GL_PREFERENCE=GLVND \ + .. + make +} + +package() { + cd "${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install +}