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://full.patch;patch=1 \
13 file://libvorbis.patch;patch=0 \
14 file://demux_ogg.patch;patch=0 \
15 file://configure.ac.patch;patch=0 \
16 file://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 for plugin in `find ${S}/src -type f -name xineplug*.la`; do
45 libname=`basename $plugin|sed -e's,\.la,,'`
46 oe_libinstall -so -C $dir $libname ${D}/${libdir}/xine/plugins/1.0.0
48 oe_libinstall -so -C src/xine-engine libxine ${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 for plugin in `find ${S}/src -type f -name xineplug*.la`; do
64 libname=`basename $plugin|sed -e's,\.la,,'`
65 oe_libinstall -so -C $dir $libname ${STAGING_LIBDIR}/xine/plugins/1.0.0
67 oe_libinstall -so -C src/xine-engine libxine ${STAGING_LIBDIR}