Date: Monday, January 2, 2023 @ 13:13:20
Author: dvzrv
Revision: 1372917
archrelease: copy trunk to community-x86_64
Added:
snd/repos/community-x86_64/PKGBUILD
(from rev 1372916, snd/trunk/PKGBUILD)
Deleted:
snd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 198 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 99 insertions(+), 99 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-02 13:12:57 UTC (rev 1372916)
+++ PKGBUILD 2023-01-02 13:13:20 UTC (rev 1372917)
@@ -1,99 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Ray Rashif <[email protected]>
-# Contributor: Juergen Hoetzel <[email protected]>
-
-pkgname=snd
-pkgver=22.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 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=('641f49438dd71285249d2da6f36f30ca52ec8f8fc8189af7815abff054db7651d8da54798509c77d93d542d09bb11e3ad6662aec51e9ba1c7a6a1672bb0eba48')
-b2sums=('788a0d77571b13cac0bb191bd88e0d18d5a6808fbee170c8cb3237a2bdc8b20a72cd3a4360cf0632c1746bec317b367ebf6344ac05d9a5485d54a77268ab96cf')
-
-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
-}
Copied: snd/repos/community-x86_64/PKGBUILD (from rev 1372916,
snd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-02 13:13:20 UTC (rev 1372917)
@@ -0,0 +1,99 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: Juergen Hoetzel <[email protected]>
+
+pkgname=snd
+pkgver=23.0
+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=('f181e56c059a56cf19108e5d7109a1299d67fce60bb0a0725f237d357a147b9f4feb9b9a40ed7a021dc78026237da8e28e24614fca4311ddc5ae06b5f1814dd8')
+b2sums=('23fe671db9678bb92b7045159c94824965b5f3854c4bc25b1fd295233e021fec358dfa62a54184937847892c33dfb438f2455baca5e57a2a69878a01d4f708fe')
+
+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
+}