[arch-commits] Commit in cardinal/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed May 18 21:53:53 UTC 2022


    Date: Wednesday, May 18, 2022 @ 21:53:53
  Author: dvzrv
Revision: 1209167

archrelease: copy trunk to community-x86_64

Added:
  cardinal/repos/community-x86_64/PKGBUILD
    (from rev 1209166, cardinal/trunk/PKGBUILD)
Deleted:
  cardinal/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  284 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 142 insertions(+), 142 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-18 21:53:28 UTC (rev 1209166)
+++ PKGBUILD	2022-05-18 21:53:53 UTC (rev 1209167)
@@ -1,142 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgbase=cardinal
-pkgname=(cardinal cardinal-data cardinal-jack cardinal-lv2 cardinal-vst cardinal-vst3)
-pkgver=22.04
-pkgrel=2
-pkgdesc="Virtual modular synthesizer"
-arch=(x86_64)
-url="https://github.com/DISTRHO/Cardinal"
-license=(GPL3)
-makedepends=(dbus file gcc-libs gendesk git glibc jansson libarchive libglvnd
-liblo libsndfile libsamplerate libx11 libxext libxrandr mold python speexdsp)
-# lv2lint needs the additional lv2-extensions from mod-sdk:
-# https://github.com/moddevices/mod-sdk/blob/master/mod.lv2/mod.ttl#L174
-# checkdepends=(kxstudio-lv2-extensions lv2 lv2lint xorg-server-xvfb)
-options=(debug)
-source=(
-  https://github.com/DISTRHO/$pkgbase/releases/download/$pkgver/$pkgbase-$pkgver.tar.xz
-  $pkgbase-$pkgver.svg::https://raw.githubusercontent.com/DISTRHO/Cardinal/eb95b5990cf734c10f2caab1a246eac893f0266d/plugins/Cardinal/orig/distrho.svg
-)
-sha512sums=('a7888e69b92d0d4b6a446d6ec8044c0a5b57055821ad8084dba705efd61496cbfb0a66a452906b847a0dfd6b6a6ed8e38d08e09ed8fef81bbc35612871e7a2a1'
-            '31a7d1e548285af0ead1bc844fbb1d35b50f6284159047cb401a829d4068992fa328770e42c377c08d013f6787e55ac12b94eba4d5af4b90373b157971fc8835')
-b2sums=('f5367efa6739f47b2de8c07440939fcfed9535abeedba63f9523959f0c8536c27ea16200b653e4124a7583228a45094a99ff33e72639627f1ffce40a2c3c816f'
-        'd82fefe15234c1ed3a4d487c6082a2e3ac73b60f11041314e99c5a5de5b3ea141efbd5afd18851510bd4f801fd71f7cd89d54d86258d1ba750bbfd762aa37a8d')
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-prepare() {
-  gendesk -n \
-          --exec Cardinal \
-          --name Cardinal \
-          --pkgname studio.kx.distrho.Cardinal \
-          --pkgdesc "$pkgdesc JACK standalone" \
-          --icon $pkgbase \
-          --genericname "Virtual modular synthesizer"
-}
-
-build() {
-  export CFLAGS+=" -B/usr/lib/mold"
-  export CXXFLAGS+=" -B/usr/lib/mold"
-  make PREFIX=/usr SYSDEPS=true WITH_LTO=true -C $pkgname-$pkgver
-}
-
-# check() {
-#   declare -A _links=(
-#     ["Cardinal"]="https://distrho.kx.studio/plugins/cardinal"
-#     ["CardinalFX"]="https://distrho.kx.studio/plugins/cardinal#fx"
-#     ["CardinalSynth"]="https://distrho.kx.studio/plugins/cardinal#synth"
-#   )
-# 
-#   for _name in Cardinal{,FX,Synth}; do
-#     xvfb-run lv2lint -s "lv2_generate_ttl" -Mpack -I $pkgname-$pkgver/bin/$_name.lv2 "${_links[$_name]}"
-#   done
-# }
-
-package_cardinal() {
-  depends=(cardinal-jack cardinal-lv2 cardinal-vst cardinal-vst3)
-
-  make PREFIX=/usr SYSDEPS=true DESTDIR="$pkgdir" install -C $pkgbase-$pkgver
-
-  (
-    cd "$pkgdir"
-    _pick $pkgbase-data usr/share/$pkgbase
-    _pick $pkgbase-data usr/share/doc
-    _pick $pkgbase-jack usr/bin/
-    _pick $pkgbase-lv2 usr/lib/lv2/
-    _pick $pkgbase-vst usr/lib/vst/
-    _pick $pkgbase-vst3 usr/lib/vst3/
-  )
-}
-
-package_cardinal-data() {
-  pkgdesc+=" - data"
-
-  mv -v $pkgbase-data/* "$pkgdir"
-}
-
-package_cardinal-jack() {
-  pkgdesc+=" - JACK standalone"
-  groups=(pro-audio)
-  depends=(cardinal-data gcc-libs glibc jack jansson libglvnd libx11 libxext
-  libxrandr speexdsp libdbus-1.so libarchive.so liblo.so libmagic.so
-  libsndfile.so libsamplerate.so)
-  optdepends=(
-    'carla: for carla module and ildaeil plugin host'
-    'mpv: for experimental video support'
-  )
-
-  mv -v $pkgbase-jack/* "$pkgdir"
-  install -vDm 644 *.desktop -t "$pkgdir/usr/share/applications"
-  install -vDm 644 $pkgbase-$pkgver.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgbase.svg"
-}
-
-package_cardinal-lv2() {
-  pkgdesc+=" - LV2 plugin"
-  groups=(lv2-plugins pro-audio)
-  depends=(cardinal-data gcc-libs glibc jansson libglvnd libx11 libxext
-  libxrandr lv2-host speexdsp libdbus-1.so libarchive.so liblo.so libmagic.so
-  libsndfile.so libsamplerate.so)
-  optdepends=(
-    'carla: for carla module and ildaeil plugin host'
-    'mpv: for experimental video support'
-  )
-
-  mv -v $pkgbase-lv2/* "$pkgdir"
-}
-
-package_cardinal-vst() {
-  pkgdesc+=" - VST2 plugin"
-  groups=(pro-audio vst-plugins)
-  depends=(cardinal-data gcc-libs glibc jansson libglvnd libx11 libxext
-  libxrandr speexdsp vst-host libdbus-1.so libarchive.so liblo.so libmagic.so
-  libsndfile.so libsamplerate.so)
-  optdepends=(
-    'carla: for carla module and ildaeil plugin host'
-    'mpv: for experimental video support'
-  )
-
-  mv -v $pkgbase-vst/* "$pkgdir"
-}
-
-package_cardinal-vst3() {
-  pkgdesc+=" - VST3 plugin"
-  groups=(pro-audio vst3-plugins)
-  depends=(cardinal-data gcc-libs glibc jansson libglvnd libx11 libxext
-  libxrandr speexdsp vst3-host libdbus-1.so libarchive.so liblo.so libmagic.so
-  libsndfile.so libsamplerate.so)
-  optdepends=(
-    'carla: for carla module and ildaeil plugin host'
-    'mpv: for experimental video support'
-  )
-
-  mv -v $pkgbase-vst3/* "$pkgdir"
-}

Copied: cardinal/repos/community-x86_64/PKGBUILD (from rev 1209166, cardinal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-18 21:53:53 UTC (rev 1209167)
@@ -0,0 +1,142 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgbase=cardinal
+pkgname=(cardinal cardinal-data cardinal-jack cardinal-lv2 cardinal-vst cardinal-vst3)
+pkgver=22.05
+pkgrel=1
+pkgdesc="Virtual modular synthesizer"
+arch=(x86_64)
+url="https://github.com/DISTRHO/Cardinal"
+license=(GPL3)
+makedepends=(dbus file gcc-libs gendesk git glibc jansson libarchive libglvnd
+liblo libsndfile libsamplerate libx11 libxext libxrandr mold python speexdsp)
+# lv2lint needs the additional lv2-extensions from mod-sdk:
+# https://github.com/moddevices/mod-sdk/blob/master/mod.lv2/mod.ttl#L174
+# checkdepends=(kxstudio-lv2-extensions lv2 lv2lint xorg-server-xvfb)
+options=(debug)
+source=(
+  https://github.com/DISTRHO/$pkgbase/releases/download/$pkgver/$pkgbase-$pkgver.tar.xz
+  $pkgbase-$pkgver.svg::https://raw.githubusercontent.com/DISTRHO/Cardinal/eb95b5990cf734c10f2caab1a246eac893f0266d/plugins/Cardinal/orig/distrho.svg
+)
+sha512sums=('0b9eed0ba852c0629c5edd58578aca774e1ef255a90f6dac503fc4a61631dfc7d3a0c0711ee50d938a30a4136187cbf7b36ff4ca3d0ff3187be0087cbffc955c'
+            '31a7d1e548285af0ead1bc844fbb1d35b50f6284159047cb401a829d4068992fa328770e42c377c08d013f6787e55ac12b94eba4d5af4b90373b157971fc8835')
+b2sums=('5b9b9009d2db9496c506f505e8b798140b294d19b4d89d0c0b9dc4f2ee700f4eb0b3b2540c89324f8e80f3d249962197c028e3fd065d372c16b574e8fc535407'
+        'd82fefe15234c1ed3a4d487c6082a2e3ac73b60f11041314e99c5a5de5b3ea141efbd5afd18851510bd4f801fd71f7cd89d54d86258d1ba750bbfd762aa37a8d')
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+prepare() {
+  gendesk -n \
+          --exec Cardinal \
+          --name Cardinal \
+          --pkgname studio.kx.distrho.Cardinal \
+          --pkgdesc "$pkgdesc JACK standalone" \
+          --icon $pkgbase \
+          --genericname "Virtual modular synthesizer"
+}
+
+build() {
+  export CFLAGS+=" -B/usr/lib/mold -Wno-format-security"
+  export CXXFLAGS+=" -B/usr/lib/mold -Wno-format-security"
+  make PREFIX=/usr SYSDEPS=true WITH_LTO=true -C $pkgname-$pkgver
+}
+
+# check() {
+#   declare -A _links=(
+#     ["Cardinal"]="https://distrho.kx.studio/plugins/cardinal"
+#     ["CardinalFX"]="https://distrho.kx.studio/plugins/cardinal#fx"
+#     ["CardinalSynth"]="https://distrho.kx.studio/plugins/cardinal#synth"
+#   )
+# 
+#   for _name in Cardinal{,FX,Synth}; do
+#     xvfb-run lv2lint -s "lv2_generate_ttl" -Mpack -I $pkgname-$pkgver/bin/$_name.lv2 "${_links[$_name]}"
+#   done
+# }
+
+package_cardinal() {
+  depends=(cardinal-jack cardinal-lv2 cardinal-vst cardinal-vst3)
+
+  make PREFIX=/usr SYSDEPS=true DESTDIR="$pkgdir" install -C $pkgbase-$pkgver
+
+  (
+    cd "$pkgdir"
+    _pick $pkgbase-data usr/share/$pkgbase
+    _pick $pkgbase-data usr/share/doc
+    _pick $pkgbase-jack usr/bin/
+    _pick $pkgbase-lv2 usr/lib/lv2/
+    _pick $pkgbase-vst usr/lib/vst/
+    _pick $pkgbase-vst3 usr/lib/vst3/
+  )
+}
+
+package_cardinal-data() {
+  pkgdesc+=" - data"
+
+  mv -v $pkgbase-data/* "$pkgdir"
+}
+
+package_cardinal-jack() {
+  pkgdesc+=" - JACK standalone"
+  groups=(pro-audio)
+  depends=(cardinal-data gcc-libs glibc jack jansson libglvnd libx11 libxext
+  libxrandr speexdsp libdbus-1.so libarchive.so liblo.so libmagic.so
+  libsndfile.so libsamplerate.so)
+  optdepends=(
+    'carla: for carla module and ildaeil plugin host'
+    'mpv: for experimental video support'
+  )
+
+  mv -v $pkgbase-jack/* "$pkgdir"
+  install -vDm 644 *.desktop -t "$pkgdir/usr/share/applications"
+  install -vDm 644 $pkgbase-$pkgver.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgbase.svg"
+}
+
+package_cardinal-lv2() {
+  pkgdesc+=" - LV2 plugin"
+  groups=(lv2-plugins pro-audio)
+  depends=(cardinal-data gcc-libs glibc jansson libglvnd libx11 libxext
+  libxrandr lv2-host speexdsp libdbus-1.so libarchive.so liblo.so libmagic.so
+  libsndfile.so libsamplerate.so)
+  optdepends=(
+    'carla: for carla module and ildaeil plugin host'
+    'mpv: for experimental video support'
+  )
+
+  mv -v $pkgbase-lv2/* "$pkgdir"
+}
+
+package_cardinal-vst() {
+  pkgdesc+=" - VST2 plugin"
+  groups=(pro-audio vst-plugins)
+  depends=(cardinal-data gcc-libs glibc jansson libglvnd libx11 libxext
+  libxrandr speexdsp vst-host libdbus-1.so libarchive.so liblo.so libmagic.so
+  libsndfile.so libsamplerate.so)
+  optdepends=(
+    'carla: for carla module and ildaeil plugin host'
+    'mpv: for experimental video support'
+  )
+
+  mv -v $pkgbase-vst/* "$pkgdir"
+}
+
+package_cardinal-vst3() {
+  pkgdesc+=" - VST3 plugin"
+  groups=(pro-audio vst3-plugins)
+  depends=(cardinal-data gcc-libs glibc jansson libglvnd libx11 libxext
+  libxrandr speexdsp vst3-host libdbus-1.so libarchive.so liblo.so libmagic.so
+  libsndfile.so libsamplerate.so)
+  optdepends=(
+    'carla: for carla module and ildaeil plugin host'
+    'mpv: for experimental video support'
+  )
+
+  mv -v $pkgbase-vst3/* "$pkgdir"
+}



More information about the arch-commits mailing list