diff options
author | Holger Freyther <zecke@selfish.org> | 2004-09-27 21:46:51 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2004-09-27 21:46:51 +0000 |
commit | 3fa38be99e1c9e96273b70a4e8e60c60a8c9f414 (patch) | |
tree | fbf936cf90fac714c0517f45c17c1d11115dfdfd /libxine | |
parent | 5cddbdb52eabd6f7dd913896d859265fe0e08971 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/ich/programming/oe/oe-packages-exported
2004/09/27 22:55:06+02:00 handhelds.org!zecke
PPPD:
Fix the fix(patch) to enable mppe/ms-chap2
2004/09/27 22:51:01+02:00 handhelds.org!zecke
Beagle:
-PREEMPT enable/disable for PCMCIA to avoid crashes
-Do not ship zImage and System.map in ROM
2004/09/27 00:10:19+02:00 handhelds.org!zecke
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/ich/programming/oe/oe-packages-exported
2004/09/27 00:06:48+02:00 handhelds.org!zecke
Change staging of libxine_1.0.0-rc6a to install more headers into xine/ . These headers
are needed to build OpiePlayer2 against this version of libxine
2004/09/26 20:52:35+02:00 handhelds.org!zecke
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/ich/programming/oe/oe-packages-exported
2004/09/26 20:52:05+02:00 handhelds.org!zecke
Beagle:
-Switch away from modutils-colliteral
-Provide alaiases for ppp
-Build only needed TS lib modules to save space
BKrev: 41588a4byF20Bu-W-MhZ73U55lhrCQ
Diffstat (limited to 'libxine')
-rw-r--r-- | libxine/libxine_1.0.0-rc6a.oe | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/libxine/libxine_1.0.0-rc6a.oe b/libxine/libxine_1.0.0-rc6a.oe index e69de29bb2..31e5e208af 100644 --- a/libxine/libxine_1.0.0-rc6a.oe +++ b/libxine/libxine_1.0.0-rc6a.oe @@ -0,0 +1,83 @@ +# libxine OE build file +# Modified by Advanced Micro Devices, Inc. + +DESCRIPTION = "libxine" +SECTION = "libs" +PRIORITY = "optional" +MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>" +DEPENDS = "zlib libogg libvorbis libmad" + +inherit autotools pkgconfig + +S = "${WORKDIR}/xine-lib-1-rc6a" + +SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/xine/xine-lib-1-rc6a.tar.gz \ + file://cpu.patch;patch=1 \ + file://configure.patch;patch=1" + +SOV = "1.0.6" + +# Omit the annoying xine-config in /usr/bin +FILES_${PN}="/usr/lib/*.so*" + +# And include it in the dev package +FILES_${PN}-dev += " /usr/bin" + +EXTRA_OECONF="-with-zlib-path=${STAGING_DIR}/${HOST_SYS} \ + --with-vorbis-prefix=${STAGING_DIR}/${HOST_SYS} \ + --disable-oggtest \ + --with-ogg-prefix=${STAGING_DIR}/${HOST_SYS} \ + --disable-altivec --disable-vis --disable-mlib \ + --enable-shared --disable-static \ + --disable-fb --disable-alsa --disable-vcd \ + --disable-asf --disable-faad --disable-iconv \ + --disable-nls --disable-aalib --without-x \ + --without-v4l --without-arts --without-sdl" + +do_compile() { + oe_runmake LIBTOOL=${S}/${TARGET_SYS}-libtool +} + +do_install() { + oe_runmake DESTDIR=${D} LIBTOOL=${S}/${TARGET_SYS}-libtool install +} + +HEADERS="src/xine-engine/xineintl.h src/xine-utils/xineutils.h \ + src/xine-engine/xine_internal.h src/xine-engine/xine_plugin.h \ + src/xine-utils/xine_buffer.h src/xine-engine/video_out.h \ + src/xine-engine/buffer.h src/xine-engine/vo_scale.h \ + src/xine-engine/configfile.h src/xine-utils/attributes.h \ + src/xine-engine/info_helper.h src/xine-engine/scratch.h \ + src/xine-engine/audio_decoder.h src/input/input_plugin.h \ + src/xine-engine/spu_decoder.h src/xine-engine/audio_out.h \ + src/xine-engine/io_helper.h src/xine-engine/video_decoder.h \ + src/xine-engine/broadcaster.h src/xine-engine/metronom.h \ + src/xine-utils/xmllexer.h src/xine-engine/osd.h \ + src/xine-engine/video_overlay.h src/xine-utils/xmlparser.h \ + src/xine-utils/compat.h src/xine-engine/plugin_catalog.h \ + src/xine-engine/post.h src/demuxers/demux.h \ + src/xine-engine/resample.h" + + +do_stage() { + install -d ${STAGING_INCDIR}/xine + + install -m 0644 ${S}/include/xine.h ${STAGING_INCDIR} + + for file in ${HEADERS}; do + cp ${S}/$file ${STAGING_INCDIR}/xine/`basename $file` + done + + oe_libinstall -so -C src/xine-engine libxine ${STAGING_LIBDIR} +} + +python populate_packages_prepend () { + plugindir = oe.data.expand('${libdir}/xine/plugins/1.0.0', d) + do_split_packages(d, plugindir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s') + + postdir = oe.data.expand('${libdir}/xine/plugins/1.0.0/post', d) + do_split_packages(d, postdir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s') + + fontdir = oe.data.expand('${datadir}/xine/libxine1/fonts', d) + do_split_packages(d, fontdir, '^(.*).xinefont.gz$', 'libxine-font-%s', 'Xine font %s') +} |