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: Fri, 30 Sep 2022 18:53:54
Message-Id: 1664563999.7ae77d2e82d6af70b987d0af802d8b9afea300a5.mattst88@gentoo
1 commit: 7ae77d2e82d6af70b987d0af802d8b9afea300a5
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Sun Sep 25 20:56:38 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 18:53:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae77d2e
7
8 x11-libs/libwnck: Version bump to 43.0
9
10 Closes: https://github.com/gentoo/gentoo/pull/27454
11 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 x11-libs/libwnck/Manifest | 1 +
15 x11-libs/libwnck/libwnck-43.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 53 insertions(+)
17
18 diff --git a/x11-libs/libwnck/Manifest b/x11-libs/libwnck/Manifest
19 index 4b6f2bdf51e9..db2f76fb7bae 100644
20 --- a/x11-libs/libwnck/Manifest
21 +++ b/x11-libs/libwnck/Manifest
22 @@ -1,2 +1,3 @@
23 DIST libwnck-2.31.0.tar.xz 630792 BLAKE2B 8201537d3c9a8a0a8668fc16d33a8eaa05c14312401f1c763c922402df04ef03260dd259f5c46508f85390f7aefd551e83143e654b24b412272dddb7c7c4bd62 SHA512 54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9
24 DIST libwnck-40.1.tar.xz 455624 BLAKE2B dd069cba299b9006a10de3311da87958f14a9defcc02a936cb0be38431eda9210aa8cff36ae63858235380a75c1d5266ce0612b5f93f47de21d48a5324af8a6d SHA512 50ba20547e95280d10f1f66f36eea6c649b59d385da7a9217c295150520099585a5ff43c08a552afb8b0db3ee7305bbb2c38d0baed84cc6dc0942f3ca1e43e29
25 +DIST libwnck-43.0.tar.xz 455464 BLAKE2B 591b7a9016f5149a2493d36ed8ec8a7e2a59b13043aed23bf87ef67520954d2e5cab0edb6f427c36f33fe80478ad363c9db6f4dacbc7c6d4295e79191e7f5043 SHA512 f6c14b0a650c6d5ab4d4013e6add3972a0f0bcdedfb9785f64199c9a65713d11c9d936e8b04d0f04707c3d165dd345bfa806f654bf82eabb765546b8914d68d2
26
27 diff --git a/x11-libs/libwnck/libwnck-43.0.ebuild b/x11-libs/libwnck/libwnck-43.0.ebuild
28 new file mode 100644
29 index 000000000000..32b8056b3e9b
30 --- /dev/null
31 +++ b/x11-libs/libwnck/libwnck-43.0.ebuild
32 @@ -0,0 +1,52 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit gnome.org meson xdg
39 +
40 +DESCRIPTION="A window navigation construction kit"
41 +HOMEPAGE="https://developer.gnome.org/libwnck/stable/"
42 +
43 +LICENSE="LGPL-2+"
44 +SLOT="3"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
46 +
47 +IUSE="gtk-doc +introspection startup-notification tools"
48 +
49 +RDEPEND="
50 + x11-libs/cairo[X]
51 + >=dev-libs/glib-2.44:2
52 + >=x11-libs/gtk+-3.22:3[X,introspection?]
53 + startup-notification? ( >=x11-libs/startup-notification-0.4 )
54 + x11-libs/libX11
55 + x11-libs/libXres
56 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
57 +"
58 +# libXi header used by wnckprop.c, which is compiled even with USE=-tools (just not installed then)
59 +DEPEND="${RDEPEND}
60 + x11-libs/libXi"
61 +BDEPEND="
62 + gtk-doc? ( >=dev-util/gtk-doc-1.9
63 + app-text/docbook-xml-dtd:4.1.2 )
64 + >=sys-devel/gettext-0.19.8
65 + virtual/pkgconfig
66 +"
67 +
68 +src_prepare() {
69 + default
70 + xdg_environment_reset
71 + # Don't collide with SLOT=1 with USE=tools
72 + sed -e "s|executable(prog|executable(prog + '-3'|" -i libwnck/meson.build || die
73 +}
74 +
75 +src_configure() {
76 + local emesonargs=(
77 + -Ddeprecation_flags=false
78 + $(meson_use tools install_tools)
79 + $(meson_feature startup-notification startup_notification)
80 + $(meson_feature introspection)
81 + $(meson_use gtk-doc gtk_doc)
82 + )
83 + meson_src_configure
84 +}