diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /gui-libs/libhandy | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'gui-libs/libhandy')
-rw-r--r-- | gui-libs/libhandy/Manifest | 13 | ||||
-rw-r--r-- | gui-libs/libhandy/files/0.0.13-glade3.37-compat.patch | 173 | ||||
-rw-r--r-- | gui-libs/libhandy/libhandy-0.0.13.ebuild | 1 | ||||
-rw-r--r-- | gui-libs/libhandy/libhandy-1.0.3.ebuild | 2 | ||||
-rw-r--r-- | gui-libs/libhandy/libhandy-1.2.0.ebuild (renamed from gui-libs/libhandy/libhandy-1.0.2.ebuild) | 2 | ||||
-rw-r--r-- | gui-libs/libhandy/libhandy-1.2.1.ebuild | 56 | ||||
-rw-r--r-- | gui-libs/libhandy/libhandy-1.2.2.ebuild | 56 |
7 files changed, 297 insertions, 6 deletions
diff --git a/gui-libs/libhandy/Manifest b/gui-libs/libhandy/Manifest index 3751fe15abdf..d27a7aa62195 100644 --- a/gui-libs/libhandy/Manifest +++ b/gui-libs/libhandy/Manifest @@ -1,9 +1,14 @@ AUX 0.0.13-glade3.36-compat1.patch 1655 BLAKE2B fcc6be57b5eea5554e5ba0149fdc6fe9067a436b333c299f2b6366c98798e821d6d1c861b0fc299c6de145e9f310ea5822505591e678c36f938802accecbe0e6 SHA512 beffe74c8f78767113930193870165c751443d0f9c3cf5c6df89f1f872c892a559c1d34c63f84090d6187afa4495bc2c6a557335db5a98afc3820fe688a48a6f AUX 0.0.13-glade3.36-compat2.patch 1879 BLAKE2B d21b874a52028e2b7e4c09da9fb1b97296872a2a7d1665124813a644c9524e56fdeba2afbca218519edf524e91efb76f6182009319e3b098e2464e478b4b5b2d SHA512 c154ee41052dadc97afe99350a08eb141c61dad7201fe2421ae0c27e9cbd5fad8af057e44ae277a2dac9b22d3e1bf945345791bc764783a8bd19448da63bde95 -DIST libhandy-1.0.2.tar.xz 388756 BLAKE2B c4995c5865378b133ba90125cd2c6c7500730be32b2426ccb323c878c22e556c0aad4eb0a5ab5f6ff936b3132a1717759af826e5bc0c9426b6f6972ac20f4f44 SHA512 411e016e1770ea83507a66e6e751f223304890cd193191c28cf751f8128dc5c98feb5342012596c10219e4da5a2445659395a0e7086d5c9990f7845b0406c685 +AUX 0.0.13-glade3.37-compat.patch 7101 BLAKE2B 5c49a13403f5ee41d2aeb99036925c4d94c9174f55abb3f92a27ea631f641d3678caf250319d9199b68506099bab1617013652fa062535d0fc4ec88655394f7e SHA512 8c758b47afe3c0e79c55561a8e93d1ddc3220073659889eba3b0a245f271ef44f35ad8599bdb30ab524102c41b4b344c0debffc5188bc57fcc7d8fee73b73b94 DIST libhandy-1.0.3.tar.xz 389068 BLAKE2B 2892103a672551f9a48a2f877568548fe771aeddbf156427baf03f8654488b5a0a8218f621366a47097030eb0ecf5abeb4f021d320046602cda0a028d91ec566 SHA512 cc304acc53e0819dce4931292e395ba44c1eb8630ebfa56390637bf376de226f4545906892967815c3e144423409b5a85e293568d3ed8069a6c4775307aeef4f +DIST libhandy-1.2.0.tar.xz 481120 BLAKE2B 327a2b1d9bec68a705f0e1cd7ebecc35706a95fd9964482244ebc6fd36f84e1563918286e507b77ec70ba4bab118b0e508a2cebef7514685221b918994d2fa6a SHA512 34f84479fcef6fdd3b46a03a0b4806887708ce8295461eae655e34febdec5b62de56e34e58696545f086be8de1e2c0ac13a61a4bbe0a945a87e7d8e860a5f919 +DIST libhandy-1.2.1.tar.xz 488324 BLAKE2B 9266671b0503971b80d9466673431624600c1ed0d061693187ab2dfe5a017235c985ba997882493f03bd7d6bb0d32c78a8858591dc57f6c101e64987d37eef4a SHA512 0474d1f15a1572ab3f622ec703fc4167beb3ed6062f566d8b50c20894a217c66d00c5b4616d54e65fac312b9836428e8cb83753566cf67abffb9eafbb87dc926 +DIST libhandy-1.2.2.tar.xz 488508 BLAKE2B 1b764c90710de8a7960308b6441657799e6c3a12de9688f720748ca57653f6592fb4ba9f75841d76ae477af7c1709dc4f303658cc543c8de3f6f64d1de7d03cf SHA512 2135d3e15931fa143698de9200803c90e93c87b82c96b4fff90b75075c218a8ef2f69a26210bda8c10fb7195f115b11b804bb6de0b2f65cd464a7cefe35d0af4 DIST libhandy-v0.0.13.tar.bz2 394811 BLAKE2B 318c226f20b4d8032e984dbd47b4634e828b922dcbc244e4f3f35b94c38f27ed38427196d553809bb1d6bfa7c4830db5d27701e3595cac8a05b58a27ba4a2472 SHA512 a0918c55c9ac14af223a83db542e7dc815d97c844d1f0830a1bee4bdcdf248d00d049fa90fd2be96265535a68d56de5143ddd9264b5e997a902ac9558d5096f3 -EBUILD libhandy-0.0.13.ebuild 1597 BLAKE2B 71348de5c307e2d9918ef11bed12c8e38bfff3ac995c97e9983c2692690f2c859b96090bf52c9bede73a822a2b595bdb730820660dcaca690bcf38c5b0436a55 SHA512 a224091202fb9ba6e3c233ac8c7694de21d776cd64f319299da84ed39bec2ea8973f614d7750e25df0c61374c581f6faee739902eaf5a7aa8764da77b6fd7614 -EBUILD libhandy-1.0.2.ebuild 1250 BLAKE2B d485b113d14e7c640bb5329abf59de104a6e8d1a4568278967c05da082d03ebf856058bc85435447f72456ae4a4173de27eade28292f263f19241ac8d630fa8f SHA512 16ba69dd21140246b0fe93afbb96e0df22bd130f4677d4decf0b84c95d661075970b20236aebbd93d17aafce60e16e0fb883e6b4ee07cf48a4323ccb82578153 -EBUILD libhandy-1.0.3.ebuild 1249 BLAKE2B 1c36bfd5a37ec02de82172074bc113fcaae1cd52bedc7beb559d5fe68b1956715faca38c13f31b1f2b7ae492eec3f560b25a3c99bd3531923e4ed7d8199187c0 SHA512 7ad42a8f9d132ca905c1af011ad2af596a84edcd09d9a574686f57c27202034643277cb21c4f1521955d9c7db427ccb8d6265d320728b34b382fb27effd9e598 +EBUILD libhandy-0.0.13.ebuild 1641 BLAKE2B fdbb3a2bc50d3ddbbce1bef684846a33b96d73b59bbbe7bbe8f609cd62fefdb4951c949da4c5e50e641a6d473f7e8bf7ee4c102cb24f6691b2eae3cddb3a8e83 SHA512 0ca4f29996d3749799c7e8c55aec00598a14099ac1aff8eb70d374e80ae1be985339080eba22bf19d498131428d1201a16c210f381255e3491bfdd0d7f4d6ace +EBUILD libhandy-1.0.3.ebuild 1247 BLAKE2B 071fce1a5906628b0a40e326287628c1fa2a9e2c0d9b71e1671601f73833b43054656c3aa4b0af5a68d0224453f30bc9c5cb1801e73ff7996f65dd5c2415eec1 SHA512 d49db8606c70cc79b425b2ef553205901543e4715fedca7b9122ecb86933ba3b2f2393fcddee584962c23d36218efc303c734247907ca13b1bab03dfee39861b +EBUILD libhandy-1.2.0.ebuild 1250 BLAKE2B 2c5ada7d0266a55cb68169de0a8d21049a10ae962bd6f7c80c3acf79cc650c3772531db2a0f455e486bc762d7845851b196b28b49c34914cc86b0ff5f291d910 SHA512 1a1b98c0a7346d0f8f84d86375f52faba3a39e007e910d681f237f13fbe8d4758c4dd39c8100a47d826ef77aa4288d14803de3735317683b1f4816d9e122a5b9 +EBUILD libhandy-1.2.1.ebuild 1250 BLAKE2B 2c5ada7d0266a55cb68169de0a8d21049a10ae962bd6f7c80c3acf79cc650c3772531db2a0f455e486bc762d7845851b196b28b49c34914cc86b0ff5f291d910 SHA512 1a1b98c0a7346d0f8f84d86375f52faba3a39e007e910d681f237f13fbe8d4758c4dd39c8100a47d826ef77aa4288d14803de3735317683b1f4816d9e122a5b9 +EBUILD libhandy-1.2.2.ebuild 1250 BLAKE2B 2c5ada7d0266a55cb68169de0a8d21049a10ae962bd6f7c80c3acf79cc650c3772531db2a0f455e486bc762d7845851b196b28b49c34914cc86b0ff5f291d910 SHA512 1a1b98c0a7346d0f8f84d86375f52faba3a39e007e910d681f237f13fbe8d4758c4dd39c8100a47d826ef77aa4288d14803de3735317683b1f4816d9e122a5b9 MISC metadata.xml 353 BLAKE2B 7857afbafa45ea4d3230afa20992cf7196bdd23430ba09bd032b5965b3ce6b7ebadf8122b412549a84d798107adbce3f0b1d6ed79975f315889f7a7700187504 SHA512 f54a7b013a4b5f2e94efda2de95f8063a8755fb2162262a2734ea561fa10cd48be737ddbc3ab7ea93f5d1cf3f59dd91c70da25db5d331828aa74194109c5d36f diff --git a/gui-libs/libhandy/files/0.0.13-glade3.37-compat.patch b/gui-libs/libhandy/files/0.0.13-glade3.37-compat.patch new file mode 100644 index 000000000000..63568496d637 --- /dev/null +++ b/gui-libs/libhandy/files/0.0.13-glade3.37-compat.patch @@ -0,0 +1,173 @@ +From dfb9322ae70236edd45fad695dd6c24517f2ceaf Mon Sep 17 00:00:00 2001 +From: James Westman <james@flyingpimonster.net> +Date: Wed, 23 Sep 2020 13:14:07 -0500 +Subject: [PATCH] glade: Fix macro renamed in GladeUI 3.37 + +Glade 3.37 renamed the macro GWA_GET_CLASS to +GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS [1]. This commit switches to use the new +macro name, and for older versions of Glade, defines the new name as the old +one for compatibility. + +Fixes #335 and obsoletes !607. + +[1]: https://gitlab.gnome.org/GNOME/glade/-/commit/bb626dd41d93c92b587b37f03d295356e39a7d04 + +mattst88: Backported to 0.0.13 +--- + glade/glade-hdy-header-group.c | 14 +++++++++++--- + glade/glade-hdy-paginator.c | 18 +++++++++++++----- + glade/glade-hdy-swipe-group.c | 14 +++++++++++--- + 3 files changed, 35 insertions(+), 11 deletions(-) + +diff --git a/glade/glade-hdy-header-group.c b/glade/glade-hdy-header-group.c +index bd620ad..11c3aad 100644 +--- a/glade/glade-hdy-header-group.c ++++ b/glade/glade-hdy-header-group.c +@@ -14,6 +14,14 @@ + #include <glib/gi18n-lib.h> + #include <gladeui/glade.h> + ++/* ++ * Another macro got renamed in GladeUI 3.38. For older versions of GladeUI, ++ * define the new macro as the old one. ++ */ ++#ifndef GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS ++#define GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS GWA_GET_CLASS ++#endif ++ + /* Guess wether we are using a Glade version older than 3.36. + * + * If yes, redefine some symbols which got renamed. +@@ -83,7 +91,7 @@ glade_hdy_header_group_read_widget (GladeWidgetAdaptor *adaptor, + return; + + /* First chain up and read in all the normal properties.. */ +- GWA_GET_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node); ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node); + + glade_hdy_header_group_read_widgets (widget, node); + } +@@ -129,7 +137,7 @@ glade_hdy_header_group_write_widget (GladeWidgetAdaptor *adaptor, + return; + + /* First chain up and read in all the normal properties.. */ +- GWA_GET_CLASS (G_TYPE_OBJECT)->write_widget (adaptor, widget, context, node); ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->write_widget (adaptor, widget, context, node); + + glade_hdy_header_group_write_widgets (widget, context, node); + } +@@ -163,7 +171,7 @@ glade_hdy_header_group_set_property (GladeWidgetAdaptor *adaptor, + GTK_HEADER_BAR (list->data)); + } + } else { +- GWA_GET_CLASS (G_TYPE_OBJECT)->set_property (adaptor, object, ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->set_property (adaptor, object, + property_name, value); + } + } +diff --git a/glade/glade-hdy-paginator.c b/glade/glade-hdy-paginator.c +index cce9abf..f34acc8 100644 +--- a/glade/glade-hdy-paginator.c ++++ b/glade/glade-hdy-paginator.c +@@ -16,6 +16,14 @@ + + #include <math.h> + ++/* ++ * Another macro got renamed in GladeUI 3.38. For older versions of GladeUI, ++ * define the new macro as the old one. ++ */ ++#ifndef GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS ++#define GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS GWA_GET_CLASS ++#endif ++ + #define CENTER_CONTENT_INSENSITIVE_MSG _("This property does not apply unless Show Indicators is set.") + + static gint +@@ -231,7 +239,7 @@ glade_hdy_paginator_child_action_activate (GladeWidgetAdaptor *adaptor, + + glade_command_pop_group (); + } else +- GWA_GET_CLASS (GTK_TYPE_CONTAINER)->child_action_activate (adaptor, ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_CONTAINER)->child_action_activate (adaptor, + container, + object, + action_path); +@@ -315,7 +323,7 @@ glade_hdy_paginator_set_property (GladeWidgetAdaptor *adaptor, + if (!strcmp (id, "indicator-style")) + set_indicator_style (object, value); + +- GWA_GET_CLASS (GTK_TYPE_CONTAINER)->set_property (adaptor, object, id, value); ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_CONTAINER)->set_property (adaptor, object, id, value); + } + } + +@@ -332,7 +340,7 @@ glade_hdy_paginator_get_property (GladeWidgetAdaptor *adaptor, + g_value_reset (value); + g_value_set_int (value, hdy_paginator_get_page (HDY_PAGINATOR (object))); + } else { +- GWA_GET_CLASS (GTK_TYPE_CONTAINER)->get_property (adaptor, object, id, value); ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_CONTAINER)->get_property (adaptor, object, id, value); + } + } + +@@ -370,8 +378,8 @@ glade_hdy_paginator_verify_property (GladeWidgetAdaptor *adaptor, + return glade_hdy_paginator_verify_n_pages (object, value); + else if (!strcmp (id, "page")) + return glade_hdy_paginator_verify_page (object, value); +- else if (GWA_GET_CLASS (GTK_TYPE_CONTAINER)->verify_property) +- return GWA_GET_CLASS (GTK_TYPE_CONTAINER)->verify_property (adaptor, object, ++ else if (GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_CONTAINER)->verify_property) ++ return GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (GTK_TYPE_CONTAINER)->verify_property (adaptor, object, + id, value); + + return TRUE; +diff --git a/glade/glade-hdy-swipe-group.c b/glade/glade-hdy-swipe-group.c +index 5b165a2..927dea0 100644 +--- a/glade/glade-hdy-swipe-group.c ++++ b/glade/glade-hdy-swipe-group.c +@@ -15,6 +15,14 @@ + #include <glib/gi18n-lib.h> + #include <gladeui/glade.h> + ++/* ++ * Another macro got renamed in GladeUI 3.38. For older versions of GladeUI, ++ * define the new macro as the old one. ++ */ ++#ifndef GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS ++#define GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS GWA_GET_CLASS ++#endif ++ + /* Guess wether we are using a Glade version older than 3.36. + * + * If yes, redefine some symbols which got renamed. +@@ -87,7 +95,7 @@ glade_hdy_swipe_group_read_widget (GladeWidgetAdaptor *adaptor, + return; + + /* First chain up and read in all the normal properties.. */ +- GWA_GET_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node); ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node); + + glade_hdy_swipe_group_read_widgets (widget, node); + } +@@ -131,7 +139,7 @@ glade_hdy_swipe_group_write_widget (GladeWidgetAdaptor *adaptor, + return; + + /* First chain up and read in all the normal properties.. */ +- GWA_GET_CLASS (G_TYPE_OBJECT)->write_widget (adaptor, widget, context, node); ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->write_widget (adaptor, widget, context, node); + + glade_hdy_swipe_group_write_widgets (widget, context, node); + } +@@ -164,7 +172,7 @@ glade_hdy_swipe_group_set_property (GladeWidgetAdaptor *adaptor, + HDY_SWIPEABLE (list->data)); + } + } else { +- GWA_GET_CLASS (G_TYPE_OBJECT)->set_property (adaptor, object, ++ GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS (G_TYPE_OBJECT)->set_property (adaptor, object, + property_name, value); + } + } +-- +2.26.3 + diff --git a/gui-libs/libhandy/libhandy-0.0.13.ebuild b/gui-libs/libhandy/libhandy-0.0.13.ebuild index 5d6f3c895bca..751616d2f13b 100644 --- a/gui-libs/libhandy/libhandy-0.0.13.ebuild +++ b/gui-libs/libhandy/libhandy-0.0.13.ebuild @@ -39,6 +39,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PV}-glade3.36-compat{1,2}.patch + "${FILESDIR}"/${PV}-glade3.37-compat.patch ) src_prepare() { diff --git a/gui-libs/libhandy/libhandy-1.0.3.ebuild b/gui-libs/libhandy/libhandy-1.0.3.ebuild index 6184734db505..2e4925e780a0 100644 --- a/gui-libs/libhandy/libhandy-1.0.3.ebuild +++ b/gui-libs/libhandy/libhandy-1.0.3.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/libhandy/" LICENSE="LGPL-2.1+" SLOT="1" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="examples glade gtk-doc +introspection test +vala" REQUIRED_USE="vala? ( introspection )" diff --git a/gui-libs/libhandy/libhandy-1.0.2.ebuild b/gui-libs/libhandy/libhandy-1.2.0.ebuild index 43d30fc4e3fc..1df7e54eddb4 100644 --- a/gui-libs/libhandy/libhandy-1.0.2.ebuild +++ b/gui-libs/libhandy/libhandy-1.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/gui-libs/libhandy/libhandy-1.2.1.ebuild b/gui-libs/libhandy/libhandy-1.2.1.ebuild new file mode 100644 index 000000000000..1df7e54eddb4 --- /dev/null +++ b/gui-libs/libhandy/libhandy-1.2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome.org meson xdg vala virtualx + +DESCRIPTION="Building blocks for modern adaptive GNOME apps" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libhandy/" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="examples glade gtk-doc +introspection test +vala" +REQUIRED_USE="vala? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=x11-libs/gtk+-3.24.1:3[introspection?] + glade? ( dev-util/glade:3.10= ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/libxml2:2 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + xdg_src_prepare +} + +src_configure() { + local emesonargs=( + -Dprofiling=false # -pg passing + $(meson_feature introspection) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + $(meson_use test tests) + $(meson_use examples) + $(meson_feature glade glade_catalog) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} diff --git a/gui-libs/libhandy/libhandy-1.2.2.ebuild b/gui-libs/libhandy/libhandy-1.2.2.ebuild new file mode 100644 index 000000000000..1df7e54eddb4 --- /dev/null +++ b/gui-libs/libhandy/libhandy-1.2.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome.org meson xdg vala virtualx + +DESCRIPTION="Building blocks for modern adaptive GNOME apps" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libhandy/" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="examples glade gtk-doc +introspection test +vala" +REQUIRED_USE="vala? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=x11-libs/gtk+-3.24.1:3[introspection?] + glade? ( dev-util/glade:3.10= ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/libxml2:2 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + xdg_src_prepare +} + +src_configure() { + local emesonargs=( + -Dprofiling=false # -pg passing + $(meson_feature introspection) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + $(meson_use test tests) + $(meson_use examples) + $(meson_feature glade glade_catalog) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} |