Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Titouan Christophe <titouan.christophe@railnova.eu>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gst1-shark: new package
Date: Mon, 04 Feb 2019 13:18:28 +0100	[thread overview]
Message-ID: <1549282708.7318.38.camel@railnova.eu> (raw)
In-Reply-To: <20190125091322.27522-1-judge.packham@gmail.com>

Hi Chris and all,

On Fri, 2019-01-25 at 22:13 +1300, Chris Packham wrote:
> GstShark leverages GStreamers newest instrumentation subsystem by
> installing a set of custom hooks to the trace points. A variety of
> data
> analytics are extracted and presented to the user in a graphical,
> friendly way.
> 
> https://developer.ridgerun.com/wiki/index.php?title=GstShark
> https://github.com/RidgeRun/gst-shark
> 
> Signed-off-by: Chris Packham <judge.packham@gmail.com>
> Cc: Wolfgang Grandegger <wg@grandegger.com>
> Cc: Jo?o Victor Oliveira <jv.oliveirag@gmail.com>
> Cc: Adam Duskett <aduskett@gmail.com>
> Cc: Igor Miranda <igorcmiranda3110@gmail.com>
> ---
> I saw a few emails on the list with problems building gst-shark but
> nothing
> that actually added the package. I figured I'd give it a go. This
> seems to work
> (build) for me but I have no idea about using gstreamer so I may have
> missed
> something.
> 
>  package/gstreamer1/Config.in                  |  1 +
>  package/gstreamer1/gst1-shark/Config.in       | 12 ++++++++++++
>  package/gstreamer1/gst1-shark/gst1-shark.hash |  5 +++++
>  package/gstreamer1/gst1-shark/gst1-shark.mk   | 19
> +++++++++++++++++++
>  4 files changed, 37 insertions(+)
>  create mode 100644 package/gstreamer1/gst1-shark/Config.in
>  create mode 100644 package/gstreamer1/gst1-shark/gst1-shark.hash
>  create mode 100644 package/gstreamer1/gst1-shark/gst1-shark.mk
> 
> diff --git a/package/gstreamer1/Config.in
> b/package/gstreamer1/Config.in
> index 28b1ed25c5..922ecefcff 100644
> --- a/package/gstreamer1/Config.in
> +++ b/package/gstreamer1/Config.in
> @@ -11,6 +11,7 @@ source "package/gstreamer1/gst1-imx/Config.in"
>  source "package/gstreamer1/gst1-interpipe/Config.in"
>  source "package/gstreamer1/gst1-libav/Config.in"
>  source "package/gstreamer1/gst1-rtsp-server/Config.in"
> +source "package/gstreamer1/gst1-shark/Config.in"
>  source "package/gstreamer1/gst1-validate/Config.in"
>  source "package/gstreamer1/gst1-vaapi/Config.in"
>  source "package/gstreamer1/gst-omx/Config.in"
> diff --git a/package/gstreamer1/gst1-shark/Config.in
> b/package/gstreamer1/gst1-shark/Config.in
> new file mode 100644
> index 0000000000..0f9ddb30bc
> --- /dev/null
> +++ b/package/gstreamer1/gst1-shark/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_GST1_SHARK
> +	bool "gst-shark"
> +	select BR2_PACKAGE_GSTREAMER1_CHECK
> +	select BR2_PACKAGE_GST1_PLUGINS_BASE
> +	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
> +	help
> +	  GstShark leverages GStreamers newest instrumentation
> subsystem
> +	  by installing a set of custom hooks to the trace points. A
> +	  variety of data analytics are extracted and presented to
> the
> +	  user in a graphical, friendly way.
> +
> +	  https://github.com/RidgeRun/gst-shark
> diff --git a/package/gstreamer1/gst1-shark/gst1-shark.hash
> b/package/gstreamer1/gst1-shark/gst1-shark.hash
> new file mode 100644
> index 0000000000..fdcbc563a8
> --- /dev/null
> +++ b/package/gstreamer1/gst1-shark/gst1-shark.hash
> @@ -0,0 +1,5 @@
> +# locally computed hash
> +sha256
> 35c56b89c10f42c623f5831f9533e1b9dcab8946eff0e4000bf3137bad5c705a  gst
> 1-shark-v0.5.5.tar.gz
> +
> +# Hashes for license files:
> +sha256
> 6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b  COP
> YING
> diff --git a/package/gstreamer1/gst1-shark/gst1-shark.mk
> b/package/gstreamer1/gst1-shark/gst1-shark.mk
> new file mode 100644
> index 0000000000..75fd155b41
> --- /dev/null
> +++ b/package/gstreamer1/gst1-shark/gst1-shark.mk
> @@ -0,0 +1,19 @@
> +####################################################################
> ############
> +#
> +# gst1-shark
> +#
> +####################################################################
> ############
> +
> +GST1_SHARK_VERSION = v0.5.5
> +GST1_SHARK_SITE =  https://github.com/RidgeRun/gst-shark.git
> +GST1_SHARK_SITE_METHOD = git
> +GST1_SHARK_GIT_SUBMODULES = 

You could use the github package site helper here (see https://buildroo
t.org/downloads/manual/manual.html#github-download-url) and get rid off this empty _GIT_SUBMODULES line (and benefit from the unified Buildroot infrastructure)

> +
> +GST1_SHARK_LICENSE = LGPL-2.1
> +GST1_SHARK_LICENSE_FILES = COPYING
> +
> +GST1_SHARK_AUTORECONF = YES
> +GST1_SHARK_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
> +GST1_SHARK_CONF_OPTS = --disable-graphviz
> +
> +$(eval $(autotools-package))

Also, you should probably add yourself to the DEVELOPERS file for this
package.

Titouan

  reply	other threads:[~2019-02-04 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25  9:13 [Buildroot] [PATCH] gst1-shark: new package Chris Packham
2019-02-04 12:18 ` Titouan Christophe [this message]
2019-02-06 10:31   ` Thomas Petazzoni
2019-02-06 10:30 ` Thomas Petazzoni

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=1549282708.7318.38.camel@railnova.eu \
    --to=titouan.christophe@railnova.eu \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox