summaryrefslogtreecommitdiff
path: root/packages/python/python-vorbis_1.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-vorbis_1.3.bb')
-rw-r--r--packages/python/python-vorbis_1.3.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/python/python-vorbis_1.3.bb b/packages/python/python-vorbis_1.3.bb
index e69de29bb2..97ddf8caf5 100644
--- a/packages/python/python-vorbis_1.3.bb
+++ b/packages/python/python-vorbis_1.3.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Python Vorbis Bindings"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "LGPL"
+RDEPENDS = "python-core libvorbis python-ogg"
+DEPENDS = "libvorbis python-ogg"
+SRCNAME = "pyvorbis"
+
+SRC_URI = "http://www.andrewchatham.com/pyogg/download/${SRCNAME}-${PV}.tar.gz \
+ file://disable-oggcheck.patch;patch=1"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+do_configure_prepend() {
+ touch Setup
+ echo "ogg_libs = ogg" >>Setup
+ echo "ogg_lib_dir = ${STAGING_LIBDIR}" >>Setup
+ echo "ogg_include_dir = ${STAGING_INCDIR}" >>Setup
+ echo "vorbis_libs = vorbis vorbisfile vorbisenc" >>Setup
+ echo "vorbis_lib_dir = ${STAGING_LIBDIR}" >>Setup
+ echo "vorbis_include_dir = ${STAGING_INCDIR}" >>Setup
+}