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

David Runge dvzrv at archlinux.org
Fri Nov 13 23:17:02 UTC 2020


    Date: Friday, November 13, 2020 @ 23:17:01
  Author: dvzrv
Revision: 754031

Prepare for python 3.9.0.

Add all available sodeps in package() and move the respective packages to makedepends.
Replace hardcoded use of c++98 with c++11 due to compilation errors against lilv.
Replace sodeps in optdepends with package dependencies.
Add lv2-host to provides.

Modified:
  ecasound/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 22:02:42 UTC (rev 754030)
+++ PKGBUILD	2020-11-13 23:17:01 UTC (rev 754031)
@@ -5,25 +5,26 @@
 
 pkgname=ecasound
 pkgver=2.9.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Command-line multitrack audio processor"
 arch=('x86_64')
 url="https://ecasound.seul.org/ecasound/"
 license=('GPL2' 'LGPL2.1')
 groups=('pro-audio')
-depends=('alsa-lib' 'gcc-libs' 'glibc' 'libjack.so' 'libaudiofile.so'
-'liblo.so' 'liblilv-0.so' 'libreadline.so' 'libsndfile.so' 'libncursesw.so')
-makedepends=('lv2' 'ruby' 'python' 'libmikmod.so')
+depends=('gcc-libs' 'glibc' )
+makedepends=('alsa-lib' 'audiofile' 'jack' 'lv2' 'liblo' 'libmikmod'
+'libsamplerate' 'libsndfile' 'lilv' 'ncurses' 'python' 'readline' 'ruby')
 optdepends=('bash: for libecasoundc-config and libecasound-config'
             'lame: MP3 encoding'
             'libfaad2: for .aac/.m4a/.mp4 file support'
             'libfaac: for .aac/.m4a/.mp4 file support'
-            'libmikmod.so: for tracker module'
+            'libmikmod: for tracker module'
             'mpg123: MP3 decoding'
             'python: for ecamonitor'
             'ruby: ECI API'
             'timidity++: for .mid file support'
             'vorbis-tools: for .ogg file support')
+provides=('lv2-host')
 source=("https://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz")
 sha512sums=('4f70e6f54cd05194a4ffe80905e7488d16d32d684c87736dfdac7b3aebf3d20cbf417964d75e00e781f6f0614b8b699061c69fcbf7e1761d66ce1abfcd5f1140')
 
@@ -34,6 +35,8 @@
   sed -e 's/lv2core/lv2/g' -i configure.ac
   # install ruby integration to vendor_ruby
   sed -e 's/sitedir/vendordir/' -i configure.ac
+  # using c++98 lilv is not compatible
+  sed -e 's/c++98/c++11/' -i configure.ac
   autoreconf -vfi
 }
 build() {
@@ -43,6 +46,9 @@
 }
 
 package() {
+  depends+=('libasound.so' 'libjack.so' 'libaudiofile.so' 'liblo.so'
+  'liblilv-0.so' 'libncursesw.so' 'libreadline.so' 'libsamplerate.so'
+  'libsndfile.so')
   cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir/" install
   # docs


More information about the arch-commits mailing list