Import of wmix-3.0, from Han Boetes <han@mijncomputer.nl>

This is an audio mixer that can run within the Window Maker "Dock"
or Aftersteps Wharf.
This commit is contained in:
wilfried 2002-01-24 13:47:13 +00:00
parent f20d68d063
commit e0d30fe4c8
7 changed files with 91 additions and 0 deletions

26
audio/wmix/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/01/24 13:47:13 wilfried Exp $
COMMENT= 'wm-dockapp; audio mixer'
DISTNAME= wmix-3.0
CATEGORIES= audio x11 x11/windowmaker
NEED_VERSION= 1.504
HOMEPAGE= http://www.ne.jp/asahi/linux/timecop/
MAINTAINER= Han Boetes <han@mijncomputer.nl>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}software/
USE_X11= Yes
NO_REGRESS= Yes
ALL_TARGET= wmix
.include <bsd.port.mk>

3
audio/wmix/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (wmix-3.0.tar.gz) = 06d8542907f7174c108a1352817f332f
RMD160 (wmix-3.0.tar.gz) = 71353217ec323e173c574b1023bd29d8e4ab0bfb
SHA1 (wmix-3.0.tar.gz) = f1c2c3e9dc169d41a7199697c7678e2651f8b035

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2002/01/24 13:47:13 wilfried Exp $
--- Makefile.orig Fri May 25 12:09:12 2001
+++ Makefile Thu Jan 24 14:35:07 2002
@@ -1,18 +1,15 @@
-CC = gcc
-CFLAGS = -O3 -W -Wall
-LDFLAGS = -L/usr/X11R6/lib
+CFLAGS += -I${X11BASE}/include
+LDFLAGS = -L${X11BASE}/lib
OBJECTS = misc.o mixer-oss.o ui_x.o wmix.o
-# where to install this program (also for packaging stuff)
-DESTDIR =
-PREFIX = $(DESTDIR)/usr/X11R6
-INSTALL = -m 755
-
wmix: $(OBJECTS)
- $(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm
+ $(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm -lossaudio
clean:
rm -rf *.o wmix *~
install: wmix
- install $(INSTALL) wmix $(PREFIX)/bin
+ ${BSD_INSTALL_PROGRAM} wmix $(PREFIX)/bin
+ @gunzip wmix.1x.gz
+ @perl -pi -e 's/\.\././' wmix.1x
+ ${BSD_INSTALL_MAN} wmix.1x $(PREFIX)/man/man1/wmix.1

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mixer-oss_c,v 1.1.1.1 2002/01/24 13:47:13 wilfried Exp $
--- mixer-oss.c.orig Fri May 25 12:00:16 2001
+++ mixer-oss.c Thu Jan 24 14:19:24 2002
@@ -27,7 +27,7 @@
#include <fcntl.h>
#include <assert.h>
#include <sys/ioctl.h>
-#include <sys/soundcard.h>
+#include <soundcard.h>
#include "include/common.h"
#include "include/misc.h"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-wmix_c,v 1.1.1.1 2002/01/24 13:47:13 wilfried Exp $
--- wmix.c.orig Fri May 25 12:55:23 2001
+++ wmix.c Thu Jan 24 14:19:24 2002
@@ -24,7 +24,7 @@
#include <string.h>
#include <signal.h>
#include <string.h>
-#include <getopt.h>
+/*#include <getopt.h>*/
#include <unistd.h>
#include <X11/X.h>

6
audio/wmix/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
This is an audio mixer that can run within the Window Maker "Dock"
or Aftersteps Wharf.
You can configure wmmixer by using a ~/.wmixrc file.
WWW: ${HOMEPAGE}

3
audio/wmix/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/01/24 13:47:13 wilfried Exp $
bin/wmix
man/man1/wmix.1