Browse Source

remove esound, not really maintained, use pulseaudio

Waldemar Brodkorb 11 years ago
parent
commit
bbf151ff56

+ 0 - 43
package/esound/Makefile

@@ -1,43 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${ADK_TOPDIR}/rules.mk
-
-PKG_NAME:=		esound
-PKG_VERSION:=		0.2.41
-PKG_RELEASE:=		8
-PKG_MD5SUM:=		3d8973ed87053d7acc1f4d44af2c4688
-PKG_DESCR:=		enlightened sound daemon
-PKG_SECTION:=		mm/audio
-PKG_DEPENDS:=		libaudiofile libesd
-PKG_BUILDDEP:=		libaudiofile
-PKG_URL:=		http://www.tux.org/~ricdude/EsounD.html
-PKG_SITES:=		ftp://ftp.gnome.org/pub/gnome/sources/esound/0.2/
-PKG_LIBNAME:=		libesd
-PKG_OPTS:=		dev
-
-DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
-
-PKG_SUBPKGS:=		ESOUND LIBESD
-PKGSC_LIBESD:=		libs/audio
-PKGSD_LIBESD:=		esound library
-
-include ${ADK_TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,ESOUND,esound,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBESD,libesd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBESD},${PKGSC_LIBESD},${PKG_OPTS}))
-
-AUTOTOOL_STYLE:=	autoreconf
-CONFIGURE_ARGS+=	--disable-alsa \
-			--disable-arts \
-			--enable-oss
-
-esound-install:
-	${INSTALL_DIR} ${IDIR_ESOUND}/usr/bin
-	${INSTALL_BIN} ${WRKINST}/usr/bin/esd ${IDIR_ESOUND}/usr/bin/
-
-libesd-install:
-	${INSTALL_DIR} ${IDIR_LIBESD}/usr/lib
-	$(CP) $(WRKINST)/usr/lib/libesd.so* $(IDIR_LIBESD)/usr/lib/
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 0 - 28
package/esound/files/esd.init

@@ -1,28 +0,0 @@
-#!/bin/sh
-#PKG esound
-#INIT 75
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
-	test x"${esd:-NO}" = x"NO" && exit 0
-	test x"$esd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
-	exec sh $0 start
-	;;
-start)
-	# start as another user via: su - mpd -c 'esd ..'
-	/usr/bin/esd -public -tcp -nobeeps -noterminate &
-	;;
-stop)
-	kill $(pgrep -f /usr/bin/esd)
-	;;
-restart)
-	sh $0 stop
-	sh $0 start
-	;;
-*)
-	echo "Usage: $0 {start | stop | restart}"
-	;;
-esac
-exit 0

+ 0 - 3
package/esound/files/esound.postinst

@@ -1,3 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf esd NO

+ 0 - 23
package/esound/patches/patch-esd_c

@@ -1,23 +0,0 @@
-$Id$
-
- cast to double, to avoid sinf, patch from Sven Gugges
-
---- esound-0.2.41.orig/esd.c	2008-11-18 21:35:19.000000000 +0100
-+++ esound-0.2.41/esd.c	2011-01-14 23:15:33.000000000 +0100
-@@ -134,14 +134,14 @@ void set_audio_buffer( void *buf, esd_fo
-     {
-     case ESD_BITS8:
- 	for ( i = 0 ; i < length ; i+=2 ) {
--	    sample = sin( (float)(i+offset) * kf );
-+	    sample = sin( (double)(i+offset) * kf );
- 	    uc_buf[i] = 127 + magl * sample;
- 	    uc_buf[i+1] = 127 + magr * sample;
- 	}
- 	break;
-     case ESD_BITS16:	/* assume same endianness */
- 	for ( i = 0 ; i < length ; i+=2 ) {
--	    sample = sin( (float)(i+offset) * kf );
-+	    sample = sin( (double)(i+offset) * kf );
- 	    ss_buf[i] = magl * sample;
- 	    ss_buf[i+1] = magr * sample;
- 	}

+ 0 - 38
package/esound/patches/patch-esddsp_c

@@ -1,38 +0,0 @@
---- esound-0.2.41.orig/esddsp.c	2008-11-18 21:35:19.000000000 +0100
-+++ esound-0.2.41/esddsp.c	2013-12-23 16:08:43.000000000 +0100
-@@ -264,7 +264,7 @@ open_wrapper (int (*func) (const char *,
- }
- 
- int
--open (const char *pathname, int flags, ...)
-+esd_open (const char *pathname, int flags, ...)
- {
-   static int (*func) (const char *, int, mode_t) = NULL;
-   va_list args;
-@@ -291,7 +291,7 @@ open (const char *pathname, int flags, .
- }
- 
- int
--open64 (const char *pathname, int flags, ...)
-+esd_open64 (const char *pathname, int flags, ...)
- {
-   static int (*func) (const char *, int, mode_t) = NULL;
-   va_list args;
-@@ -355,7 +355,7 @@ fopen_wrapper (FILE * (*func) (const cha
- }
- 
- FILE *
--fopen (const char *path, const char *mode)
-+esd_fopen (const char *path, const char *mode)
- {
-   static FILE * (*func) (const char *, const char *) = NULL;
- 
-@@ -375,7 +375,7 @@ fopen (const char *path, const char *mod
- }
- 
- FILE *
--fopen64 (const char *path, const char *mode)
-+esd_fopen64 (const char *path, const char *mode)
- {
-   static FILE * (*func) (const char *, const char *) = NULL;
-