From 9a436c204865f02d6af96067164ccf895a724a82 Mon Sep 17 00:00:00 2001 From: ume Date: Thu, 14 Sep 2000 19:03:23 +0000 Subject: A plugin for GKrellM, which allows you to control XMMS from within GKrellM. --- audio/Makefile | 1 + audio/gkrellmms/Makefile | 27 +++++++++++++++++++++++++++ audio/gkrellmms/distinfo | 1 + audio/gkrellmms/files/patch-aa | 40 ++++++++++++++++++++++++++++++++++++++++ audio/gkrellmms/pkg-comment | 1 + audio/gkrellmms/pkg-descr | 8 ++++++++ audio/gkrellmms/pkg-plist | 1 + audio/gkrellmms2/Makefile | 27 +++++++++++++++++++++++++++ audio/gkrellmms2/distinfo | 1 + audio/gkrellmms2/files/patch-aa | 40 ++++++++++++++++++++++++++++++++++++++++ audio/gkrellmms2/pkg-comment | 1 + audio/gkrellmms2/pkg-descr | 8 ++++++++ audio/gkrellmms2/pkg-plist | 1 + 13 files changed, 157 insertions(+) create mode 100644 audio/gkrellmms/Makefile create mode 100644 audio/gkrellmms/distinfo create mode 100644 audio/gkrellmms/files/patch-aa create mode 100644 audio/gkrellmms/pkg-comment create mode 100644 audio/gkrellmms/pkg-descr create mode 100644 audio/gkrellmms/pkg-plist create mode 100644 audio/gkrellmms2/Makefile create mode 100644 audio/gkrellmms2/distinfo create mode 100644 audio/gkrellmms2/files/patch-aa create mode 100644 audio/gkrellmms2/pkg-comment create mode 100644 audio/gkrellmms2/pkg-descr create mode 100644 audio/gkrellmms2/pkg-plist (limited to 'audio') diff --git a/audio/Makefile b/audio/Makefile index 93b20bb7e5e5..a3f2db53a6f5 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -22,6 +22,7 @@ SUBDIR += esound SUBDIR += extace SUBDIR += gdcd + SUBDIR += gkrellmms SUBDIR += gkrellmvolume SUBDIR += gmixer SUBDIR += gnapster diff --git a/audio/gkrellmms/Makefile b/audio/gkrellmms/Makefile new file mode 100644 index 000000000000..016234e54414 --- /dev/null +++ b/audio/gkrellmms/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: gkrellmms +# Date Created: Jun 22 2000 +# Whom: Hajimu UMEMOTO +# +# $FreeBSD$ +# + +PORTNAME= gkrellmms +PORTVERSION= 0.5.4 +CATEGORIES= audio +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= xmms.1:${PORTSDIR}/audio/xmms \ + gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ + gdk_imlib.5:${PORTSDIR}/graphics/imlib +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +USE_X_PREFIX= yes +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.include diff --git a/audio/gkrellmms/distinfo b/audio/gkrellmms/distinfo new file mode 100644 index 000000000000..fbec9e863e47 --- /dev/null +++ b/audio/gkrellmms/distinfo @@ -0,0 +1 @@ +MD5 (gkrellmms-0.5.4.tar.gz) = a2cbe4fc0d5cfc667b35b44e8fd6d927 diff --git a/audio/gkrellmms/files/patch-aa b/audio/gkrellmms/files/patch-aa new file mode 100644 index 000000000000..37269971b91d --- /dev/null +++ b/audio/gkrellmms/files/patch-aa @@ -0,0 +1,40 @@ +Index: Makefile +diff -u Makefile.orig Makefile +--- Makefile.orig Sun Jul 2 01:45:19 2000 ++++ Makefile Fri Sep 15 03:30:01 2000 +@@ -3,27 +3,27 @@ + # You may want to rename the binary-file. + BIN_FILENAME = gkrellmms + +-GTK_INCLUDE = `gtk-config --cflags` +-GTK_LIB = `gtk-config --libs` ++GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread` ++GTK_LIB = `$(GTK_CONFIG) --libs gthread` + IMLIB_INCLUDE = `imlib-config --cflags-gdk` + IMLIB_LIB = `imlib-config --libs-gdk` + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) +-LFLAGS = -shared -lpthread -lxmms +- +-CC = gcc $(CFLAGS) $(FLAGS) ++LFLAGS = -shared -lxmms + + OBJS = gkrellmms.o options.o playlist.o + ++all: $(BIN_FILENAME).so ++ + $(BIN_FILENAME).so: $(OBJS) +- $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ + + install: +- install -c -s -m 755 $(BIN_FILENAME).so /usr/share/gkrellm/plugins ++ install -c -s -m 755 $(BIN_FILENAME).so $(PREFIX)/libexec/gkrellm/plugins + + gkrellmms.c.o: gkrellmms.c + options.c.o: options.c diff --git a/audio/gkrellmms/pkg-comment b/audio/gkrellmms/pkg-comment new file mode 100644 index 000000000000..56dcd6eb69af --- /dev/null +++ b/audio/gkrellmms/pkg-comment @@ -0,0 +1 @@ +GKrellM XMMS Plugin diff --git a/audio/gkrellmms/pkg-descr b/audio/gkrellmms/pkg-descr new file mode 100644 index 000000000000..a236c27de607 --- /dev/null +++ b/audio/gkrellmms/pkg-descr @@ -0,0 +1,8 @@ +GKrellM XMMS Plugin +Author: Sander Klein Lebbink +WWW: http://gkrellm.luon.net/gkrellmms.phtml + +A plugin for GKrellM, which allows you to control XMMS from within GKrellM. + + +- Hajimu UMEMOTO diff --git a/audio/gkrellmms/pkg-plist b/audio/gkrellmms/pkg-plist new file mode 100644 index 000000000000..49ff34de4ca0 --- /dev/null +++ b/audio/gkrellmms/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/xmms.so diff --git a/audio/gkrellmms2/Makefile b/audio/gkrellmms2/Makefile new file mode 100644 index 000000000000..016234e54414 --- /dev/null +++ b/audio/gkrellmms2/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: gkrellmms +# Date Created: Jun 22 2000 +# Whom: Hajimu UMEMOTO +# +# $FreeBSD$ +# + +PORTNAME= gkrellmms +PORTVERSION= 0.5.4 +CATEGORIES= audio +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= xmms.1:${PORTSDIR}/audio/xmms \ + gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ + gdk_imlib.5:${PORTSDIR}/graphics/imlib +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +USE_X_PREFIX= yes +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.include diff --git a/audio/gkrellmms2/distinfo b/audio/gkrellmms2/distinfo new file mode 100644 index 000000000000..fbec9e863e47 --- /dev/null +++ b/audio/gkrellmms2/distinfo @@ -0,0 +1 @@ +MD5 (gkrellmms-0.5.4.tar.gz) = a2cbe4fc0d5cfc667b35b44e8fd6d927 diff --git a/audio/gkrellmms2/files/patch-aa b/audio/gkrellmms2/files/patch-aa new file mode 100644 index 000000000000..37269971b91d --- /dev/null +++ b/audio/gkrellmms2/files/patch-aa @@ -0,0 +1,40 @@ +Index: Makefile +diff -u Makefile.orig Makefile +--- Makefile.orig Sun Jul 2 01:45:19 2000 ++++ Makefile Fri Sep 15 03:30:01 2000 +@@ -3,27 +3,27 @@ + # You may want to rename the binary-file. + BIN_FILENAME = gkrellmms + +-GTK_INCLUDE = `gtk-config --cflags` +-GTK_LIB = `gtk-config --libs` ++GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread` ++GTK_LIB = `$(GTK_CONFIG) --libs gthread` + IMLIB_INCLUDE = `imlib-config --cflags-gdk` + IMLIB_LIB = `imlib-config --libs-gdk` + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) +-LFLAGS = -shared -lpthread -lxmms +- +-CC = gcc $(CFLAGS) $(FLAGS) ++LFLAGS = -shared -lxmms + + OBJS = gkrellmms.o options.o playlist.o + ++all: $(BIN_FILENAME).so ++ + $(BIN_FILENAME).so: $(OBJS) +- $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ + + install: +- install -c -s -m 755 $(BIN_FILENAME).so /usr/share/gkrellm/plugins ++ install -c -s -m 755 $(BIN_FILENAME).so $(PREFIX)/libexec/gkrellm/plugins + + gkrellmms.c.o: gkrellmms.c + options.c.o: options.c diff --git a/audio/gkrellmms2/pkg-comment b/audio/gkrellmms2/pkg-comment new file mode 100644 index 000000000000..56dcd6eb69af --- /dev/null +++ b/audio/gkrellmms2/pkg-comment @@ -0,0 +1 @@ +GKrellM XMMS Plugin diff --git a/audio/gkrellmms2/pkg-descr b/audio/gkrellmms2/pkg-descr new file mode 100644 index 000000000000..a236c27de607 --- /dev/null +++ b/audio/gkrellmms2/pkg-descr @@ -0,0 +1,8 @@ +GKrellM XMMS Plugin +Author: Sander Klein Lebbink +WWW: http://gkrellm.luon.net/gkrellmms.phtml + +A plugin for GKrellM, which allows you to control XMMS from within GKrellM. + + +- Hajimu UMEMOTO diff --git a/audio/gkrellmms2/pkg-plist b/audio/gkrellmms2/pkg-plist new file mode 100644 index 000000000000..49ff34de4ca0 --- /dev/null +++ b/audio/gkrellmms2/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/xmms.so -- cgit