From e59631d0854718461cf9c31fdf243a077ccac290 Mon Sep 17 00:00:00 2001 From: woglinde Date: Sat, 28 Mar 2009 16:15:51 +0100 Subject: libxine: remove older verison and add the actual 1.1.16 * dont seperate x11 and fb anymore xine can handle it via plugins * therefore all recipes wich depends on libxine-fb or libxine-x11 have to changed to libxine --- recipes/libxine/libxine.inc | 65 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 recipes/libxine/libxine.inc (limited to 'recipes/libxine/libxine.inc') diff --git a/recipes/libxine/libxine.inc b/recipes/libxine/libxine.inc new file mode 100644 index 0000000000..91bb30f8b0 --- /dev/null +++ b/recipes/libxine/libxine.inc @@ -0,0 +1,65 @@ +DESCRIPTION = "libxine is a versatile multimedia library decoding a lot of common audio and video formats." +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "ffmpeg zlib libogg libvorbis tremor libmad libmodplug libpng alsa-lib virtual/libiconv virtual/libx11 \ + libxv libxext directfb pulseaudio" + +inherit autotools gettext binconfig pkgconfig + +SRC_URI = "${SOURCEFORGE_MIRROR}/xine/xine-lib-${PV}.tar.bz2" + +S = "${WORKDIR}/xine-lib-${PV}" + +SOV = "1.0.7" + +EXTRA_OECONF = "--with-zlib-path=${STAGING_EXECPREFIXDIR} \ + --with-vorbis-prefix=${STAGING_EXECPREFIXDIR} \ + --disable-oggtest --with-ogg-prefix=${STAGING_EXECPREFIXDIR} \ + --disable-iconvtest \ + --disable-asf --disable-faad \ + --disable-aalib --disable-aalibtest \ + --disable-esd --disable-esdtest \ + --disable-dvdnav --disable-dvdnavtest \ + --disable-vcd \ + --without-arts --without-sdl \ + --disable-altivec --disable-vis --disable-mlib \ + --without-sdl \ + --without-v4l --disable-dxr3 --disable-libfametest\ + --disable-rpath \ + --enable-fb --enable-directfb \ + --with-x --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + " + +LIBTOOL = "${HOST_SYS}-libtool" +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" + +do_stage() { + autotools_stage_all +} + +PACKAGES_DYNAMIC = "libxine-plugin-* libxine-font-*" + +python populate_packages_prepend () { + bb.data.setVar('PKG_libxine', 'libxine', d) + + plugindir = bb.data.expand('${libdir}/xine/plugins/${PPDIR}', d) + do_split_packages(d, plugindir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s', extra_depends='' ) + + postdir = bb.data.expand('${libdir}/xine/plugins/${PPDIR}/post', d) + do_split_packages(d, postdir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s', extra_depends='' ) + + fontdir = bb.data.expand('${datadir}/xine/libxine1/fonts', d) + do_split_packages(d, fontdir, '^(.*).xinefont.gz$', 'libxine-font-%s', 'Xine font %s', extra_depends='' ) +} + +#python populate_packages_append () { +# bb.data.setVar('PKG_libxine', 'libxine', d) +# +# plugindirdbg = bb.data.expand('${libdir}/xine/plugins/${PPDIR}/.debug', d) +# do_split_packages(d, plugindirdbg, '^xineplug_(.*)\.so$', 'libxine-plugin-%s-dbg', 'Xine plugin for %s debugversion', extra_depends='' ) +# +# postdirdbg = bb.data.expand('${libdir}/xine/plugins/${PPDIR}/post/.debug', d) +# do_split_packages(d, postdirdbg, '^xineplug_(.*)\.so$', 'libxine-plugin-%s-dbg', 'Xine plugin for %s debugversion', extra_depends='' ) +#} -- cgit 1.2.3-korg