aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar James Knight <james.knight@rockwellcollins.com>2015-12-03 16:36:43 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-16 22:57:43 +0100
commit9ccc5e94338671b7da88c10d7a3ab0251e530197 (patch)
tree67763090475e3ae297b4236b0badfc0a63173d1e /package
parent77a538b0231fa95a5c0e248c3051366fbbd50025 (diff)
downloadbuildroot-9ccc5e94338671b7da88c10d7a3ab0251e530197.tar.gz
buildroot-9ccc5e94338671b7da88c10d7a3ab0251e530197.tar.bz2
pangomm: new package
[Thomas: - rename to pangomm. - move next to pango in menuconfig. - add dependency to libsigc.] Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/pangomm/Config.in22
-rw-r--r--package/pangomm/pangomm.hash2
-rw-r--r--package/pangomm/pangomm.mk16
4 files changed, 41 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index cd1c6794e6..e6ad109ec0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -862,6 +862,7 @@ menu "Graphics"
source "package/opengl/Config.in"
source "package/openjpeg/Config.in"
source "package/pango/Config.in"
+ source "package/pangomm/Config.in"
source "package/pixman/Config.in"
source "package/poppler/Config.in"
source "package/powervr/Config.in"
diff --git a/package/pangomm/Config.in b/package/pangomm/Config.in
new file mode 100644
index 0000000000..241aa9f129
--- /dev/null
+++ b/package/pangomm/Config.in
@@ -0,0 +1,22 @@
+config BR2_PACKAGE_PANGOMM
+ bool "pangomm"
+ select BR2_PACKAGE_CAIROMM
+ select BR2_PACKAGE_GLIBMM
+ select BR2_PACKAGE_PANGO
+ select BR2_PACKAGE_LIBSIGC
+ depends on BR2_ARCH_HAS_ATOMICS # libcairomm/pango -> cairo
+ depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+ depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2
+ depends on BR2_USE_MMU # *mm/pango -> libglib2
+ depends on BR2_USE_WCHAR # *mm/pango -> libglib2
+ help
+ The pangomm package is a set of C++ bindings for Pango.
+
+ http://www.gtkmm.org/
+
+comment "libpangomm 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_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/pangomm/pangomm.hash b/package/pangomm/pangomm.hash
new file mode 100644
index 0000000000..39e6a911de
--- /dev/null
+++ b/package/pangomm/pangomm.hash
@@ -0,0 +1,2 @@
+# From http://ftp.gnome.org/pub/gnome/sources/pangomm/2.39/pangomm-2.39.1.sha256sum
+sha256 10c06bbf12a03963ffe9c697887b57c72f1dac1671d09dba45cecd25db5dc6ed pangomm-2.39.1.tar.xz
diff --git a/package/pangomm/pangomm.mk b/package/pangomm/pangomm.mk
new file mode 100644
index 0000000000..42aa99e9b2
--- /dev/null
+++ b/package/pangomm/pangomm.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# pangomm
+#
+################################################################################
+
+PANGOMM_VERSION_MAJOR = 2.39
+PANGOMM_VERSION = $(PANGOMM_VERSION_MAJOR).1
+PANGOMM_SOURCE = pangomm-$(PANGOMM_VERSION).tar.xz
+PANGOMM_SITE = http://ftp.gnome.org/pub/gnome/sources/pangomm/$(PANGOMM_VERSION_MAJOR)
+PANGOMM_LICENSE = LGPLv2.1+ (library), GPLv2+ (tools)
+PANGOMM_LICENSE_FILES = COPYING COPYING.tools
+PANGOMM_INSTALL_STAGING = YES
+PANGOMM_DEPENDENCIES = glibmm cairomm libsigc pango host-pkgconf
+
+$(eval $(autotools-package))