[arch-commits] Commit in yoshimi/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Aug 17 15:25:27 UTC 2020
Date: Monday, August 17, 2020 @ 15:25:26
Author: dvzrv
Revision: 682702
upgpkg: yoshimi 1.7.2-1: Upgrade to 1.7.2.
Open upstream ticket about being unable to use lv2lint on the lv2 plugin.
Remove upstreamed patch.
Add all sodeps in package() and their respective packages to makedepends.
Minor cleanup.
Modified:
yoshimi/trunk/PKGBUILD
----------+
PKGBUILD | 42 +++++++++++++++++++-----------------------
1 file changed, 19 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-17 15:24:59 UTC (rev 682701)
+++ PKGBUILD 2020-08-17 15:25:26 UTC (rev 682702)
@@ -2,33 +2,25 @@
# Contributor: David Adler <d dot adler aet posteo dot de>
pkgname=yoshimi
-pkgver=1.7.1
-pkgrel=2
+pkgver=1.7.2
+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=('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"
- "${pkgname}-1.7.1-lv2-1.8.0.patch::https://github.com/Yoshimi/yoshimi/commit/4bb8bfe9f9f40dd53f9a3098f8f87ad993147935.patch")
-sha512sums=('d422c08caa6bf20665442b2d88fc4ccc41b881d719d5150d1cd3d2617f2216b18c112107c5723cb1077da0ba2278a3eb2db0a8dda4ce3c6315e3875cbfaf421c'
- '206e0302d45dd36102adda295f533777913c76e7e53c7151ac796185590ebbd010a23f1b97d5a23d09b59d4ff207eda46234f3bd3e348992267b6e9e1234e1d3')
+depends=('cairo' 'gcc-libs' 'glibc' 'zlib')
+makedepends=('alsa-lib' 'cmake' 'fftw' 'fltk' 'jack' 'lv2' 'mxml' 'ncurses'
+'readline')
+checkdepends=('lv2lint')
+optdepends=('alsa-lib: for standalone application'
+ 'jack: for standalone application'
+ 'readline: for standalone application'
+ 'ncurses: for standalone application')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('7a52dd847cfd19c6b7cb802f181baaa291e73b52f8243e34f9899651f003779b402a20281995ce24f2335570191f6973c2bafb58a5093eba868033b6b9dd4fd9')
+b2sums=('e330e2d22117bbed2c2054efabf852aa67141a40539ca96e2df7c88cedabb445214f2d79c0f681b68d70b8c832b7bb7852d44442d3f6b1e4183fd2297768b0ca')
-prepare() {
- cd "${pkgname}-${pkgver}"
- # fix compatibility with lv2 >= 1.18.0
- patch -Np1 -i "../${pkgname}-1.7.1-lv2-1.8.0.patch"
-}
-
build() {
cd "${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX='/usr' \
@@ -41,14 +33,18 @@
make VERBOSE=1 -C build
}
-# lv2 plugin requires banks to be in some absolute location to be tested
+# # lv2 plugin requires banks to be in some absolute location to be tested
+# # https://github.com/Yoshimi/yoshimi/issues/110
# 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"
+# lv2lint -Mpack -I src/LV2_Plugin/ "http://yoshimi.sourceforge.net/lv2_plugin"
+# rm -v src/LV2_Plugin/${pkgname}_lv2.so
# }
package() {
+ depends+=('libasound.so' 'libfftw3f.so' 'libfltk.so' 'libfltk_images.so'
+ 'libjack.so' 'libmxml.so' 'libncursesw.so' 'libreadline.so')
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" VERBOSE=1 -C build install
install -vDm 644 {Changelog,Dependencies,README.txt,Yoshimi_Helpers} \
More information about the arch-commits
mailing list