From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add agg (Anti-Grain Geometry) package
Date: Tue, 25 Mar 2014 23:37:58 +0100 [thread overview]
Message-ID: <53320546.5030909@mind.be> (raw)
In-Reply-To: <1395411147-14354-1-git-send-email-julien.boibessot@free.fr>
On 21/03/14 15:12, julien.boibessot at free.fr wrote:
> From: Julien Boibessot <julien.boibessot@armadeus.com>
>
> This library will be needed by gnash (soon coming Flash player).
>
> Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
> ---
> package/Config.in | 1 +
> package/agg/Config.in | 13 +++++++++++++
> package/agg/agg.mk | 40 ++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 54 insertions(+), 0 deletions(-)
> create mode 100644 package/agg/Config.in
> create mode 100644 package/agg/agg.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 688ed4d..3b34a67 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -556,6 +556,7 @@ source "package/lockdev/Config.in"
> endmenu
>
> menu "Graphics"
> +source "package/agg/Config.in"
> source "package/atk/Config.in"
> source "package/cairo/Config.in"
> source "package/fltk/Config.in"
> diff --git a/package/agg/Config.in b/package/agg/Config.in
> new file mode 100644
> index 0000000..a842098
> --- /dev/null
> +++ b/package/agg/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_AGG
> + bool "agg"
> + depends on BR2_INSTALL_LIBSTDCPP
> + select BR2_PACKAGE_SDL
> + help
> + The Anti-Grain Geometry project. A High Quality 2D Graphics Rendering
> + Engine for C++.
> + We select the SDL backend by default.
> +
> + http://www.antigrain.com/index.html
> +
> +comment "agg needs a toolchain with C++ support"
> + depends on !BR2_INSTALL_LIBSTDCPP
> diff --git a/package/agg/agg.mk b/package/agg/agg.mk
> new file mode 100644
> index 0000000..05be931
> --- /dev/null
> +++ b/package/agg/agg.mk
> @@ -0,0 +1,40 @@
> +###############################################################################
> +#
> +# agg
> +#
> +###############################################################################
> +
> +AGG_VERSION = 2.5
> +AGG_SITE = http://www.antigrain.com/
> +AGG_LICENSE = GPLv3+
> +AGG_LICENSE_FILES = COPYING
> +AGG_INSTALL_STAGING = YES
> +AGG_AUTORECONF = YES
Why is autoreconf needed? You take a release and don't have patches.
> +
> +AGG_DEPENDENCIES = host-pkgconf sdl
> +
> +AGG_CONF_OPT = \
> + --with-sdl-prefix=$(STAGING_DIR)/usr \
Is this option really needed? It should be the default location for sdl...
> + --disable-sdltest
> +
> +ifeq ($(BR2_PACKAGE_SDL_X11),)
> +AGG_CONF_OPT += \
> + --with-x=NO \
> + --disable-examples # examples require X11
> +endif
> +
> +ifeq ($(BR2_PACKAGE_FREETYPE),y)
> +AGG_DEPENDENCIES += freetype
> +AGG_CONF_OPT += --enable-freetype
> +else
> +AGG_CONF_OPT += --disable-freetype
> +endif
> +
> +define AGG_CREATE_MISSING_FILES
> + touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/README
> +# Fixes reconfiguring with recent automake:
> + $(SED) 's/AM_C_PROTOTYPES//' $(@D)/configure.in
> +endef
> +AGG_POST_EXTRACT_HOOKS += AGG_CREATE_MISSING_FILES
If you don't autoreconf, this wouldn't be needed, right?
Regards,
Arnout
> +
> +$(eval $(autotools-package))
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2014-03-25 22:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 14:12 [Buildroot] [PATCH] Add agg (Anti-Grain Geometry) package julien.boibessot at free.fr
2014-03-25 22:37 ` Arnout Vandecappelle [this message]
2014-03-30 16:23 ` Julien Boibessot
2014-03-30 17:07 ` Yann E. MORIN
2014-03-30 17:21 ` Yann E. MORIN
2014-04-20 9:39 ` Thomas Petazzoni
2014-04-23 10:05 ` Julien Boibessot
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=53320546.5030909@mind.be \
--to=arnout@mind.be \
--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 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.