Initial import of mixer.app-1.5.0

A dockapp that controls the mixer for three volumes by default:
Master, CD, PCM

ok naddy@
This commit is contained in:
wilfried 2001-02-05 18:53:28 +00:00
parent bafee809b7
commit a9935b0f70
8 changed files with 120 additions and 0 deletions

27
audio/mixer.app/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/05 18:53:28 wilfried Exp $
DISTNAME= Mixer.app-1.5.0
PKGNAME= ${DISTNAME:L}
CATEGORIES= audio x11/windowmaker
NEED_VERSION= 1.340
HOMEPAGE= http://www.fukt.hk-r.se/~per/mixer/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= imake noman
USE_X11= Yes
MAKE_FLAGS= CC=g++
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/GNUstep/Apps/Mixer.app
${INSTALL_PROGRAM} ${WRKBUILD}/Mixer ${PREFIX}/GNUstep/Apps/Mixer.app
${INSTALL_MAN} files/Mixer.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,43 @@
.\" $OpenBSD: Mixer.1,v 1.1.1.1 2001/02/05 18:53:29 wilfried Exp $
.Dd Feb 21, 2000
.Dt MIXER.APP 1
.Os
.Sh NAME
.Nm Mixer.app
.Sh SYNOPSIS
.Nm Mixer.app
.Sh Hints for Mixer.app
.Sh Error led:
If the led on Mixer.app is red an error message has
been printed to stderr and something is not working
correctly. If the led is green everything is working ok.
.Sh Mute:
Right click on a volume controller to mute the sound
source. The button will then have a red led in one corner.
Right click again to restore the volume. If a muted sound
source is modified by another application Mixer.app will
automaticaly release its muted state.
.Sh Wheel mouse:
If you have a wheel mouse (where the wheel is configured as
Button4 and Button5) you can control the volume by just moving
the mouse over Mixer.app and roll the wheel up and down. Use
the command line option -w to specify which slider that should
react to the wheel movement.
.Sh Label:
If you run multiple instances of Mixer.app you might want
to be able to tell them apart. This can easily be done
by setting a label to each one of them. By using the -l
option you can add a little text label at the bottom of
the mixer.
.Sh Save volume settings:
Use the option -s or -S <file> if you want the volume
settings to be saved when Mixer.app exits, and then
loaded again when Mixer.app is started the next time.
When using -s the settings are saved in/loaded from
~/GNUstep/Defaults/Mixer. Use the -S <file> option
if you want to use a different file.

View File

@ -0,0 +1,3 @@
MD5 (Mixer.app-1.5.0.tar.gz) = b137a87c88d1caa6c53d9c81d7cb26d3
RMD160 (Mixer.app-1.5.0.tar.gz) = c5ae62b56d3fb7d038980d7521bfba9131039a9b
SHA1 (Mixer.app-1.5.0.tar.gz) = 51c996d03cbcec3779bf684596c61573cf7d49ba

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-Imakefile,v 1.1.1.1 2001/02/05 18:53:29 wilfried Exp $
--- Imakefile.orig Sat Jul 24 19:23:14 1999
+++ Imakefile Mon Feb 5 16:21:50 2001
@@ -1,16 +1,13 @@
-PREFIX = /usr/local/GNUstep/Apps/Mixer.app
-INSTALLDIR = $(PREFIX)
-BINDIR = $(PREFIX)
+INSTALLDIR = $(TRUEPREFIX)/GNUstep/Apps/Mixer.app
+BINDIR = $(TRUEPREFIX)/GNUstep/Apps/Mixer.app
XPMLIB = -lXpm
-LOCAL_LIBRARIES = $(XLIB) $(XPMLIB)
+LOCAL_LIBRARIES = $(XLIB) $(XPMLIB) -lossaudio
DEPLIBS = $(DEPXLIB)
LINTLIBS = $(LINTXLIB)
-CC = c++
-CXXFLAGS += -Wall -O6 -mpentium
SRCS = Main.cc Mixer.cc Xpm.cc
OBJS = Main.o Mixer.o Xpm.o
-ComplexProgramTarget(Mixer)
+ComplexProgramTargetNoMan(Mixer)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Mixer_cc,v 1.1.1.1 2001/02/05 18:53:29 wilfried Exp $
--- Mixer.cc.orig Wed Feb 2 01:31:42 2000
+++ Mixer.cc Mon Feb 5 16:19:30 2001
@@ -35,6 +35,8 @@
#include <linux/soundcard.h>
#elif defined(__FreeBSD__)
#include <machine/soundcard.h>
+#elif defined(__OpenBSD__)
+#include <soundcard.h>
#else
#include <sys/soundcard.h>
#endif

View File

@ -0,0 +1 @@
wm-dockapp; sound mixer

View File

@ -0,0 +1,6 @@
A dockapp that controls the mixer for three volumes by default:
* Master
* CD
* PCM
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/05 18:53:29 wilfried Exp $
GNUstep/Apps/Mixer.app/Mixer
man/man1/Mixer.1
@dirrm GNUstep/Apps/Mixer.app