Date: Saturday, July 14, 2018 @ 15:09:26 Author: dvzrv Revision: 359151
upgpkg: rosegarden 18.06-1 Upgrading to 18.06. Removing unneeded depends. Adding and describing further optdepends. Adding tests. Modified: rosegarden/trunk/PKGBUILD ----------+ PKGBUILD | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-07-14 15:07:30 UTC (rev 359150) +++ PKGBUILD 2018-07-14 15:09:26 UTC (rev 359151) @@ -6,7 +6,7 @@ # Contributor: Robert Emil Berge <[email protected]> pkgname=rosegarden -pkgver=17.12.1 +pkgver=18.06 pkgrel=1 pkgdesc="MIDI/audio sequencer and notation editor" arch=('x86_64') @@ -13,29 +13,43 @@ url="https://www.rosegardenmusic.com/" license=('GPL2') groups=('pro-audio') -depends=('liblrdf' 'dssi' 'fftw' 'lirc' - 'hicolor-icon-theme' 'qt5-base' 'shared-mime-info' 'liblo') -makedepends=('imake' 'cmake' 'qt5-tools') -optdepends=('lilypond: notation display' - 'cups: printing support' - 'okular: print preview, or any other PDF viewer' - 'timidity++: MIDI playback, or any other softsynth' - 'flac' - 'wavpack') +depends=('fftw' 'jack' 'liblrdf' 'liblo' 'lirc' 'hicolor-icon-theme' 'qt5-base') +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' + 'timidity++: Softsynth support' + 'flac: FLAC support' + 'wavpack: Lossless audio codec support') source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -sha512sums=('8bd4a464bbf2825d6c2fb8d36123e68d94de7f4e997c6ed8efc5670e87799781eb8251995890979c9d107d4fc58c636fe73e699c859c8e95aa567c4289958495') +sha512sums=('7ab9c677484c1518457db21091bc612071556e9002c6132e0b4fa7aa5c970f45f130a1a68333a184de895f5912b4229b2bbbcf0f508d6cff1eaec6b7ac599ca9') +prepare() { + cd "${pkgname}-${pkgver}" + mkdir -p build +} + build() { - cd "${pkgname}-${pkgver}" - cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr + cd "${pkgname}-${pkgver}/build" + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr make } +check() { + cd "${pkgname}-${pkgver}/build" + make test +} + package() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}/build" make DESTDIR="$pkgdir" install install -t "${pkgdir}/usr/share/doc/${pkgname}" \ - -vDm644 {AUTHORS,README} + -vDm 644 ../{AUTHORS,README} } # vim:set ts=2 sw=2 et:
