pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/gkrellm1-volume Re-import of audio/gkrellm-volum...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6fdc1ceaf08a
branches: trunk
changeset: 469530:6fdc1ceaf08a
user: cube <cube%pkgsrc.org@localhost>
date: Tue Feb 24 22:33:50 2004 +0000
description:
Re-import of audio/gkrellm-volume as audio/gkrellm1-volume, to leave space
for GKrellM 2 port of the volume plugin.
diffstat:
audio/gkrellm1-volume/DESCR | 2 +
audio/gkrellm1-volume/Makefile | 21 ++++++++++++
audio/gkrellm1-volume/PLIST | 2 +
audio/gkrellm1-volume/distinfo | 6 +++
audio/gkrellm1-volume/patches/patch-aa | 57 ++++++++++++++++++++++++++++++++++
audio/gkrellm1-volume/patches/patch-ab | 13 +++++++
6 files changed, 101 insertions(+), 0 deletions(-)
diffs (125 lines):
diff -r 9a2262369c96 -r 6fdc1ceaf08a audio/gkrellm1-volume/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellm1-volume/DESCR Tue Feb 24 22:33:50 2004 +0000
@@ -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 -r 9a2262369c96 -r 6fdc1ceaf08a audio/gkrellm1-volume/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellm1-volume/Makefile Tue Feb 24 22:33:50 2004 +0000
@@ -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@localhost
+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 -r 9a2262369c96 -r 6fdc1ceaf08a audio/gkrellm1-volume/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellm1-volume/PLIST Tue Feb 24 22:33:50 2004 +0000
@@ -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 -r 9a2262369c96 -r 6fdc1ceaf08a audio/gkrellm1-volume/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellm1-volume/distinfo Tue Feb 24 22:33:50 2004 +0000
@@ -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 -r 9a2262369c96 -r 6fdc1ceaf08a audio/gkrellm1-volume/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellm1-volume/patches/patch-aa Tue Feb 24 22:33:50 2004 +0000
@@ -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 -r 9a2262369c96 -r 6fdc1ceaf08a audio/gkrellm1-volume/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellm1-volume/patches/patch-ab Tue Feb 24 22:33:50 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index