mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
Add aureal-kmod - a port to provide convinient way for building FreeBSD driver
for Aureal based soundcards. This driver could not be added to the base system because it's uses binary-only Linux Vortex Core object modules. The port supports 4-STABLE and 5-CURRENT, however 4-STABLE isn't tested, so please report your mileage to me.
This commit is contained in:
parent
1241bd2246
commit
116e7472d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37222
@ -21,6 +21,7 @@
|
||||
SUBDIR += ari-yahoo
|
||||
SUBDIR += asbutton
|
||||
SUBDIR += astrolog
|
||||
SUBDIR += aureal-kmod
|
||||
SUBDIR += bb
|
||||
SUBDIR += bbjd
|
||||
SUBDIR += biblereader
|
||||
|
48
misc/aureal-kmod/Makefile
Normal file
48
misc/aureal-kmod/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# Ports collection makefile for: aureal-kmod
|
||||
# Date created: 15 January 2001
|
||||
# Whom: Maxim Sobolev <soobomax@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= aureal-kmod
|
||||
PORTVERSION= 1.5
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.cis.ohio-state.edu/~matey/au88x0/
|
||||
DISTNAME= au88x0-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
NO_PACKAGE= package doesn't make any sense, because kld's should be in sync with running kernel to work correctly
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
PKGMESSAGE= ${WRKSRC}/.MESSAGE
|
||||
|
||||
MAKE_ENV= WRKSRC="${WRKSRC}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 400000
|
||||
BROKEN= "FreeBSD 3.* isn't supported"
|
||||
.elif ${OSVERSION} < 500000
|
||||
PORTVERSION= 1.3
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
@if [ ! -d /sys -o ! -d /usr/src/sys ]; then \
|
||||
${ECHO} "****************************************" ; \
|
||||
${ECHO} " You need to extract kernel source tree" ; \
|
||||
${ECHO} " before you build this package..." ; \
|
||||
${ECHO} "****************************************" ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
|
||||
pre-install:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
||||
${MKDIR} ${PREFIX}/lib/au88x0
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
misc/aureal-kmod/distinfo
Normal file
2
misc/aureal-kmod/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (au88x0-1.3.tar.gz) = fe88b877286aea052af96fc5a37f9af1
|
||||
MD5 (au88x0-1.5.tar.gz) = c0e781dde9624eb1213deb84aeb9d099
|
10
misc/aureal-kmod/files/patch-10_Makefile
Normal file
10
misc/aureal-kmod/files/patch-10_Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 10/Makefile.orig Mon Jan 15 18:45:58 2001
|
||||
+++ 10/Makefile Mon Jan 15 18:46:31 2001
|
||||
@@ -0,0 +1,4 @@
|
||||
+KMOD = snd_au8810
|
||||
+SRCS += asp10.o
|
||||
+
|
||||
+.include <bsd.kmod.mk>
|
10
misc/aureal-kmod/files/patch-20_Makefile
Normal file
10
misc/aureal-kmod/files/patch-20_Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 20/Makefile.orig Mon Jan 15 18:45:59 2001
|
||||
+++ 20/Makefile Mon Jan 15 18:46:34 2001
|
||||
@@ -0,0 +1,4 @@
|
||||
+KMOD = snd_au8820
|
||||
+SRCS += asp20.o
|
||||
+
|
||||
+.include <bsd.kmod.mk>
|
10
misc/aureal-kmod/files/patch-30_Makefile
Normal file
10
misc/aureal-kmod/files/patch-30_Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 30/Makefile.orig Mon Jan 15 18:45:59 2001
|
||||
+++ 30/Makefile Mon Jan 15 18:46:37 2001
|
||||
@@ -0,0 +1,4 @@
|
||||
+KMOD = snd_au8830
|
||||
+SRCS += asp30.o
|
||||
+
|
||||
+.include <bsd.kmod.mk>
|
9
misc/aureal-kmod/files/patch-Makefile
Normal file
9
misc/aureal-kmod/files/patch-Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- Makefile.orig Mon Jan 15 18:44:49 2001
|
||||
+++ Makefile Mon Jan 15 18:44:49 2001
|
||||
@@ -0,0 +1,3 @@
|
||||
+SUBDIR = 10 20 30
|
||||
+
|
||||
+.include <bsd.subdir.mk>
|
15
misc/aureal-kmod/files/patch-Makefile.inc
Normal file
15
misc/aureal-kmod/files/patch-Makefile.inc
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- Makefile.inc.orig Mon Jan 15 18:44:49 2001
|
||||
+++ Makefile.inc Mon Jan 15 18:44:49 2001
|
||||
@@ -0,0 +1,9 @@
|
||||
+.PATH: /sys/dev/sound/pci ${WRKSRC}
|
||||
+
|
||||
+KMODDIR = ${PREFIX}/lib/au88x0
|
||||
+SRCS = device_if.h bus_if.h isa_if.h pci_if.h
|
||||
+SRCS += au88x0.c
|
||||
+.if ${OSVERSION} > 500000
|
||||
+SRCS += ac97_if.h channel_if.h feeder_if.h mixer_if.h
|
||||
+.endif
|
||||
+CFLAGS += -I${WRKSRC}
|
14
misc/aureal-kmod/files/patch-au88x0.c
Normal file
14
misc/aureal-kmod/files/patch-au88x0.c
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- au88x0.c.orig Mon Jan 15 18:44:49 2001
|
||||
+++ au88x0.c Mon Jan 15 18:44:49 2001
|
||||
@@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include <dev/sound/pcm/sound.h>
|
||||
-#include <dev/sound/pci/au88x0.h>
|
||||
+#include "au88x0.h"
|
||||
|
||||
#include <pci/pcireg.h>
|
||||
#include <pci/pcivar.h>
|
1
misc/aureal-kmod/pkg-comment
Normal file
1
misc/aureal-kmod/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A FreeBSD Driver for Aureal Vortex based soundcards
|
3
misc/aureal-kmod/pkg-descr
Normal file
3
misc/aureal-kmod/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
FreeBSD Driver for Aureal Vortex based soundcards.
|
||||
|
||||
WWW: http://www.cis.ohio-state.edu/~matey/au88x0/
|
23
misc/aureal-kmod/pkg-message
Normal file
23
misc/aureal-kmod/pkg-message
Normal file
@ -0,0 +1,23 @@
|
||||
-------------------------------------------------------------------------------
|
||||
You can load the module by typing (as root of course):
|
||||
|
||||
# kldload %%PREFIX%%/lib/au88x0/snd_au88X0.ko
|
||||
|
||||
where X is 1, 2 or 3 depending on which Auread chipset do you have - au8810,
|
||||
au8820 or au8830 correspondingly.
|
||||
|
||||
Please note that you are also need to have a `snd_pcm.ko' module either already
|
||||
loaded or placed into appropriate location for modules on your system (default
|
||||
is /modules/ on 4-STABLE and /boot/kernel/ on 5-CURRENT). You can compile and
|
||||
install snd_pcm by doing:
|
||||
|
||||
# cd /sys/modules/sound/pcm/ && make all install
|
||||
|
||||
Please also note that module for 4-STABLE system is untested, so please use it
|
||||
with caution and if possible please report if it work for you or not to
|
||||
Maxim Sobolev <sobomax@FreeBSD.org>.
|
||||
|
||||
Thanks and enjoy!
|
||||
|
||||
-Maxim
|
||||
-------------------------------------------------------------------------------
|
4
misc/aureal-kmod/pkg-plist
Normal file
4
misc/aureal-kmod/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
lib/au88x0/snd_au8810.ko
|
||||
lib/au88x0/snd_au8820.ko
|
||||
lib/au88x0/snd_au8830.ko
|
||||
@dirrm lib/au88x0
|
Loading…
Reference in New Issue
Block a user