diff --git a/audio/gkrellmss/Makefile b/audio/gkrellmss/Makefile new file mode 100644 index 00000000000..e0ddb139758 --- /dev/null +++ b/audio/gkrellmss/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/08/26 03:45:02 lebel Exp $ + +COMMENT= "GKrellM Sound Scope" + +DISTNAME= gkrellmss-0.2 +CATEGORIES= audio +NEED_VERSION= 1.444 + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +HOMEPAGE= http://web.wt.net/~billw/gkrellmss/gkrellmss.html +MASTER_SITES= http://web.wt.net/~billw/gkrellmss/ + +MAINTAINER= David Lebel + +USE_X11= Yes + +NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} + +BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm/gkrellm.h::sysutils/gkrellm \ + ${LOCALBASE}/bin/esd-config::audio/esound +RUN_DEPENDS= gkrellm::sysutils/gkrellm \ + esd::audio/esound +ALL_TARGET= +USE_GMAKE= Yes + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins + ${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellmss.so \ + ${PREFIX}/lib/gkrellm/plugins + +.include diff --git a/audio/gkrellmss/files/md5 b/audio/gkrellmss/files/md5 new file mode 100644 index 00000000000..46fa64a41f9 --- /dev/null +++ b/audio/gkrellmss/files/md5 @@ -0,0 +1,3 @@ +MD5 (gkrellmss-0.2.tar.gz) = 781b20ab1ab89cff39b71ea86f02e1f1 +RMD160 (gkrellmss-0.2.tar.gz) = dbd2c681fa38bb9bb948e4df57b5d7ae6bbcae52 +SHA1 (gkrellmss-0.2.tar.gz) = b443f7c7f24015f8da7d154d53c7a9c681327038 diff --git a/audio/gkrellmss/patches/patch-src_Makefile b/audio/gkrellmss/patches/patch-src_Makefile new file mode 100644 index 00000000000..28e051d11e0 --- /dev/null +++ b/audio/gkrellmss/patches/patch-src_Makefile @@ -0,0 +1,22 @@ +$OpenBSD: patch-src_Makefile,v 1.1.1.1 2001/08/26 03:45:02 lebel Exp $ +--- src/Makefile.orig Sat Aug 25 13:33:25 2001 ++++ src/Makefile Sat Aug 25 23:38:50 2001 +@@ -7,7 +7,7 @@ GTK_LIB = `gtk-config --libs` + ESD_INCLUDE = `esd-config --cflags` + ESD_LIB = `esd-config --libs` + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE) ++CFLAGS+= -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE) + LIBS = $(GTK_LIB) $(ESD_LIB) + LFLAGS = -shared + +@@ -18,9 +18,6 @@ endif + ifeq ($(enable_nls),1) + FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\" + endif +- +- +-CC = gcc $(FLAGS) $(CFLAGS) + + OBJS = gkrellmss.o sdlib.o + diff --git a/audio/gkrellmss/pkg/DESCR b/audio/gkrellmss/pkg/DESCR new file mode 100644 index 00000000000..60e6f09204e --- /dev/null +++ b/audio/gkrellmss/pkg/DESCR @@ -0,0 +1,8 @@ +GKrellMSS is a plugin for GKrellM that has a VU meter and a chart. The +VU meter displays left and right channel audio levels. The sound scope +chart draws combined left and right audio channels as an oscilloscope +trace. The trace sweep speeds are adjustable from 100 usec/div to 50 +msec/div, and there is a vertical sensitivity adjustment. And of course, +since it's a scope, it's triggered. + +WWW: ${HOMEPAGE} diff --git a/audio/gkrellmss/pkg/PLIST b/audio/gkrellmss/pkg/PLIST new file mode 100644 index 00000000000..92531be6030 --- /dev/null +++ b/audio/gkrellmss/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/26 03:45:02 lebel Exp $ +lib/gkrellm/plugins/gkrellmss.so