[oe-commits] org.oe.dev libvorbis: package version 1.2.0

jeremy_laine commit openembedded-commits at lists.openembedded.org
Wed Dec 19 09:49:29 UTC 2007


libvorbis: package version 1.2.0

Author: jeremy_laine at openembedded.org
Branch: org.openembedded.dev
Revision: 169f0a9eb85b9f29ecde9111e22938b3acc6a71d
ViewMTN: http://monotone.openembedded.org/revision/info/169f0a9eb85b9f29ecde9111e22938b3acc6a71d
Files:
1
packages/libvorbis/libvorbis_1.2.0.bb
Diffs:

#
# mt diff -r0724bc9a65d8a59c9624b5414dfffd3987d5d458 -r169f0a9eb85b9f29ecde9111e22938b3acc6a71d
#
# 
# 
# add_file "packages/libvorbis/libvorbis_1.2.0.bb"
#  content [bfa924d59a88e448f8484e94e5e5d7e031c148bc]
# 
============================================================
--- packages/libvorbis/libvorbis_1.2.0.bb	bfa924d59a88e448f8484e94e5e5d7e031c148bc
+++ packages/libvorbis/libvorbis_1.2.0.bb	bfa924d59a88e448f8484e94e5e5d7e031c148bc
@@ -0,0 +1,30 @@
+SECTION = "libs"
+DEPENDS = "libogg"
+DESCRIPTION = "Ogg Vorbis is a high-quality lossy audio codec \
+that is free of intellectual property restrictions. libvorbis \
+is the main vorbis codec library."
+LICENSE = "BSD"
+
+SRC_URI = "http://downloads.xiph.org/releases/vorbis/libvorbis-${PV}.tar.gz"
+
+inherit autotools  pkgconfig
+
+# vorbisfile.c reveals a problem in the gcc register spilling for the
+# thumb instruction set...
+FULL_OPTIMIZATION_thumb = "-O0"
+
+EXTRA_OECONF = "--with-ogg-libraries=${STAGING_LIBDIR} \
+	        --with-ogg-includes=${STAGING_INCDIR}"
+
+do_stage () {
+	oe_libinstall -a -so -C lib libvorbis ${STAGING_LIBDIR}
+	oe_libinstall -a -so -C lib libvorbisfile ${STAGING_LIBDIR}
+	oe_libinstall -a -so -C lib libvorbisenc ${STAGING_LIBDIR}
+
+	install -d ${STAGING_INCDIR}/vorbis
+	install -m 0644 include/vorbis/vorbisenc.h \
+			include/vorbis/vorbisfile.h \
+			include/vorbis/codec.h ${STAGING_INCDIR}/vorbis/
+	install -d ${STAGING_DATADIR}/aclocal
+	install -m 0644 vorbis.m4 ${STAGING_DATADIR}/aclocal/
+}






More information about the Openembedded-commits mailing list