diff options
author | tv <tv@pkgsrc.org> | 2004-10-11 20:14:35 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-11 20:14:35 +0000 |
commit | 147af65aa17c61cf39071109f2212b0ee7fcf3e6 (patch) | |
tree | 210e23099182fa0ccae7d5862d0ad159330a2a2a | |
parent | 09e32bf004072d3cf48bc8f9a5105f0fc953a727 (diff) | |
download | pkgsrc-147af65aa17c61cf39071109f2212b0ee7fcf3e6.tar.gz |
cygwin_esound, an EsounD server for Cygwin (providing sound support for
Interix apps).
-rw-r--r-- | emulators/cygwin_esound/DESCR | 3 | ||||
-rw-r--r-- | emulators/cygwin_esound/Makefile | 35 | ||||
-rw-r--r-- | emulators/cygwin_esound/PLIST | 4 | ||||
-rw-r--r-- | emulators/cygwin_esound/distinfo | 8 | ||||
-rw-r--r-- | emulators/cygwin_esound/files/cygwin_esd.sh | 24 |
5 files changed, 74 insertions, 0 deletions
diff --git a/emulators/cygwin_esound/DESCR b/emulators/cygwin_esound/DESCR new file mode 100644 index 00000000000..6dd498f93cc --- /dev/null +++ b/emulators/cygwin_esound/DESCR @@ -0,0 +1,3 @@ +This is the Enlightened Sound Daemon (EsounD) for Cygwin, providing the +ability for Interix applications to output sound via the libesd client +side library (audio/esound). diff --git a/emulators/cygwin_esound/Makefile b/emulators/cygwin_esound/Makefile new file mode 100644 index 00000000000..1399d2cf7d1 --- /dev/null +++ b/emulators/cygwin_esound/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/10/11 20:14:35 tv Exp $ +# + +DISTNAME= esound-0.2.35-1 +PKGNAME= ${DISTNAME:S/-/!/:S/-/./g:S/!/-/:S/^/cygwin_/} +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_CYGWIN:=release/esound/} \ + ${MASTER_SITE_CYGWIN:=release/esound/libesound0/} \ + ${MASTER_SITE_CYGWIN:=release/audiofile/libaudiofile0/} +EXTRACT_SUFX= .tar.bz2 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + libesound0-0.2.35-1.tar.bz2 \ + libaudiofile0-0.2.6-2.tar.bz2 + +MAINTAINER= tv@duh.org +COMMENT= Enlightened sound daemon (daemon only) for Cygwin/Interix + +ONLY_FOR_PLATFORM= Interix-*-* + +DIST_SUBDIR= cygwin +WRKSRC= ${WRKDIR} +USE_BUILDLINK3= yes +USE_PKGINSTALL= yes + +RCD_SCRIPTS= cygwin_esd + +do-build: # nothing + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe ${PREFIX}/emul/cygwin/bin/ + +.include "../../emulators/cygwin_lib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/cygwin_esound/PLIST b/emulators/cygwin_esound/PLIST new file mode 100644 index 00000000000..eb3add664f6 --- /dev/null +++ b/emulators/cygwin_esound/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/11 20:14:35 tv Exp $ +bin/cygaudiofile-0.dll +bin/cygesd-0.dll +emul/cygwin/bin/esd.exe diff --git a/emulators/cygwin_esound/distinfo b/emulators/cygwin_esound/distinfo new file mode 100644 index 00000000000..593832e92ea --- /dev/null +++ b/emulators/cygwin_esound/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/10/11 20:14:35 tv Exp $ + +SHA1 (cygwin/esound-0.2.35-1.tar.bz2) = 40dd08cfbf4aae24b8c2448c6038815e2ea21239 +Size (cygwin/esound-0.2.35-1.tar.bz2) = 125137 bytes +SHA1 (cygwin/libesound0-0.2.35-1.tar.bz2) = 3219452e22a516995aa48713ad0a5999ff8e681a +Size (cygwin/libesound0-0.2.35-1.tar.bz2) = 11251 bytes +SHA1 (cygwin/libaudiofile0-0.2.6-2.tar.bz2) = 7c568a4366214e69810fefe62923beafd92ea6c1 +Size (cygwin/libaudiofile0-0.2.6-2.tar.bz2) = 58049 bytes diff --git a/emulators/cygwin_esound/files/cygwin_esd.sh b/emulators/cygwin_esound/files/cygwin_esd.sh new file mode 100644 index 00000000000..f62e133ef99 --- /dev/null +++ b/emulators/cygwin_esound/files/cygwin_esd.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $NetBSD: cygwin_esd.sh,v 1.1.1.1 2004/10/11 20:14:35 tv Exp $ +# +# PROVIDE: cygwin_esd +# REQUIRE: DAEMON + +name="cygwin_esd" +command="@PREFIX@/emul/cygwin/bin/esd.exe" +command_args="-tcp" +procname="esd.exe" + +if [ ! -d /etc/rc.d ] +then + @ECHO@ -n ' ${name}' + ${command} ${command_args} & + exit +fi + +. /etc/rc.subr + +load_rc_config $name +command_args="${command_args} &" +run_rc_command "$1" |