Date: Wednesday, June 2, 2021 @ 21:29:03 Author: dvzrv Revision: 953458
archrelease: copy trunk to community-staging-x86_64 Added: linuxsampler/repos/community-staging-x86_64/ linuxsampler/repos/community-staging-x86_64/PKGBUILD (from rev 953457, linuxsampler/trunk/PKGBUILD) linuxsampler/repos/community-staging-x86_64/linuxsampler-2.2.0-libgig_package.patch (from rev 953457, linuxsampler/trunk/linuxsampler-2.2.0-libgig_package.patch) -----------------------------------------+ PKGBUILD | 52 ++++++++++++++++++++++++++++++ linuxsampler-2.2.0-libgig_package.patch | 12 ++++++ 2 files changed, 64 insertions(+) Copied: linuxsampler/repos/community-staging-x86_64/PKGBUILD (from rev 953457, linuxsampler/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-02 21:29:03 UTC (rev 953458) @@ -0,0 +1,52 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Ray Rashif <sc...@archlinux.org> +# Contributor: svoufff <svoufff at gmail dot com> +# Contributor: Shinlun Hsieh <yngwi...@yahoo.com.tw> + +pkgname=linuxsampler +pkgver=2.2.0 +pkgrel=1 +pkgdesc="Professional-grade audio sampler alternative to Gigasampler" +arch=('x86_64') +url="https://www.linuxsampler.org/" +license=('GPL2') +groups=('pro-audio') +depends=('alsa-lib' 'libasound.so' 'gcc-libs' 'glibc' 'libgig' 'libgig.so' +'jack' 'libjack.so' 'libsndfile' 'libsndfile.so' 'sqlite') +makedepends=('clang' 'dssi' 'ladspa' 'lv2') +optdepends=('dssi-host: for DSSI plugin' + 'lv2-host: for LV2 plugin') +provides=('liblinuxsampler.so') +source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2" + "${pkgname}-2.2.0-libgig_package.patch") +sha512sums=('9015bb8d3af125e13c5c2ef3ae2d3987f7b7dda72e238cff25e622a3291019f5e392195dd27e7e783c70d877d9b267915fc443369eb17117e5eb7c54b8496c68' + '84c5e2a322783e33e83aa319466c5e49f32d4b5175f63515df7857ddcdb9d2a3a11afde376b77d1f18c474ab341d42d2d1e018ab2525971b680fe36abbd221d1') +b2sums=('9650938d0aace876e817884121b824713dd2f747505344d7895e7d99da62f2214fb4c4bf43c398f4e486202e23e7a57288e19734e8c565a917d823169deb717a' + '599ff6db7c87c4c4ee2306f62c6bec2a612d3c556c371a660430d09c93cda7b0b951f78e742d679407215fabb60939619fc9edcbf3813bf1665a9ee5fe0ddf95') + +prepare(){ + cd "${pkgname}-${pkgver}" + # fix generation of instruments in package() + patch -Np1 -i ../"${pkgname}-2.2.0-libgig_package.patch" + autoreconf -vfi +} + +build() { + cd "${pkgname}-${pkgver}" + CXX=clang++ CC=clang ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + # docs + install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" + # lscp files conflict with nilfs-utils: + # https://bugs.archlinux.org/task/45827 + mv -v "${pkgdir}/usr/bin/lscp" "${pkgdir}/usr/bin/lscp-${pkgname}" + mv -v "$pkgdir/usr/share/man/man1/lscp.1" \ + "${pkgdir}/usr/share/man/man1/lscp-${pkgname}.1" +} +# vim:set ts=2 sw=2 et: Copied: linuxsampler/repos/community-staging-x86_64/linuxsampler-2.2.0-libgig_package.patch (from rev 953457, linuxsampler/trunk/linuxsampler-2.2.0-libgig_package.patch) =================================================================== --- community-staging-x86_64/linuxsampler-2.2.0-libgig_package.patch (rev 0) +++ community-staging-x86_64/linuxsampler-2.2.0-libgig_package.patch 2021-06-02 21:29:03 UTC (rev 953458) @@ -0,0 +1,12 @@ +diff -ruN a/Makefile.am b/Makefile.am +--- a/Makefile.am 2016-04-20 17:22:58.000000000 +0200 ++++ b/Makefile.am 2021-06-02 23:21:56.230175969 +0200 +@@ -32,7 +32,7 @@ + echo "*** LinuxSampler was compiled with instruments DB support and"; \ + echo "*** $(DESTDIR)/var/lib/linuxsampler/instruments.db"; \ + echo "*** doesn't exist yet, creating it now:"; \ +- mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \ ++ mkdir -p $(DESTDIR)/var/lib/linuxsampler && LD_LIBRARY_PATH="/usr/lib/libgig/:/usr/lib/" ./src/linuxsampler \ + --create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \ + fi + endif