Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libwnck/
Date: Mon, 17 Jan 2022 23:19:13
Message-Id: 1642461536.820b1427ea8786fdbb6c26a0615dcb7aad5d25b1.mattst88@gentoo
1 commit: 820b1427ea8786fdbb6c26a0615dcb7aad5d25b1
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 17 22:49:48 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 17 23:18:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820b1427
7
8 x11-libs/libwnck: Version bump to 40.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/libwnck/Manifest | 1 +
13 x11-libs/libwnck/libwnck-40.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/x11-libs/libwnck/Manifest b/x11-libs/libwnck/Manifest
17 index af50f40d3ded..dc902c4aabcc 100644
18 --- a/x11-libs/libwnck/Manifest
19 +++ b/x11-libs/libwnck/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libwnck-2.31.0.tar.xz 630792 BLAKE2B 8201537d3c9a8a0a8668fc16d33a8eaa05c14312401f1c763c922402df04ef03260dd259f5c46508f85390f7aefd551e83143e654b24b412272dddb7c7c4bd62 SHA512 54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9
22 DIST libwnck-3.36.0.tar.xz 447760 BLAKE2B c61098362c57c3de879170d3104472b0a7f3c16da163c5d740d7a42bd545cfdaecd96804108834d5b7de5028e847f9b0557f015d08f50f9459a896f1d5f84431 SHA512 b7bf5d935327f61634a898594cf20a270e1b403c8df6c74e6ac20e22eea2845ac8c3007b31994728b74953e40c1015373efe10ed64243cf5e85fd210654aecb3
23 +DIST libwnck-40.0.tar.xz 455216 BLAKE2B 7ebadb2a57cd0ce6bccac265427cc31e9a84460219c2f19f9dd14c5e6175da19a2e8ab2309902e098686fb40bf277ae8b815d60b29b541de9992e0b1538f6777 SHA512 059f2a2add3f95feb7759e827072905652a4dc9c6756d526743319b5016ee36191b5c9a4fb5204f85a13049c2bd1bb3d01b2456ddb3ddc8f76148a0ee1651696
24
25 diff --git a/x11-libs/libwnck/libwnck-40.0.ebuild b/x11-libs/libwnck/libwnck-40.0.ebuild
26 new file mode 100644
27 index 000000000000..b8eedfea78f3
28 --- /dev/null
29 +++ b/x11-libs/libwnck/libwnck-40.0.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2022 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
37 +
38 +DESCRIPTION="A window navigation construction kit"
39 +HOMEPAGE="https://developer.gnome.org/libwnck/stable/"
40 +
41 +LICENSE="LGPL-2+"
42 +SLOT="3"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
44 +
45 +IUSE="gtk-doc +introspection startup-notification tools"
46 +
47 +RDEPEND="
48 + x11-libs/cairo[X]
49 + >=dev-libs/glib-2.44:2
50 + >=x11-libs/gtk+-3.22:3[X,introspection?]
51 + startup-notification? ( >=x11-libs/startup-notification-0.4 )
52 + x11-libs/libX11
53 + x11-libs/libXres
54 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
55 +"
56 +# libXi header used by wnckprop.c, which is compiled even with USE=-tools (just not installed then)
57 +DEPEND="${RDEPEND}
58 + x11-libs/libXi"
59 +BDEPEND="
60 + gtk-doc? ( >=dev-util/gtk-doc-1.9
61 + app-text/docbook-xml-dtd:4.1.2 )
62 + >=sys-devel/gettext-0.19.8
63 + virtual/pkgconfig
64 +"
65 +
66 +src_prepare() {
67 + # Don't collide with SLOT=1 with USE=tools
68 + sed -e "s|executable(prog|executable(prog + '-3'|" -i libwnck/meson.build || die
69 + xdg_src_prepare
70 +}
71 +
72 +src_configure() {
73 + local emesonargs=(
74 + -Ddeprecation_flags=false
75 + $(meson_use tools install_tools)
76 + $(meson_feature startup-notification startup_notification)
77 + $(meson_feature introspection)
78 + $(meson_use gtk-doc gtk_doc)
79 + )
80 + meson_src_configure
81 +}