[arch-commits] Commit in linuxsampler/trunk (PKGBUILD license.txt)
David Runge
dvzrv at archlinux.org
Mon Jul 29 10:10:09 UTC 2019
Date: Monday, July 29, 2019 @ 10:10:09
Author: dvzrv
Revision: 494550
upgpkg: linuxsampler 2.1.1-1
Upgrading to 2.1.1/ rebuilding against libgig 4.2.0. Running autoreconf in prepare(). Adding docs. Removing custom license addition, as it's only stated on website, but not in tarball, so the tarball *is GPL2*.
Modified:
linuxsampler/trunk/PKGBUILD
Deleted:
linuxsampler/trunk/license.txt
-------------+
PKGBUILD | 48 +++++++++++++++++++++++-------------------------
license.txt | 7 -------
2 files changed, 23 insertions(+), 32 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-29 10:10:05 UTC (rev 494549)
+++ PKGBUILD 2019-07-29 10:10:09 UTC (rev 494550)
@@ -1,26 +1,30 @@
# Maintainer: David Runge <dave at sleepmap.de>
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
# Contributor: svoufff <svoufff at gmail dot com>
# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
pkgname=linuxsampler
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.1.1
+pkgrel=1
pkgdesc="Professional-grade audio sampler alternative to Gigasampler"
arch=('x86_64')
url="https://www.linuxsampler.org/"
-license=('custom')
+license=('GPL2')
groups=('pro-audio')
depends=('libgig' 'jack' 'sqlite')
makedepends=('ladspa' 'dssi' 'lv2')
-source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2"
- 'license.txt')
-sha512sums=('503db074437b07e3e8dc8d1cb0aa3a510a62d183148157c1a4757681a4319e531bd6a1486a83c0ab9721dde82e27306150f3be87476c9298b2335438670e19a7'
- '245005dbd182291d9b47c5f22bb14b1d4f42b63d5dd05498521491697fefa9ae8faa3bbc899f4ac4a3ed7dfda3222bb85fc1934705b4cae7108e427f377a78c9')
+source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('3f172efe40bbe130a2ac09f9393a46a30cc327a6754a80fdb36e65276518ec82befa2075acc567ccd99c22d9859c1a65f58ff2ad7af70cd9e4649ae14fd5357c')
+prepare(){
+ cd "${pkgname}-${pkgver}"
+ autoreconf -vfi
+ # creating a ld.so.conf entry for linuxsampler.so
+ echo "/usr/lib/${pkgname}" > "${pkgname}.conf"
+}
+
build() {
cd "${pkgname}-${pkgver}"
-
./configure --prefix=/usr
make
}
@@ -27,23 +31,17 @@
package() {
cd "${pkgname}-${pkgver}"
-
make DESTDIR="${pkgdir}" install
-
- # install GPL exception statement
- install -vDm 644 "${srcdir}/license.txt" \
- "${pkgdir}/usr/share/licenses/${pkgname}/GPL-EXCEPTION"
-
- # lscp files conflict with nilfs-utils
- # see https://bugs.archlinux.org/task/45827
- mv "${pkgdir}/usr/bin/lscp" "${pkgdir}/usr/bin/lscp-${pkgname}"
- mv "$pkgdir/usr/share/man/man1/lscp.1" \
+ # docs
+ install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ # adding linuxsampler.so library path to ld.so.conf (required for dependants
+ # during runtime)
+ install -vDm 644 "${pkgname}.conf" -t "${pkgdir}/etc/ld.so.conf.d/"
+ # 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"
-
- # fix linking of /usr/lib/linuxsampler/liblinuxsampler.so.5.0.0
- install -d "${pkgdir}/etc/ld.so.conf.d"
- echo "/usr/lib/${pkgname}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
-
}
-
# vim:set ts=2 sw=2 et:
Deleted: license.txt
===================================================================
--- license.txt 2019-07-29 10:10:05 UTC (rev 494549)
+++ license.txt 2019-07-29 10:10:09 UTC (rev 494550)
@@ -1,7 +0,0 @@
-LinuxSampler is licensed under the GNU GPL with the exception that
-USAGE of the source code, libraries and applications
-FOR COMMERCIAL HARDWARE OR SOFTWARE PRODUCTS IS NOT ALLOWED without
-prior written permission by the LinuxSampler authors.
-
-If you have questions on the subject, that are not yet covered by
-the FAQ, please contact us.
More information about the arch-commits
mailing list