summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/scala-bin/ChangeLog8
-rw-r--r--media-sound/scala-bin/Manifest5
-rw-r--r--media-sound/scala-bin/files/scala-bin.pngbin0 -> 503 bytes
-rw-r--r--media-sound/scala-bin/metadata.xml32
-rw-r--r--media-sound/scala-bin/scala-bin-2.2.ebuild83
5 files changed, 128 insertions, 0 deletions
diff --git a/media-sound/scala-bin/ChangeLog b/media-sound/scala-bin/ChangeLog
new file mode 100644
index 000000000..83eabba53
--- /dev/null
+++ b/media-sound/scala-bin/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-sound/scala-bin
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Dec 2007; Jakub Moc <jakub@gentoo.org> +files/scala-bin.png,
+ +metadata.xml, +scala-bin-2.2.ebuild:
+ New ebuild, written by myself
+
diff --git a/media-sound/scala-bin/Manifest b/media-sound/scala-bin/Manifest
new file mode 100644
index 000000000..977dc737e
--- /dev/null
+++ b/media-sound/scala-bin/Manifest
@@ -0,0 +1,5 @@
+AUX scala-bin.png 503 RMD160 f7de61f8d3ecfcfb11aed52b4b8211b000cb03ea SHA1 ee1c889e4b0fe798f430274fec8c0a31c2ac3f96 SHA256 f26a927fd37ffd631b54b5d8011a1aa98232ec39262e3a7c71a525161a3b2475
+DIST scala-22-pc-linux.tar.bz2 4329755 RMD160 6b278483cc3d885f2593fb08aecea0e581c2767c SHA1 cb7ed3e7be8e5146096c5d943d85141f0e5d0ca5 SHA256 ee6c563cd1ee8efd58760143ebd85916159447cb60e4185d74261214105607c7
+EBUILD scala-bin-2.2.ebuild 2232 RMD160 362a3e0107d845262f73f62ad4a51677202f0580 SHA1 f5665e1d930d7be2cbb2937d3f8394303c3445f7 SHA256 bfdba57d8f341afd59d24f957365a9ffd2bd693e082127918dd3eb3f9b01cd7a
+MISC ChangeLog 261 RMD160 036719223c2c389ea66a2bed6ae7e4161aa513ca SHA1 4fe0b2faeb9db2c04dff1225ae4d49555cbc604f SHA256 17dfa7ebc1c27debcb0b25c256d904d131571d9aaa449f3cd6a7b408eb6bef3c
+MISC metadata.xml 1755 RMD160 a8858bec3d6fa9c97865b199f3a5330b937bae58 SHA1 a4fe9273ffa34662e06ca0ca0857674d4b1c3558 SHA256 5f7ac56e9e6f168d042de025368e886e4f42636e854c231e89c49b545d85a295
diff --git a/media-sound/scala-bin/files/scala-bin.png b/media-sound/scala-bin/files/scala-bin.png
new file mode 100644
index 000000000..39949323c
--- /dev/null
+++ b/media-sound/scala-bin/files/scala-bin.png
Binary files differ
diff --git a/media-sound/scala-bin/metadata.xml b/media-sound/scala-bin/metadata.xml
new file mode 100644
index 000000000..a099df88a
--- /dev/null
+++ b/media-sound/scala-bin/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+<longdescription>
+Scala is a powerful software tool for experimentation with musical tunings,
+such as just intonation scales, equal and historical temperaments, microtonal
+and macrotonal scales, and non-Western scales. It supports scale creation,
+editing, comparison, analysis, storage, tuning of electronic instruments,
+and MIDI file generation and tuning conversion. All this is integrated into
+a single application with a wide variety of mathematical routines and scale
+creation methods. Scala is ideal for the exploration of tunings and becoming
+familiar with the concepts involved. In addition, a very large library of
+scales is freely available for Scala and can be used for analysis or music
+creation.
+
+Great care has been taken to make Scala's functions and operations very
+general. The range of parameter values that commands accept is made as wide
+as possible. Often various forms of input are allowed. No arbitrary
+restrictions are made. Scales are stored in a flexible format. Intervals can
+be entered and saved as either ratios or in cents and be intermixed within
+a single scale.
+
+Constructing scales from scratch is one of Scala's strengths. The kinds of
+scales that can be made with Scala include: equal temperaments, Pythagorean
+(meantone) scales, Euler-Fokker genera, Fokker periodicity blocks, harmonic
+scales, Partch diamonds and Wilson combination product sets. In addition,
+a set of command files is included to build other kinds of scales such as
+triadic scales, circular mirrorings, circulating temperaments, etc., and to
+serve as examples.
+</longdescription>
+</pkgmetadata>
diff --git a/media-sound/scala-bin/scala-bin-2.2.ebuild b/media-sound/scala-bin/scala-bin-2.2.ebuild
new file mode 100644
index 000000000..9ec051085
--- /dev/null
+++ b/media-sound/scala-bin/scala-bin-2.2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit versionator eutils fdo-mime gnome2-utils
+
+MY_PV="$(delete_all_version_separators ${PV})"
+MY_P="${PN/-bin}-${MY_PV}-pc-linux"
+
+DESCRIPTION="Scala is a powerful software tool for experimentation with musical tunings."
+HOMEPAGE="http://www.xs4all.nl/~huygensf/scala/"
+SRC_URI="http://www.xs4all.nl/~huygensf/software/${MY_P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE="midi"
+
+RDEPEND="=virtual/gnat-4.1*
+ >=dev-ada/gtkada-2.8.0
+ midi? ( media-sound/playmidi )"
+DEPEND=""
+
+RESTRICT="mirror strip"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f libgtkada-2.8.so.0 || die "cannot delete bundled gtkada"
+}
+
+src_compile() {
+ einfo "Nothing to compile, installing..."
+}
+
+src_install() {
+ for i in html xpm ; do
+ insinto /opt/${PN}/${i}
+ doins ${i}/* || die "doins failed"
+ done
+
+ insinto /opt/${PN}
+ doins *.{clv,gif,htm,html,kbm,par,scl,seq} scala.{ini,ico} scalarc || die "doins failed"
+
+ exeinto /opt/${PN}/cmd
+ doexe cmd/* || die "doexe failed"
+ exeinto /opt/${PN}
+ doexe *.cmd || die "doexe failed"
+
+ doexe scala || die "failed to install main binary"
+ dosym /opt/${PN}/scala /opt/bin/scala
+ doicon "${FILESDIR}"/${PN}.png
+ make_desktop_entry scala Scala ${PN} "AudioVideo;Audio;GNOME;GTK;Midi;Music" /opt/${PN}
+
+ local docs="cmdlist.txt commands.txt dummies.txt first.txt readme.txt"
+ dodoc ${docs}
+
+ echo "SCALA_HOME=\"/opt/scala-bin\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ elog "A collection of over 3600 scales can be downloaded from"
+ elog "http://www.xs4all.nl/~huygensf/doc/scales.zip"
+ elog "Unpack them to /opt/${PN}/scl directory using unzip -a scales.zip command."
+ elog
+ elog "NOTE: The -a option is important! The files cannot be opened if"
+ elog "NOTE: they are unzipped on Linux without this option!"
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ if [[ -d ${ROOT}/opt/${PN}/scl ]] ; then
+ elog "Seems that you have installed custom scales to ${ROOT}/opt/${PN}/scl"
+ elog "You will have to delete this directory manually."
+ fi
+}