Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdazzle/
Date: Sun, 01 Mar 2020 16:18:53
Message-Id: 1583079454.0ee742c63edf6379cebe8f5b20633b00fc4b0aed.leio@gentoo
1 commit: 0ee742c63edf6379cebe8f5b20633b00fc4b0aed
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 09:06:43 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 16:17:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee742c6
7
8 dev-libs/libdazzle: bump to 3.34.1
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/libdazzle/Manifest | 1 +
14 dev-libs/libdazzle/libdazzle-3.34.1.ebuild | 60 ++++++++++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/dev-libs/libdazzle/Manifest b/dev-libs/libdazzle/Manifest
18 index 4f52308191e..55c85315362 100644
19 --- a/dev-libs/libdazzle/Manifest
20 +++ b/dev-libs/libdazzle/Manifest
21 @@ -1 +1,2 @@
22 DIST libdazzle-3.32.3.tar.xz 439492 BLAKE2B 7a8cf5a4ad29ca11b489553785e66d49a2ba7998f6791bb392ca37740441ff0e72f59ced192dc681ab20da79cb9183621a7d73baf57c9f045ae917fc993d1205 SHA512 e82d5f04706ec2003db27ece490255264828334d1e1c2076485660539664fd382c1289b9d8d4a6cc2dc31c65db270207e7d51105ffd1cadb7c384cd91199ceaa
23 +DIST libdazzle-3.34.1.tar.xz 440496 BLAKE2B 88321e82f1961ffffc46c2e484b39a80e201498c1f5aaf3beabe59f9d24c21b446485aeb1e70821868d207d222e9a4c9c06353f3add28a1c12ba84f90f79e640 SHA512 bb55c21c8d15406e4f09514c36e3e633d13c0cdb6b30b40a7da7e1cb5e307f371c905dbd8ee5e56d04e225df4c1c8eb9cd273df76814a4cec6ea1328b998d95e
24
25 diff --git a/dev-libs/libdazzle/libdazzle-3.34.1.ebuild b/dev-libs/libdazzle/libdazzle-3.34.1.ebuild
26 new file mode 100644
27 index 00000000000..680a282a3a0
28 --- /dev/null
29 +++ b/dev-libs/libdazzle/libdazzle-3.34.1.ebuild
30 @@ -0,0 +1,60 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit gnome.org meson xdg vala virtualx
37 +
38 +DESCRIPTION="Experimental new features for GTK+ and GLib"
39 +HOMEPAGE="https://gitlab.gnome.org/GNOME/libdazzle"
40 +
41 +LICENSE="GPL-3+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
44 +
45 +IUSE="gtk-doc +introspection test +vala"
46 +REQUIRED_USE="vala? ( introspection )"
47 +RESTRICT="!test? ( test )"
48 +
49 +# We keep newer glib/gtk+ deps to avoid GtkEventControllerMotion backports gettings used
50 +RDEPEND="
51 + >=dev-libs/glib-2.56.0:2
52 + >=x11-libs/gtk+-3.24.0:3[introspection?]
53 + introspection? ( dev-libs/gobject-introspection:= )
54 +"
55 +DEPEND="${RDEPEND}"
56 +# libxml2 required for glib-compile-resources; glib-utils for glib-mkenums
57 +BDEPEND="
58 + >=dev-util/meson-0.49.0
59 + vala? ( $(vala_depend) )
60 + dev-libs/libxml2:2
61 + dev-util/glib-utils
62 + virtual/pkgconfig
63 + gtk-doc? ( dev-util/gtk-doc )
64 +"
65 +
66 +src_prepare() {
67 + use vala && vala_src_prepare
68 + xdg_src_prepare
69 +}
70 +
71 +src_configure() {
72 + local emesonargs=(
73 + -Denable_tracing=false # extra trace debugging that would make things slower
74 + -Denable_profiling=false # -pg passing
75 + # On linux it'll always use a vdso based implementation that is even faster
76 + # than rdtscp insn, thus never build with rdtscp until we don't support non-linux
77 + # as the rdtscp using function will never get called anyways.
78 + -Denable_rdtscp=false
79 + -Denable_tools=true # /usr/bin/dazzle-list-counters
80 + $(meson_use introspection with_introspection)
81 + $(meson_use vala with_vapi)
82 + $(meson_use gtk-doc enable_gtk_doc)
83 + $(meson_use test enable_tests)
84 + )
85 + meson_src_configure
86 +}
87 +
88 +src_test() {
89 + virtx meson_src_test
90 +}