diff options
author | woglinde <heinold@inf.fu-berlin.de> | 2009-03-28 16:15:51 +0100 |
---|---|---|
committer | woglinde <heinold@inf.fu-berlin.de> | 2009-04-01 23:00:01 +0200 |
commit | e59631d0854718461cf9c31fdf243a077ccac290 (patch) | |
tree | 16c4409e4d7f0b5128e136f0f6c0a68b5be8119e /recipes/libxine/libxine.inc | |
parent | 791a9bc3f0fbcd4f44bda9dc7cd6cfaa709aefa0 (diff) |
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
Diffstat (limited to 'recipes/libxine/libxine.inc')
-rw-r--r-- | recipes/libxine/libxine.inc | 65 |
1 files changed, 65 insertions, 0 deletions
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='' ) +#} |