From 54ed711a7d5d22208711ea7d961ac86b0d239960 Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Mon, 25 Nov 2013 16:02:18 +0100 Subject: libtremor: add new package 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 Signed-off-by: Michael Olbrich --- ...CK-configure.in-remove-extended-OGG-check.patch | 31 +++++++++++++ patches/libtremor-1.0.3/autogen.sh | 1 + patches/libtremor-1.0.3/series | 4 ++ rules/libtremor.in | 9 ++++ rules/libtremor.make | 52 ++++++++++++++++++++++ 5 files changed, 97 insertions(+) create mode 100644 patches/libtremor-1.0.3/0001-HACK-configure.in-remove-extended-OGG-check.patch create mode 120000 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-HACK-configure.in-remove-extended-OGG-check.patch b/patches/libtremor-1.0.3/0001-HACK-configure.in-remove-extended-OGG-check.patch new file mode 100644 index 000000000..d0a40ef2a --- /dev/null +++ b/patches/libtremor-1.0.3/0001-HACK-configure.in-remove-extended-OGG-check.patch @@ -0,0 +1,31 @@ +From: Markus Pargmann +Date: Mon, 25 Nov 2013 15:40:48 +0100 +Subject: [PATCH] HACK: configure.in: remove extended OGG check + +The tar-ball contains no configure script and it doesn't define +XIPH_PATH_OGG anywhere. +It's not needed here so just remove it. + +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 120000 index 000000000..9f8a4cb7d --- /dev/null +++ b/patches/libtremor-1.0.3/autogen.sh @@ -0,0 +1 @@ +../autogen.sh \ No newline at end of file diff --git a/patches/libtremor-1.0.3/series b/patches/libtremor-1.0.3/series new file mode 100644 index 000000000..75ee87212 --- /dev/null +++ b/patches/libtremor-1.0.3/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-HACK-configure.in-remove-extended-OGG-check.patch +# 8b861fdf14ed5f27dce4c67d75786cf3 - git-ptx-patches magic diff --git a/rules/libtremor.in b/rules/libtremor.in new file mode 100644 index 000000000..35f48c994 --- /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 000000000..7889d5664 --- /dev/null +++ b/rules/libtremor.make @@ -0,0 +1,52 @@ +# -*-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 := http://www.pengutronix.de/software/ptxdist/temporary-src/$(LIBTREMOR).$(LIBTREMOR_SUFFIX) +LIBTREMOR_SOURCE := $(SRCDIR)/$(LIBTREMOR).$(LIBTREMOR_SUFFIX) +LIBTREMOR_DIR := $(BUILDDIR)/$(LIBTREMOR) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBTREMOR_CONF_TOOL := autoconf +LIBTREMOR_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-static + +# ---------------------------------------------------------------------------- +# 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 -- cgit v1.2.3