From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Mon, 25 Nov 2013 16:02:18 +0100 Message-Id: <1385391739-23075-2-git-send-email-jbe@pengutronix.de> In-Reply-To: <1385391739-23075-1-git-send-email-jbe@pengutronix.de> References: <1385391739-23075-1-git-send-email-jbe@pengutronix.de> Subject: [ptxdist] [PATCH 1/2] Gstreamer: add fixed-point Vorbis decoding Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Markus Pargmann libtremor is a software library that decodes the Vorbis audio format in fixed-point only for those platforms without floating point operations. Signed-off-by: Markus Pargmann Acked-by: Juergen Beisert --- ...001-Buildsystem-remove-extended-OGG-check.patch | 27 ++++++++++++ patches/libtremor-1.0.3/autogen.sh | 18 ++++++++ patches/libtremor-1.0.3/series | 4 ++ rules/libtremor.in | 9 ++++ rules/libtremor.make | 51 ++++++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 patches/libtremor-1.0.3/0001-Buildsystem-remove-extended-OGG-check.patch create mode 100755 patches/libtremor-1.0.3/autogen.sh create mode 100644 patches/libtremor-1.0.3/series create mode 100644 rules/libtremor.in create mode 100644 rules/libtremor.make diff --git a/patches/libtremor-1.0.3/0001-Buildsystem-remove-extended-OGG-check.patch b/patches/libtremor-1.0.3/0001-Buildsystem-remove-extended-OGG-check.patch new file mode 100644 index 0000000..ab5d3ec --- /dev/null +++ b/patches/libtremor-1.0.3/0001-Buildsystem-remove-extended-OGG-check.patch @@ -0,0 +1,27 @@ +From: Markus Pargmann +Date: Mon, 25 Nov 2013 15:40:48 +0100 +Subject: [PATCH] Buildsystem: remove extended OGG check + +Signed-off-by: Markus Pargmann +Tested-by: Juergen Beisert +--- + configure.in | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/configure.in b/configure.in +index e7f5690..6eaf6e4 100644 +--- a/configure.in ++++ b/configure.in +@@ -119,11 +119,7 @@ fi + if test "x$HAVE_OGG" = "xno" + then + dnl fall back to the old school test +- XIPH_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!)) +- libs_save=$LIBS +- LIBS="$OGG_LIBS" +- AC_CHECK_FUNC(oggpack_writealign, , AC_MSG_ERROR(Ogg >= 1.0 required !)) +- LIBS=$libs_save ++ AC_MSG_ERROR(must have Ogg installed!) + fi + + dnl -------------------------------------------------- diff --git a/patches/libtremor-1.0.3/autogen.sh b/patches/libtremor-1.0.3/autogen.sh new file mode 100755 index 0000000..df78c38 --- /dev/null +++ b/patches/libtremor-1.0.3/autogen.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -e + +aclocal $ACLOCAL_FLAGS + +libtoolize \ + --force \ + --copy + +autoreconf \ + --force \ + --install \ + --warnings=cross \ + --warnings=syntax \ + --warnings=obsolete \ + --warnings=unsupported + diff --git a/patches/libtremor-1.0.3/series b/patches/libtremor-1.0.3/series new file mode 100644 index 0000000..cada79a --- /dev/null +++ b/patches/libtremor-1.0.3/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-Buildsystem-remove-extended-OGG-check.patch +# fbfe1361540b4eee364d16d62a9c65fe - git-ptx-patches magic diff --git a/rules/libtremor.in b/rules/libtremor.in new file mode 100644 index 0000000..35f48c9 --- /dev/null +++ b/rules/libtremor.in @@ -0,0 +1,9 @@ +## SECTION=multimedia_sound +config LIBTREMOR + tristate + prompt "libtremor" + select LIBOGG + help + libtremor is a software library that decodes the Vorbis audio format + in fixed-point only for those platforms without floating point + operations. diff --git a/rules/libtremor.make b/rules/libtremor.make new file mode 100644 index 0000000..878407d --- /dev/null +++ b/rules/libtremor.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2013 by Markus Pargmann +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBTREMOR) += libtremor + +LIBTREMOR_VERSION := 1.0.3 +LIBTREMOR_MD5 := 31074f67ca36a3f8e6c8225c9126cde0 +LIBTREMOR := libtremor-$(LIBTREMOR_VERSION) +LIBTREMOR_SUFFIX := tar.gz +LIBTREMOR_URL := $(call ptx/mirror, GNU, libtool/$(LIBTREMOR).$(LIBTREMOR_SUFFIX)) +LIBTREMOR_SOURCE := $(SRCDIR)/$(LIBTREMOR).$(LIBTREMOR_SUFFIX) +LIBTREMOR_DIR := $(BUILDDIR)/$(LIBTREMOR) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBTREMOR_PATH := PATH=$(CROSS_PATH) +LIBTREMOR_ENV := $(CROSS_ENV) +LIBTREMOR_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libtremor.targetinstall: + @$(call targetinfo) + + @$(call install_init, libtremor) + @$(call install_fixup, libtremor,PRIORITY,optional) + @$(call install_fixup, libtremor,SECTION,base) + @$(call install_fixup, libtremor,AUTHOR,"Markus Pargmann ") + @$(call install_fixup, libtremor,DESCRIPTION,missing) + + @$(call install_lib, libtremor, 0, 0, 0644, libvorbisidec) + + @$(call install_finish, libtremor) + + @$(call touch) + +# vim: syntax=make -- 1.8.4.2 -- ptxdist mailing list ptxdist@pengutronix.de