summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-04-01 11:47:36 +0200
committerArmin Kuster <akuster808@gmail.com>2018-04-08 17:00:06 -0700
commitbc892e910c50ebe93abc92f92c69498dab99567a (patch)
treebb52fa7e6bc6ca2fb1f3aef6dcc88461044a6b85 /meta-oe/recipes-gnome
parent8b472920426e22a3b0102ebbb9db7bebee4cc607 (diff)
downloadmeta-openembedded-bc892e910c50ebe93abc92f92c69498dab99567a.tar.gz
gtkmm3: add initial 3.22.2
This is gtk3 version of gtkmm. There are no cnflicts with gtkmm for gtk2. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-gnome')
-rw-r--r--meta-oe/recipes-gnome/gtk+/files/0001-do-not-build-demos.patch51
-rw-r--r--meta-oe/recipes-gnome/gtk+/gtkmm3_3.22.2.bb23
2 files changed, 74 insertions, 0 deletions
diff --git a/meta-oe/recipes-gnome/gtk+/files/0001-do-not-build-demos.patch b/meta-oe/recipes-gnome/gtk+/files/0001-do-not-build-demos.patch
new file mode 100644
index 000000000..176e97998
--- /dev/null
+++ b/meta-oe/recipes-gnome/gtk+/files/0001-do-not-build-demos.patch
@@ -0,0 +1,51 @@
1From 6914eccee34376f9067b0ee9f17039fe182125e8 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sat, 31 Mar 2018 22:29:16 +0200
4Subject: [PATCH] do not build demos
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9They are not installed anyway and add libepoxy dependency
10
11Upstream-Status: Pending
12
13Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
14---
15 Makefile.am | 3 ++-
16 configure.ac | 3 ---
17 2 files changed, 2 insertions(+), 4 deletions(-)
18
19diff --git a/Makefile.am b/Makefile.am
20index 984b6a7..6c754a6 100644
21--- a/Makefile.am
22+++ b/Makefile.am
23@@ -28,7 +28,8 @@ doc_subdirs = docs
24 else
25 doc_subdirs =
26 endif
27-SUBDIRS = tools $(src_subdirs) gdk/gdkmm gtk/gtkmm tests demos $(doc_subdirs)
28+
29+SUBDIRS = tools $(src_subdirs) gdk/gdkmm gtk/gtkmm tests $(doc_subdirs)
30
31 gdkmm_includedir = $(includedir)/$(GDKMM_MODULE_NAME)
32 gdkmm_include_HEADERS = gdk/gdkmm.h
33diff --git a/configure.ac b/configure.ac
34index e5e82dc..c1c7658 100644
35--- a/configure.ac
36+++ b/configure.ac
37@@ -109,11 +109,8 @@ AS_IF([test "x$gtkmm_enable_api_atkmm" != xno],
38 [GTKMM_MODULES="atkmm-1.6 >= 2.24.2 $GTKMM_MODULES"])
39 AC_SUBST([GTKMM_MODULES])
40
41-AC_SUBST([GTKMM_DEMOS_EXTRA_MODULES], ['epoxy >= 1.2'])
42-
43 PKG_CHECK_MODULES([GDKMM], [$GDKMM_MODULES])
44 PKG_CHECK_MODULES([GTKMM], [$GTKMM_MODULES])
45-PKG_CHECK_MODULES([GTKMM_DEMOS_EXTRA], [$GTKMM_DEMOS_EXTRA_MODULES])
46
47 MM_PKG_CONFIG_SUBST([GTHREAD_CFLAGS], [--cflags-only-other gthread-2.0])
48 MM_PKG_CONFIG_SUBST([GTHREAD_LIBS], [--libs gthread-2.0])
49--
502.14.3
51
diff --git a/meta-oe/recipes-gnome/gtk+/gtkmm3_3.22.2.bb b/meta-oe/recipes-gnome/gtk+/gtkmm3_3.22.2.bb
new file mode 100644
index 000000000..96b54dd2c
--- /dev/null
+++ b/meta-oe/recipes-gnome/gtk+/gtkmm3_3.22.2.bb
@@ -0,0 +1,23 @@
1SUMMARY = "C++ bindings for the GTK+ toolkit V3"
2HOMEPAGE = "http://www.gtkmm.org/"
3SECTION = "libs"
4
5LICENSE = "LGPLv2.1 & GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
7 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
8
9DEPENDS = "atkmm pangomm glibmm gtk+3 cairomm"
10
11BPN = "gtkmm"
12
13inherit gnomebase distro_features_check
14
15REQUIRED_DISTRO_FEATURES = "x11"
16
17SRC_URI[archive.md5sum] = "883e9046768b3a5afc8e365988823e77"
18SRC_URI[archive.sha256sum] = "91afd98a31519536f5f397c2d79696e3d53143b80b75778521ca7b48cb280090"
19SRC_URI += "file://0001-do-not-build-demos.patch"
20
21EXTRA_OECONF = " --disable-documentation "
22
23FILES_${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"