Skip to content

Commit

Permalink
Import of wmix-3.0, from Han Boetes <[email protected]>
Browse files Browse the repository at this point in the history
This is an audio mixer that can run within the Window Maker "Dock"
or Aftersteps Wharf.
  • Loading branch information
Peter Stromberg committed Jan 24, 2002
1 parent 952b850 commit e1cd279
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 0 deletions.
26 changes: 26 additions & 0 deletions audio/wmix/Makefile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>

# 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 changes: 3 additions & 0 deletions audio/wmix/distinfo
Original file line number Diff line number Diff line change
@@ -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
29 changes: 29 additions & 0 deletions audio/wmix/patches/patch-Makefile
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions audio/wmix/patches/patch-mixer-oss_c
Original file line number Diff line number Diff line change
@@ -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"
12 changes: 12 additions & 0 deletions audio/wmix/patches/patch-wmix_c
Original file line number Diff line number Diff line change
@@ -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 changes: 6 additions & 0 deletions audio/wmix/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions audio/wmix/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e1cd279

Please sign in to comment.