From: ayaka <ayaka@soulik.info>
To: yocto@yoctoproject.org
Cc: ayaka <ayaka@soulik.info>
Subject: [PATCH v3 2/3] recipes-multimedia: add gstreamer rockchip support
Date: Tue, 16 May 2017 22:18:07 +0800 [thread overview]
Message-ID: <20170516141808.26629-3-ayaka@soulik.info> (raw)
In-Reply-To: <20170516141808.26629-1-ayaka@soulik.info>
This Gstreamer plugin provides a encoder and decoder plugin
for Gstreamer through the Rockchip MPP library.
Signed-off-by: ayaka <ayaka@soulik.info>
---
.../gstreamer/gstreamer1.0-rockchip.inc | 32 ++++++++++++++++++++++
.../gstreamer/gstreamer1.0-rockchip_20170516.bb | 9 ++++++
.../gstreamer/gstreamer1.0-rockchip_git.bb | 13 +++++++++
3 files changed, 54 insertions(+)
create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170516.bb
create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc b/recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
new file mode 100644
index 0000000..fd8fc98
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
@@ -0,0 +1,32 @@
+# Copyright (C) 2016 - 2017 Randy Li <ayaka@soulik.info>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+
+DESCRIPTION = "GStreamer 1.0 plugins for Rockchip platforms"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d1e4aa87f6192354d3de840cf774d93"
+DEPENDS += "gstreamer1.0-plugins-base"
+
+inherit gettext autotools pkgconfig
+
+PACKAGECONFIG ??= " \
+ mpp \
+"
+PACKAGECONFIG[mpp] = "--enable-rockchipmpp,--disable-rockchipmpp,rockchip-mpp"
+PACKAGECONFIG[vpudec] = "--enable-vpudec,--disable-vpudec,rockchip-vpu"
+PACKAGECONFIG[drm] = "--enable-drmrockchip,--disable-drmrockchip,libdrm-rockchip"
+
+EXTRA_OECONF += " \
+ --disable-kms \
+"
+EXTRA_OECONF_remove = "--disable-gtk-doc"
+
+do_configure[prefuncs] = " delete_pkg_m4_file"
+
+do_configure() {
+ NOCONFIGURE=true ${S}/autogen.sh
+ oe_runconf
+}
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170516.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170516.bb
new file mode 100644
index 0000000..e3fecaf
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170516.bb
@@ -0,0 +1,9 @@
+# Copyright (C) 2016 - 2017 Randy Li <ayaka@soulik.info>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+include gstreamer1.0-rockchip.inc
+
+TAG = "release_${PV}"
+SRC_URI = "git://github.com/rockchip-linux/gstreamer-rockchip.git;tag=${TAG};nobranch=1"
+
+S = "${WORKDIR}/git"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
new file mode 100644
index 0000000..bd20121
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
@@ -0,0 +1,13 @@
+# Copyright (C) 2016 - 2017 Randy Li <ayaka@soulik.info>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+DEFAULT_PREFERENCE = "-1"
+
+include gstreamer1.0-rockchip.inc
+
+SRCBRANCH ?= "develop"
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://github.com/rockchip-linux/gstreamer-rockchip.git;branch=develop"
+
+S = "${WORKDIR}/git"
--
2.9.4
next prev parent reply other threads:[~2017-05-16 14:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 14:18 [meta-rockchip] [PATCH v3 0/3] Add video codec recipes ayaka
2017-05-16 14:18 ` [PATCH v3 1/3] recipes-multimedia: add Rockchip MPP library ayaka
2017-05-16 18:44 ` Trevor Woerner
2017-05-17 6:48 ` Romain Perier
2017-05-17 7:28 ` Ayaka
2017-05-16 14:18 ` ayaka [this message]
2017-05-16 14:18 ` [PATCH v3 3/3] recipes-multimedia: images: rockchip media image ayaka
2017-05-16 14:24 ` [meta-rockchip] [PATCH v3 0/3] Add video codec recipes Khem Raj
2017-05-16 14:30 ` ayaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170516141808.26629-3-ayaka@soulik.info \
--to=ayaka@soulik.info \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.