diff options
-rw-r--r-- | audio/gkrellm-volume/DESCR | 2 | ||||
-rw-r--r-- | audio/gkrellm-volume/Makefile | 19 | ||||
-rw-r--r-- | audio/gkrellm-volume/PLIST | 2 | ||||
-rw-r--r-- | audio/gkrellm-volume/distinfo | 6 | ||||
-rw-r--r-- | audio/gkrellm-volume/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/gkrellm-volume/patches/patch-ab | 57 |
6 files changed, 99 insertions, 0 deletions
diff --git a/audio/gkrellm-volume/DESCR b/audio/gkrellm-volume/DESCR new file mode 100644 index 00000000000..ece565f5008 --- /dev/null +++ b/audio/gkrellm-volume/DESCR @@ -0,0 +1,2 @@ +gkrellm-volume is a gkrellm plugin to control all your mixer volumes. +It also allows to save/restore volumes between sessions. diff --git a/audio/gkrellm-volume/Makefile b/audio/gkrellm-volume/Makefile new file mode 100644 index 00000000000..6520bfe3cb8 --- /dev/null +++ b/audio/gkrellm-volume/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $ + +DISTNAME= volume-0.8 +PKGNAME= gkrellm-${DISTNAME} +WRKSRC= ${WRKDIR}/volume +CATEGORIES= audio +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= jmmv@hispabsd.org +HOMEPAGE= http://gkrellm.luon.net/volume.phtml +COMMENT= gkrellm volume mixer plugin + +DEPENDS+= gkrellm-1.2.*:../../sysutils/gkrellm + +USE_PTHREAD= native pth + +.include "../../graphics/imlib/buildlink.mk" +.include "../../x11/gtk/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/gkrellm-volume/PLIST b/audio/gkrellm-volume/PLIST new file mode 100644 index 00000000000..81b6e9573ad --- /dev/null +++ b/audio/gkrellm-volume/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $ +lib/gkrellm/plugins/volume.so diff --git a/audio/gkrellm-volume/distinfo b/audio/gkrellm-volume/distinfo new file mode 100644 index 00000000000..c28ccf768f9 --- /dev/null +++ b/audio/gkrellm-volume/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $ + +SHA1 (volume-0.8.tar.gz) = 7348c8fc41bdc6c236442748ef3c803851a151f8 +Size (volume-0.8.tar.gz) = 8395 bytes +SHA1 (patch-aa) = 75b6ada0775c4f574fffb00cebc3dcc8d3af1cf2 +SHA1 (patch-ab) = b05e4a5b539b1710298820518090aeb8689fed11 diff --git a/audio/gkrellm-volume/patches/patch-aa b/audio/gkrellm-volume/patches/patch-aa new file mode 100644 index 00000000000..6ad5070e637 --- /dev/null +++ b/audio/gkrellm-volume/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $ + +--- volume.c.orig Sun Apr 14 17:22:08 2002 ++++ volume.c Sun Apr 14 17:22:23 2002 +@@ -20,7 +20,7 @@ + #ifdef __FreeBSD__ + #include <machine/soundcard.h> + #else +-#include <sys/soundcard.h> ++#include <soundcard.h> + #endif + + #include "volume.h" diff --git a/audio/gkrellm-volume/patches/patch-ab b/audio/gkrellm-volume/patches/patch-ab new file mode 100644 index 00000000000..5b9f81abab4 --- /dev/null +++ b/audio/gkrellm-volume/patches/patch-ab @@ -0,0 +1,57 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $ + +--- Makefile.orig Sun Apr 14 21:36:15 2002 ++++ Makefile Sun Apr 14 21:37:33 2002 +@@ -1,27 +1,19 @@ + # Makefile for GKrellM volume plugin + +-# Linux +-GTK_CONFIG = gtk-config +-SYSLIB = -lpthread +- +-# FreeBSD +-#GTK_CONFIG = gtk12-config +-#SYSLIB = +- +-PLUGIN_DIR = /usr/share/gkrellm/plugins ++PLUGIN_DIR = ${LOCALBASE}/lib/gkrellm/plugins + GKRELLM_INCLUDE = -I/usr/local/include + +-GTK_INCLUDE = `$(GTK_CONFIG) --cflags` +-GTK_LIB = `$(GTK_CONFIG) --libs` ++GTK_INCLUDE = `gtk-config --cflags` ++GTK_LIB = `gtk-config --libs` + + IMLIB_INCLUDE = `imlib-config --cflags-gdk` + IMLIB_LIB = `imlib-config --libs-gdk` + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) +-LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB) +-LFLAGS = -shared ++CFLAGS+= -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) ++LIBS+= $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB) ++LFLAGS+= -shared -lpthread -lossaudio + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC = gcc $(CFLAGS) + + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s +@@ -30,9 +22,6 @@ + + all: volume.so + +-freebsd: +- make GTK_CONFIG=gtk12-config SYSLIB=all +- + volume.so: $(OBJS) + $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS) + +@@ -40,6 +29,7 @@ + rm -f *.o core *.so* *.bak *~ + + install: ++ mkdir -p $(PLUGIN_DIR) + $(INSTALL_PROGRAM) volume.so $(PLUGIN_DIR) + + volume.c.o: volume.c |