cairomm: new package

[Thomas:
 - rename package from libcairomm to cairomm in order to match
   upstream name.
 - put the package next to cairo in menuconfig
 - add missing dependency on libsigc
 - add missing depends on BR2_INSTALL_LIBSTDCPP
 - fix license: it's LGPLv2+, not LGPLv2.]

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
James Knight 2015-12-03 16:36:42 -05:00 committed by Thomas Petazzoni
parent 4cb010a5f1
commit 77a538b023
4 changed files with 40 additions and 0 deletions

View File

@ -810,6 +810,7 @@ menu "Graphics"
source "package/atk/Config.in"
source "package/bullet/Config.in"
source "package/cairo/Config.in"
source "package/cairomm/Config.in"
source "package/exiv2/Config.in"
source "package/fltk/Config.in"
source "package/fontconfig/Config.in"

21
package/cairomm/Config.in Normal file
View File

@ -0,0 +1,21 @@
config BR2_PACKAGE_CAIROMM
bool "cairomm"
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBSIGC
depends on BR2_ARCH_HAS_ATOMICS # cairo
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2
depends on BR2_USE_MMU # libglib2
depends on BR2_INSTALL_LIBSTDCPP
help
The cairomm package is a set of C++ bindings for Cairo.
http://www.gtkmm.org/
comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.8"
depends on BR2_USE_MMU
depends on BR2_ARCH_HAS_ATOMICS
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP

View File

@ -0,0 +1,2 @@
# From http://ftp.gnome.org/pub/gnome/sources/cairomm/1.12/cairomm-1.12.0.sha256sum
sha256 a54ada8394a86182525c0762e6f50db6b9212a2109280d13ec6a0b29bfd1afe6 cairomm-1.12.0.tar.xz

View File

@ -0,0 +1,16 @@
################################################################################
#
# cairomm
#
################################################################################
CAIROMM_VERSION_MAJOR = 1.12
CAIROMM_VERSION = $(CAIROMM_VERSION_MAJOR).0
CAIROMM_LICENSE = LGPLv2+
CAIROMM_LICENSE_FILES = COPYING
CAIROMM_SOURCE = cairomm-$(CAIROMM_VERSION).tar.xz
CAIROMM_SITE = http://ftp.gnome.org/pub/gnome/sources/cairomm/$(CAIROMM_VERSION_MAJOR)
CAIROMM_INSTALL_STAGING = YES
CAIROMM_DEPENDENCIES = cairo libglib2 libsigc host-pkgconf
$(eval $(autotools-package))