mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
meta-openembedded: overlay gst-plugins-base to get rid of gnome-vfs(-native) dep
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
parent
9601fff416
commit
1857df74ac
|
|
@ -0,0 +1,17 @@
|
|||
Remove -DTREMOR option since Tremor has dropped its internal
|
||||
libogg2, and gst-plugins-base has dependency on that.
|
||||
|
||||
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
|
||||
|
||||
diff -ruN gst-plugins-base-0.10.30-orig/ext/vorbis/Makefile.am gst-plugins-base-0.10.30/ext/vorbis/Makefile.am
|
||||
--- gst-plugins-base-0.10.30-orig/ext/vorbis/Makefile.am 2010-11-17 16:11:03.000000000 +0800
|
||||
+++ gst-plugins-base-0.10.30/ext/vorbis/Makefile.am 2010-11-17 16:12:41.000000000 +0800
|
||||
@@ -28,7 +28,7 @@
|
||||
libgstivorbisdec_la_SOURCES = gstivorbisdec.c \
|
||||
gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c
|
||||
libgstivorbisdec_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||
- -DTREMOR $(IVORBIS_CFLAGS)
|
||||
+ $(IVORBIS_CFLAGS)
|
||||
libgstivorbisdec_la_LIBADD = \
|
||||
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
|
||||
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
||||
22
recipes-multimedia/gstreamer/gst-plugins-base_0.10.30.bb
Normal file
22
recipes-multimedia/gstreamer/gst-plugins-base_0.10.30.bb
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
require gst-plugins.inc
|
||||
|
||||
LICENSE = "GPLv2+ & LGPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
||||
file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=622921ffad8cb18ab906c56052788a3f \
|
||||
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
|
||||
file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
|
||||
|
||||
DEPENDS += "virtual/libx11 alsa-lib freetype liboil libogg libvorbis libxv libtheora"
|
||||
|
||||
SRC_URI += " file://gst-plugins-base-tremor.patch"
|
||||
|
||||
PR = "r2"
|
||||
|
||||
inherit gettext
|
||||
|
||||
EXTRA_OECONF += "--disable-freetypetest --disable-pango"
|
||||
|
||||
do_configure_prepend() {
|
||||
# This m4 file contains nastiness which conflicts with libtool 2.2.2
|
||||
rm -f ${S}/m4/lib-link.m4
|
||||
}
|
||||
41
recipes-multimedia/gstreamer/gst-plugins.inc
Normal file
41
recipes-multimedia/gstreamer/gst-plugins.inc
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
DESCRIPTION = "Plugins for GStreamer"
|
||||
HOMEPAGE = "http://gstreamer.freedesktop.org/"
|
||||
BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
|
||||
SECTION = "multimedia"
|
||||
PRIORITY = "optional"
|
||||
DEPENDS = "gstreamer"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
|
||||
|
||||
EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples "
|
||||
|
||||
acpaths = "-I ${S}/common/m4 -I ${S}/m4"
|
||||
|
||||
LIBV = "0.10"
|
||||
#FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so"
|
||||
#FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a"
|
||||
FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
|
||||
|
||||
PACKAGES_DYNAMIC = "${PN}-*"
|
||||
|
||||
# orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc,
|
||||
# resulting in /usr/bin/orcc. Force it to use the staged orcc.
|
||||
do_configure_append() {
|
||||
for i in $(find ${S} -name "Makefile") ; do
|
||||
sed -i -e s:${bindir}/orcc:${STAGING_BINDIR_NATIVE}/orcc:g $i
|
||||
done
|
||||
}
|
||||
|
||||
python populate_packages_prepend () {
|
||||
gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
|
||||
postinst = bb.data.getVar('plugin_postinst', d, 1)
|
||||
|
||||
# Can't package separate debug packages yet
|
||||
# do_split_packages(d, gst_libdir, '\.debug/libgst(.*)\.so$', bb.data.expand('${PN}-%s-dbg', d), 'GStreamer plugin for %s (with debugging symbols)', recursive=True, extra_depends=bb.data.expand('${PN}-dbg', d), match_path=True)
|
||||
do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d))
|
||||
do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d))
|
||||
}
|
||||
|
||||
ALLOW_EMPTY = "1"
|
||||
Loading…
Reference in New Issue
Block a user