From 7d0f4d1ff2349647def5f78e6f07d4ce0bc7fffc Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 1 Apr 2004 17:57:34 +0000 Subject: Merge http://openembedded.bkbits.net/packages into linux.local:/home/kergoth/code/packages 2004/03/31 12:17:45-05:00 local!kergoth appweb_1.0.2.oe: Correct LD_LIBRARY_PATH referencing itself. tremor_20030325.oe: Correct the tremor include path passed into the staging make install. 2004/03/30 21:40:59-05:00 local!kergoth Some fixups per the latest staging changes. BKrev: 406c580emotmj9yxCNGAhNEinlE4uw --- libxine/libxine_1.0.0-beta12.oe | 69 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) (limited to 'libxine') diff --git a/libxine/libxine_1.0.0-beta12.oe b/libxine/libxine_1.0.0-beta12.oe index e69de29bb2..97efec2c34 100644 --- a/libxine/libxine_1.0.0-beta12.oe +++ b/libxine/libxine_1.0.0-beta12.oe @@ -0,0 +1,69 @@ +DESCRIPTION = "libxine" +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "Pawel Osiczko " +DEPENDS = "virtual/libc zlib libogg tremor libmad" +RDEPENDS = "libc6 zlib libogg tremor libmad " + +inherit autotools + +S = "${WORKDIR}/xine-lib" + +SRC_URI = "cvs://anonymous@cvs.xine.sf.net/cvsroot/xine;module=xine-lib;tag=xine-1-beta12-release \ + file://${FILESDIR}/full.patch;patch=1 \ + file://${FILESDIR}/libvorbis.patch;patch=0 \ + file://${FILESDIR}/demux_ogg.patch;patch=0 \ + file://${FILESDIR}/configure.ac.patch;patch=0 \ + file://${FILESDIR}/vo_scale.patch;patch=0" + +SOV = "1.0.6" + +do_configure() { + ./autogen.sh --host ${TARGET_SYS} --build ${BUILD_SYS} \ + --enable-shared --disable-static --prefix=${prefix} \ + --with-zlib-path=${STAGING_DIR}/${HOST_SYS} --with-vorbis-prefix=${STAGING_DIR}/${HOST_SYS} \ + --disable-oggtest --with-ogg-prefix=${STAGING_DIR}/${HOST_SYS} --without-x \ + --disable-iconv --disable-nls --without-arts --without-sdl \ + --disable-aalib +} + +do_compile() { + oe_runmake LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool +} + +# ug - we don't do elegant/purdy today +do_install() { + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C src install-data \ + 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \ + 'includedir=${D}/${includedir}' + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C include install-data \ + 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \ + 'includedir=${D}/${includedir}' + install -m 0755 -d ${D}/${libdir}/xine/plugins/1.0.0 + for plugin in `find ${S}/src -type f -name xineplug*.la`; do + dso=`dirname $plugin`/.libs/`basename $plugin .la`.so + install -m 0755 $dso ${D}/${libdir}/xine/plugins/1.0.0 + done + oe_soinstall src/xine-engine/.libs/libxine.so.${SOV} ${D}/${libdir}/ +} + +do_stage() { + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C src install-data \ + 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \ + 'libdir=${STAGING_LIBDIR}' \ + 'includedir=${STAGING_INCDIR}' + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C include install-data \ + 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \ + 'libdir=${STAGING_LIBDIR}' \ + 'includedir=${STAGING_INCDIR}' + install -m 0755 -d ${STAGING_LIBDIR}/xine/plugins/1.0.0 + for plugin in `find ${S}/src -type f -name xineplug*.la`; do + dso=`dirname $plugin`/.libs/`basename $plugin .la`.so + install -m 0755 $dso ${STAGING_LIBDIR}/xine/plugins/1.0.0 + done + oe_soinstall src/xine-engine/.libs/libxine.so.${SOV} ${STAGING_LIBDIR}/ +} -- cgit v1.2.3