summaryrefslogtreecommitdiff
path: root/audio/xmix
diff options
context:
space:
mode:
authoraugustss <augustss@pkgsrc.org>1997-10-28 23:18:20 +0000
committeraugustss <augustss@pkgsrc.org>1997-10-28 23:18:20 +0000
commit4daa64a62986fd842753a48935d3c8adf6758d93 (patch)
treecc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/xmix
parent4434fa54eccf4fa0896d9f01cd93c91ab718ec2c (diff)
downloadpkgsrc-4daa64a62986fd842753a48935d3c8adf6758d93.tar.gz
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/xmix')
-rw-r--r--audio/xmix/Makefile26
-rw-r--r--audio/xmix/files/md52
-rw-r--r--audio/xmix/patches/patch-aa37
-rw-r--r--audio/xmix/pkg/COMMENT1
-rw-r--r--audio/xmix/pkg/DESCR4
-rw-r--r--audio/xmix/pkg/PLIST3
6 files changed, 73 insertions, 0 deletions
diff --git a/audio/xmix/Makefile b/audio/xmix/Makefile
new file mode 100644
index 00000000000..e86dd8bb73d
--- /dev/null
+++ b/audio/xmix/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: xmix
+# Version required: 2.1
+# Date created: 30 June 1995
+# Whom: janek@gaja.ipan.lublin.pl
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/28 23:19:27 augustss Exp $
+#
+
+DISTNAME= xmix-2.1
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/sound/mixers
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= xmix-2.1.mixers.patch
+
+MAINTAINER= janek@gaja.ipan.lublin.pl
+
+USE_IMAKE= yes
+WRKSRC= $(WRKDIR)/xmix
+
+pre-install:
+ ${CP} ${WRKSRC}/xmix.1 ${WRKSRC}/xmix.man
+ ${INSTALL_DATA} $(WRKSRC)/XMix ${PREFIX}/lib/X11/app-defaults
+
+.include <bsd.port.mk>
diff --git a/audio/xmix/files/md5 b/audio/xmix/files/md5
new file mode 100644
index 00000000000..722803ecfee
--- /dev/null
+++ b/audio/xmix/files/md5
@@ -0,0 +1,2 @@
+MD5 (xmix-2.1.mixers.patch) = 26786ade59dd22f01700be2e8d2239c3
+MD5 (xmix-2.1.tar.gz) = 9216b84746fc66179dcd93696b139d68
diff --git a/audio/xmix/patches/patch-aa b/audio/xmix/patches/patch-aa
new file mode 100644
index 00000000000..97750e6f155
--- /dev/null
+++ b/audio/xmix/patches/patch-aa
@@ -0,0 +1,37 @@
+diff -rc ../../xmix.orig/Imakefile ./Imakefile
+*** ../../xmix.orig/Imakefile Fri Jun 30 18:49:35 1995
+--- ./Imakefile Fri Jun 30 20:11:30 1995
+***************
+*** 14,17 ****
+
+ LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+
+! NormalProgramTarget(xmix,$(OBJS1),,$(LOCAL_LIBRARIES),)
+--- 14,19 ----
+
+ LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+
+! PROGRAM = $(PROGRAMS)
+!
+! ComplexProgramTarget_1($(PROGRAM),$(LOCAL_LIBRARIES),)
+Only in ./: Imakefile.orig
+diff -rc ../../xmix.orig/xmix.c ./xmix.c
+*** ../../xmix.orig/xmix.c Fri Jun 30 20:09:41 1995
+--- ./xmix.c Fri Jun 30 20:11:49 1995
+***************
+*** 77,83 ****
+ #include "square_empty.bit"
+ #include "square_with_x.bit"
+
+! #include <linux/soundcard.h>
+
+ #define SOUND_FULL_SCALE 100.0
+ #define MAX_SOUND_VOL 95
+--- 77,83 ----
+ #include "square_empty.bit"
+ #include "square_with_x.bit"
+
+! #include <machine/soundcard.h>
+
+ #define SOUND_FULL_SCALE 100.0
+ #define MAX_SOUND_VOL 95
diff --git a/audio/xmix/pkg/COMMENT b/audio/xmix/pkg/COMMENT
new file mode 100644
index 00000000000..5c9366fe6a7
--- /dev/null
+++ b/audio/xmix/pkg/COMMENT
@@ -0,0 +1 @@
+Mixer for X Window System.
diff --git a/audio/xmix/pkg/DESCR b/audio/xmix/pkg/DESCR
new file mode 100644
index 00000000000..1a9ea491327
--- /dev/null
+++ b/audio/xmix/pkg/DESCR
@@ -0,0 +1,4 @@
+This is the xmix sound mixer for the sound drivers in the FreeBSD
+It was originally written for Linux by Hal Brand (brand@netcom.com).
+
+This is version 2.1.
diff --git a/audio/xmix/pkg/PLIST b/audio/xmix/pkg/PLIST
new file mode 100644
index 00000000000..70c43961941
--- /dev/null
+++ b/audio/xmix/pkg/PLIST
@@ -0,0 +1,3 @@
+bin/xmix
+lib/X11/app-defaults/XMix
+man/man1/xmix.1.gz