blob: 9850242567bbf7b4ce7e4aa65118577979bc6e5b [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
Patrick Williamsf1e5d692016-03-30 15:21:19 -050019inherit autotools gtk-doc lib_package pkgconfig distro_features_check
20
21ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022
23do_configure_prepend() {
24 touch ${S}/ChangeLog
25}
26
27EXTRA_OECONF += "ac_cv_path_VALGRIND=no ac_cv_path_GDB=no"
28
29do_install_append() {
30 install -m 0644 -D ${WORKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
31}
32
33FILES_${PN}-bin += "${datadir}/applications/*.desktop"
34
35RDEPENDS_${PN}-bin = "gstreamer1.0-plugins-base-playback"
36RRECOMMENDS_${PN}-bin = "gstreamer1.0-plugins-base-meta \
37 gstreamer1.0-plugins-good-meta \
38 gstreamer1.0-plugins-bad-meta \
39 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-libav", "", d)} \
40 ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"