From 798f725cc5e16aa7b2253f608a8aff5a74498d7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Wed, 15 Oct 2014 23:23:48 +0200 Subject: [PATCH] libshout: new package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [Peter: fix Config.in indentation, license, needs host-pkgconf, optionally use libtheora and speex] Signed-off-by: Jörg Krause Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/libshout/Config.in | 10 ++++++++++ package/libshout/libshout.mk | 28 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 package/libshout/Config.in create mode 100644 package/libshout/libshout.mk diff --git a/package/Config.in b/package/Config.in index 93e148d300..4c6685a89f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -807,6 +807,7 @@ menu "Networking" source "package/librsync/Config.in" source "package/libsocketcan/Config.in" source "package/libshairplay/Config.in" + source "package/libshout/Config.in" source "package/libsoup/Config.in" source "package/libstrophe/Config.in" source "package/libtirpc/Config.in" diff --git a/package/libshout/Config.in b/package/libshout/Config.in new file mode 100644 index 0000000000..902934274d --- /dev/null +++ b/package/libshout/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBSHOUT + bool "libshout" + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBVORBIS + help + Libshout is a library for communicating with and sending data to an + icecast server. It handles the socket connection, the timing of the + data, and prevents bad data from getting to the icecast server. + + http://icecast.org/download/ diff --git a/package/libshout/libshout.mk b/package/libshout/libshout.mk new file mode 100644 index 0000000000..1166f58d3e --- /dev/null +++ b/package/libshout/libshout.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# libshout +# +################################################################################ + +LIBSHOUT_VERSION = 2.3.1 +LIBSHOUT_SITE = http://downloads.xiph.org/releases/libshout +LIBSHOUT_LICENSE = LGPLv2+ +LIBSHOUT_LICENSE_FILES = COPYING +LIBSHOUT_INSTALL_STAGING = YES +LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis + +ifeq ($(BR2_PACKAGE_LIBTHEORA),y) +LIBSHOUT_CONF_OPTS += --enable-theora +LIBSHOUT_DEPENDENCIES += libtheora +else +LIBSHOUT_CONF_OPTS += --disable-theora +endif + +ifeq ($(BR2_PACKAGE_SPEEX),y) +LIBSHOUT_CONF_OPT += --enable-speex +LIBSHOUT_DEPENDENCIES += speex +else +LIBSHOUT_CONF_OPTS += --disable-speex +endif + +$(eval $(autotools-package)) -- 2.30.2