Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY="GStreamer playback helper library and examples" |
| 2 | |
| 3 | LICENSE = "LGPL-2.0+" |
| 4 | LIC_FILES_CHKSUM = "file://lib/gst/player/gstplayer.c;beginline=1;endline=19;md5=03aeca9d8295f811817909075a15ff65" |
| 5 | |
| 6 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+" |
| 7 | |
| 8 | SRC_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 | |
| 15 | SRCREV = "5386c5b984d40ef5434673ed62204e69aaf52645" |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 19 | inherit autotools gtk-doc lib_package pkgconfig distro_features_check |
| 20 | |
| 21 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | |
| 23 | do_configure_prepend() { |
| 24 | touch ${S}/ChangeLog |
| 25 | } |
| 26 | |
| 27 | EXTRA_OECONF += "ac_cv_path_VALGRIND=no ac_cv_path_GDB=no" |
| 28 | |
| 29 | do_install_append() { |
| 30 | install -m 0644 -D ${WORKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop |
| 31 | } |
| 32 | |
| 33 | FILES_${PN}-bin += "${datadir}/applications/*.desktop" |
| 34 | |
| 35 | RDEPENDS_${PN}-bin = "gstreamer1.0-plugins-base-playback" |
| 36 | RRECOMMENDS_${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)}" |