aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-21 02:32:56 +0800
committerlioux <lioux@FreeBSD.org>2001-10-21 02:32:56 +0800
commit10a472d682887459f8dac24f333bf072cfbc0a66 (patch)
tree3d8002dac6c96b9d597f3eac9ee630b637a5bc09 /audio
parent67e9ef62ad635ffe7464178efe6f8e78649da80c (diff)
downloadfreebsd-ports-gnome-10a472d682887459f8dac24f333bf072cfbc0a66.tar.gz
freebsd-ports-gnome-10a472d682887459f8dac24f333bf072cfbc0a66.tar.zst
freebsd-ports-gnome-10a472d682887459f8dac24f333bf072cfbc0a66.zip
New port GKrellMSS version 0.2: A plugin for GKrellM with a VU
meter showing left/right channel audio Submitted by: Hammurabi Mendes <hmendes_br@yahoo.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/gkrellmss/Makefile40
-rw-r--r--audio/gkrellmss/distinfo1
-rw-r--r--audio/gkrellmss/files/patch-src::Makefile42
-rw-r--r--audio/gkrellmss/pkg-comment1
-rw-r--r--audio/gkrellmss/pkg-descr18
-rw-r--r--audio/gkrellmss/pkg-message5
-rw-r--r--audio/gkrellmss/pkg-plist5
8 files changed, 113 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 110cb224124b..ce631ce87f5d 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -64,6 +64,7 @@
SUBDIR += gdcd
SUBDIR += gdrdao
SUBDIR += gkrellmms
+ SUBDIR += gkrellmss
SUBDIR += gkrellmvolume
SUBDIR += glame
SUBDIR += gmixer
diff --git a/audio/gkrellmss/Makefile b/audio/gkrellmss/Makefile
new file mode 100644
index 000000000000..3fbb03bb4585
--- /dev/null
+++ b/audio/gkrellmss/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: gkrellmss
+# Date Created: Sun Sep 30 18:24:19 BRT 2001
+# Whom: Hammurabi Mendes <hmendes_br@yahoo.com> et al
+#
+# $FreeBSD$
+#
+
+PORTNAME= GKrellMSS
+PORTVERSION= 0.2
+CATEGORIES= audio
+MASTER_SITES= http://web.wt.net/~billw/gkrellmss/
+DISTNAME= ${PORTNAME:L}-${PORTVERSION}
+
+MAINTAINER= hmendes_br@yahoo.com
+
+BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
+LIB_DEPENDS= gdk_pixbuf_xlib.2:${PORTSDIR}/graphics/gdk-pixbuf
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_ESOUND= yes
+USE_GTK= yes
+USE_IMLIB= yes
+USE_XPM= yes
+
+DOC_FILES= Changelog README Themes
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellmss.so \
+ ${PREFIX}/libexec/gkrellm/plugins
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/audio/gkrellmss/distinfo b/audio/gkrellmss/distinfo
new file mode 100644
index 000000000000..35ab525acbeb
--- /dev/null
+++ b/audio/gkrellmss/distinfo
@@ -0,0 +1 @@
+MD5 (gkrellmss-0.2.tar.gz) = 781b20ab1ab89cff39b71ea86f02e1f1
diff --git a/audio/gkrellmss/files/patch-src::Makefile b/audio/gkrellmss/files/patch-src::Makefile
new file mode 100644
index 000000000000..d84008f36eb2
--- /dev/null
+++ b/audio/gkrellmss/files/patch-src::Makefile
@@ -0,0 +1,42 @@
+--- src/Makefile.orig Sat Aug 25 14:33:25 2001
++++ src/Makefile Sun Sep 30 18:26:49 2001
+@@ -1,13 +1,13 @@
+-INSTALLDIR ?= /usr/local/lib/gkrellm/plugins
+-INSTALL ?= install
++INSTALLDIR ?= ${PREFIX}/libexec/gkrellm/plugins
++INSTALL ?= ${INSTALL_PROGRAM}
+
+-GTK_INCLUDE = `gtk-config --cflags`
+-GTK_LIB = `gtk-config --libs`
++GTK_INCLUDE = `${GTK_CONFIG} --cflags`
++GTK_LIB = `${GTK_CONFIG} --libs`
+
+-ESD_INCLUDE = `esd-config --cflags`
+-ESD_LIB = `esd-config --libs`
++ESD_INCLUDE = `${ESD_CONFIG} --cflags`
++ESD_LIB = `${ESD_CONFIG} --libs`
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
+ LIBS = $(GTK_LIB) $(ESD_LIB)
+ LFLAGS = -shared
+
+@@ -20,7 +20,7 @@
+ endif
+
+
+-CC = gcc $(FLAGS) $(CFLAGS)
++CC += $(FLAGS) $(CFLAGS)
+
+ OBJS = gkrellmss.o sdlib.o
+
+@@ -33,8 +33,7 @@
+ rm -f *.o core *.so* *.bak *~
+
+ install:
+- $(INSTALL) -d -m 755 $(INSTALLDIR)
+- $(INSTALL) -c -s -m 755 gkrellmss.so $(INSTALLDIR)
++ $(INSTALL) gkrellmss.so $(INSTALLDIR)
+
+ gkrellmss.o: gkrellmss.c gkrellmss.h
+ sdlib.o: sdlib.c gkrellmss.h
diff --git a/audio/gkrellmss/pkg-comment b/audio/gkrellmss/pkg-comment
new file mode 100644
index 000000000000..8e74ec1cc8e1
--- /dev/null
+++ b/audio/gkrellmss/pkg-comment
@@ -0,0 +1 @@
+A plugin for GKrellM with a VU meter showing left/right channel audio
diff --git a/audio/gkrellmss/pkg-descr b/audio/gkrellmss/pkg-descr
new file mode 100644
index 000000000000..298f6ccaf6d0
--- /dev/null
+++ b/audio/gkrellmss/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/gkrellmss/pkg-message b/audio/gkrellmss/pkg-message
new file mode 100644
index 000000000000..89e2f537d919
--- /dev/null
+++ b/audio/gkrellmss/pkg-message
@@ -0,0 +1,5 @@
+
+-------------------------------------
+This port requires esd daemon to work
+-------------------------------------
+
diff --git a/audio/gkrellmss/pkg-plist b/audio/gkrellmss/pkg-plist
new file mode 100644
index 000000000000..e206d2d87b28
--- /dev/null
+++ b/audio/gkrellmss/pkg-plist
@@ -0,0 +1,5 @@
+libexec/gkrellm/plugins/gkrellmss.so
+%%PORTDOCS%%share/doc/GKrellMSS/Changelog
+%%PORTDOCS%%share/doc/GKrellMSS/README
+%%PORTDOCS%%share/doc/GKrellMSS/Themes
+%%PORTDOCS%%@dirrm share/doc/GKrellMSS