audio/linux-f10-alsa-plugins-oss (was: Re: SNDCTL_DSP_GETIPTR implementation)

Juergen Lock nox at jelal.kn-bremen.de
Thu Apr 28 19:35:27 UTC 2011


On Wed, Apr 27, 2011 at 08:53:14PM +0300, Ion-Mihai Tetcu wrote:
> Juergen Lock <nox at jelal.kn-bremen.de> wrote:
> 
> >On Wed, Apr 27, 2011 at 09:49:14AM +0300, Andriy Gapon wrote:
> >> 
> >> [adding emulation@ to cc]
> >> 
> >> on 26/04/2011 23:23 Juergen Lock said the following:
> >> > Committed.  (Also the linux_dvbwrapper-kmod port a few days ago
> >btw.)
> >> 
> >> Perhaps you can also commit one of the versions of linux alsa oss
> >plugin port? :-)
> >> 
> >> I know at least of two versions in the PR database and probably a few
> >people
> >> have their own private versions.
> >
> >I guess you mean,
> >
> >	http://www.freebsd.org/cgi/query-pr.cgi?pr=147549&sourceid=opensearch
> >	ports/147549: [NEW PORT] audio:alsa-plugins-oss: linux alsa plugins
> >oss ( for skype 2.1.0.81 )
> >	Responsible:	itetcu at FreeBSD.org
> >
> >and
> >
> >	http://www.freebsd.org/cgi/query-pr.cgi?pr=147554&sourceid=opensearch
> >	ports/147554: new ports: audio/linux-f10-[alsa|pulseaudio]
> >	Responsible:	fluffy at FreeBSD.org
> >
> >- both are already assigned tho so I guess I would be stepping on
> >toes...? :)  I'll Cc both.
> >
> > Cheers,
> >	Juergen
> 
> Go ahead, i'm without net except on my phone for a few day now and it seems it will be like this for a few days more. Thanks and sorry.

Ok, I had to add

	SRC_DISTFILES= ${PORTNAME:S/-oss//}-${PORTVERSION}-${RPMVERSION}.src.rpm

and

	post-patch:
		${RM} ${WRKDIR}/etc/alsa/pcm/pcm-oss.conf.orig

to ports/147549's Makefile - and now I guess I need approval from
bsam (Cc'd) again about the bsd.linux-apps.mk change below:

 Thanx! :)
	Juergen

Index: Mk/bsd.linux-apps.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.linux-apps.mk,v
retrieving revision 1.39
diff -u -p -r1.39 bsd.linux-apps.mk
--- Mk/bsd.linux-apps.mk	26 Apr 2011 20:17:14 -0000	1.39
+++ Mk/bsd.linux-apps.mk	28 Apr 2011 18:38:55 -0000
@@ -67,7 +67,8 @@ _LINUX_APPS_ALL=	allegro alsalib arts as
 _LINUX_APPS_ALL+=
 
 # 2.6.16 components
-_LINUX_26_APPS=		blt cyrus-sasl2 dbusglib dbuslibs libidn libssh2 libv4l nspr nss openal-soft \
+_LINUX_26_APPS=		alsa-plugins-oss blt cyrus-sasl2 dbusglib dbuslibs \
+			libidn libssh2 libv4l nspr nss openal-soft \
 			openldap pulseaudio-libs sqlite3 tcl84 tk84
 
 _LINUX_APPS_ALL+=	${_LINUX_26_APPS}
@@ -97,6 +98,12 @@ allegro_DETECT=		${allegro${LINUX_DIST_S
 allegro_PORT=		${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-allegro
 allegro_DEPENDS=	xorglibs
 
+# no_alsa-plugins-oss_FILE
+alsa-plugins-oss_f10_FILE=	${LINUXBASE}/usr/lib/alsa-lib/libasound_module_pcm_oss.so
+alsa-plugins-oss_DETECT=	${alsa-plugins-oss${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
+alsa-plugins-oss_PORT=		${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-alsa-plugins-oss
+alsa-plugins-oss_DEPENDS=	alsalib
+
 alsalib_FILE=		${LINUXBASE}/lib/libasound.so.2.0.0
 alsalib_f10_FILE=	${LINUXBASE}/lib/libasound.so.2.0.0
 alsalib_DETECT=		${alsalib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}


More information about the freebsd-multimedia mailing list