[yocto] [PATCH 1/3] recipes-multimedia: add Rockchip MPP library

Eddie Cai eddie.cai.linux at gmail.com
Wed Mar 22 20:11:04 PDT 2017


You have to add meta-rockchip prefix in every patch you send to
meta-rockchip.  Or else people may confuse with which meta you want to
apply to.
You need to send to
Romain Perier(romain.perier at gmail.com, Project leader of meta-rockchip),
Trevor Woerner (twoerner at gmail.com, Maintainer of meta-rockchip)

2017-03-20 1:54 GMT+08:00 ayaka <ayaka at soulik.info>:

> MPP means Media Process Platform. The MPP is a middleware
> for the other video encoder/decoder interface, translating
> the video information into the hardware registers.
>
> Signed-off-by: ayaka <ayaka at soulik.info>
> ---
>  recipes-multimedia/rockchip-mpp/rockchip-mpp.inc     | 20
> ++++++++++++++++++++
>  .../rockchip-mpp/rockchip-mpp_20170319.bb            | 13 +++++++++++++
>  recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb  | 14 ++++++++++++++
>  3 files changed, 47 insertions(+)
>  create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
>  create mode 100644 recipes-multimedia/rockchip-mpp/
> rockchip-mpp_20170319.bb
>  create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
>
> diff --git a/recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
> b/recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
> new file mode 100644
> index 0000000..795efb8
> --- /dev/null
> +++ b/recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
> @@ -0,0 +1,20 @@
> +# Copyright (C) 2016 - 2017 Randy Li <ayaka at soulik.info>
> +# Released under the GNU GENERAL PUBLIC LICENSE Version 2
> +# (see COPYING.GPLv2 for the terms)
> +
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://readme.txt;md5=5783b0faa80f27469c4ee56334229e
> 1a"
> +
> +inherit pkgconfig cmake
> +
> +EXTRA_OECMAKE = "     \
> +    -DRKPLATFORM=ON   \
> +    -DHAVE_DRM=ON     \
> +"
> +
> +PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}"
> +FILES_${PN} = "${libdir}/lib*${SOLIBS}"
> +FILES_${PN}-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}
> ${libdir}/pkgconfig"
> +SECTION_${PN}-dev = "devel"
> +FILES_${PN}-staticdev = "${libdir}/*.a"
> +SECTION_${PN}-staticdev = "devel"
> diff --git a/recipes-multimedia/rockchip-mpp/rockchip-mpp_20170319.bb
> b/recipes-multimedia/rockchip-mpp/rockchip-mpp_20170319.bb
> new file mode 100644
> index 0000000..00afa0f
> --- /dev/null
> +++ b/recipes-multimedia/rockchip-mpp/rockchip-mpp_20170319.bb
> @@ -0,0 +1,13 @@
> +# Copyright (C) 2016 - 2017 Randy Li <ayaka at soulik.info>
> +# Released under the GNU GENERAL PUBLIC LICENSE Version 2
> +# (see COPYING.GPLv2 for the terms)
> +include rockchip-mpp.inc
> +
> +TAG = "release_20170319"
> +SRC_URI = "git://github.com/rockchip-linux/mpp.git;tag=${TAG};nobranch=1"
> +
> +MPP_VERSION = "1.3.1"
> +
> +PV = "${MPP_VERSION}+${TAG}"
> +
> +S = "${WORKDIR}/git"
> diff --git a/recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
> b/recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
> new file mode 100644
> index 0000000..1befafc
> --- /dev/null
> +++ b/recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
> @@ -0,0 +1,14 @@
> +# Copyright (C) 2016 - 2017 Randy Li <ayaka at soulik.info>
> +# Released under the GNU GENERAL PUBLIC LICENSE Version 2
> +# (see COPYING.GPLv2 for the terms)
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +include rockchip-mpp.inc
> +
> +SRCREV = "${AUTOREV}"
> +SRC_URI = "git://github.com/rockchip-linux/mpp.git;branch=develop"
> +
> +PV = "develop+git${SRCPV}"
> +
> +S = "${WORKDIR}/git"
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170323/50def2dc/attachment.html>


More information about the yocto mailing list