summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-26 10:48:58 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-26 10:48:58 +0000
commit3859b7ab44b13fac3eb4af472ab7a40470bfbe2d (patch)
tree464519488217daaf1368b340ba5002634972a1e8 /sci-visualization/spectromatic
parentFix bug 248865. (diff)
downloadhistorical-3859b7ab44b13fac3eb4af472ab7a40470bfbe2d.tar.gz
historical-3859b7ab44b13fac3eb4af472ab7a40470bfbe2d.tar.bz2
historical-3859b7ab44b13fac3eb4af472ab7a40470bfbe2d.zip
Fix installation for man files, cleaned ebuild and propagate cflags
Package-Manager: portage-2.2_rc15/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-visualization/spectromatic')
-rw-r--r--sci-visualization/spectromatic/ChangeLog9
-rw-r--r--sci-visualization/spectromatic/Manifest16
-rw-r--r--sci-visualization/spectromatic/files/spectromatic-1.0-makefile.patch43
-rw-r--r--sci-visualization/spectromatic/metadata.xml11
-rw-r--r--sci-visualization/spectromatic/spectromatic-1.0-r1.ebuild35
5 files changed, 111 insertions, 3 deletions
diff --git a/sci-visualization/spectromatic/ChangeLog b/sci-visualization/spectromatic/ChangeLog
index 4356b1ba23a3..2efa11bcb8b7 100644
--- a/sci-visualization/spectromatic/ChangeLog
+++ b/sci-visualization/spectromatic/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-visualization/spectromatic
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spectromatic/ChangeLog,v 1.4 2008/02/13 15:01:21 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spectromatic/ChangeLog,v 1.5 2008/11/26 10:48:57 bicatali Exp $
+
+*spectromatic-1.0-r1 (26 Nov 2008)
+
+ 26 Nov 2008; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/spectromatic-1.0-makefile.patch, metadata.xml,
+ +spectromatic-1.0-r1.ebuild:
+ Fix installation for man files, cleaned ebuild and propagate cflags
13 Feb 2008; Markus Dittrich <markusle@gentoo.org>
spectromatic-1.0.ebuild:
diff --git a/sci-visualization/spectromatic/Manifest b/sci-visualization/spectromatic/Manifest
index a6165414f7ea..3a81e25279d9 100644
--- a/sci-visualization/spectromatic/Manifest
+++ b/sci-visualization/spectromatic/Manifest
@@ -1,6 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX spectromatic-1.0-gentoo.diff 603 RMD160 ec538bfe07d5db5c1612e7a167e7a3befc14ea74 SHA1 334547beff15dde2429a583e937c59ea78b84f38 SHA256 f4aaf93a836b1169cea6e1069fc012e7800116f1df237579a84447864417e865
+AUX spectromatic-1.0-makefile.patch 1091 RMD160 cda4ad00a4aa44ca784d798aea3fd8ad133fa3f8 SHA1 01d7e52fecb5002231a41f6865b92567555ecfb9 SHA256 476cdde5292627a51ab8eb3746eeb5ab1cfc78ebe9621663a4c9aee60f9aa4ce
AUX spectromatic-1.0-stringliteral.patch 2217 RMD160 8d78c644fa90850c3849ace2ffd6872d4ffb1f39 SHA1 1fd5d609b88e8d48bbd14a1e4c883b1f62afb29d SHA256 9f44677c651584acd5b01b25c94639d6349803a341af99fb348311433c3abd79
DIST spectromatic_1.0-1.tar.gz 13724 RMD160 bd9294639745b1f95cc9523fe5619e7b1517c0eb SHA1 a3c571f8a03c625a3d9f26c1ad9ef8ec9035ce0e SHA256 5ed057c6c37cc7c5a6a1c8975cb0a74085baa8b18467f4643d40c0986fc45fd4
+EBUILD spectromatic-1.0-r1.ebuild 932 RMD160 585e7ec8eb2c8b7a5958428675f597f44d2c7834 SHA1 926f718924f664804200de8de426b8fb6c59efdb SHA256 b6221668aab9c0bb238be5d7e3e1fff76026c95831f83e134973ed426530f78f
EBUILD spectromatic-1.0.ebuild 980 RMD160 971f86920d788e838e4e5355dd057fef0ef39e16 SHA1 74ff6e184f797f939e782e4ca6f67f2d39479a7c SHA256 754f319c92d2ae46366651cd418169a295698e302eac8bb8ed622eb49ebea4b6
-MISC ChangeLog 1692 RMD160 e4949aab0ab1acd6adb4af4b14816ae5c1089d99 SHA1 2b0bd3251024a91ce84f817260a3beafc9900855 SHA256 c94676dcde4edd1ab32d8d91f862544b694523c8126bbf70b892578d97cc6f55
-MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
+MISC ChangeLog 1941 RMD160 1e484278618cb9f4d01b885dd72b85a36730e0ea SHA1 1f430b0eaa277953f1a9541648ca7396750a0b40 SHA256 4019061f71f79528e59ee19aa8eb23175586f9f9faa92f991cea98dec5b0a48f
+MISC metadata.xml 782 RMD160 8b1a3572979590ff70b3ea293d4529ec28dc2354 SHA1 c8dd1848e055fea62d2a4737c99a7d691516d51b SHA256 330bd71f2be64f790ffb5cdf585ddeb872105ab68a52a8276ad20ff4b3b206cb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkktKcsACgkQ1ycZbhPLE2CUuACgoFvtmlbpJ4rE0wuCC/ChMZ5y
+pCMAn01PFks1GlXjgP/kkSNSY7Djp6d3
+=tl3L
+-----END PGP SIGNATURE-----
diff --git a/sci-visualization/spectromatic/files/spectromatic-1.0-makefile.patch b/sci-visualization/spectromatic/files/spectromatic-1.0-makefile.patch
new file mode 100644
index 000000000000..941cb3bd39da
--- /dev/null
+++ b/sci-visualization/spectromatic/files/spectromatic-1.0-makefile.patch
@@ -0,0 +1,43 @@
+--- spectromatic-1.0/Makefile 2002-03-30 05:17:34.000000000 +0000
++++ spectromatic-1.0.new/Makefile 2008-11-26 10:43:15.910065276 +0000
+@@ -1,33 +1,29 @@
+ # Makefile for spectromatic
+
+-CFLAGS = -O2 -Wall
+ LIBS = -lgsl -lgslcblas -lpng -lm
+ DESTDIR =
+ TOPLEVEL_HOME = /usr
+
+-CC = gcc -I.
+-
+ SRC = spectromatic.c wave.c
+
+ OBJ = $(SRC:.c=.o)
+
+ TARGET = spectromatic
+
+-install: all
+- mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/bin
+- mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/man/man1
+- install -o root -g root -m 0755 spectromatic $(DESTDIR)$(TOPLEVEL_HOME)/bin
+- install -o root -g root -m 0644 man/spectromatic.1 $(DESTDIR)$(TOPLEVEL_HOME)/man/man1
+-
+ all: $(OBJ)
+ $(CC) -o $(TARGET) $(OBJ) $(LIBS)
+- strip $(TARGET)
++
++install: all
++ mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/bin
++ mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/share/man/man1
++ install -m 0755 spectromatic $(DESTDIR)$(TOPLEVEL_HOME)/bin
++ install -m 0644 man/spectromatic.1 $(DESTDIR)$(TOPLEVEL_HOME)/share/man/man1
+
+ clean:
+ $(RM) $(TARGET) $(OBJ)
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) -I. -c $<
+
+ .o:
+ $(CC) $< $(LIBS) -o $@
diff --git a/sci-visualization/spectromatic/metadata.xml b/sci-visualization/spectromatic/metadata.xml
index b229aec85b8f..cbca6963eeed 100644
--- a/sci-visualization/spectromatic/metadata.xml
+++ b/sci-visualization/spectromatic/metadata.xml
@@ -2,4 +2,15 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<longdescription lang="en">
+ Spectromatic is a program for generating spectrograms from audio
+ files. Spectrograms are a form of simple time-frequency analysis which
+ lets you see how the distribution of energy at different frequencies
+ in an audio stream change over time. For example, if you play a scale
+ on a musical instrument, you will see a climbing and/or descending
+ pattern of blobs as you move from left to right.
+ Spectromatic reads its input as mono or stereo 16-bit wave files, and
+ writes the output image to an elongated PNG image (colour for stereo,
+ grayscale for mono audio).
+</longdescription>
</pkgmetadata>
diff --git a/sci-visualization/spectromatic/spectromatic-1.0-r1.ebuild b/sci-visualization/spectromatic/spectromatic-1.0-r1.ebuild
new file mode 100644
index 000000000000..53d42ab5cc17
--- /dev/null
+++ b/sci-visualization/spectromatic/spectromatic-1.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/spectromatic/spectromatic-1.0-r1.ebuild,v 1.1 2008/11/26 10:48:57 bicatali Exp $
+
+inherit eutils
+
+MY_P="spectromatic_1.0-1"
+
+DESCRIPTION="Generates time-frequency analysis images from wav files"
+HOMEPAGE="http://ieee.uow.edu.au/~daniel/software/spectromatic/"
+SRC_URI="http://ieee.uow.edu.au/~daniel/software/spectromatic/dist/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="bindist"
+
+DEPEND="media-libs/libpng
+ !bindist? ( sci-libs/gsl )
+ bindist? ( <sci-libs/gsl-1.10 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-stringliteral.patch
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README
+}