From patchwork Sun Jul 7 18:40:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 257365 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 622E92C0099 for ; Mon, 8 Jul 2013 04:40:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DE4EDA014A; Sun, 7 Jul 2013 18:40:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gf0TdHt4YkhQ; Sun, 7 Jul 2013 18:40:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4C6D3A0132; Sun, 7 Jul 2013 18:40:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 630D58F753 for ; Sun, 7 Jul 2013 18:40:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 738E889FF5 for ; Sun, 7 Jul 2013 18:40:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IbUHYgV7aGkE for ; Sun, 7 Jul 2013 18:40:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by whitealder.osuosl.org (Postfix) with ESMTP id 57FED8A2A8 for ; Sun, 7 Jul 2013 18:40:40 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 25D847AF; Sun, 7 Jul 2013 20:40:37 +0200 (CEST) Received: from localhost.localdomain (unknown [190.2.109.25]) by mail.free-electrons.com (Postfix) with ESMTPA id D129A5C9; Sun, 7 Jul 2013 20:40:35 +0200 (CEST) From: Ezequiel Garcia To: Date: Sun, 7 Jul 2013 15:40:41 -0300 Message-Id: <1373222441-2848-1-git-send-email-ezequiel.garcia@free-electrons.com> X-Mailer: git-send-email 1.8.1.5 Subject: [Buildroot] [PATCH] icecast: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Icecast is a streaming media server which currently supports Ogg Vorbis and MP3 audio streams. It can be used to create an Internet radio station or a privately running jukebox and many things in between. It is very versatile in that new formats can be added relatively easily and supports open standards for commuincation and interaction. Icecast is distributed under the GNU GPL, version 2. A copy of this license is included with this software in the COPYING file. Signed-off-by: Ezequiel Garcia --- I'm no longer working on this stuff because the box I was interested in hadn't hardware FP support making it impossible to achieve what I originally planned. package/multimedia/Config.in | 1 + package/multimedia/icecast/Config.in | 13 +++++++++++ .../multimedia/icecast/icecast-curl-config.patch | 12 +++++++++++ package/multimedia/icecast/icecast.mk | 25 ++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 package/multimedia/icecast/Config.in create mode 100644 package/multimedia/icecast/icecast-curl-config.patch create mode 100644 package/multimedia/icecast/icecast.mk diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in index 925051e..21cb64c 100644 --- a/package/multimedia/Config.in +++ b/package/multimedia/Config.in @@ -26,6 +26,7 @@ source "package/multimedia/gst1-plugins-bad/Config.in" source "package/multimedia/gst1-plugins-ugly/Config.in" source "package/multimedia/gst-omx/Config.in" +source "package/multimedia/icecast/Config.in" source "package/multimedia/lame/Config.in" source "package/multimedia/libvpx/Config.in" source "package/multimedia/madplay/Config.in" diff --git a/package/multimedia/icecast/Config.in b/package/multimedia/icecast/Config.in new file mode 100644 index 0000000..0d2c343 --- /dev/null +++ b/package/multimedia/icecast/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_ICECAST + bool "icecast" + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBVORBIS + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXSLT + help + Icecast is a streaming media server which currently supports Ogg + Vorbis and MP3 audio streams. It can be used to create an Internet + radio station or a privately running jukebox and many things in + between. It is very versatile in that new formats can be added + relatively easily and supports open standards for commuincation and + interaction. diff --git a/package/multimedia/icecast/icecast-curl-config.patch b/package/multimedia/icecast/icecast-curl-config.patch new file mode 100644 index 0000000..c193aa9 --- /dev/null +++ b/package/multimedia/icecast/icecast-curl-config.patch @@ -0,0 +1,12 @@ +--- icecast-2.3.2/configure 2008-09-29 20:11:37.000000000 +0200 ++++ icecast-2.3.2.new/configure 2008-09-29 20:12:00.000000000 +0200 +@@ -24198,8 +24198,7 @@ + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + See \`config.log' for more details." >&5 + echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; } ++See \`config.log' for more details." >&2;} } + else + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ diff --git a/package/multimedia/icecast/icecast.mk b/package/multimedia/icecast/icecast.mk new file mode 100644 index 0000000..f840be1 --- /dev/null +++ b/package/multimedia/icecast/icecast.mk @@ -0,0 +1,25 @@ +############################################################ +# +# Icecast (Shoutcast compatible streaming server) +# +############################################################ + +ICECAST_SITE = http://downloads.xiph.org/releases/icecast +ICECAST_VERSION = 2.3.2 +ICECAST_LICENSE = GPLv2 +ICECAST_LICENSE_FILES = COPYING + +ICECAST_DEPENDENCIES = host-pkgconf libxslt libxml2 libogg libvorbis libcurl + +ICECAST_CONF_OPT += --with-xslt-config=$(STAGING_DIR)/usr/bin/xslt-config +ICECAST_CONF_OPT += --with-ogg=$(STAGING_DIR)/usr +ICECAST_CONF_OPT += --with-vorbis=$(STAGING_DIR)/usr + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ICECAST_DEPENDENCIES += libcurl +ICECAST_CONF_OPT += --with-curl-config=$(STAGING_DIR)/usr/bin/curl-config +else +ICECAST_CONF_OPT += --without-curl +endif + +$(eval $(autotools-package))