summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2013-01-13 16:23:14 (GMT)
committerTom Zanussi <tom.zanussi@intel.com>2013-01-24 23:58:30 (GMT)
commita7011c5340097832b1d8053f92cfd20b23677f72 (patch)
tree3d14c03b54eadeefcf1aa1f1481091df70f36b89
parentfbb51638e8811995e667bf8ccc62f573de8a0ec6 (diff)
downloadmeta-intel-a7011c5340097832b1d8053f92cfd20b23677f72.tar.gz
ffmpeg: Remove package as nobody depends on it anymore
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--common/recipes-multimedia/ffmpeg/ffmpeg.inc110
-rw-r--r--common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb44
2 files changed, 0 insertions, 154 deletions
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
deleted file mode 100644
index 3ce950e..0000000
--- a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
+++ /dev/null
@@ -1,110 +0,0 @@
1DESCRIPTION = "FFmpeg is a complete solution to record, convert and stream audio and video"
2HOMEPAGE = "http://ffmpeg.mplayerhq.hu/"
3AUTHOR = "Fabrice Bellard ffmpeg-devel@mplayerhq.hu"
4SECTION = "libs"
5PRIORITY = "optional"
6LICENSE = "GPLv2+ & LGPLv2.1+"
7
8LICENSE_FLAGS = "commercial"
9
10ARM_INSTRUCTION_SET = "arm"
11
12DEPENDS = "zlib libogg libvorbis libtheora liba52 libva yasm-native"
13
14INC_PR = "r0"
15
16inherit autotools pkgconfig
17
18LEAD_SONAME = "libavcodec.so"
19
20EXTRA_OECONF = "\
21 \
22 --enable-pp \
23 --enable-shared \
24 --enable-pthreads \
25 --enable-gpl \
26 \
27 --cross-prefix=${TARGET_PREFIX} \
28 --disable-debug \
29 --disable-ffserver \
30 --disable-ffplay \
31 \
32"
33
34EXTRA_OECONF_append_powerpc += "--${@['disable-altivec','enable-altivec'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in ['ppce600']]}"
35
36FFMPEG_LIBS = "libavcodec libavdevice libavformat \
37 libavutil libpostproc libswscale libavfilter"
38
39SYSROOT_PREPROCESS_FUNCS = " \
40 ffmpeg_stage_cleanup \
41 ffmpeg_create_compat_links"
42
43ffmpeg_create_compat_links() {
44 rm -rf ${SYSROOT_DESTDIR}${includedir}/ffmpeg
45 mkdir -m 0755 ${SYSROOT_DESTDIR}${includedir}/ffmpeg
46 cd ${SYSROOT_DESTDIR}${includedir}/ffmpeg
47
48 for lib in ${FFMPEG_LIBS}; do
49 ln -s ../$lib/*.h '.' || true
50 done
51}
52
53ffmpeg_stage_cleanup() {
54 rm -rf ${SYSROOT_DESTDIR}${libdir}/vhook \
55 ${SYSROOT_DESTDIR}${datadir}
56}
57
58PACKAGES += "${PN}-vhook-dbg ${PN}-vhook"
59
60FILES_${PN} = "${bindir}"
61FILES_${PN}-dev = "${includedir}/${PN}"
62
63FILES_${PN}-vhook = "${libdir}/vhook"
64FILES_${PN}-vhook-dbg += "${libdir}/vhook/.debug"
65
66PACKAGES += "ffmpeg-x264-presets \
67 libavcodec libavcodec-dev libavcodec-dbg \
68 libavdevice libavdevice-dev libavdevice-dbg \
69 libavformat libavformat-dev libavformat-dbg \
70 libavutil libavutil-dev libavutil-dbg \
71 libpostproc libpostproc-dev libpostproc-dbg \
72 libswscale libswscale-dev libswscale-dbg \
73 libavfilter libavfilter-dev libavfilter-dbg \
74 libavcore libavcore-dev libavcore-dbg \
75 "
76
77FILES_ffmpeg-x264-presets = "${datadir}/*.ffpreset"
78
79FILES_${PN}-dev = "${includedir}"
80FILES_libavcodec = "${libdir}/libavcodec*.so.*"
81FILES_libavcodec-dev = "${libdir}/libavcodec*.so ${libdir}/pkgconfig/libavcodec.pc ${libdir}/libavcodec*.a"
82FILES_libavcodec-dbg += "${libdir}/.debug/libavcodec*"
83
84FILES_libavdevice = "${libdir}/libavdevice*.so.*"
85FILES_libavdevice-dev = "${libdir}/libavdevice*.so ${libdir}/pkgconfig/libavdevice.pc ${libdir}/libavdevice*.a"
86FILES_libavdevice-dbg += "${libdir}/.debug/libavdevice*"
87
88FILES_libavformat = "${libdir}/libavformat*.so.*"
89FILES_libavformat-dev = "${libdir}/libavformat*.so ${libdir}/pkgconfig/libavformat.pc ${libdir}/libavformat*.a"
90FILES_libavformat-dbg += "${libdir}/.debug/libavformat*"
91
92FILES_libavutil = "${libdir}/libavutil*.so.*"
93FILES_libavutil-dev = "${libdir}/libavutil*.so ${libdir}/pkgconfig/libavutil.pc ${libdir}/libavutil*.a"
94FILES_libavutil-dbg += "${libdir}/.debug/libavutil*"
95
96FILES_libpostproc = "${libdir}/libpostproc*.so.*"
97FILES_libpostproc-dev = "${libdir}/libpostproc*.so ${libdir}/pkgconfig/libpostproc.pc ${libdir}/libpostproc*.a ${includedir}/postproc"
98FILES_libpostproc-dbg += "${libdir}/.debug/libpostproc*"
99
100FILES_libswscale = "${libdir}/libswscale*.so.*"
101FILES_libswscale-dev = "${libdir}/libswscale*.so ${libdir}/pkgconfig/libswscale.pc ${libdir}/libswscale*.a"
102FILES_libswscale-dbg += "${libdir}/.debug/libswscale*"
103
104FILES_libavfilter = "${libdir}/libavfilter*.so.*"
105FILES_libavfilter-dev = "${libdir}/libavfilter*.so ${libdir}/pkgconfig/libavfilter.pc ${libdir}/libavfilter*.a"
106FILES_libavfilter-dbg += "${libdir}/.debug/libavfilter*"
107
108FILES_libavcore = "${libdir}/libavcore*.so.*"
109FILES_libavcore-dev = "${libdir}/libavcore*.so ${libdir}/pkgconfig/libavcore.pc ${libdir}/libavcore*.a"
110FILES_libavcore-dbg += "${libdir}/.debug/libavcore*"
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
deleted file mode 100644
index cf97a19..0000000
--- a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1require ffmpeg.inc
2
3LICENSE = "LGPLv2.1+ & GPLv2+"
4PR = "${INC_PR}.2"
5
6SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
7SRC_URI[md5sum] = "b4e3653b2dd930cfa2a80722f8b03182"
8SRC_URI[sha256sum] = "786511d75e5a1f95ec16ed9f0b4a3f49f145e134b8f2ccdfa9ecd2d35ff36000"
9
10LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
11 file://libpostproc/postprocess.c;beginline=8;endline=21;md5=3163771dd725805aeda961a4e05173b5 \
12 file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
13 file://ffmpeg.c;beginline=7;endline=20;md5=9dee9cc51a9da6c3254d39ebf4d5aa03"
14
15EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"
16EXTRA_FFCONF_mipsel = "--arch=mips"
17
18EXTRA_OECONF = " \
19 --arch=${TARGET_ARCH} \
20 --cross-prefix=${TARGET_PREFIX} \
21 --disable-stripping \
22 --enable-cross-compile \
23 --enable-libtheora \
24 --enable-libvorbis \
25 --enable-pthreads \
26 --enable-shared \
27 --enable-swscale \
28 --enable-vaapi \
29 --enable-gpl \
30 --enable-yasm \
31 --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
32 --extra-ldflags="${TARGET_LDFLAGS}" \
33 --sysroot="${STAGING_DIR_TARGET}" \
34 --prefix=${prefix}/ \
35 --target-os=linux \
36 ${EXTRA_FFCONF} \
37"
38
39do_configure() {
40 ./configure ${EXTRA_OECONF}
41}
42
43FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -ftree-vectorize -fomit-frame-pointer -O4 -ffast-math"
44BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"