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