Date: Thursday, July 9, 2020 @ 08:08:31 Author: dvzrv Revision: 661799
archrelease: copy trunk to community-staging-x86_64 Added: lmms/repos/community-staging-x86_64/ lmms/repos/community-staging-x86_64/PKGBUILD (from rev 661798, lmms/trunk/PKGBUILD) ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) Copied: lmms/repos/community-staging-x86_64/PKGBUILD (from rev 661798, lmms/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-07-09 08:08:31 UTC (rev 661799) @@ -0,0 +1,56 @@ +# 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.2 +pkgrel=1 +pkgdesc='The Linux MultiMedia Studio' +arch=('x86_64') +url="https://lmms.io" +license=('GPL2') +groups=('pro-audio') +depends=('gcc-libs' 'glibc' 'lame' 'libx11' 'libxcb' 'qt5-base' 'qt5-x11extras' +'sdl' 'sndio' 'zlib') +makedepends=('alsa-lib' 'bash-completion' 'carla' 'cmake' 'doxygen' +'extra-cmake-modules' 'fftw' 'fltk' 'fluidsynth' 'freetype2' 'jack' 'ladspa' 'libgig' +'libogg' 'libpulse' 'libsamplerate' 'libsndfile' 'libvorbis' 'portaudio' +'qt5-tools' 'stk' 'wine') +optdepends=('pulseaudio: pulseaudio support' + 'wine: VST plugin support') +source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}_${pkgver}.tar.xz") +sha512sums=('df74d9e938f1c3807e9941b11db4ccfe9450e23b723c82774de15b7666ac39f1bfdd8519231e28849f994628190ecc92fa05d55bbc0b50a4421f2d183e729028') +b2sums=('8b561068194e9a4af8260675e784c25a92b6b2f731c29b677cbc16581306bbadcf27ea529adbcd735ff4adffedf3dd98ec7b2d89428a63ea600d022ecdae58e4') + +prepare() { + mv -v "${pkgname}" "${pkgname}-${pkgver}" +} + +build() { + cd "${pkgname}-${pkgver}" + export LDFLAGS="${LDFLAGS}" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE='None' \ + -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 \ + -W no-dev \ + -B build \ + -S . + make VERBOSE=1 -C build +} + +package() { + depends+=('libasound.so' 'libfftw3f.so' 'libfltk.so' 'libfluidsynth.so' + 'libgig.so' 'libogg.so' 'libportaudio.so' 'libpulse.so' 'libstk-4.6.1.so' + 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so' 'libsamplerate.so') + cd "${pkgname}-${pkgver}" + make VERBOSE=1 DESTDIR="${pkgdir}" install -C build +}