* [ptxdist] [PATCH 1/2] Gstreamer: add fixed-point Vorbis decoding
2013-11-25 15:02 [ptxdist] [PATCH] add Vorbis fixed-point decoder Juergen Beisert
@ 2013-11-25 15:02 ` Juergen Beisert
2013-11-25 15:02 ` [ptxdist] [PATCH 2/2] Gstreamer: add support for " Juergen Beisert
1 sibling, 0 replies; 3+ messages in thread
From: Juergen Beisert @ 2013-11-25 15:02 UTC (permalink / raw)
To: ptxdist; +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 <mpa@pengutronix.de>
Acked-by: Juergen Beisert <jbe@pengutronix.de>
---
...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 <mpa@pengutronix.de>
+Date: Mon, 25 Nov 2013 15:40:48 +0100
+Subject: [PATCH] Buildsystem: remove extended OGG check
+
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+Tested-by: Juergen Beisert <jbe@pengutronix.de>
+---
+ 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 <mpa@pengutronix.de>
+#
+# 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 <mpa@pengutronix.de>")
+ @$(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
^ permalink raw reply [flat|nested] 3+ messages in thread