From 64ba01d2843ab04d866ff2be32799d24468c0f85 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 8 Jul 2002 02:43:01 +0000 Subject: Initial import of Mixer.app, provided by ptiJo in pkg/17153: A dockapp that controls the mixer for three volumes by default: * Master * CD * PCM --- audio/mixer.app/DESCR | 4 ++++ audio/mixer.app/Makefile | 22 ++++++++++++++++++++++ audio/mixer.app/PLIST | 4 ++++ audio/mixer.app/distinfo | 6 ++++++ audio/mixer.app/patches/patch-aa | 16 ++++++++++++++++ audio/mixer.app/patches/patch-ab | 13 +++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 audio/mixer.app/DESCR create mode 100644 audio/mixer.app/Makefile create mode 100644 audio/mixer.app/PLIST create mode 100644 audio/mixer.app/distinfo create mode 100644 audio/mixer.app/patches/patch-aa create mode 100644 audio/mixer.app/patches/patch-ab (limited to 'audio') diff --git a/audio/mixer.app/DESCR b/audio/mixer.app/DESCR new file mode 100644 index 00000000000..b33d311a811 --- /dev/null +++ b/audio/mixer.app/DESCR @@ -0,0 +1,4 @@ +A dockapp that controls the mixer for three volumes by default: + * Master + * CD + * PCM diff --git a/audio/mixer.app/Makefile b/audio/mixer.app/Makefile new file mode 100644 index 00000000000..e34c594697d --- /dev/null +++ b/audio/mixer.app/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/08 02:43:01 wiz Exp $ +# + +DISTNAME= Mixer.app-1.7.0 +PKGNAME= mixer.app-1.7.0 +CATEGORIES= audio +MASTER_SITES= http://www.fukt.bth.se/~per/mixer/ + +MAINTAINER= ptiJo@noos.fr +HOMEPAGE= http://www.student.hk-r.se/~pt96pli/mixer/ +COMMENT= Another mixer intended for the windowmaker dockapp + +USE_BUILDLINK_ONLY= YES + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Mixer.app ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Mixer.app + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Mixer.app + +.include "../../graphics/xpm/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/mixer.app/PLIST b/audio/mixer.app/PLIST new file mode 100644 index 00000000000..915756f8453 --- /dev/null +++ b/audio/mixer.app/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/08 02:43:01 wiz Exp $ +bin/Mixer.app +share/doc/Mixer.app/README +@dirrm share/doc/Mixer.app diff --git a/audio/mixer.app/distinfo b/audio/mixer.app/distinfo new file mode 100644 index 00000000000..3b6884067fa --- /dev/null +++ b/audio/mixer.app/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/08 02:43:01 wiz Exp $ + +SHA1 (Mixer.app-1.7.0.tar.gz) = 76e5cd55155d63c9a5130280fdb56c8b1b9141d8 +Size (Mixer.app-1.7.0.tar.gz) = 19101 bytes +SHA1 (patch-aa) = d1263ef171185fbe8b6d23a20ccb96648397b3cc +SHA1 (patch-ab) = 40a73805ca71cb743005324fb7637d0d0a60f1dd diff --git a/audio/mixer.app/patches/patch-aa b/audio/mixer.app/patches/patch-aa new file mode 100644 index 00000000000..c1b6a1d6af9 --- /dev/null +++ b/audio/mixer.app/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/07/08 02:43:01 wiz Exp $ + +--- Makefile.orig Mon May 21 21:21:47 2001 ++++ Makefile Mon May 21 21:22:44 2001 +@@ -7,8 +7,8 @@ + X11_BINDIR = /usr/X11R6/bin + +-CXX=c++ +-CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include +-LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11 ++#CXX=c++ ++CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -I${BUILDLINK_DIR}/include ++LDFLAGS += -Wl,-R${X11BASE}/lib -Wl,-R${X11PREFIX}/lib -L${BUILDLINK_DIR}/lib -lXpm -lXext -lX11 -lossaudio + + OBJECTS = Main.o Mixer.o Xpm.o + diff --git a/audio/mixer.app/patches/patch-ab b/audio/mixer.app/patches/patch-ab new file mode 100644 index 00000000000..8097ef40fbe --- /dev/null +++ b/audio/mixer.app/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/07/08 02:43:01 wiz 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(__NetBSD__) ++#include + #else + #include + #endif -- cgit v1.2.3