[arch-commits] Commit in rosegarden/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Dec 12 17:02:01 UTC 2019


    Date: Thursday, December 12, 2019 @ 17:02:00
  Author: dvzrv
Revision: 537407

upgpkg: rosegarden 19.12-1

Upgrading to 19.12. Updating maintainer info.
Adding all direct library dependencies. Removing dssi-plugins and ladspa-plugins from optdepends (they are groups).
Adding dssi-host and ladspa-host to provides. Simplifying the cmake setup.

Modified:
  rosegarden/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-12 16:18:09 UTC (rev 537406)
+++ PKGBUILD	2019-12-12 17:02:00 UTC (rev 537407)
@@ -1,4 +1,4 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: Ray Rashif <schiv at archlinux.org>
 # Contributor: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
@@ -5,7 +5,7 @@
 # Contributor: Robert Emil Berge <robert at rebi.no>
 
 pkgname=rosegarden
-pkgver=19.06
+pkgver=19.12
 pkgrel=1
 pkgdesc="MIDI/audio sequencer and notation editor"
 arch=('x86_64')
@@ -12,13 +12,12 @@
 url="https://www.rosegardenmusic.com/"
 license=('GPL2')
 groups=('pro-audio')
-depends=('desktop-file-utils' 'fftw' 'jack' 'liblrdf' 'liblo' 'lirc'
-'hicolor-icon-theme' 'qt5-base')
+depends=('alsa-lib' 'desktop-file-utils' 'fftw' 'gcc-libs' 'glibc' 'libjack.so'
+'liblrdf.so' 'liblo.so' 'libsamplerate' 'libsndfile' 'lirc'
+'hicolor-icon-theme' 'qt5-base' 'zlib')
 makedepends=('cmake' 'dssi' 'imake' 'ladspa' 'qt5-tools')
 optdepends=('cups: Printing support'
-            'dssi-plugins: DSSI plugin support'
             'evince: Print preview support'
-            'ladspa-plugins: LADSPA plugin support'
             'lilypond: Notation display support'
             'mupdf: Print preview support'
             'okular: Print preview support'
@@ -25,31 +24,27 @@
             'timidity++: Softsynth support'
             'flac: FLAC support'
             'wavpack: Lossless audio codec support')
+provides=('dssi-host' 'ladspa-host')
 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('13eddd4ec88662f3275d83bf40471ca0a34d43b3c9c9f07cf46b891c74f087ec7fe0d4b8ffe8204f2f3a30829352f4d952bb035a5bd09a7b6bdeb41ff5d1e8d8')
+sha512sums=('22c45346b1a4d69f009e59091bdf5f5f68633241a48df7bd6ee73462cc281ee7182be3d48c3afc0843aa551145c203a8b881501891eb84b6d3f3def5f7650fc6')
 
-prepare() {
+build() {
   cd "${pkgname}-${pkgver}"
-  mkdir -p build
-}
-
-build() {
-  cd "${pkgname}-${pkgver}/build"
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        ..
-  make
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
 }
 
 check() {
-  cd "${pkgname}-${pkgver}/build"
-  make test
+  cd "${pkgname}-${pkgver}"
+  make test -C build
 }
 
 package() {
-  cd "${pkgname}-${pkgver}/build"
-  make DESTDIR="$pkgdir" install
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 ../{AUTHORS,README}
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install -C build
+  install -vDm 644 {AUTHORS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
-
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list