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

David Runge dvzrv at gemini.archlinux.org
Sun Jul 3 12:49:42 UTC 2022


    Date: Sunday, July 3, 2022 @ 12:49:42
  Author: dvzrv
Revision: 1243781

archrelease: copy trunk to community-x86_64

Added:
  snd/repos/community-x86_64/PKGBUILD
    (from rev 1243780, snd/trunk/PKGBUILD)
Deleted:
  snd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  199 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 99 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-03 12:49:30 UTC (rev 1243780)
+++ PKGBUILD	2022-07-03 12:49:42 UTC (rev 1243781)
@@ -1,100 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Juergen Hoetzel <juergen at archlinux.org>
-
-pkgname=snd
-pkgver=22.4
-pkgrel=1
-pkgdesc="An advanced sound editor"
-arch=(x86_64)
-url="https://ccrma.stanford.edu/software/snd/"
-license=(custom:free)
-groups=(pro-audio)
-depends=(glibc glu gmp gsl libglvnd libmpc libx11 libxext
-libxpm libxt mpfr openmotif)
-# TODO: maybe replace mpg123 with mpg321
-makedepends=(alsa-lib fftw flac gendesk jack ladspa libsamplerate mpg123 ruby
-speex timidity++ vorbis-tools wavpack)
-optdepends=(
-  'flac: For flac support'
-  'mpg123: For MPEG support'
-  'ruby: for snd-ruby'
-  'speex: For speex support'
-  'timidity++: For MIDI to WAVE support'
-  'vorbis-tools: For OGG support'
-  'wavpack: For wav support'
-)
-options=(debug)
-source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('b6be7af7545fc53de0c3fe6496cc78f44f36842571b82dc04494cc598ad734ea3f18cde370efa26fb38e9866e34c5085c6176ff8bee53c5e90fea6ace399fdf3')
-b2sums=('f5e004e7122db40fa74d4c2abeace180c7b3f37143278fe8212d0e414fb967961ecb39e3abb461ca9fb286393253b2e413f6cbc717d93dfe50660aa96d2521fc')
-
-prepare() {
-  gendesk -f -n \
-          --pkgname "edu.stanford.ccrma.$pkgname-s7" \
-          --name "$pkgname (s7)" \
-          --exec "$pkgname-s7" \
-          --genericname "Sound Editor" \
-          --categories "AudioVideo;Audio"
-  gendesk -f -n \
-          --pkgname "edu.stanford.ccrma.$pkgname-ruby" \
-          --name "$pkgname (ruby)" \
-          --exec "$pkgname-ruby" \
-          --genericname "Sound Editor" \
-          --categories "AudioVideo;Audio"
-  gendesk -f -n \
-          --pkgname "edu.stanford.ccrma.$pkgname" \
-          --name $pkgname \
-          --exec $pkgname \
-          --genericname "Sound Editor" \
-          --categories "AudioVideo;Audio"
-  rm -v $pkgname-$pkgver/*.desktop
-  cp -av $pkgname-$pkgver $pkgname-ruby-$pkgver
-}
-
-build() {
-  local options=(
-    --prefix=/usr
-    --with-alsa
-    --with-gl
-    --with-gmp
-    --with-jack
-    --with-ladspa
-    --with-motif
-  )
-  (
-  cd $pkgname-$pkgver
-  ./configure "${options[@]}" --with-s7
-  make
-  )
-  (
-  cd $pkgname-ruby-$pkgver
-  ./configure "${options[@]}" --with-ruby
-  make
-  )
-}
-
-package() {
-  depends+=(libasound.so libfftw3.so libjack.so libsamplerate.so)
-
-  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
-  mv -v "$pkgdir/usr/bin/snd"{,-s7}
-
-  make DESTDIR="$pkgdir" install -C $pkgname-ruby-$pkgver
-  mv -v "$pkgdir/usr/bin/snd"{,-ruby}
-
-  # set s7 version as default
-  ln -sv snd-s7 "$pkgdir/usr/bin/snd"
-
-  # XDG desktop integration
-  install -vDm 644 *.desktop -t "$pkgdir/usr/share/applications/"
-  # license
-  install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
-  # docs
-  install -vDm 644 $pkgname-$pkgver/{{HISTORY,README}.Snd,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
-  install -vDm 644 $pkgname-$pkgver/*.html -t "$pkgdir/usr/share/doc/$pkgname/html"
-  install -vDm 644 $pkgname-$pkgver/pix/*.png -t "$pkgdir/usr/share/doc/$pkgname/html/pix"
-
-  # remove examples of unsupported extension language forth (not in the repos)
-  rm -v "$pkgdir/usr/share/$pkgname/"*.fs
-}

Copied: snd/repos/community-x86_64/PKGBUILD (from rev 1243780, snd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-03 12:49:42 UTC (rev 1243781)
@@ -0,0 +1,99 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=snd
+pkgver=22.5
+pkgrel=1
+pkgdesc="An advanced sound editor"
+arch=(x86_64)
+url="https://ccrma.stanford.edu/software/snd/"
+license=(custom:free)
+groups=(pro-audio)
+depends=(glibc glu gmp gsl libglvnd libmpc libx11 libxext
+libxpm libxt mpfr openmotif)
+# TODO: maybe replace mpg123 with mpg321
+makedepends=(alsa-lib fftw flac gendesk jack ladspa libsamplerate mpg123 ruby
+speex timidity++ vorbis-tools wavpack)
+optdepends=(
+  'flac: For flac support'
+  'mpg123: For MPEG support'
+  'ruby: for snd-ruby'
+  'speex: For speex support'
+  'timidity++: For MIDI to WAVE support'
+  'vorbis-tools: For OGG support'
+  'wavpack: For wav support'
+)
+options=(debug)
+source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('489bbbac47152f51c0e0c2c1f2d46811dc1a893c4637045efc0451df82e095c1ab213197983d0afec01c3f4c75fc40ec258b08f4f54dc080d0c1798ad7f0ae40')
+b2sums=('aea5f7d80cdcbc3d75f3a10f9db2f6379b5b355c95897b8b4f2a3f6e43f58ec5c47201ce726a365b24742ee8a373f249ef4ed8267273bdbd7a6a5bc7261b0962')
+
+prepare() {
+  gendesk -f -n \
+          --pkgname "edu.stanford.ccrma.$pkgname-s7" \
+          --name "$pkgname (s7)" \
+          --exec "$pkgname-s7" \
+          --genericname "Sound Editor" \
+          --categories "AudioVideo;Audio"
+  gendesk -f -n \
+          --pkgname "edu.stanford.ccrma.$pkgname-ruby" \
+          --name "$pkgname (ruby)" \
+          --exec "$pkgname-ruby" \
+          --genericname "Sound Editor" \
+          --categories "AudioVideo;Audio"
+  gendesk -f -n \
+          --pkgname "edu.stanford.ccrma.$pkgname" \
+          --name $pkgname \
+          --exec $pkgname \
+          --genericname "Sound Editor" \
+          --categories "AudioVideo;Audio"
+  cp -av $pkgname-$pkgver $pkgname-ruby-$pkgver
+}
+
+build() {
+  local options=(
+    --prefix=/usr
+    --with-alsa
+    --with-gl
+    --with-gmp
+    --with-jack
+    --with-ladspa
+    --with-motif
+  )
+  (
+  cd $pkgname-$pkgver
+  ./configure "${options[@]}" --with-s7
+  make
+  )
+  (
+  cd $pkgname-ruby-$pkgver
+  ./configure "${options[@]}" --with-ruby
+  make
+  )
+}
+
+package() {
+  depends+=(libasound.so libfftw3.so libjack.so libsamplerate.so)
+
+  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+  mv -v "$pkgdir/usr/bin/snd"{,-s7}
+
+  make DESTDIR="$pkgdir" install -C $pkgname-ruby-$pkgver
+  mv -v "$pkgdir/usr/bin/snd"{,-ruby}
+
+  # set s7 version as default
+  ln -sv snd-s7 "$pkgdir/usr/bin/snd"
+
+  # XDG desktop integration
+  install -vDm 644 *.desktop -t "$pkgdir/usr/share/applications/"
+  # license
+  install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+  # docs
+  install -vDm 644 $pkgname-$pkgver/{{HISTORY,README}.Snd,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
+  install -vDm 644 $pkgname-$pkgver/*.html -t "$pkgdir/usr/share/doc/$pkgname/html"
+  install -vDm 644 $pkgname-$pkgver/pix/*.png -t "$pkgdir/usr/share/doc/$pkgname/html/pix"
+
+  # remove examples of unsupported extension language forth (not in the repos)
+  rm -v "$pkgdir/usr/share/$pkgname/"*.fs
+}



More information about the arch-commits mailing list