Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] directfb-lua: new package
Date: Sun, 2 Mar 2014 16:39:51 +0100	[thread overview]
Message-ID: <20140302163951.5f851dd9@skate> (raw)
In-Reply-To: <1375126587-983-1-git-send-email-ezequiel.garcia@free-electrons.com>

Fran?ois,

Could you review the following patch that adds a Lua binding to
DirectFB ?

Thanks!

Thomas

On Mon, 29 Jul 2013 16:36:27 -0300, Ezequiel Garcia wrote:
> This is a Lua binding to DirectFB. It is an automated binding
> generated from the DirectFB headers, so it generates an identical
> API to DirectFB's, only simpler to use.
> 
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
>  package/Config.in                    |  1 +
>  package/directfb-lua/Config.in       | 10 ++++++++++
>  package/directfb-lua/directfb-lua.mk | 23 +++++++++++++++++++++++
>  3 files changed, 34 insertions(+)
>  create mode 100644 package/directfb-lua/Config.in
>  create mode 100644 package/directfb-lua/directfb-lua.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 6d5ff01..dcaac4c 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -120,6 +120,7 @@ comment "graphic libraries"
>  source "package/cegui06/Config.in"
>  source "package/directfb/Config.in"
>  source "package/directfb-examples/Config.in"
> +source "package/directfb-lua/Config.in"
>  source "package/divine/Config.in"
>  source "package/fbdump/Config.in"
>  source "package/fbgrab/Config.in"
> diff --git a/package/directfb-lua/Config.in b/package/directfb-lua/Config.in
> new file mode 100644
> index 0000000..7f941f9
> --- /dev/null
> +++ b/package/directfb-lua/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_DIRECTFB_LUA
> +	bool "directfb-lua"
> +	depends on BR2_PACKAGE_DIRECTFB
> +	depends on BR2_PACKAGE_LUA
> +	help
> +	  directfb-lua is a Lua binding to DirectFB. It is an automated binding
> +	  generated from the DirectFB headers. This means it generates an API
> +	  identical to the DirectFB's, only easier to use.
> +
> +	  https://github.com/ezequielgarcia/directfb-lua
> diff --git a/package/directfb-lua/directfb-lua.mk b/package/directfb-lua/directfb-lua.mk
> new file mode 100644
> index 0000000..f975a55
> --- /dev/null
> +++ b/package/directfb-lua/directfb-lua.mk
> @@ -0,0 +1,23 @@
> +################################################################################
> +#
> +# directfb-lua
> +#
> +################################################################################
> +
> +DIRECTFB_LUA_VERSION = v0.2.1
> +DIRECTFB_LUA_SITE = https://github.com/ezequielgarcia/directfb-lua/tarball/$(DIRECTFB_LUA_VERSION)
> +DIRECTFB_LUA_LICENSE = MIT
> +DIRECTFB_LUA_LICENSE_FILES = COPYING
> +DIRECTFB_LUA_DEPENDENCIES = directfb lua
> +
> +define DIRECTFB_LUA_BUILD_CMDS
> +	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) gen
> +	$(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" $(MAKE) -C $(@D)
> +endef
> +
> +define DIRECTFB_LUA_INSTALL_TARGET_CMDS
> +	$(TARGET_MAKE_ENV) INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua" \
> +		$(MAKE) -C $(@D) install
> +endef
> +
> +$(eval $(generic-package))



-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-03-02 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 19:36 [Buildroot] [PATCH] directfb-lua: new package Ezequiel Garcia
2014-03-02 15:39 ` Thomas Petazzoni [this message]
2014-03-03 19:38 ` François Perrad
2014-03-03 23:05   ` Ezequiel Garcia

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=20140302163951.5f851dd9@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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