aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gkrellmms2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-09-15 03:03:23 +0800
committerume <ume@FreeBSD.org>2000-09-15 03:03:23 +0800
commit9a436c204865f02d6af96067164ccf895a724a82 (patch)
tree853a4ff513a599be7a9e087719c816c3dde1e735 /audio/gkrellmms2
parent656ed23be195bc0b11c8c108b39d38a2f93b000b (diff)
downloadfreebsd-ports-graphics-9a436c204865f02d6af96067164ccf895a724a82.tar.gz
freebsd-ports-graphics-9a436c204865f02d6af96067164ccf895a724a82.tar.zst
freebsd-ports-graphics-9a436c204865f02d6af96067164ccf895a724a82.zip
A plugin for GKrellM, which allows you to control XMMS from within GKrellM.
Diffstat (limited to 'audio/gkrellmms2')
-rw-r--r--audio/gkrellmms2/Makefile27
-rw-r--r--audio/gkrellmms2/distinfo1
-rw-r--r--audio/gkrellmms2/files/patch-aa40
-rw-r--r--audio/gkrellmms2/pkg-comment1
-rw-r--r--audio/gkrellmms2/pkg-descr8
-rw-r--r--audio/gkrellmms2/pkg-plist1
6 files changed, 78 insertions, 0 deletions
diff --git a/audio/gkrellmms2/Makefile b/audio/gkrellmms2/Makefile
new file mode 100644
index 00000000000..016234e5441
--- /dev/null
+++ b/audio/gkrellmms2/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: gkrellmms
+# Date Created: Jun 22 2000
+# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
diff --git a/audio/gkrellmms2/distinfo b/audio/gkrellmms2/distinfo
new file mode 100644
index 00000000000..fbec9e863e4
--- /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 00000000000..37269971b91
--- /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 00000000000..56dcd6eb69a
--- /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 00000000000..a236c27de60
--- /dev/null
+++ b/audio/gkrellmms2/pkg-descr
@@ -0,0 +1,8 @@
+GKrellM XMMS Plugin
+Author: Sander Klein Lebbink <sander@cerberus.demon.nl>
+WWW: http://gkrellm.luon.net/gkrellmms.phtml
+
+A plugin for GKrellM, which allows you to control XMMS from within GKrellM.
+
+
+- Hajimu UMEMOTO <ume@FreeBSD.org>
diff --git a/audio/gkrellmms2/pkg-plist b/audio/gkrellmms2/pkg-plist
new file mode 100644
index 00000000000..49ff34de4ca
--- /dev/null
+++ b/audio/gkrellmms2/pkg-plist
@@ -0,0 +1 @@
+libexec/gkrellm/plugins/xmms.so