[arch-commits] Commit in yoshimi/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Jan 18 18:34:49 UTC 2020
Date: Saturday, January 18, 2020 @ 18:34:49
Author: dvzrv
Revision: 553050
upgpkg: yoshimi 1.7.0-1: Upgrading to 1.7.0. Moving all standalone dependencies to makedepends/optdepends and using library representation wherever possible.
Modified:
yoshimi/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++++++++++---------------
1 file changed, 23 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-18 17:51:49 UTC (rev 553049)
+++ PKGBUILD 2020-01-18 18:34:49 UTC (rev 553050)
@@ -2,37 +2,45 @@
# Contributor: David Adler <d dot adler aet posteo dot de>
pkgname=yoshimi
-pkgver=1.6.1
-pkgrel=2
+pkgver=1.7.0
+pkgrel=1
pkgdesc="A sophisticated soft-synth originally forked from ZynAddSubFX"
arch=('x86_64')
url="https://yoshimi.github.io/"
license=('GPL2')
groups=('pro-audio')
-depends=('alsa-lib' 'cairo' 'fftw' 'fltk' 'gcc-libs' 'glibc' 'libjack.so'
-'libmxml.so' 'libncursesw.so' 'libreadline.so' 'zlib')
-makedepends=('cmake' 'lv2' 'mesa')
+depends=('cairo' 'fftw' 'fltk' 'gcc-libs' 'glibc'
+'libmxml.so' 'zlib')
+makedepends=('cmake' 'libasound.so' 'libjack.so' 'libreadline.so'
+'libncursesw.so' 'lv2')
+# checkdepends=('lv2lint')
+optdepends=('libasound.so: for standalone application'
+ 'libjack.so: for standalone application'
+ 'libreadline.so: for standalone application'
+ 'libncursesw.so: for standalone application')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('dd632eedadfeb89e5e4a41e12455fe5523f2d01c1b687a08f0f7c2696a16d09d1d6f017969828741543ee8c2a507164115b985d9cf9727c155180dbe6680e0c1')
+sha512sums=('a370bb8b5c0969ba1b220df3c54521445265fff195b0152fc4080960cfbfcff1d897dc855157fa1767e0cd4a3bf1ac04325ea52f9dc3df95a341f05a2787759d')
-prepare() {
- cd "${pkgname}-${pkgver}"
- mkdir -vp build
-}
-
build() {
cd "${pkgname}-${pkgver}"
- cmake -B build\
- -DCMAKE_INSTALL_PREFIX='/usr' \
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_DATAROOTDIR='/usr/share' \
-DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -B build\
src
- make -C build
+ make VERBOSE=1 -C build
}
+# lv2 plugin requires banks to be in some absolute location to be tested
+# check() {
+# cd "${pkgname}-${pkgver}"
+# cp -v build/LV2_Plugin/${pkgname}_lv2.so src/LV2_Plugin/
+# LV2_PATH="${PWD}/src/" lv2lint "http://yoshimi.sourceforge.net/lv2_plugin"
+# }
+
package() {
cd "${pkgname}-${pkgver}"
- make -C build DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" VERBOSE=1 -C build install
install -vDm 644 {Changelog,Dependencies,README.txt,Yoshimi_Helpers} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
}
More information about the arch-commits
mailing list