[arch-commits] Commit in snd/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Mar 19 22:07:34 UTC 2021


    Date: Friday, March 19, 2021 @ 22:07:34
  Author: felixonmars
Revision: 895232

archrelease: copy trunk to community-staging-x86_64

Added:
  snd/repos/community-staging-x86_64/
  snd/repos/community-staging-x86_64/PKGBUILD
    (from rev 895231, snd/trunk/PKGBUILD)

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

Copied: snd/repos/community-staging-x86_64/PKGBUILD (from rev 895231, snd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-03-19 22:07:34 UTC (rev 895232)
@@ -0,0 +1,67 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=snd
+pkgver=21.2
+pkgrel=2
+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' 'ruby')
+# TODO: maybe replace mpg123 with mpg321
+makedepends=('alsa-lib' 'fftw' 'flac' 'gendesk' 'jack' 'ladspa' 'libpulse'
+'libsamplerate' 'mpg123' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
+optdepends=('wavpack: For wav support'
+            'flac: For flac support'
+            'speex: For speex support'
+            'mpg123: For MPEG support'
+            'pulseaudio: For pulseaudio support'
+            'timidity++: For MIDI to WAVE support'
+            'vorbis-tools: For OGG support')
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('cc31cfe85edf20cbbd8eaab075bc2350e2f25ededd10c1cd436e194050524c48ecba58102b255a48d75c61bfa53b8fc5b9f944e779cde15e445d644eb9a1dda3')
+b2sums=('b97c512e9147819954455668385d82c8cb854d32dcf1212e99003401fbc18fc2b0b3fe634445acf15a1c4f5bc81d5f299f6714c6f0bafe909fc07646411b119e')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # create XDG desktop file, as the default is broken
+  gendesk -f -n \
+          --pkgname "${pkgname}" \
+          --name "${pkgname}" \
+          --exec "${pkgname}" \
+          --genericname "Sound Editor" \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --with-alsa \
+              --with-gl \
+              --with-gmp \
+              --with-jack \
+              --with-ladspa \
+              --with-motif \
+              --with-pulseaudio \
+              --with-ruby
+  make
+}
+
+package() {
+  depends+=('libasound.so' 'libfftw3.so' 'libjack.so' 'libsamplerate.so')
+  cd "${pkgname}-${pkgver}"
+  make prefix="${pkgdir}/usr" install
+  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications/"
+  install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  # docs
+  install -vDm 644 {{HISTORY,README}.Snd,NEWS} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 *.html -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+  install -vDm 644 pix/*.png -t "${pkgdir}/usr/share/doc/${pkgname}/html/pix"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list