Import xmms-xf86audio 0.4.2.
A plugin that enables XMMS to use the media-control keys on many keyboards to control XMMS playback and volume.
This commit is contained in:
parent
e891aea035
commit
402a52f67a
25
audio/xmms-xf86audio/Makefile
Normal file
25
audio/xmms-xf86audio/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/05/23 22:51:34 naddy Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "XF86Audio multimedia-key support for XMMS"
|
||||
DISTNAME= xmms-xf86audio-0.4.2
|
||||
CATEGORIES= audio
|
||||
HOMEPAGE= http://www.devin.com/xmms-xf86audio/
|
||||
|
||||
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}download/
|
||||
|
||||
LIB_DEPENDS= xmms.4::audio/xmms
|
||||
WANTLIB= X11 Xext Xi m gdk glib gmodule gtk iconv intl
|
||||
|
||||
MAKE_FLAGS= CC="${CC}"
|
||||
|
||||
.include <bsd.port.mk>
|
4
audio/xmms-xf86audio/distinfo
Normal file
4
audio/xmms-xf86audio/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (xmms-xf86audio-0.4.2.tar.gz) = 515912764ccdcdc7530ebce63fc8ad5c
|
||||
RMD160 (xmms-xf86audio-0.4.2.tar.gz) = 93ecb4f24ab1b16bbacef4890413bbbb8c97a363
|
||||
SHA1 (xmms-xf86audio-0.4.2.tar.gz) = 0a63c9dd058276f4be164080fe905913189d13ed
|
||||
SIZE (xmms-xf86audio-0.4.2.tar.gz) = 14696
|
29
audio/xmms-xf86audio/patches/patch-Makefile
Normal file
29
audio/xmms-xf86audio/patches/patch-Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/05/23 22:51:34 naddy Exp $
|
||||
--- Makefile.orig Thu Apr 17 00:09:02 2003
|
||||
+++ Makefile Mon May 23 16:21:19 2005
|
||||
@@ -5,11 +5,11 @@ CC=gcc
|
||||
OPT=-O2
|
||||
DEBUG=-g
|
||||
|
||||
-CFLAGS=$(OPT) $(DEBUG) -Wall `gtk-config --cflags` `xmms-config --cflags`
|
||||
+CFLAGS+=`gtk-config --cflags` `xmms-config --cflags`
|
||||
LIBS=`gtk-config --libs` `xmms-config --libs`
|
||||
|
||||
PLUGIN=libxf86audio.so
|
||||
-PLUGINDIR=`xmms-config --general-plugin-dir`
|
||||
+PLUGINDIR=${DESTDIR}`xmms-config --general-plugin-dir`
|
||||
|
||||
all : $(PLUGIN)
|
||||
|
||||
@@ -18,10 +18,7 @@ install : $(PLUGIN)
|
||||
install $(PLUGIN) $(PLUGINDIR)
|
||||
|
||||
$(PLUGIN) : xf86audio.o
|
||||
- $(CC) $(LIBS) -shared $^ -o $@
|
||||
-
|
||||
-%.o : %.c
|
||||
- $(CC) $(CFLAGS) -c $^ -o $@
|
||||
+ $(CC) $(LIBS) -shared $? -o $@
|
||||
|
||||
clean :
|
||||
rm -f $(PLUGIN) *.o
|
2
audio/xmms-xf86audio/pkg/DESCR
Normal file
2
audio/xmms-xf86audio/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
A plugin that enables XMMS to use the media-control keys on many
|
||||
keyboards to control XMMS playback and volume.
|
2
audio/xmms-xf86audio/pkg/PLIST
Normal file
2
audio/xmms-xf86audio/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/23 22:51:34 naddy Exp $
|
||||
lib/xmms/General/libxf86audio.so
|
Loading…
Reference in New Issue
Block a user