[arch-commits] Commit in snd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Aug 8 09:51:08 UTC 2022
Date: Monday, August 8, 2022 @ 09:51:07
Author: dvzrv
Revision: 1260617
archrelease: copy trunk to community-x86_64
Added:
snd/repos/community-x86_64/PKGBUILD
(from rev 1260616, snd/trunk/PKGBUILD)
Deleted:
snd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 198 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 99 insertions(+), 99 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-08 09:50:51 UTC (rev 1260616)
+++ PKGBUILD 2022-08-08 09:51:07 UTC (rev 1260617)
@@ -1,99 +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.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
-}
Copied: snd/repos/community-x86_64/PKGBUILD (from rev 1260616, snd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-08 09:51:07 UTC (rev 1260617)
@@ -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.6
+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=('1c56ab28671643dadbe53de808ce80665374c2e911dabdc715849055df5c599c6ae146f39b05150e4ffbdb7855dc7c40776b5c17b928cdb1c4f4ee2bf6aad19d')
+b2sums=('6800dbedfbd93803cb9cd10d5213c7dd77a44c79ef97738837bd72282271c3c064e14b02ae6a2ced499dba62dd3eb9e33290965b439417c5ebea9761c46ac2c7')
+
+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