From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Marian Cichy <m.cichy@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] bayer2rgb3: add package
Date: Fri, 12 Jun 2020 13:32:27 +0200 [thread overview]
Message-ID: <E1jjhv9-0001iT-Ck@dude02.lab.pengutronix.de> (raw)
In-Reply-To: <20200606144703.11450-2-m.cichy@pengutronix.de>
Thanks, applied as e51ece25b0ea07cb1e0488dfabe7ace47c7c1080.
Michael
[sent from post-receive hook]
On Fri, 12 Jun 2020 13:32:27 +0200, Marian Cichy <m.cichy@pengutronix.de> wrote:
> Signed-off-by: Marian Cichy <m.cichy@pengutronix.de>
> Message-Id: <20200606144703.11450-2-m.cichy@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/patches/bayer2rgb3-0.4.1/autogen.sh b/patches/bayer2rgb3-0.4.1/autogen.sh
> new file mode 120000
> index 000000000000..9f8a4cb7ddcb
> --- /dev/null
> +++ b/patches/bayer2rgb3-0.4.1/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/rules/bayer2rgb3.in b/rules/bayer2rgb3.in
> new file mode 100644
> index 000000000000..ecc149c704a6
> --- /dev/null
> +++ b/rules/bayer2rgb3.in
> @@ -0,0 +1,18 @@
> +## SECTION=multimedia_tools
> +
> +menuconfig BAYER2RGB3
> + tristate
> + prompt "bayer2rgb3 "
> + select HOST_GENGETOPT
> + help
> + bayer2rgb will convert naked (no header) bayer grid data into rgb data.
> +
> +if BAYER2RGB3
> +
> +config BAYER2RGB3_COMMAND_TOOL
> + bool
> + prompt "bayer2rgb3 command line tool"
> + help
> + install additional command line tool along the lib
> +
> +endif
> diff --git a/rules/bayer2rgb3.make b/rules/bayer2rgb3.make
> new file mode 100644
> index 000000000000..9a0d9b9b58c0
> --- /dev/null
> +++ b/rules/bayer2rgb3.make
> @@ -0,0 +1,63 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Marian Cichy <m.cichy@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_BAYER2RGB3) += bayer2rgb3
> +
> +#
> +# Paths and names
> +#
> +BAYER2RGB3_VERSION := 0.4.1
> +BAYER2RGB3_MD5 := 5362a93d4251eb012d38c1409af0182e
> +BAYER2RGB3 := bayer2rgb3-$(BAYER2RGB3_VERSION)
> +BAYER2RGB3_SUFFIX := zip
> +BAYER2RGB3_URL := https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb/-/archive/master/bayer2rgb-master.zip
> +BAYER2RGB3_SOURCE := $(SRCDIR)/$(BAYER2RGB3).$(BAYER2RGB3_SUFFIX)
> +BAYER2RGB3_DIR := $(BUILDDIR)/$(BAYER2RGB3)
> +BAYER2RGB3_LICENSE := GPL-3.0-only
> +BAYER2RGB3_LICENSE_FILES := file://COPYING;md5=d32239bcb673463ab874e80d47fae504
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +BAYER2RGB3_CONF_TOOL := autoconf
> +BAYER2RGB3_CONF_OPT := \
> + $(CROSS_AUTOCONF_USR) \
> + --enable-as-needed \
> + --$(call ptx/endis, PTXCONF_BAYER2RGB3_COMMAND_TOOL)-cplusplus \
> + --$(call ptx/endis, PTXCONF_BAYER2RGB3_COMMAND_TOOL)-c
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bayer2rgb3.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, bayer2rgb3)
> + @$(call install_fixup, bayer2rgb3,PRIORITY,optional)
> + @$(call install_fixup, bayer2rgb3,SECTION,base)
> + @$(call install_fixup, bayer2rgb3,AUTHOR,"Marian Cichy <m.cichy@pengutronix.de>")
> + @$(call install_fixup, bayer2rgb3,DESCRIPTION,missing)
> +
> +ifdef PTXCONF_BAYER2RGB3_COMMAND_TOOL
> + @$(call install_copy, bayer2rgb3, 0, 0, 0755, -, /usr/bin/bayer2rgb)
> +endif
> + @$(call install_lib, bayer2rgb3, 0, 0, 0644, libbayer2rgb3)
> +
> + @$(call install_finish, bayer2rgb3)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2020-06-12 11:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-06 14:47 [ptxdist] [PATCH v4 1/3] host-gengetopt: " Marian Cichy
2020-06-06 14:47 ` [ptxdist] [PATCH v4 2/3] bayer2rgb3: " Marian Cichy
2020-06-12 11:32 ` Michael Olbrich [this message]
2020-06-06 14:47 ` [ptxdist] [PATCH v4 3/3] gst-bayer2rgb-neon: " Marian Cichy
2020-06-12 11:32 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-06-12 11:32 ` [ptxdist] [APPLIED] host-gengetopt: " Michael Olbrich
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=E1jjhv9-0001iT-Ck@dude02.lab.pengutronix.de \
--to=mol@pengutronix.de \
--cc=m.cichy@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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