Browse Source

update to latest stable, convert to git source

Waldemar Brodkorb 9 years ago
parent
commit
2567664f82

+ 3 - 9
package/squeezelite/Makefile

@@ -4,26 +4,20 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		squeezelite
-# git hash f2b5e89c1ea3904498cd8649a146c2aa1a748996
-# from https://code.google.com/p/squeezelite/
-PKG_VERSION:=		1.6.5
+PKG_VERSION:=		8b8dfe6918ebe45ade5f3d9b68d453d7b8128d99
 PKG_RELEASE:=		1
-PKG_HASH:=		26ba3220b5e3c029feffadd15905296551898ff6953098d05bc7e6598e0cf93b
 PKG_DESCR:=		headless squeezebox emulator
 PKG_SECTION:=		mm/audio
 PKG_DEPENDS:=		libflac alsa-lib libvorbis libmad
 PKG_DEPENDS+=		libpthread librt libfaad2
-PKG_BUILDDEP:=		alsa-lib libmad flac libvorbis mpg123
-PKG_BUILDDEP+=		faad2
+PKG_BUILDDEP:=		alsa-lib libmad flac libvorbis mpg123 faad2
 PKG_URL:=		http://code.google.com/p/squeezelite/
-PKG_SITES:=		http://openadk.org/distfiles/
+PKG_SITES:=		https://code.google.com/p/squeezelite.git
 
 include $(ADK_TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,SQUEEZELITE,squeezelite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
-TARGET_CPPFLAGS+=       -D_GNU_SOURCE -D_POSIX_SOURCE
-TARGET_LDFLAGS+=	-ldl
 CONFIG_STYLE:=		manual
 INSTALL_STYLE:=		manual
 

+ 2 - 2
package/squeezelite/patches/patch-Makefile

@@ -1,5 +1,5 @@
---- squeezelite-1.5.orig/Makefile	2014-01-24 11:24:16.000000000 +0100
-+++ squeezelite-1.5/Makefile	2014-01-24 17:37:36.841831508 +0100
+--- squeezelite-8b8dfe6918ebe45ade5f3d9b68d453d7b8128d99.orig/Makefile	2015-02-16 13:46:04.000000000 -0600
++++ squeezelite-8b8dfe6918ebe45ade5f3d9b68d453d7b8128d99/Makefile	2015-02-16 13:53:32.402174814 -0600
 @@ -1,6 +1,7 @@
  # Cross compile support - create a Makefile which defines these three variables and then includes this Makefile...
  CFLAGS  ?= -Wall -fPIC -O2 $(OPTS)

+ 0 - 13
package/squeezelite/patches/patch-output_alsa_c

@@ -1,13 +0,0 @@
---- squeezelite-1.5.orig/output_alsa.c	2014-01-24 11:24:16.000000000 +0100
-+++ squeezelite-1.5/output_alsa.c	2014-02-08 13:36:12.000000000 +0100
-@@ -670,8 +670,10 @@ void output_init_alsa(log_level level, c
- 		LOG_INFO("memory locked");
- 	}
- 
-+#if defined(__GLIBC__)
-    	mallopt(M_TRIM_THRESHOLD, -1);
-    	mallopt(M_MMAP_MAX, 0);
-+#endif
- 
- 	touch_memory(silencebuf, MAX_SILENCE_FRAMES * BYTES_PER_FRAME);
- 	touch_memory(outputbuf->buf, outputbuf->size);