diff --git a/audio/mixer.app/Makefile b/audio/mixer.app/Makefile new file mode 100644 index 00000000000..b4728f60f92 --- /dev/null +++ b/audio/mixer.app/Makefile @@ -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 + +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 diff --git a/audio/mixer.app/files/Mixer.1 b/audio/mixer.app/files/Mixer.1 new file mode 100644 index 00000000000..a9baee63660 --- /dev/null +++ b/audio/mixer.app/files/Mixer.1 @@ -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 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 option +if you want to use a different file. diff --git a/audio/mixer.app/files/md5 b/audio/mixer.app/files/md5 new file mode 100644 index 00000000000..ffa2b1293f6 --- /dev/null +++ b/audio/mixer.app/files/md5 @@ -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 diff --git a/audio/mixer.app/patches/patch-Imakefile b/audio/mixer.app/patches/patch-Imakefile new file mode 100644 index 00000000000..d59982c0d5a --- /dev/null +++ b/audio/mixer.app/patches/patch-Imakefile @@ -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) + diff --git a/audio/mixer.app/patches/patch-Mixer_cc b/audio/mixer.app/patches/patch-Mixer_cc new file mode 100644 index 00000000000..ceacb96054e --- /dev/null +++ b/audio/mixer.app/patches/patch-Mixer_cc @@ -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 + #elif defined(__FreeBSD__) + #include ++#elif defined(__OpenBSD__) ++#include + #else + #include + #endif diff --git a/audio/mixer.app/pkg/COMMENT b/audio/mixer.app/pkg/COMMENT new file mode 100644 index 00000000000..620bcb8a144 --- /dev/null +++ b/audio/mixer.app/pkg/COMMENT @@ -0,0 +1 @@ +wm-dockapp; sound mixer diff --git a/audio/mixer.app/pkg/DESCR b/audio/mixer.app/pkg/DESCR new file mode 100644 index 00000000000..b31867ba283 --- /dev/null +++ b/audio/mixer.app/pkg/DESCR @@ -0,0 +1,6 @@ +A dockapp that controls the mixer for three volumes by default: + * Master + * CD + * PCM + +WWW: ${HOMEPAGE} diff --git a/audio/mixer.app/pkg/PLIST b/audio/mixer.app/pkg/PLIST new file mode 100644 index 00000000000..38f347e5365 --- /dev/null +++ b/audio/mixer.app/pkg/PLIST @@ -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