[arch-commits] Commit in ams/trunk (PKGBUILD ams.png)

David Runge dvzrv at archlinux.org
Sun Nov 29 20:43:39 UTC 2020


    Date: Sunday, November 29, 2020 @ 20:43:39
  Author: dvzrv
Revision: 766442

upgpkg: ams 2.1.2-6: Rebuild to add sodeps.

Add all required ladspa plugins as depends instead of optdepends.
Add all available sodeps in package() and the respective packages to makedepends.
Simplify applying patches in prepare() with shell expansion.
Remove unlicensed ams.png image and use .xpm in XDG desktop integration instead.
Update maintainer info.

Modified:
  ams/trunk/PKGBUILD
Deleted:
  ams/trunk/ams.png

----------+
 PKGBUILD |   37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-29 20:43:35 UTC (rev 766441)
+++ PKGBUILD	2020-11-29 20:43:39 UTC (rev 766442)
@@ -1,21 +1,19 @@
-# Maintainer : David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=ams
 pkgver=2.1.2
-pkgrel=5
+pkgrel=6
 pkgdesc="A real-time modular synthesizer and effect processor"
 arch=('x86_64')
 url="http://alsamodular.sourceforge.net/"
 license=('GPL2')
 groups=('pro-audio')
-depends=('fftw' 'hicolor-icon-theme' 'jack' 'liblo' 'qt5-base' 'zita-alsa-pcmi')
-makedepends=('gendesk' 'ladspa' 'qt5-tools')
-optdepends=('mcp-plugins: for demos, instruments and tutorials'
-            'rev-plugins: for demos, instruments and tutorials'
-            'vco-plugins: for demos, instruments and tutorials')
+depends=('cmt' 'gcc-libs' 'glibc' 'qt5-base' 'mcp-plugins' 'rev-plugins'
+'swh-plugins' 'vco-plugins')
+makedepends=('alsa-lib' 'fftw' 'gendesk' 'jack' 'liblo' 'ladspa' 'qt5-tools'
+'zita-alsa-pcmi')
 source=("https://downloads.sourceforge.net/project/alsamodular/alsamodular/$pkgver/$pkgname-$pkgver.tar.bz2"
-        "${pkgname}.png"
         '0001-Use-iterator-instead-of-typeof.patch'
         '0002-Fix-obsolete-white-spaces.patch'
         '0003-Fix-compiler-warning.patch'
@@ -28,7 +26,6 @@
         '0010-Remove-warnings-about-not-find-translation-files.patch'
         '0011-Remove-obsolete-typecast.patch')
 sha512sums=('3a98ccb54505818b4add1b070e2230ba00d80732fdcc54caecba55ad83f352381ed165ab58ca01fc98550bd0691242fd2f733862ee77fd217141ecec52250e4e'
-            '991a68d1baa0523d9abddd03cea0532b8f9d5b5e81df62fe4b5501fdfc474ada8c811e8821fadcb82246f1b3d4707e2f4532dd226fd46495fc198f72780caa4e'
             '40e3627c3e2d2409c731a81a80d23bc12329b15a49f7dbfe4fb8b5ca6a6fb74ffef0ff929b65b1fb4dad23559ac32fc58127ff8e194222e9cfd027f62f115e31'
             '59640c2e8d5cc4cbebcfa965603f5470909a94eb896e8668d1eb90ad0476ed52ae2417f451b4ef0409cf5fb2cec2ca48686b7a38e48dd665336177649fe8877e'
             '6eff8ffcb58d7a2271f1ab2b6c30dd00becac6bc9f3a5d8b313db0bba887ad546eacd06711180c4cc61d300b0ca3737ed153f9529a841abed3c1a268056e9be0'
@@ -40,6 +37,18 @@
             'b33d26241770fb95983ba287f0c9dee7ea3c4544efdb47f857ed83df17df8323b2c8266e5730ca1b094dcd562ca6110e8a4c7bdddb1471ed267514a0eb47d9ff'
             '969a9a5ac237c2dcb5471bb016f887c7a9daf10d064484186c4a673c64c574a6b73a441a131e188d2bb12e920c7b6c89e5ffa3c607c7ff8df8811b632df45168'
             'dd97b464532c6ed1bc5b0b27edc9aa5514515609f05ee379b36cb4663b23cd04465b4d3f8e2c3eb0fd6e7bf546d6281308e44a81c981ff17b7cf234fabc1a748')
+b2sums=('237a4465e0d60add33fab365a502cdaf6cc86e639c07a273bcb3879f43b3f92fbf01ae5c057e01d6bd07af8dcc275f3d0c1a7cc16787b49815137a828678f02c'
+        '6fc4e91809a1c35ddea937f62ece1ea842317ab6e09b377f8c60975aa7b06c5fde27c0c01d4eb8858da6d164242284c69f44160a1c35e204cd2bb4f4d5f7aaae'
+        '3ad9a2394eba68b23f418e3bbfc61b285d5f46da07c953ff1984f335a5e6157b239c8e5452313379cb514deabd2f07ceff12a846bb354b02a130a5fd958d2fbe'
+        '052de69b34b8c7e1c998c8ef59d7c5715644a6695e8611db5e3f5e4e06e8f03eea7e8cbc0c2e34fc53907ddd371d8c5f9c298b093c26a8b1f8ab175c58a9a210'
+        'f8775596493209ca42dbfe52841c8f624428fbc090b48443c2c54316fa849f3815daab260e2bdcd3b81adf2544507df8f75d34247f9f887c3a32cfd3062ad244'
+        'e2fdb778cc3576bebd13256cfc2ece14fe982f125b77e8acfac11ded5bade427d02ddc5e64cf3ed9e04319ba76058a57723d0fe5550ad79406d6f80d9d028cd9'
+        'b3b626dcecb0b82601270ad4c3db5f5e797dfeb11e2020de4737c881ba930da23205ba2bf1624518add0584136e477e31794820ac60ed885aec232364e1ae2e2'
+        '9e65cf003ec9fded2b68037f96c8446ce5fee15d9d34475826ceffa1ebe7b35afbef10795366bdc2f2b90af06d5ba513934d9c9650d3addab9e1ae6a4a533396'
+        '2dc7f426ebeeeca37bfda9634d4895dab80d31d8ffa2b71fa7751f6182d1fab3a359eeb167247e71de7d67f8b88b21faa934cdeb0d765cfaa765230f6a76a7ab'
+        '3f575193ac66fdb9e8f7d53ec37eae96d7c32f8dfdf6c1804297cfe39ea17baef9d6e79ab7b695d936c54f25af19c45b94c453d708d6f4cc9bdad18336d99509'
+        '635b52ac757f370fd3205a27ccc522b67062e54908de1920e61dab9a0fa725c9e65f13ad90680cb7323608c2d4afcdcc36f9a0b9591ed43f8757437c30c489c3'
+        '5171695175c2dab0d199f04bb92ae4406b8b00f4e3b56d312ba2c0182df35ce62240ade594671696091e8ec8d66a1603e0a45794a1e5d89c62e25c1de46ad496')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
@@ -46,8 +55,8 @@
 
   # patches to be able to build with C++11 and Qt5:
   # https://sourceforge.net/p/alsamodular/mailman/message/36634325/
-  for id in {0{1..9},10,11}; do
-    patch -Np1 -i "../00${id}"*.patch
+  for _patch in ../*.patch; do
+    patch -Np1 -i "${_patch}"
   done
   # fix typeof for c++11
   sed -e 's/typeof/__typeof__/g' -i src/*.cpp
@@ -56,6 +65,7 @@
           --name "${pkgname}" \
           --pkgdesc "A real-time modular synthesizer and effect processor" \
           --genericname "Synthesizer" \
+          --icon "${pkgname}_32.xpm" \
           --categories "AudioVideo;Audio"
   autoreconf -vfi
 }
@@ -69,13 +79,14 @@
 }
 
 package() {
+  depends+=('libasound.so' 'libfftw3.so' 'libjack.so' 'liblo.so'
+  'libzita-alsa-pcmi.so')
+
   cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" install
   # XDG desktop file and icon
   install -vDm 644 "${pkgname}.desktop" \
     -t "${pkgdir}/usr/share/applications/"
-  install -vDm 644 ../"${pkgname}.png" \
-    -t "${pkgdir}/usr/share/icons/hicolor/64x64/apps/"
   # docs
   install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
     -t "${pkgdir}/usr/share/doc/${pkgname}/"

Deleted: ams.png
===================================================================
(Binary files differ)



More information about the arch-commits mailing list