aboutsummaryrefslogtreecommitdiffstats
path: root/packages/libshout
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-01-25 16:56:10 +0000
committerHolger Freyther <zecke@selfish.org>2008-01-25 16:56:10 +0000
commita5166183debdcbe11a0089822d5e04bcdf9ac8dc (patch)
treed31185d18c05ef4da241ddb8739770be01e4c39d /packages/libshout
parentb00ae8808d4dc76a0fbce2e91e940485c496cbd2 (diff)
downloadopenembedded-a5166183debdcbe11a0089822d5e04bcdf9ac8dc.tar.gz
packages/libshout/libshout: Add initial version 2.2.2
Remove ogg.m4, speex.m4, vorbis.m4 from the source directory before starting to regenerate the configure script. Do not add $prefix/include to the CPPFLAGS as this is evil
Diffstat (limited to 'packages/libshout')
-rw-r--r--packages/libshout/.mtn2git_empty0
-rw-r--r--packages/libshout/files/.mtn2git_empty0
-rw-r--r--packages/libshout/files/no-host-includes.ac13
-rw-r--r--packages/libshout/libshout.inc16
-rw-r--r--packages/libshout/libshout_2.2.2.bb1
5 files changed, 30 insertions, 0 deletions
diff --git a/packages/libshout/.mtn2git_empty b/packages/libshout/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libshout/.mtn2git_empty
diff --git a/packages/libshout/files/.mtn2git_empty b/packages/libshout/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libshout/files/.mtn2git_empty
diff --git a/packages/libshout/files/no-host-includes.ac b/packages/libshout/files/no-host-includes.ac
new file mode 100644
index 0000000000..f5255359b0
--- /dev/null
+++ b/packages/libshout/files/no-host-includes.ac
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 52fc51d..e93fc52 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -179,7 +179,7 @@ eval shout_includedir="$includedir"
+ prefix="$save_prefix"
+
+ SHOUT_VERSION="$VERSION"
+-SHOUT_CPPFLAGS="-I$shout_includedir $VORBIS_CFLAGS $PTHREAD_CPPFLAGS"
++SHOUT_CPPFLAGS="$VORBIS_CFLAGS $PTHREAD_CPPFLAGS"
+ SHOUT_CFLAGS="$PTHREAD_CFLAGS"
+ SHOUT_LIBS="-lshout"
+
diff --git a/packages/libshout/libshout.inc b/packages/libshout/libshout.inc
new file mode 100644
index 0000000000..9ca8745b9b
--- /dev/null
+++ b/packages/libshout/libshout.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Library which can be used to write a source client like ices"
+HOMEPAGE = "http://www.icecast.org"
+DEPENDS = "speex libtheora libvorbis libogg"
+LICENSE = "LGPL"
+
+SRC_URI = "http://downloads.us.xiph.org/releases/libshout/libshout-${PV}.tar.gz \
+ file://no-host-includes.ac;patch=1 "
+
+inherit autotools
+
+do_configure_prepend() {
+ # Use the staged m4 files
+ rm -f ${S}/m4/speex.m4
+ rm -f ${S}/m4/ogg.m4
+ rm -f ${S}/m4/vorbis.m4
+}
diff --git a/packages/libshout/libshout_2.2.2.bb b/packages/libshout/libshout_2.2.2.bb
new file mode 100644
index 0000000000..bd54419686
--- /dev/null
+++ b/packages/libshout/libshout_2.2.2.bb
@@ -0,0 +1 @@
+require ${PN}.inc