mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
vapi: no more need for patching the vapi file
This commit is contained in:
parent
173dd47bbb
commit
7a69341f03
2 changed files with 4 additions and 18 deletions
|
@ -22,12 +22,15 @@ using Gst;
|
|||
using Gee;
|
||||
|
||||
/*
|
||||
we need to update the vapi for yet unreleased gstreamer api:
|
||||
in the case we need to update the vapi for yet unreleased gstreamer api, these
|
||||
are the steps. Right now its enough to install the vapi file from git
|
||||
|
||||
# checkout vala from gnome git
|
||||
cd vala/mediainfo/vapi
|
||||
vala-gen-introspect gstreamer-pbutils-0.10 packages/gstreamer-pbutils-0.10
|
||||
vapigen --vapidir . --library gstreamer-pbutils-0.10 packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi
|
||||
git diff packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata >vapi.gstreamer-pbutils-0.10.patch
|
||||
|
||||
# suse
|
||||
sudo cp gstreamer-pbutils-0.10.vapi /usr/share/vala/mediainfo/vapi/
|
||||
# ubuntu
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
diff --git a/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata b/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata
|
||||
index f873f19..333bef2 100644
|
||||
--- a/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata
|
||||
+++ b/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata
|
||||
@@ -13,3 +13,12 @@ gst_missing_decoder_installer_detail_new transfer_ownership="1"
|
||||
gst_missing_encoder_installer_detail_new transfer_ownership="1"
|
||||
gst_install_plugins_async.details is_array="1" no_array_length="1"
|
||||
gst_install_plugins_async.ctx nullable="1"
|
||||
+gst_discoverer_discover_uri transfer_ownership="1"
|
||||
+gst_discoverer_info_get_stream_list type_arguments="DiscovererStreamInfo" transfer_ownership="1"
|
||||
+gst_discoverer_info_get_audio_streams type_arguments="DiscovererStreamInfo" transfer_ownership="1"
|
||||
+gst_discoverer_info_get_video_streams type_arguments="DiscovererStreamInfo" transfer_ownership="1"
|
||||
+gst_discoverer_info_get_container_streams type_arguments="DiscovererStreamInfo" transfer_ownership="1"
|
||||
+GstDiscovererInfo base_class="GstMiniObject"
|
||||
+GstDiscovererInfo.mini_object hidden="1"
|
||||
+GstDiscovererStreamInfo base_class="GstMiniObject"
|
||||
+GstDiscovererStreamInfo.mini_object hidden="1"
|
Loading…
Reference in a new issue