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

2020-07-09 Thread David Runge via arch-commits
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
===
--- PKGBUILD2020-07-09 06:24:32 UTC (rev 661793)
+++ PKGBUILD2020-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


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

2019-11-13 Thread David Runge via arch-commits
Date: Wednesday, November 13, 2019 @ 22:01:43
  Author: dvzrv
Revision: 527195

upgpkg: stk 4.6.1-2

Updating maintainer info. Adding all direct library dependencies. Adding 
libstk.so provides.

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |   11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 21:59:00 UTC (rev 527194)
+++ PKGBUILD2019-11-13 22:01:43 UTC (rev 527195)
@@ -1,20 +1,21 @@
 # Maintainer: Lukas Fleischer 
-# Contributor: David Runge 
+# Contributor: David Runge 
 # Contributor: Ray Rashif 
 # Contributor: Mateusz Herych 
 
 pkgname=stk
-# CAUTION: introduces soname change on *every* release:
-# https://github.com/thestk/stk/issues/89
 pkgver=4.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('x86_64')
 url='https://ccrma.stanford.edu/software/stk/'
 license=('MIT')
-depends=('jack')
+depends=('alsa-lib' 'gcc-libs' 'glibc' 'libjack.so')
 makedepends=('doxygen')
 optdepends=('tk: run provided demos/samples')
+# CAUTION: introduces soname change on *every* release:
+# https://github.com/thestk/stk/issues/89
+provides=('libstk.so')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/${pkgver}.tar.gz;)
 
sha512sums=('61d4db7b4a45446e231dedc13e139cb488e2ce805278f0b20aa95e69ddb1fa9be549ab5f1fe24c69aa865ebc2940d5fba6e3819a1a7fb1d68e236131fcfb4cac')
 


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

2019-04-18 Thread David Runge via arch-commits
Date: Thursday, April 18, 2019 @ 19:56:03
  Author: dvzrv
Revision: 451994

upgpkg: stk 4.6.1-1

Upgrading to 4.6.1. Switching to github for sources, compiling documentation 
with doxygen. Informing upstream about their horrible soname versioning.

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-18 16:53:42 UTC (rev 451993)
+++ PKGBUILD2019-04-18 19:56:03 UTC (rev 451994)
@@ -4,16 +4,19 @@
 # Contributor: Mateusz Herych 
 
 pkgname=stk
-pkgver=4.6.0
-pkgrel=2
+# CAUTION: introduces soname change on *every* release:
+# https://github.com/thestk/stk/issues/89
+pkgver=4.6.1
+pkgrel=1
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('x86_64')
 url='https://ccrma.stanford.edu/software/stk/'
 license=('MIT')
 depends=('jack')
+makedepends=('doxygen')
 optdepends=('tk: run provided demos/samples')
-source=("https://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;)
-md5sums=('7c0880985023d629036d221f464a070e')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thestk/${pkgname}/archive/${pkgver}.tar.gz;)
+sha512sums=('61d4db7b4a45446e231dedc13e139cb488e2ce805278f0b20aa95e69ddb1fa9be549ab5f1fe24c69aa865ebc2940d5fba6e3819a1a7fb1d68e236131fcfb4cac')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -29,6 +32,8 @@
   --with-jack
   make
   make -C projects/demo
+  cd doc/doxygen
+  doxygen
 }
 
 package() {


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

2019-02-06 Thread David Runge via arch-commits
Date: Wednesday, February 6, 2019 @ 20:45:51
  Author: dvzrv
Revision: 429755

Switching to https for url.

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-06 20:42:32 UTC (rev 429754)
+++ PKGBUILD2019-02-06 20:45:51 UTC (rev 429755)
@@ -8,7 +8,7 @@
 pkgrel=2
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('x86_64')
-url='http://ccrma.stanford.edu/software/stk/'
+url='https://ccrma.stanford.edu/software/stk/'
 license=('MIT')
 depends=('jack')
 optdepends=('tk: run provided demos/samples')


[arch-commits] Commit in stk/trunk (PKGBUILD runtime.patch stk.license)

2018-10-18 Thread David Runge via arch-commits
Date: Thursday, October 18, 2018 @ 21:27:47
  Author: dvzrv
Revision: 396137

upgpkg: stk 4.6.0-2

Removing unneeded patch and additional LICENSE (installing from source). 
Removing unneeded modifications. Building and installing demo, rawwaves and 
scores. Installing documentation.

Modified:
  stk/trunk/PKGBUILD
Deleted:
  stk/trunk/runtime.patch
  stk/trunk/stk.license

---+
 PKGBUILD  |   63 +---
 runtime.patch |   18 
 stk.license   |   39 --
 3 files changed, 33 insertions(+), 87 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-18 21:17:13 UTC (rev 396136)
+++ PKGBUILD2018-10-18 21:27:47 UTC (rev 396137)
@@ -1,50 +1,53 @@
 # Maintainer: Lukas Fleischer 
+# Contributor: David Runge 
 # Contributor: Ray Rashif 
 # Contributor: Mateusz Herych 
 
 pkgname=stk
 pkgver=4.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('x86_64')
 url='http://ccrma.stanford.edu/software/stk/'
 license=('MIT')
-depends=('gcc-libs' 'jack')
-makedepends=('pkg-config')
+depends=('jack')
 optdepends=('tk: run provided demos/samples')
-source=("https://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;
-"$pkgname.license"
-runtime.patch)
-md5sums=('4008470eaa5f0befd81bb09066507f64'
- 'a0163d75a5f516b6c93f4fc948acff73'
- '36551c348340307c765fde85d4336e73')
+source=("https://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;)
+md5sums=('7c0880985023d629036d221f464a070e')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # add missing linker flag
-  export LIBS="$LIBS -lpthread" 
-
-  # enable shared library
-  sed -i 's/all : $(STATICLIB)/all : $(SHAREDLIB)/' src/Makefile.in
-
-  # fix demo rawwaves path
-  sed -i 's:\.\./\.\.:/usr/lib/stk:' projects/demo/demo.cpp
-
-  # run actual build
-  autoreconf
-  ./configure RAWWAVE_PATH=/usr/lib/stk/rawwaves/ --prefix=/usr --with-alsa 
--with-jack
+  cd "$pkgname-$pkgver"
+  ./configure RAWWAVE_PATH=/usr/share/${pkgname}/rawwaves/ \
+  --prefix=/usr \
+  --enable-shared \
+  --with-alsa \
+  --with-jack
   make
-
-  # fix executable scripts
-  patch -Np1 -i ../runtime.patch
+  make -C projects/demo
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
 
   make DESTDIR="${pkgdir}" install
-
-  # install license
-  install -Dm644 "../$pkgname.license" "$pkgdir/usr/share/licenses/stk/LICENSE"
+  # demo
+  install -vDm 755 projects/demo/stk-demo -t "${pkgdir}/usr/bin"
+  install -vDm 644 projects/demo/tcl/*.tcl \
+-t "${pkgdir}/usr/share/${pkgname}/tcl"
+  install -vDm 644 projects/demo/scores/{README,*.ski} \
+-t "${pkgdir}/usr/share/${pkgname}/scores"
+  install -vDm 644 rawwaves/*.{raw,c} \
+-t "${pkgdir}/usr/share/${pkgname}/rawwaves"
+  # docs
+  install -vDm 644 doc/{README-Linux,ReleaseNotes,SKINI,hierarchy}.txt \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 doc/html/*.{html,png,js} \
+-t "${pkgdir}/usr/share/doc/${pkgname}/html"
+  # license
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}"
 }

Deleted: runtime.patch
===
--- runtime.patch   2018-10-18 21:17:13 UTC (rev 396136)
+++ runtime.patch   2018-10-18 21:27:47 UTC (rev 396137)
@@ -1,18 +0,0 @@
-diff -Naur stk-4.4.2.orig//projects/demo/StkDemo 
stk-4.4.2/projects/demo/StkDemo
 stk-4.4.2.orig//projects/demo/StkDemo  2010-09-01 08:51:05.0 
+0800
-+++ stk-4.4.2/projects/demo/StkDemo2010-09-01 08:51:48.0 +0800
-@@ -1 +1,2 @@
-+cd /usr/lib/stk
- wish < tcl/Demo.tcl | ./demo Clarinet -or -ip
-diff -Naur stk-4.4.2.orig//projects/effects/StkEffects 
stk-4.4.2/projects/effects/StkEffects
 stk-4.4.2.orig//projects/effects/StkEffects2010-09-01 
08:51:05.0 +0800
-+++ stk-4.4.2/projects/effects/StkEffects  2010-09-01 08:51:54.0 
+0800
-@@ -1 +1,2 @@
-+cd /usr/lib/stk
- wish < tcl/Effects.tcl | ./effects -ip
-diff -Naur stk-4.4.2.orig//projects/ragamatic/Raga 
stk-4.4.2/projects/ragamatic/Raga
 stk-4.4.2.orig//projects/ragamatic/Raga2010-09-01 08:51:05.0 
+0800
-+++ stk-4.4.2/projects/ragamatic/Raga  2010-09-01 08:52:04.0 +0800
-@@ -1 +1,2 @@
-+cd /usr/lib/stk
- wish < tcl/Raga.tcl | ./ragamat -ip

Deleted: stk.license
===
--- stk.license 2018-10-18 21:17:13 UTC (rev 396136)
+++ stk.license 2018-10-18 21:27:47 UTC (rev 396137)
@@ -1,39 +0,0 @@
-The Synthesis ToolKit in C++ (STK) is a set of open source audio
-signal processing and algorithmic synthesis classes written in the
-C++ programming language. STK was designed to facilitate rapid
-development of music 

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

2018-04-06 Thread Lukas Fleischer via arch-commits
Date: Friday, April 6, 2018 @ 15:11:59
  Author: lfleischer
Revision: 314586

upgpkg: stk 4.6.0-1

Upstream update.

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-06 14:32:09 UTC (rev 314585)
+++ PKGBUILD2018-04-06 15:11:59 UTC (rev 314586)
@@ -3,7 +3,7 @@
 # Contributor: Mateusz Herych 
 
 pkgname=stk
-pkgver=4.5.1
+pkgver=4.6.0
 pkgrel=1
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('x86_64')
@@ -15,7 +15,7 @@
 
source=("https://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;
 "$pkgname.license"
 runtime.patch)
-md5sums=('87e1b1a24ec09f81321c01f2cdea513d'
+md5sums=('4008470eaa5f0befd81bb09066507f64'
  'a0163d75a5f516b6c93f4fc948acff73'
  '36551c348340307c765fde85d4336e73')
 
@@ -32,6 +32,7 @@
   sed -i 's:\.\./\.\.:/usr/lib/stk:' projects/demo/demo.cpp
 
   # run actual build
+  autoreconf
   ./configure RAWWAVE_PATH=/usr/lib/stk/rawwaves/ --prefix=/usr --with-alsa 
--with-jack
   make
 


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

2017-02-25 Thread Lukas Fleischer
Date: Saturday, February 25, 2017 @ 10:28:08
  Author: lfleischer
Revision: 213759

stk: Switch to HTTPs sources

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-25 10:27:13 UTC (rev 213758)
+++ PKGBUILD2017-02-25 10:28:08 UTC (rev 213759)
@@ -12,7 +12,7 @@
 depends=('gcc-libs' 'jack')
 makedepends=('pkg-config')
 optdepends=('tk: run provided demos/samples')
-source=("http://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;
+source=("https://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;
 "$pkgname.license"
 runtime.patch)
 md5sums=('87e1b1a24ec09f81321c01f2cdea513d'


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

2016-08-13 Thread Lukas Fleischer
Date: Saturday, August 13, 2016 @ 11:04:22
  Author: lfleischer
Revision: 186699

upgpkg: stk 4.5.1-1

Upstream update.

Modified:
  stk/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-08-13 08:28:16 UTC (rev 186698)
+++ PKGBUILD2016-08-13 11:04:22 UTC (rev 186699)
@@ -3,8 +3,8 @@
 # Contributor: Mateusz Herych 
 
 pkgname=stk
-pkgver=4.5.0
-pkgrel=2
+pkgver=4.5.1
+pkgrel=1
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('i686' 'x86_64')
 url='http://ccrma.stanford.edu/software/stk/'
@@ -15,7 +15,7 @@
 
source=("http://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;
 "$pkgname.license"
 runtime.patch)
-md5sums=('2fd27e51dd0df92edcf96bd9080db76d'
+md5sums=('87e1b1a24ec09f81321c01f2cdea513d'
  'a0163d75a5f516b6c93f4fc948acff73'
  '36551c348340307c765fde85d4336e73')
 


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

2015-12-06 Thread Evangelos Foutras
Date: Sunday, December 6, 2015 @ 17:50:44
  Author: foutrelis
Revision: 148906

C++11 ABI rebuild

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-06 16:50:40 UTC (rev 148905)
+++ PKGBUILD2015-12-06 16:50:44 UTC (rev 148906)
@@ -4,7 +4,7 @@
 
 pkgname=stk
 pkgver=4.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('i686' 'x86_64')
 url='http://ccrma.stanford.edu/software/stk/'


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

2014-10-21 Thread Lukas Fleischer
Date: Tuesday, October 21, 2014 @ 22:16:03
  Author: lfleischer
Revision: 121169

upgpkg: stk 4.5.0-1

* Upstream update.
* Use the install target of the Makefile for installation.

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |   25 -
 1 file changed, 4 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-10-21 19:31:13 UTC (rev 121168)
+++ PKGBUILD2014-10-21 20:16:03 UTC (rev 121169)
@@ -3,8 +3,8 @@
 # Contributor: Mateusz Herych heni...@gmail.com
 
 pkgname=stk
-pkgver=4.4.4
-pkgrel=2
+pkgver=4.5.0
+pkgrel=1
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('i686' 'x86_64')
 url='http://ccrma.stanford.edu/software/stk/'
@@ -15,7 +15,7 @@
 
source=(http://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz;
 $pkgname.license
 runtime.patch)
-md5sums=('66646cb1117eee2d767c4571cc51a8c3'
+md5sums=('2fd27e51dd0df92edcf96bd9080db76d'
  'a0163d75a5f516b6c93f4fc948acff73'
  '36551c348340307c765fde85d4336e73')
 
@@ -42,25 +42,8 @@
 package() {
   cd $srcdir/$pkgname-$pkgver
 
-  mkdir -p $pkgdir/usr/{bin,{lib,include}/stk}
+  make DESTDIR=${pkgdir} install
 
-  # install library
-  cp -a src/libstk.* $pkgdir/usr/lib/
-
-  # install headers
-  install -m644 include/* $pkgdir/usr/include/stk/
-
-  # install runtime files
-  cp -a rawwaves projects/demo/{demo,tcl} projects/effects/{effects,tcl} \
-projects/ragamatic/{ragamat,tcl,rawwaves} $pkgdir/usr/lib/stk/
-
-  # install executables
-  install -m755 projects/{demo/StkDemo,effects/StkEffects} $pkgdir/usr/bin/
-  install -m755 projects/ragamatic/Raga $pkgdir/usr/bin/StkRagamatic
-
   # install license
   install -Dm644 ../$pkgname.license $pkgdir/usr/share/licenses/stk/LICENSE
-
-  # remove .DS_Store directory: https://bugs.archlinux.org/task/25255
-  rm -rf ${pkgdir}/usr/lib/stk/rawwaves/.DS_Store
 }


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

2014-07-05 Thread Lukas Fleischer
Date: Saturday, July 5, 2014 @ 18:39:10
  Author: lfleischer
Revision: 115110

upgpkg: stk 4.4.4-2

.MTREE rebuild.

Modified:
  stk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-05 16:27:38 UTC (rev 115109)
+++ PKGBUILD2014-07-05 16:39:10 UTC (rev 115110)
@@ -4,7 +4,7 @@
 
 pkgname=stk
 pkgver=4.4.4
-pkgrel=1
+pkgrel=2
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('i686' 'x86_64')
 url='http://ccrma.stanford.edu/software/stk/'