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

David Runge dvzrv at gemini.archlinux.org
Wed Jun 29 22:48:10 UTC 2022


    Date: Wednesday, June 29, 2022 @ 22:48:10
  Author: dvzrv
Revision: 1241706

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-29 22:48:08 UTC (rev 1241705)
+++ PKGBUILD	2022-06-29 22:48:10 UTC (rev 1241706)
@@ -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.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"
-}

Copied: cardinal/repos/community-x86_64/PKGBUILD (from rev 1241704, cardinal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-29 22:48:10 UTC (rev 1241706)
@@ -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.06
+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=('939c4f765dcb4cadbf7ef8f45564592bdef5915499f1ceb306b63841a76b5392fd9c026b98be6aa2ae527688971c9c6ea528773f979d22a0ebbead21c0ddcacb'
+            '31a7d1e548285af0ead1bc844fbb1d35b50f6284159047cb401a829d4068992fa328770e42c377c08d013f6787e55ac12b94eba4d5af4b90373b157971fc8835')
+b2sums=('558ffc11540bdfb124b88809f8bcc75c5cbc4928fcb8f429d68d871c3da6888e52e6d2546d31363c8cc46b94713e90b02b723885fd5a49cca211729ca1c5dc47'
+        '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