Date: Friday, April 24, 2020 @ 09:20:12
  Author: dvzrv
Revision: 619065

upgpkg: sonic-visualiser 4.0.1-2: Rebuilding against capnproto 0.8.0.

Adding all sodeps in package() and adding their respective packages in 
makedepends.
Adding upstream ticket for lack of full RELRO (due to ignoring of LDFLAGS in 
the 
jungle of secondary build systems).

Modified:
  sonic-visualiser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-04-24 09:20:02 UTC (rev 619064)
+++ PKGBUILD    2020-04-24 09:20:12 UTC (rev 619065)
@@ -5,17 +5,17 @@
 _download_id=2607
 pkgname=sonic-visualiser
 pkgver=4.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A viewer and analyser of music audio files."
 arch=('x86_64')
 url="https://www.sonicvisualiser.org/";
 license=('GPL2')
 groups=('pro-audio')
-depends=('alsa-lib' 'bzip2' 'desktop-file-utils' 'fftw' 'gcc-libs' 'glibc'
-'hicolor-icon-theme' 'libcapnp.so' 'libfishsound.so' 'libid3tag' 'libkj.so'
-'liblo.so' 'liblrdf.so' 'libmad' 'liboggz.so' 'libportaudio.so' 'libpulse'
-'librubberband.so' 'libsamplerate' 'libserd-0.so' 'libsndfile' 'libsord-0.so'
-'opusfile' 'qt5-base' 'qt5-svg')
+depends=('bzip2' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libglvnd' 'libid3tag'
+'libmad' 'libogg' 'libx11' 'opusfile' 'qt5-base' 'qt5-svg' 'speex')
+makedepends=('alsa-lib' 'capnproto' 'fftw' 'flac' 'libfishsound' 'liblo'
+'liblrdf' 'liboggz' 'libpulse' 'libsamplerate' 'libsndfile' 'libvorbis'
+'portaudio' 'rubberband' 'serd' 'sord')
 
source=("https://code.soundsoftware.ac.uk/attachments/download/${_download_id}/${pkgname}-${pkgver}.tar.gz";
         "${pkgname}-4.0.1-remove-werror.patch"
 )
@@ -27,6 +27,8 @@
   # remove all declarations of -Werror
   # https://sourceforge.net/p/sv1/bugs/277/
   patch -Np1 -i "../${pkgname}-4.0.1-remove-werror.patch"
+  # no full RELRO, because LDFLAGS is ignored:
+  # https://sourceforge.net/p/sv1/bugs/282/
   autoreconf -vfi
 }
 
@@ -37,6 +39,11 @@
 }
 
 package() {
+  depends+=('libasound.so' 'libcapnp.so' 'libFLAC.so' 'libfftw3.so'
+  'libfftw3f.so' 'libfishsound.so' 'libkj.so' 'liblo.so' 'liblrdf.so'
+  'liboggz.so' 'libportaudio.so' 'libpulse.so' 'librubberband.so'
+  'libsamplerate.so' 'libserd-0.so' 'libsndfile.so' 'libsord-0.so'
+  'libvorbis.so' 'libvorbisenc.so')
   cd "${pkgname}-${pkgver}"
   # INSTALL_ROOT used in favor of DESTDIR
   # https://sourceforge.net/p/sv1/bugs/254

Reply via email to