Date: Wednesday, June 19, 2019 @ 12:41:54
  Author: arojas
Revision: 482358

archrelease: copy trunk to community-staging-x86_64

Added:
  lmms/repos/community-staging-x86_64/
  lmms/repos/community-staging-x86_64/PKGBUILD
    (from rev 482357, lmms/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: lmms/repos/community-staging-x86_64/PKGBUILD (from rev 482357, 
lmms/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-19 12:41:54 UTC (rev 482358)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <d...@sleepmap.de>
+# 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.0
+pkgrel=2
+pkgdesc='The Linux MultiMedia Studio'
+arch=('x86_64')
+url="https://lmms.io";
+license=('GPL2')
+groups=('pro-audio')
+depends=('fftw' 'fltk' 'fluidsynth' 'lame' 'libgig' 'libsamplerate'
+'qt5-x11extras' 'sdl' 'stk')
+makedepends=('carla' 'cmake' 'doxygen' 'extra-cmake-modules' 'freetype2' 'git'
+'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=('7d3476fbcbda49d75efee4161f6478656e38a517b6a3b24740ea354e223fba51210f45ff74b46fd1ac73fc6e65409226088b12e29558c91eb818da58734ab6cf')
+
+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 \
+        ..
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}

Reply via email to