diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-03 15:12:12 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-03 15:12:12 +0000 |
commit | 35c3b0b4b38af11500fe0803650b2968be6a48dc (patch) | |
tree | b802e60ccde62784b768276af7a7eed8bac108d1 /gstreamer/gst-plugins_0.8.1.oe | |
parent | 7b129ebc059c3c21caecd61189b21bccb309306c (diff) |
add postinst to plugins
BKrev: 410fab4cVjbhpbdP7JxF5mynhYaa1w
Diffstat (limited to 'gstreamer/gst-plugins_0.8.1.oe')
-rw-r--r-- | gstreamer/gst-plugins_0.8.1.oe | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gstreamer/gst-plugins_0.8.1.oe b/gstreamer/gst-plugins_0.8.1.oe index 217e69b360..2c73ab7372 100644 --- a/gstreamer/gst-plugins_0.8.1.oe +++ b/gstreamer/gst-plugins_0.8.1.oe @@ -2,7 +2,7 @@ DESCRIPTION = "Plugins for GStreamer" SECTION = "base" PRIORITY = "optional" MAINTAINER = "Phil Blundell <pb@handhelds.org>" -PR = "r2" +PR = "r3" DEPENDS = "gstreamer zlib libmikmod libmad libogg tremor libvorbis libid3tag gnome-vfs esound-gpe" @@ -17,10 +17,15 @@ acpaths = "-I ${S}/common/m4 -I ${S}/m4" LIBV = "0.8" +plugin_postinst() { +gst-register --gst-registry=/var/cache/gstreamer-0.8/registry.xml +} + python populate_packages_prepend () { gst_libdir = oe.data.expand('${libdir}/gstreamer-${LIBV}', d) + postinst = oe.data.getVar('plugin_postinst', d, 1) - do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s') + do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst) do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)') } |