Browse Source

add example with su -, disable arts

Waldemar Brodkorb 13 years ago
parent
commit
24416fd812
2 changed files with 5 additions and 2 deletions
  1. 4 2
      package/esound/Makefile
  2. 1 0
      package/esound/files/esd.init

+ 4 - 2
package/esound/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		esound
 PKG_VERSION:=		0.2.41
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_MD5SUM:=		3d8973ed87053d7acc1f4d44af2c4688
 PKG_DESCR:=		Enlightened Sound Daemon
 PKG_SECTION:=		multimedia
@@ -18,7 +18,9 @@ include ${TOPDIR}/mk/package.mk
 
 $(eval $(call PKG_template,ESOUND,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
-CONFIGURE_ARGS+=	--disable-alsa
+CONFIGURE_ARGS+=	--disable-alsa \
+			--disable-arts \
+			--enable-oss
 
 post-install:
 	${INSTALL_DIR} ${IDIR_ESOUND}/usr/bin ${IDIR_ESOUND}/usr/lib

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

@@ -9,6 +9,7 @@ autostart)
 	exec sh $0 start
 	;;
 start)
+	# start as another user via: su - mpd -c 'esd ..'
 	esd -public -tcp -nobeeps -noterminate &
 	;;
 stop)