summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gst-examples
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-examples')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch39
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop10
2 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch b/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
new file mode 100644
index 0000000000..0338bad1c0
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
@@ -0,0 +1,39 @@
1From 755f6dab07565aca7b6aefacad8be65de364ff75 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Thu, 17 Aug 2017 11:07:02 +0300
4Subject: [PATCH] Make player examples installable
5
6Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
7Upstream-Status: Denied [Upstream considers these code examples, for now a least]
8
9https://bugzilla.gnome.org/show_bug.cgi?id=777827
10---
11 playback/player/gst-play/meson.build | 1 +
12 playback/player/gtk/meson.build | 1 +
13 2 files changed, 2 insertions(+)
14
15diff --git a/playback/player/gst-play/meson.build b/playback/player/gst-play/meson.build
16index 719b55b..a56fe13 100644
17--- a/playback/player/gst-play/meson.build
18+++ b/playback/player/gst-play/meson.build
19@@ -8,5 +8,6 @@ executable('gst-play',
20 ['gst-play.c',
21 'gst-play-kb.c',
22 'gst-play-kb.h'],
23+ install: true,
24 dependencies : [gst_dep, gstplayer_dep, m_dep])
25
26diff --git a/playback/player/gtk/meson.build b/playback/player/gtk/meson.build
27index 08aae4f..671a65d 100644
28--- a/playback/player/gtk/meson.build
29+++ b/playback/player/gtk/meson.build
30@@ -18,5 +18,6 @@ executable('gtk-play',
31 gtk_play_resources,
32 'gtk-video-renderer.h',
33 'gtk-video-renderer.c'],
34+ install: true,
35 dependencies : [glib_dep, gobject_dep, gmodule_dep, gst_dep, gsttag_dep, gstplayer_dep, gtk_dep, x11_dep])
36
37--
382.13.3
39
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop b/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
new file mode 100644
index 0000000000..7ddd456a1e
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
@@ -0,0 +1,10 @@
1[Desktop Entry]
2Name=Media Player
3Comment=Basic media player
4Icon=multimedia-player
5TryExec=gtk-play
6Exec=gtk-play
7StartupNotify=true
8Terminal=false
9Type=Application
10Categories=GTK;AudioVideo;