summaryrefslogtreecommitdiff
path: root/community/solfege
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/solfege
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/solfege')
-rw-r--r--community/solfege/PKGBUILD47
-rw-r--r--community/solfege/solfege.changelog100
-rw-r--r--community/solfege/solfege.desktop7
-rw-r--r--community/solfege/solfege.install10
4 files changed, 164 insertions, 0 deletions
diff --git a/community/solfege/PKGBUILD b/community/solfege/PKGBUILD
new file mode 100644
index 000000000..c69ddd790
--- /dev/null
+++ b/community/solfege/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 42458 2011-03-16 20:03:30Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+# Contributor: sickhate <sickhate@tux-linux.net>
+
+pkgname=solfege
+pkgver=3.18.7
+pkgrel=1
+pkgdesc="Music education and ear training software"
+arch=(i686 x86_64)
+url="http://www.solfege.org/"
+license=('GPL3')
+depends=('pygtk' 'libgtkhtml')
+makedepends=('ghostscript' 'gnome-doc-utils' 'librsvg' 'libxslt'
+ 'lilypond' 'swig' 'texinfo' 'txt2man' 'pkg-config')
+optdepends=('timidity++: Software MIDI support')
+changelog=$pkgname.changelog
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ solfege.desktop)
+md5sums=('c65df6e0eb7a724b8a81e41d23344e02'
+ '22b89dcfd9e7c98ab238942139b8a970')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # python2 fix
+ for file in $(find . -name '*.py' -print); do
+ sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+ sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+ done
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 ../$pkgname.desktop \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/solfege/solfege.changelog b/community/solfege/solfege.changelog
new file mode 100644
index 000000000..00b82a49e
--- /dev/null
+++ b/community/solfege/solfege.changelog
@@ -0,0 +1,100 @@
+2011-03-17 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.18.7
+ upstream release
+
+2010-10-13 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.18.4
+ upstream release
+
+2010-10-10 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.18.3
+ upstream release
+
+
+2010-10-02 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.17.0
+ workaround managed for build issue
+
+2010-09-23 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.16.4
+ 3.17.0 does not build; upstream issue [1]
+ rebuilt for python(2)
+
+ [1] http://code.google.com/p/solfege/issues/detail?id=197
+
+2010-05-20 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.16.3
+
+ * solfege.desktop: fixed categories for better fit
+
+2010-04-20 Ray Rashif <schiv@archlinux.org>
+
+ * Version bump: 3.16.1
+
+ * PKGBUILD: minor changes
+
+ * solfege.install: added to remove any MIDI confusion
+
+2009-09-08 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.15.2
+
+ * PKGBUILD: fixed timidity++ dependency
+
+2009-07-15 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.14.5
+
+ * PKGBUILD: removed desktop-file-utils dependency since
+ solfege.desktop does not declare any MimeType entry; added
+ ghostscript, gnome-doc-utils, librsvg and lilypond makedepends
+
+2009-04-19 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.14.2
+
+ * PKGBUILD: removed old sed fix, added optdepends, moved texinfo to
+ makedepends, added swig and libxslt to makedepends
+
+ * solfege.install: removed
+
+2008-11-12 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.12.0
+
+ * PKGBUILD: added txt2man make dependency
+
+2008-06-15 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.10.4
+
+ * PKGBUILD: moved from $startdir to $srcdir/$pkgdir
+
+ * solfege.install: removed unnecessary reference to the AUR
+
+2008-03-24 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.10.3
+
+ * PKGBUILD: moved desktop-file-utils to depends, added pkgconfig
+ makedepend, added a sed fix to allow compilation of all files
+
+ * ChangeLog: fixed file format
+
+ * solfege.install: removed post_upgrade(), a few other small changes
+
+2007-10-20 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 3.8.2
+
+ * PKGBUILD: added desktop-file-utils to makedepends
+
+ * solfege.install: added
+
+ * solfege.desktop: added
diff --git a/community/solfege/solfege.desktop b/community/solfege/solfege.desktop
new file mode 100644
index 000000000..10c62089c
--- /dev/null
+++ b/community/solfege/solfege.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=GNU Solfege
+Exec=solfege
+Terminal=false
+Type=Application
+Icon=solfege
+Categories=Audio;Music;Education;
diff --git a/community/solfege/solfege.install b/community/solfege/solfege.install
new file mode 100644
index 000000000..003382003
--- /dev/null
+++ b/community/solfege/solfege.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo "==> To get sound out of MIDI-based components like Rhythm:"
+ echo
+ echo "Preferences > Sound Setup > Use external MIDI player"
+ echo
+ echo "==> And make sure you have timidity++ installed and configured,"
+ echo "==> otherwise you need a capable hardware MIDI player to use"
+ echo "==> the ALSA/OSS MIDI devices."
+}
+# vim:set ts=2 sw=2 et: