blob: 54cfbbc9279ffec4d92c305718577d96efee8729 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY="GStreamer playback helper library and examples"
2
3LICENSE = "LGPL-2.0+"
4LIC_FILES_CHKSUM = "file://lib/gst/player/gstplayer.c;beginline=1;endline=19;md5=03aeca9d8295f811817909075a15ff65"
5
6DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+"
7
8SRC_URI = "git://github.com/sdroege/gst-player.git \
9 file://filechooser.patch \
10 file://gtk2.patch \
11 file://Fix-pause-play.patch \
12 file://Add-error-signal-emission-for-missing-plugins.patch \
13 file://gst-player.desktop"
14
15SRCREV = "5386c5b984d40ef5434673ed62204e69aaf52645"
16
17S = "${WORKDIR}/git"
18
19inherit autotools gtk-doc lib_package pkgconfig
20
21do_configure_prepend() {
22 touch ${S}/ChangeLog
23}
24
25EXTRA_OECONF += "ac_cv_path_VALGRIND=no ac_cv_path_GDB=no"
26
27do_install_append() {
28 install -m 0644 -D ${WORKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
29}
30
31FILES_${PN}-bin += "${datadir}/applications/*.desktop"
32
33RDEPENDS_${PN}-bin = "gstreamer1.0-plugins-base-playback"
34RRECOMMENDS_${PN}-bin = "gstreamer1.0-plugins-base-meta \
35 gstreamer1.0-plugins-good-meta \
36 gstreamer1.0-plugins-bad-meta \
37 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-libav", "", d)} \
38 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"