summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-16 13:55:53 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-20 14:00:09 -0600
commit2567664f82e7839aacc201428996d4f1fbd60a1e (patch)
tree9e120c8d77f9c0bbc2a9bb45c34f98a346a1e1f5 /package
parentbdea175e6338664b2dc62032381117ec4c279569 (diff)
update to latest stable, convert to git source
Diffstat (limited to 'package')
-rw-r--r--package/squeezelite/Makefile12
-rw-r--r--package/squeezelite/patches/patch-Makefile4
-rw-r--r--package/squeezelite/patches/patch-output_alsa_c13
3 files changed, 5 insertions, 24 deletions
diff --git a/package/squeezelite/Makefile b/package/squeezelite/Makefile
index 6215b402b..281aa0724 100644
--- a/package/squeezelite/Makefile
+++ b/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
diff --git a/package/squeezelite/patches/patch-Makefile b/package/squeezelite/patches/patch-Makefile
index 388c8ab31..37e191af9 100644
--- a/package/squeezelite/patches/patch-Makefile
+++ b/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)
diff --git a/package/squeezelite/patches/patch-output_alsa_c b/package/squeezelite/patches/patch-output_alsa_c
deleted file mode 100644
index 7a3e8f836..000000000
--- a/package/squeezelite/patches/patch-output_alsa_c
+++ /dev/null
@@ -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);