diff options
author | cube <cube> | 2004-02-24 22:33:50 +0000 |
---|---|---|
committer | cube <cube> | 2004-02-24 22:33:50 +0000 |
commit | c60b830afd9acefb7a2a7bd1d205ddc297acc0d5 (patch) | |
tree | b54ac0e45e550b787662f50b89e0dc0df53da2a2 /audio/gkrellm1-volume | |
parent | 44c2778a156007e3d33b5cf527051e1ee34ad78e (diff) | |
download | pkgsrc-c60b830afd9acefb7a2a7bd1d205ddc297acc0d5.tar.gz |
Re-import of audio/gkrellm-volume as audio/gkrellm1-volume, to leave space
for GKrellM 2 port of the volume plugin.
Diffstat (limited to 'audio/gkrellm1-volume')
-rw-r--r-- | audio/gkrellm1-volume/DESCR | 2 | ||||
-rw-r--r-- | audio/gkrellm1-volume/Makefile | 21 | ||||
-rw-r--r-- | audio/gkrellm1-volume/PLIST | 2 | ||||
-rw-r--r-- | audio/gkrellm1-volume/distinfo | 6 | ||||
-rw-r--r-- | audio/gkrellm1-volume/patches/patch-aa | 57 | ||||
-rw-r--r-- | audio/gkrellm1-volume/patches/patch-ab | 13 |
6 files changed, 101 insertions, 0 deletions
diff --git a/audio/gkrellm1-volume/DESCR b/audio/gkrellm1-volume/DESCR new file mode 100644 index 00000000000..ece565f5008 --- /dev/null +++ b/audio/gkrellm1-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/gkrellm1-volume/Makefile b/audio/gkrellm1-volume/Makefile new file mode 100644 index 00000000000..dca642ea035 --- /dev/null +++ b/audio/gkrellm1-volume/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 22:33:50 cube Exp $ + +DISTNAME= volume-0.8 +PKGNAME= gkrellm-${DISTNAME} +PKGREVISION= 3 +CATEGORIES= audio +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= jmmv@NetBSD.org +HOMEPAGE= http://gkrellm.luon.net/volume.phtml +COMMENT= gkrellm volume mixer plugin + +WRKSRC= ${WRKDIR}/volume +PTHREAD_OPTS= require +USE_BUILDLINK2= yes + +.include "../../graphics/imlib/buildlink2.mk" +.include "../../sysutils/gkrellm/buildlink2.mk" +.include "../../x11/gtk/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/gkrellm1-volume/PLIST b/audio/gkrellm1-volume/PLIST new file mode 100644 index 00000000000..7068a9812f2 --- /dev/null +++ b/audio/gkrellm1-volume/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 22:33:50 cube Exp $ +lib/gkrellm/plugins/volume.so diff --git a/audio/gkrellm1-volume/distinfo b/audio/gkrellm1-volume/distinfo new file mode 100644 index 00000000000..656e4cc623a --- /dev/null +++ b/audio/gkrellm1-volume/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/24 22:33:50 cube Exp $ + +SHA1 (volume-0.8.tar.gz) = 7348c8fc41bdc6c236442748ef3c803851a151f8 +Size (volume-0.8.tar.gz) = 8395 bytes +SHA1 (patch-aa) = adf96e0bd1e2b65e85394c4c50ce1db587b73195 +SHA1 (patch-ab) = 9281f2e550134887bfbc99464ab79987f4a26183 diff --git a/audio/gkrellm1-volume/patches/patch-aa b/audio/gkrellm1-volume/patches/patch-aa new file mode 100644 index 00000000000..43dbdfbb8e8 --- /dev/null +++ b/audio/gkrellm1-volume/patches/patch-aa @@ -0,0 +1,57 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 22:33:50 cube Exp $ + +--- Makefile.orig Fri Jun 23 19:47:00 2000 ++++ Makefile +@@ -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 diff --git a/audio/gkrellm1-volume/patches/patch-ab b/audio/gkrellm1-volume/patches/patch-ab new file mode 100644 index 00000000000..3bf518bd27a --- /dev/null +++ b/audio/gkrellm1-volume/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 22:33:50 cube Exp $ + +--- volume.c.orig Wed Nov 22 21:35:42 2000 ++++ volume.c +@@ -19,6 +19,8 @@ + + #ifdef __FreeBSD__ + #include <machine/soundcard.h> ++#elif __NetBSD__ ++#include <soundcard.h> + #else + #include <sys/soundcard.h> + #endif |