diff options
author | wiz <wiz@pkgsrc.org> | 2002-07-08 02:43:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-07-08 02:43:01 +0000 |
commit | 688f651440ad4f1cf114f1991b5a03b8c5125bdb (patch) | |
tree | 5cdf48cba87c680e8f4c6a5ccd6ba43c20c68b9a | |
parent | f9da298eade27a8501e42910d4a3ccac9f3b8f9f (diff) | |
download | pkgsrc-688f651440ad4f1cf114f1991b5a03b8c5125bdb.tar.gz |
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
-rw-r--r-- | audio/mixer.app/DESCR | 4 | ||||
-rw-r--r-- | audio/mixer.app/Makefile | 22 | ||||
-rw-r--r-- | audio/mixer.app/PLIST | 4 | ||||
-rw-r--r-- | audio/mixer.app/distinfo | 6 | ||||
-rw-r--r-- | audio/mixer.app/patches/patch-aa | 16 | ||||
-rw-r--r-- | audio/mixer.app/patches/patch-ab | 13 |
6 files changed, 65 insertions, 0 deletions
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 <linux/soundcard.h> + #elif defined(__FreeBSD__) + #include <machine/soundcard.h> ++#elif defined(__NetBSD__) ++#include <soundcard.h> + #else + #include <sys/soundcard.h> + #endif |