[proaudio] [1790] media-sound/jmeters import

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1790
Author:   gavlee
Date:     2010-10-28 12:28:16 +0200 (Thu, 28 Oct 2010)
Log Message:
-----------
media-sound/jmeters import

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jmeters/
    trunk/overlays/proaudio/media-sound/jmeters/ChangeLog
    trunk/overlays/proaudio/media-sound/jmeters/Manifest
    trunk/overlays/proaudio/media-sound/jmeters/files/
    trunk/overlays/proaudio/media-sound/jmeters/files/jmeters-0.2.0-makefile.patch
    trunk/overlays/proaudio/media-sound/jmeters/jmeters-0.2.0.ebuild
    trunk/overlays/proaudio/media-sound/jmeters/metadata.xml

Added: trunk/overlays/proaudio/media-sound/jmeters/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jmeters/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jmeters/ChangeLog	2010-10-28 10:28:16 UTC (rev 1790)
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/jmeters
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*jmeters-0.2.0 (28 Oct 2010)
+
+  28 Oct 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+  +jmeters-0.2.0.ebuild, +files/jmeters-0.2.0-makefile.patch, +metadata.xml:
+  Initial import.
+

Added: trunk/overlays/proaudio/media-sound/jmeters/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jmeters/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jmeters/Manifest	2010-10-28 10:28:16 UTC (rev 1790)
@@ -0,0 +1,5 @@
+AUX jmeters-0.2.0-makefile.patch 1694 RMD160 829ce222dc3a02fc635e2269607fa85bcbb16c52 SHA1 1f7a956c2555e8e6750e5143f263014f08a37ccf SHA256 bf941fa689cb1b3f36a29e4ad0049772244fe900ee90aae3c71fadf0a9138d23
+DIST jmeters-0.2.0.tar.bz2 101817 RMD160 0066491cfadb805af6f40c6656239d0c59932491 SHA1 47553b30200734cbbdc4bc91743d65510dbdd3fe SHA256 0d8b1037fdba968051fb61c6711c4f782816215cc09e2170f16cf5dae0afbf68
+EBUILD jmeters-0.2.0.ebuild 881 RMD160 ea0cfd3c50b3542dbf3e04694c42e7d00b809a3c SHA1 96ea5c04d00978084063e2025461775b313b31c1 SHA256 f265d4d50186ec5b52564accf786c9326dc685f8f8912f697ae0077750e9eac6
+MISC ChangeLog 302 RMD160 e26e2869f62a5e85919cf4c6678056afad9e9e0b SHA1 f2f4faeda33e4cd07bb3c8e64c9f18dd15e75b12 SHA256 b249a5dd5578ce401c5d2c0ba663a801793e2ca65047b265ee015cc17acaf113
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/jmeters/files/jmeters-0.2.0-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jmeters/files/jmeters-0.2.0-makefile.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jmeters/files/jmeters-0.2.0-makefile.patch	2010-10-28 10:28:16 UTC (rev 1790)
@@ -0,0 +1,46 @@
+--- jmeters-0.2.0/source/Makefile.old	2010-10-28 11:09:55.000000000 +0100
++++ jmeters-0.2.0/source/Makefile	2010-10-28 11:13:46.000000000 +0100
+@@ -14,15 +14,16 @@
+ #  along with this program; if not, write to the Free Software
+ #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ 
+-
+-PREFIX = /usr/local
++CXX ?= g++
++PREFIX ?= /usr/local
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++LIBDIR ?= lib$(SUFFIX)
+ SHARED = $(PREFIX)/share
+ PROGRAM = jmeters
+ VERSION = 0.2.0
+ DISTDIR = jmeters-$(VERSION)
+-CPPFLAGS += -O3 -Wall -MMD -MP -DPROGRAM=\"$(PROGRAM)\" -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
++#CPPFLAGS += -O3 -Wall -MMD -MP -DPROGRAM=\"$(PROGRAM)\" -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
++CPPFLAGS += -Wall -MMD -MP -DPROGRAM=\"$(PROGRAM)\" -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
+ #CPPFLAGS += -march=pentium4
+ 
+ 
+@@ -35,17 +36,17 @@
+ jmeters:	LDLIBS += -lsndfile -lclxclient -lclthreads -ljack -lpng -lXft -lX11 -lrt
+ jmeters:	LDFLAGS += -L/usr/X11R6/lib
+ jmeters:	$(JMETERS_O)
+-	g++ $(LDFLAGS) -o $@ $(JMETERS_O) $(LDLIBS)
++	$(CXX) $(LDFLAGS) -o $@ $(JMETERS_O) $(LDLIBS)
+ 
+ $(JMETERS_O):
+ -include $(JMETERS_O:%.o=%.d)
+ 
+ 
+ install:	all
+-	/usr/bin/install -d $(PREFIX)/bin
+-	/usr/bin/install -m 755 jmeters $(PREFIX)/bin
+-	/usr/bin/install -d $(SHARED)/jmeters
+-	/usr/bin/install -m 644 ../share/* $(SHARED)/jmeters
++	/usr/bin/install -d $(DESTDIR)$(PREFIX)/bin
++	/usr/bin/install -m 755 jmeters $(DESTDIR)$(PREFIX)/bin
++	/usr/bin/install -d $(DESTDIR)$(SHARED)/jmeters
++	/usr/bin/install -m 644 ../share/* $(DESTDIR)$(SHARED)/jmeters
+ 
+ clean:
+ 	/bin/rm -f *~ *.o *.a *.d *.so

Added: trunk/overlays/proaudio/media-sound/jmeters/jmeters-0.2.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jmeters/jmeters-0.2.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jmeters/jmeters-0.2.0.ebuild	2010-10-28 10:28:16 UTC (rev 1790)
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A jack multichannel audio level meter app featuring correct ballistics for both the VU and the PPM"
+HOMEPAGE="http://www.kokkinizita.net/linuxaudio/";
+SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${P}.tar.bz2";
+
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=media-libs/libclthreads-2.2.1
+	>=media-libs/libclxclient-3.3.2
+	media-sound/jack-audio-connection-kit"
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/source"
+
+src_prepare() {
+	epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+	tc-export CXX
+	emake PREFIX=/usr || die "emake failed"
+}
+
+src_install() {
+	make DESTDIR="${D}" PREFIX=/usr install || die "make install failed"
+	cd ..
+	dodoc AUTHORS README
+}

Added: trunk/overlays/proaudio/media-sound/jmeters/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/jmeters/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jmeters/metadata.xml	2010-10-28 10:28:16 UTC (rev 1790)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+</pkgmetadata>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/