Commit 798f725c authored by Jörg Krause's avatar Jörg Krause Committed by Peter Korsgaard
Browse files

libshout: new package



[Peter: fix Config.in indentation, license, needs host-pkgconf, optionally
 use libtheora and speex]
Signed-off-by: default avatarJörg Krause <jkrause@posteo.de>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent fe0261aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+10 −0
Original line number Diff line number Diff line
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/
+28 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))