[arch-commits] Commit in sonic-visualiser/repos (6 files)
speps
speps at archlinux.org
Fri Nov 28 19:29:00 UTC 2014
Date: Friday, November 28, 2014 @ 20:29:00
Author: speps
Revision: 123270
archrelease: copy trunk to community-i686, community-x86_64
Added:
sonic-visualiser/repos/community-i686/
sonic-visualiser/repos/community-i686/PKGBUILD
(from rev 123269, sonic-visualiser/trunk/PKGBUILD)
sonic-visualiser/repos/community-i686/sonic-visualiser.install
(from rev 123269, sonic-visualiser/trunk/sonic-visualiser.install)
sonic-visualiser/repos/community-x86_64/
sonic-visualiser/repos/community-x86_64/PKGBUILD
(from rev 123269, sonic-visualiser/trunk/PKGBUILD)
sonic-visualiser/repos/community-x86_64/sonic-visualiser.install
(from rev 123269, sonic-visualiser/trunk/sonic-visualiser.install)
-------------------------------------------+
community-i686/PKGBUILD | 57 ++++++++++++++++++++++++++++
community-i686/sonic-visualiser.install | 12 +++++
community-x86_64/PKGBUILD | 57 ++++++++++++++++++++++++++++
community-x86_64/sonic-visualiser.install | 12 +++++
4 files changed, 138 insertions(+)
Copied: sonic-visualiser/repos/community-i686/PKGBUILD (from rev 123269, sonic-visualiser/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-11-28 19:29:00 UTC (rev 123270)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Orivej Desh <masecretaire at gmx.fr>
+
+pkgname=sonic-visualiser
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="A viewer and analyser of music audio files."
+arch=('i686' 'x86_64')
+url="http://www.sonicvisualiser.org/"
+license=('GPL')
+depends=('desktop-file-utils' 'libfishsound' 'libid3tag' 'liblo' 'liblrdf' 'libmad'
+ 'liboggz' 'libpulse' 'portaudio' 'qt5-base' 'rubberband' 'sord' 'hicolor-icon-theme')
+install="$pkgname.install"
+source=("http://code.soundsoftware.ac.uk/attachments/download/1185/$pkgname-$pkgver.tar.gz")
+md5sums=('24c8fa91a333c7776e39a30fda9a7783')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # wrong version in tarball
+ sed -i 's/2.4/2.4.1/' configure.ac
+}
+
+build() {
+ cd $pkgname-$pkgver
+ sh bootstrap.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ # bin
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+
+ # desktop file
+ install -d "$pkgdir/usr/share/applications"
+ install -Dm644 *.desktop "$pkgdir/usr/share/applications"
+
+ # icons
+ for _s in 16 22 24 32 48 64 128; do
+ install -Dm644 icons/sv-${_s}x${_s}.png \
+ "$pkgdir/usr/share/icons/hicolor/${_s}x${_s}/apps/sv-icon.png"
+ done
+ install -Dm644 icons/sv-icon.svg \
+ "$pkgdir/usr/share/icons/hicolor/scalable/apps/sv-icon.svg"
+
+ # samples
+ install -d "$pkgdir/usr/share/$pkgname/samples"
+ install -Dm644 samples/* "$pkgdir/usr/share/$pkgname/samples"
+
+ # templates
+ install -d "$pkgdir/usr/share/$pkgname/templates"
+ install -Dm644 templates/* "$pkgdir/usr/share/$pkgname/templates"
+}
Copied: sonic-visualiser/repos/community-i686/sonic-visualiser.install (from rev 123269, sonic-visualiser/trunk/sonic-visualiser.install)
===================================================================
--- community-i686/sonic-visualiser.install (rev 0)
+++ community-i686/sonic-visualiser.install 2014-11-28 19:29:00 UTC (rev 123270)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: sonic-visualiser/repos/community-x86_64/PKGBUILD (from rev 123269, sonic-visualiser/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-11-28 19:29:00 UTC (rev 123270)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Orivej Desh <masecretaire at gmx.fr>
+
+pkgname=sonic-visualiser
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="A viewer and analyser of music audio files."
+arch=('i686' 'x86_64')
+url="http://www.sonicvisualiser.org/"
+license=('GPL')
+depends=('desktop-file-utils' 'libfishsound' 'libid3tag' 'liblo' 'liblrdf' 'libmad'
+ 'liboggz' 'libpulse' 'portaudio' 'qt5-base' 'rubberband' 'sord' 'hicolor-icon-theme')
+install="$pkgname.install"
+source=("http://code.soundsoftware.ac.uk/attachments/download/1185/$pkgname-$pkgver.tar.gz")
+md5sums=('24c8fa91a333c7776e39a30fda9a7783')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # wrong version in tarball
+ sed -i 's/2.4/2.4.1/' configure.ac
+}
+
+build() {
+ cd $pkgname-$pkgver
+ sh bootstrap.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ # bin
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+
+ # desktop file
+ install -d "$pkgdir/usr/share/applications"
+ install -Dm644 *.desktop "$pkgdir/usr/share/applications"
+
+ # icons
+ for _s in 16 22 24 32 48 64 128; do
+ install -Dm644 icons/sv-${_s}x${_s}.png \
+ "$pkgdir/usr/share/icons/hicolor/${_s}x${_s}/apps/sv-icon.png"
+ done
+ install -Dm644 icons/sv-icon.svg \
+ "$pkgdir/usr/share/icons/hicolor/scalable/apps/sv-icon.svg"
+
+ # samples
+ install -d "$pkgdir/usr/share/$pkgname/samples"
+ install -Dm644 samples/* "$pkgdir/usr/share/$pkgname/samples"
+
+ # templates
+ install -d "$pkgdir/usr/share/$pkgname/templates"
+ install -Dm644 templates/* "$pkgdir/usr/share/$pkgname/templates"
+}
Copied: sonic-visualiser/repos/community-x86_64/sonic-visualiser.install (from rev 123269, sonic-visualiser/trunk/sonic-visualiser.install)
===================================================================
--- community-x86_64/sonic-visualiser.install (rev 0)
+++ community-x86_64/sonic-visualiser.install 2014-11-28 19:29:00 UTC (rev 123270)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list