diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-01 10:57:08 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-01 10:57:08 +0800 |
commit | f406ce5c8128ef61fba7a98606cd3511edbc2409 (patch) | |
tree | 42d19d2c48262d2e0e5b8ae9a6404e11d9d9c965 /audio | |
parent | 4de5b7ee7469d310fd42e33fd31ac5034ef9f664 (diff) | |
download | freebsd-ports-gnome-f406ce5c8128ef61fba7a98606cd3511edbc2409.tar.gz freebsd-ports-gnome-f406ce5c8128ef61fba7a98606cd3511edbc2409.tar.zst freebsd-ports-gnome-f406ce5c8128ef61fba7a98606cd3511edbc2409.zip |
New port: audio/gkrellmss2
Attached is a port of the gkrellmss plugin for gkrellm2.
PR: ports/47917
Submitted by: Lars Eggert <larse@isi.edu>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/gkrellmss2/Makefile | 43 | ||||
-rw-r--r-- | audio/gkrellmss2/distinfo | 1 | ||||
-rw-r--r-- | audio/gkrellmss2/files/patch-src::Makefile | 39 | ||||
-rw-r--r-- | audio/gkrellmss2/pkg-descr | 18 | ||||
-rw-r--r-- | audio/gkrellmss2/pkg-plist | 5 |
6 files changed, 107 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index eb2121699ee5..4105aae7fca8 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -94,6 +94,7 @@ SUBDIR += gkrellmms SUBDIR += gkrellmms2 SUBDIR += gkrellmss + SUBDIR += gkrellmss2 SUBDIR += gkrellmvolume SUBDIR += gkrellmvolume2 SUBDIR += glame 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 |