1# Copyright (C) 2016 - 2017 Randy Li <ayaka@soulik.info>
2# Copyright (C) 2019, Fuzhou Rockchip Electronics Co., Ltd
3# Released under the GNU GENERAL PUBLIC LICENSE Version 2
4# (see COPYING.GPLv2 for the terms)
5
6include recipes-multimedia/gstreamer/gst-plugins-package.inc
7include recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
8
9DESCRIPTION = "GStreamer 1.0 plugins for Rockchip platforms"
10
11LICENSE = "LGPL-2.1-or-later"
12LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
13DEPENDS:append = " gstreamer1.0-plugins-base"
14
15inherit local-git
16
17SRCREV = "2ed1e68b0aa77728b1d493344d8e62a04b1b64e0"
18SRC_URI = "git://github.com/JeffyCN/mirrors.git;protocol=https;branch=gstreamer-rockchip;"
19
20S = "${WORKDIR}/git"
21
22PATCHPATH = "${THISDIR}/files"
23inherit auto-patch
24
25inherit meson pkgconfig
26
27PACKAGECONFIG ??= "mpp ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} rga"
28
29PACKAGECONFIG[mpp] = "-Drockchipmpp=enabled,-Drockchipmpp=disabled,rockchip-mpp"
30PACKAGECONFIG[x11] = "-Drkximage=enabled,-Drkximage=disabled,libx11 libdrm"
31PACKAGECONFIG[rga] = "-Drga=enabled,-Drga=disabled,rockchip-librga"
32