summaryrefslogtreecommitdiff
path: root/audio/gkrellmss2
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-01 02:57:08 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-01 02:57:08 +0000
commitba6d67aeae137d4d4c1d14d48ba54842ee605c43 (patch)
treebec247baa2c3ecaa9376c5315574470b952fe216 /audio/gkrellmss2
parentUpdate to 1.99.6 (aka 2.0 RC2). (diff)
New port: audio/gkrellmss2
Attached is a port of the gkrellmss plugin for gkrellm2. PR: ports/47917 Submitted by: Lars Eggert <larse@isi.edu>
Notes
Notes: svn path=/head/; revision=88228
Diffstat (limited to 'audio/gkrellmss2')
-rw-r--r--audio/gkrellmss2/Makefile43
-rw-r--r--audio/gkrellmss2/distinfo1
-rw-r--r--audio/gkrellmss2/files/patch-src::Makefile39
-rw-r--r--audio/gkrellmss2/pkg-descr18
-rw-r--r--audio/gkrellmss2/pkg-plist5
5 files changed, 106 insertions, 0 deletions
diff --git a/audio/gkrellmss2/Makefile b/audio/gkrellmss2/Makefile
new file mode 100644
index 000000000000..ca1046236f36
--- /dev/null
+++ b/audio/gkrellmss2/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: gkrellmss
+# Date Created: Tue Feb 4 13:24:50 PST 2003
+# Whom: Lars Eggert <larse@isi.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gkrellmss
+PORTVERSION= 2.3
+CATEGORIES= audio
+MASTER_SITES= http://web.wt.net/~billw/gkrellmss/
+
+MAINTAINER= larse@isi.edu
+COMMENT= A plugin for GKrellM with a VU meter showing left/right channel audio
+
+BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+LIB_DEPENDS= gdk_pixbuf_xlib.2:${PORTSDIR}/graphics/gdk-pixbuf
+LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= esound imlib
+USE_XPM= yes
+
+DOC_FILES= Changelog README Themes
+
+MAKE_ENV+= PLUGIN_INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
+ INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
+ LOCALEDIR=${PREFIX}/share/locale \
+ FFTW_LIB_DIR=-L${LOCALBASE}/lib \
+ enable_nls=1
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/gkrellmss2/distinfo b/audio/gkrellmss2/distinfo
new file mode 100644
index 000000000000..76583ee016d0
--- /dev/null
+++ b/audio/gkrellmss2/distinfo
@@ -0,0 +1 @@
+MD5 (gkrellmss-2.3.tar.gz) = 457a85c28f049ef0787c842b5494ece0
diff --git a/audio/gkrellmss2/files/patch-src::Makefile b/audio/gkrellmss2/files/patch-src::Makefile
new file mode 100644
index 000000000000..128aefe8456e
--- /dev/null
+++ b/audio/gkrellmss2/files/patch-src::Makefile
@@ -0,0 +1,39 @@
+--- src/Makefile.orig Sat Oct 26 20:48:59 2002
++++ src/Makefile Tue Feb 4 13:17:23 2003
+@@ -10,15 +10,15 @@
+ SD_INCLUDE =
+ SD_LIB = -lasound
+ else
+-SD_INCLUDE = `esd-config --cflags`
+-SD_LIB = `esd-config --libs`
++SD_INCLUDE = `${ESD_CONFIG} --cflags`
++SD_LIB = `${ESD_CONFIG} --libs`
+ endif
+
+ FFTW_LIB_DIR ?=
+
+ FFTW_LIB = $(FFTW_LIB_DIR) -lrfftw -lfftw
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
+ LIBS = $(GTK_LIB) $(SD_LIB) $(FFTW_LIB) -lm
+
+ ifeq ($(OS_NAME),Darwin)
+@@ -42,7 +42,7 @@
+ FLAGS += -DGKRELLM_ALSA5
+ endif
+
+-CC = gcc $(FLAGS) $(CFLAGS)
++CC += $(FLAGS) $(CFLAGS)
+
+ OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
+
+@@ -56,7 +56,7 @@
+
+ install:
+ $(INSTALL) -d -m 755 $(INSTALLDIR)
+- $(INSTALL) -c $(STRIP) -m 755 gkrellmss.so $(INSTALLDIR)
++ $(INSTALL) gkrellmss.so $(INSTALLDIR)
+
+ gkrellmss.o: gkrellmss.c gkrellmss.h
+ oscope.o: oscope.c gkrellmss.h
diff --git a/audio/gkrellmss2/pkg-descr b/audio/gkrellmss2/pkg-descr
new file mode 100644
index 000000000000..298f6ccaf6d0
--- /dev/null
+++ b/audio/gkrellmss2/pkg-descr
@@ -0,0 +1,18 @@
+GKrellMSS displays a VU meter showing left and right channel audio
+levels and also has a chart that shows combined left and right
+audio channels as an oscilloscope trace.
+
+There are two buttons to the left of the VU Meter which select an
+oscope horizontal sweep speed ranging from 100 microseconds (usec)
+per division to 50 miliseconds (msec) per division. There are 5
+horizontal divisions, so a trace sweep time can range from 500 usec
+(1/2000 sec) to 250 msec (1/4 sec). The oscope trace is triggered
+by a positive zero crossing audio signal to give nice stable
+displays.
+
+There is also a sensitivity level adjustment for the VU Meter and
+oscope chart. Use the mouse wheel to adjust, or left click and drag
+the sensitivity krell.
+
+Author: Bill Wilson <bill@gkrellm.net>
+WWW: http://web.wt.net/~billw/gkrellmss/gkrellmss.html
diff --git a/audio/gkrellmss2/pkg-plist b/audio/gkrellmss2/pkg-plist
new file mode 100644
index 000000000000..f14ae04e7114
--- /dev/null
+++ b/audio/gkrellmss2/pkg-plist
@@ -0,0 +1,5 @@
+libexec/gkrellm2/plugins/gkrellmss.so
+%%PORTDOCS%%share/doc/gkrellmss/Changelog
+%%PORTDOCS%%share/doc/gkrellmss/README
+%%PORTDOCS%%share/doc/gkrellmss/Themes
+%%PORTDOCS%%@dirrm share/doc/gkrellmss