[arch-commits] Commit in lmms/repos (2 files)

David Runge dvzrv at archlinux.org
Sat Jan 5 20:13:56 UTC 2019


    Date: Saturday, January 5, 2019 @ 20:13:55
  Author: dvzrv
Revision: 420691

archrelease: copy trunk to community-testing-x86_64

Added:
  lmms/repos/community-testing-x86_64/
  lmms/repos/community-testing-x86_64/PKGBUILD
    (from rev 420690, lmms/trunk/PKGBUILD)

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

Copied: lmms/repos/community-testing-x86_64/PKGBUILD (from rev 420690, lmms/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-01-05 20:13:55 UTC (rev 420691)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Storyteller <spiralsorrow at hotmail.com>
+
+_pkgver=1.2.0-rc7
+pkgname=lmms
+pkgver=${_pkgver/-}
+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' '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=("git+https://github.com/${pkgname}/${pkgname}.git#tag=v${_pkgver}"
+        'git+https://github.com/Lukas-W/qt5-x11embed.git'
+        'git+https://github.com/rampantpixels/rpmalloc.git')
+sha512sums=('SKIP'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  mv -v "${pkgname}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  mkdir -vp build
+  git submodule init
+  git config submodule.src/3rdparty/qt5-x11embed.url "${srcdir}/qt5-x11embed"
+  git config submodule.src/3rdparty/rpmalloc.url "${srcdir}/rpmalloc"
+  git submodule update
+  # setting lib dir
+  sed -e 's|lib64|lib|g' -i cmake/modules/DetectMachine.cmake
+  # setting proper DESTDIR based install path for bash-completion
+  sed -e 's/\(${BASHCOMP_USER\)/\\$DESTDIR\1/g' -i cmake/modules/BashCompletion.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
+}


More information about the arch-commits mailing list