1 DESCRIPTION = "libxine"
4 MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
5 DEPENDS = "virtual/libc zlib libogg tremor libmad"
9 S = "${WORKDIR}/xine-lib"
11 SRC_URI = "cvs://anonymous@cvs.xine.sf.net/cvsroot/xine;module=xine-lib;tag=xine-1-beta12-release \
12 file://${FILESDIR}/full.patch;patch=1 \
13 file://${FILESDIR}/libvorbis.patch;patch=0 \
14 file://${FILESDIR}/demux_ogg.patch;patch=0 \
15 file://${FILESDIR}/configure.ac.patch;patch=0 \
16 file://${FILESDIR}/vo_scale.patch;patch=0"
21 ./autogen.sh --host ${TARGET_SYS} --build ${BUILD_SYS} \
22 --enable-shared --disable-static --prefix=${prefix} \
23 --with-zlib-path=${STAGING_DIR}/${HOST_SYS} --with-vorbis-prefix=${STAGING_DIR}/${HOST_SYS} \
24 --disable-oggtest --with-ogg-prefix=${STAGING_DIR}/${HOST_SYS} --without-x \
25 --disable-iconv --disable-nls --without-arts --without-sdl \
30 oe_runmake LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool
33 # ug - we don't do elegant/purdy today
35 oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
37 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \
38 'includedir=${D}/${includedir}'
39 oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
40 -C include install-data \
41 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \
42 'includedir=${D}/${includedir}'
43 install -m 0755 -d ${D}/${libdir}/xine/plugins/1.0.0
44 for plugin in `find ${S}/src -type f -name xineplug*.la`; do
45 dso=`dirname $plugin`/.libs/`basename $plugin .la`.so
46 install -m 0755 $dso ${D}/${libdir}/xine/plugins/1.0.0
48 oe_soinstall src/xine-engine/.libs/libxine.so.${SOV} ${D}/${libdir}/
52 oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
54 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \
55 'libdir=${STAGING_LIBDIR}' \
56 'includedir=${STAGING_INCDIR}'
57 oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \
58 -C include install-data \
59 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \
60 'libdir=${STAGING_LIBDIR}' \
61 'includedir=${STAGING_INCDIR}'
62 install -m 0755 -d ${STAGING_LIBDIR}/xine/plugins/1.0.0
63 for plugin in `find ${S}/src -type f -name xineplug*.la`; do
64 dso=`dirname $plugin`/.libs/`basename $plugin .la`.so
65 install -m 0755 $dso ${STAGING_LIBDIR}/xine/plugins/1.0.0
67 oe_soinstall src/xine-engine/.libs/libxine.so.${SOV} ${STAGING_LIBDIR}/