[arch-commits] Commit in snd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Nov 16 23:18:30 UTC 2021
Date: Tuesday, November 16, 2021 @ 23:18:30
Author: dvzrv
Revision: 1048893
archrelease: copy trunk to community-x86_64
Added:
snd/repos/community-x86_64/PKGBUILD
(from rev 1048892, snd/trunk/PKGBUILD)
Deleted:
snd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 224 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 112 insertions(+), 112 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 23:18:23 UTC (rev 1048892)
+++ PKGBUILD 2021-11-16 23:18:30 UTC (rev 1048893)
@@ -1,112 +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=21.8
-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' 'libpulse'
-'libsamplerate' 'mpg123' 'ruby' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
-optdepends=(
- 'flac: For flac support'
- 'mpg123: For MPEG support'
- 'pulseaudio: For pulseaudio support'
- 'ruby: for snd-ruby'
- 'speex: For speex support'
- 'timidity++: For MIDI to WAVE support'
- 'vorbis-tools: For OGG support'
- 'wavpack: For wav support'
-)
-source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('f3ddefe8d208ec5bb5c25ac73833c4c61395fd4a1a9bf01ab5658d10ac9799190086d9602ea5fab4103e662eef58db2f5f01800eb39d84fcd9f3c838700e9da5')
-b2sums=('5c9c70a5eaa7d4e34723027b39f2530b08163c324fe4fae53827f0477b8b21c9eb5ec27ddb5eb8d5eee3744f19cb77d3915fa16fca46022e1f5c58453c2be92c')
-
-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() {
- (
- cd "${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-alsa \
- --with-gl \
- --with-gmp \
- --with-jack \
- --with-ladspa \
- --with-motif \
- --with-pulseaudio \
- --with-s7
- make
- )
- (
- cd "${pkgname}-ruby-${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
- mv -v "${pkgdir}/usr/bin/snd"{,-s7}
- )
-
- cd "${pkgname}-ruby-${pkgver}"
- make prefix="${pkgdir}/usr" install
- 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 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"
-
- # 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 1048892, snd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-16 23:18:30 UTC (rev 1048893)
@@ -0,0 +1,112 @@
+# 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.9
+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' 'libpulse'
+'libsamplerate' 'mpg123' 'ruby' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
+optdepends=(
+ 'flac: For flac support'
+ 'mpg123: For MPEG support'
+ 'pulseaudio: For pulseaudio support'
+ 'ruby: for snd-ruby'
+ 'speex: For speex support'
+ 'timidity++: For MIDI to WAVE support'
+ 'vorbis-tools: For OGG support'
+ 'wavpack: For wav support'
+)
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7117963c3868f98bb994eedc79a051f9f94c5bd4545467328e41e0a55072189f2e9b811f4fd7d4b0574236152b4bed8a0e9084c017f3c44cb267ecb03def3ee4')
+b2sums=('a5db209d2aa44ac6abe4d42626874e7bc94ec837f4dccf577a9b8222821d58bbbd9bcd174cfdbe85a17edd1afe4b3d5907f6b9fa6bb79f2cb50746335216cb4e')
+
+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() {
+ (
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --with-alsa \
+ --with-gl \
+ --with-gmp \
+ --with-jack \
+ --with-ladspa \
+ --with-motif \
+ --with-pulseaudio \
+ --with-s7
+ make
+ )
+ (
+ cd "${pkgname}-ruby-${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
+ mv -v "${pkgdir}/usr/bin/snd"{,-s7}
+ )
+
+ cd "${pkgname}-ruby-${pkgver}"
+ make prefix="${pkgdir}/usr" install
+ 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 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"
+
+ # 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