diff --git a/sound/shell-fm/Makefile b/sound/shell-fm/Makefile index 8fea1a135..2c08ca44b 100644 --- a/sound/shell-fm/Makefile +++ b/sound/shell-fm/Makefile @@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk define Package/shell-fm SECTION:=sound CATEGORY:=Sound - DEPENDS:=+libao +madplay +libpthread + DEPENDS:=+libao +libpthread +libmad TITLE:=Console Based Last.FM Radio Player URL:=http://nex.scrapping.cc endef @@ -43,7 +43,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -I./include/ $(TARGET_CPPFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) -I./include/ -DLIBAO $(TARGET_CPPFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ LDFLAGS="$(TARGET_LDFLAGS) -lmad -lao -lpthread" \ all install diff --git a/sound/shell-fm/files/shell-fm.init b/sound/shell-fm/files/shell-fm.init index 0e68d34d7..f0403b6ce 100644 --- a/sound/shell-fm/files/shell-fm.init +++ b/sound/shell-fm/files/shell-fm.init @@ -5,6 +5,7 @@ START=99 start() { [ -d /tmp/.shell-fm ] || mkdir /tmp/.shell-fm [ -L /tmp/.shell-fm/shell-fm.rc ] || ln -s /etc/shell-fm.rc /tmp/.shell-fm/shell-fm.rc + [ -L /tmp/.libao ] || ln -s /etc/libao.conf /tmp/.libao HOME=/tmp shell-fm -d } diff --git a/sound/shell-fm/files/shell-fm.rc b/sound/shell-fm/files/shell-fm.rc index 43ec7d2a1..b3f6a2d05 100644 --- a/sound/shell-fm/files/shell-fm.rc +++ b/sound/shell-fm/files/shell-fm.rc @@ -6,4 +6,4 @@ t-color = 1;32 # light green track titles a-color = 0;32 # dark green track artist names s-color = 1;37 # white station names bind = 0.0.0.0 -extern = madplay -q - +#extern = madplay -q -