[arch-commits] Commit in stk/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Jul 9 07:27:15 UTC 2020


    Date: Thursday, July 9, 2020 @ 07:27:14
  Author: dvzrv
Revision: 661794

upgpkg: stk 4.6.1-3: Rebuilding with proper provides.

As the provided shared object is not at all stable we need to pin the provides using the pkgver.
When only using libstk.so in provides the architecture and version is not tracked.
Adding all sodeps in package() and moving the respective packages to makedepends.

Modified:
  stk/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 06:24:32 UTC (rev 661793)
+++ PKGBUILD	2020-07-09 07:27:14 UTC (rev 661794)
@@ -5,17 +5,17 @@
 
 pkgname=stk
 pkgver=4.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('x86_64')
 url='https://ccrma.stanford.edu/software/stk/'
 license=('MIT')
-depends=('alsa-lib' 'gcc-libs' 'glibc' 'libjack.so')
-makedepends=('doxygen')
+depends=('gcc-libs' 'glibc')
+makedepends=('alsa-lib' 'doxygen' 'jack')
 optdepends=('tk: run provided demos/samples')
 # CAUTION: introduces soname change on *every* release:
 # https://github.com/thestk/stk/issues/89
-provides=('libstk.so')
+provides=("libstk-${pkgver}.so")
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/${pkgver}.tar.gz")
 sha512sums=('61d4db7b4a45446e231dedc13e139cb488e2ce805278f0b20aa95e69ddb1fa9be549ab5f1fe24c69aa865ebc2940d5fba6e3819a1a7fb1d68e236131fcfb4cac')
 
@@ -26,8 +26,8 @@
 
 build() {
   cd "$pkgname-$pkgver"
-  ./configure RAWWAVE_PATH=/usr/share/${pkgname}/rawwaves/ \
-              --prefix=/usr \
+  export RAWWAVE_PATH="/usr/share/${pkgname}/rawwaves/"
+  ./configure --prefix=/usr \
               --enable-shared \
               --with-alsa \
               --with-jack
@@ -38,6 +38,7 @@
 }
 
 package() {
+  depends+=('libasound.so' 'libjack.so')
   cd "$pkgname-$pkgver"
 
   make DESTDIR="${pkgdir}" install



More information about the arch-commits mailing list