xmix port

This commit is contained in:
angelos 1998-05-22 00:21:17 +00:00
parent ee66fb9ae0
commit 74c6e7d684
7 changed files with 79 additions and 0 deletions

26
audio/xmix/Makefile Normal file
View File

@ -0,0 +1,26 @@
# OpenBSD makefile for: xmix
# Version required: 2.1
# Date created: May 21 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/22 00:21:17 angelos 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= angelos@openbsd.org
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>

2
audio/xmix/files/md5 Normal file
View File

@ -0,0 +1,2 @@
MD5 (xmix-2.1.mixers.patch) = 26786ade59dd22f01700be2e8d2239c3
MD5 (xmix-2.1.tar.gz) = 9216b84746fc66179dcd93696b139d68

View File

@ -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) -lossaudio
! 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 <sys/ioctl.h>
! #include <soundcard.h>
#define SOUND_FULL_SCALE 100.0
#define MAX_SOUND_VOL 95

View File

@ -0,0 +1,6 @@
*** /dev/null Thu May 21 20:06:44 1998
--- xmix.man Thu May 21 20:21:31 1998
***************
*** 0 ****
--- 1 ----
+

1
audio/xmix/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Mixer for X Window System.

4
audio/xmix/pkg/DESCR Normal file
View File

@ -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.

3
audio/xmix/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
bin/xmix
lib/X11/app-defaults/XMix
man/man1/xmix.1