pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/xmmsctrl Import xmmsctrl from pkgsrc-wip. Packa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5abd0a8fed8d
branches: trunk
changeset: 475026:5abd0a8fed8d
user: minskim <minskim%pkgsrc.org@localhost>
date: Sun May 09 04:42:46 2004 +0000
description:
Import xmmsctrl from pkgsrc-wip. Packaged by Michal Pasternak and
modified by me.
xmmsctrl is a small utility to control xmms from the command line.
Its goal is to be used coupled with sh to test xmms state and perform
an appropriate action, e.g. if playing then pause else play. The
interest of this is to bind keys in a window manager to have control
over xmms with keys that do play/next/pause, prev, control sound...
diffstat:
audio/xmmsctrl/DESCR | 5 +++++
audio/xmmsctrl/Makefile | 20 ++++++++++++++++++++
audio/xmmsctrl/PLIST | 2 ++
audio/xmmsctrl/distinfo | 6 ++++++
audio/xmmsctrl/patches/patch-aa | 13 +++++++++++++
audio/xmmsctrl/patches/patch-ab | 18 ++++++++++++++++++
6 files changed, 64 insertions(+), 0 deletions(-)
diffs (88 lines):
diff -r a4a9ab0cf876 -r 5abd0a8fed8d audio/xmmsctrl/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmmsctrl/DESCR Sun May 09 04:42:46 2004 +0000
@@ -0,0 +1,5 @@
+xmmsctrl is a small utility to control xmms from the command line.
+Its goal is to be used coupled with sh to test xmms state and perform
+an appropriate action, e.g. if playing then pause else play. The
+interest of this is to bind keys in a window manager to have control
+over xmms with keys that do play/next/pause, prev, control sound...
diff -r a4a9ab0cf876 -r 5abd0a8fed8d audio/xmmsctrl/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmmsctrl/Makefile Sun May 09 04:42:46 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $
+#
+
+DISTNAME= xmmsctrl-1.6
+CATEGORIES= audio
+MASTER_SITES= http://www.docs.uu.se/~adavid/utils/
+
+MAINTAINER= dotz%irc.pl@localhost
+HOMEPAGE= http://www.docs.uu.se/~adavid/utils/
+COMMENT= Small utility to control xmms from the command line
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+
+.include "../../audio/xmms/buildlink3.mk"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff -r a4a9ab0cf876 -r 5abd0a8fed8d audio/xmmsctrl/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmmsctrl/PLIST Sun May 09 04:42:46 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $
+bin/xmmsctrl
diff -r a4a9ab0cf876 -r 5abd0a8fed8d audio/xmmsctrl/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmmsctrl/distinfo Sun May 09 04:42:46 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $
+
+SHA1 (xmmsctrl-1.6.tar.gz) = 0cfb33cf841eba3bbc0230f66f22d1fa3347a799
+Size (xmmsctrl-1.6.tar.gz) = 7843 bytes
+SHA1 (patch-aa) = 0284292749623dbd435ee6e4b64a0932a5f78bf8
+SHA1 (patch-ab) = 1e208da231e3b547a9dccf8cfcf406b7143732c8
diff -r a4a9ab0cf876 -r 5abd0a8fed8d audio/xmmsctrl/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmmsctrl/patches/patch-aa Sun May 09 04:42:46 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $
+
+--- xmmsctrl.c~ Wed Nov 21 18:45:56 2001
++++ xmmsctrl.c Sun Sep 21 22:34:00 2003
+@@ -38,7 +38,7 @@
+ /* This declaration seems to be missing on my system
+ * Comment it if your are running Debian
+ */
+-void usleep(unsigned long usec);
++/* void usleep(unsigned long usec); */
+
+ /* returns true if xmms is playing a stream */
+ static gboolean is_stream_playing(gint);
diff -r a4a9ab0cf876 -r 5abd0a8fed8d audio/xmmsctrl/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmmsctrl/patches/patch-ab Sun May 09 04:42:46 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $
+
+--- Makefile.orig 2001-11-21 12:45:56.000000000 -0600
++++ Makefile
+@@ -6,10 +6,10 @@ TARGET = xmmsctrl
+ VERSION = 1.6
+ DIRNAME = $(shell basename $(PWD))
+
+-CC = gcc
++#CC = gcc
+ WARN = -Wall -ansi -pedantic -Wshadow -Wmissing-prototypes -W
+-CFLAGS = $(WARN) -O2 $(shell xmms-config --cflags) -DVERSION=\"$(VERSION)\"
+-LDFLAGS = $(shell xmms-config --libs)
++CFLAGS += $(shell xmms-config --cflags) -DVERSION=\"$(VERSION)\"
++LDFLAGS += $(shell xmms-config --libs)
+
+ all : $(TARGET) HELP
+
Home |
Main Index |
Thread Index |
Old Index