Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfwm4/
Date: Tue, 01 Nov 2022 12:36:01
Message-Id: 1667306154.c833316526a9d45119a630a1fff463b15fd7aeb5.mgorny@gentoo
1 commit: c833316526a9d45119a630a1fff463b15fd7aeb5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 12:30:10 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 12:35:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8333165
7
8 xfce-base/xfwm4: Bump to 4.17.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 xfce-base/xfwm4/Manifest | 1 +
13 xfce-base/xfwm4/xfwm4-4.17.1.ebuild | 78 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/xfce-base/xfwm4/Manifest b/xfce-base/xfwm4/Manifest
17 index f575db376221..ecdb696b29e6 100644
18 --- a/xfce-base/xfwm4/Manifest
19 +++ b/xfce-base/xfwm4/Manifest
20 @@ -1 +1,2 @@
21 DIST xfwm4-4.16.1.tar.bz2 1201722 BLAKE2B 4aae9b97095b423964a2ece7fe09b46ecfcea6688af6ab3b38ee34611cd68a7427597cb963b91b209d161c85aed552df15d005268bd8585d365b0cf63adf36b3 SHA512 f0d5d00e58202457d0d7d5f9772e7b2aa3f3339850065609baab7d379248a628d147464cc605698970134b87d58b7867b8c09d0a3a45ab84b2f3aa95be26f0b9
22 +DIST xfwm4-4.17.1.tar.bz2 1216851 BLAKE2B 7e9cc7b8c40d6f8b4945edc3f5b6663805e9b2ca7dc216c97e69431859d61fbdccc2833adb8cd171add2ef37bee85bafb983aa2ca048d6a1151a85e69debe6a4 SHA512 ebbf47630e56ff4438bfa642864dbc91fec9b35951489dd9a7b5ce12b6115a09314bfa6fe3ebd870fdde9cd31768483cd4098e6e36c95423711cda59b00703c2
23
24 diff --git a/xfce-base/xfwm4/xfwm4-4.17.1.ebuild b/xfce-base/xfwm4/xfwm4-4.17.1.ebuild
25 new file mode 100644
26 index 000000000000..736f16fbe361
27 --- /dev/null
28 +++ b/xfce-base/xfwm4/xfwm4-4.17.1.ebuild
29 @@ -0,0 +1,78 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit xdg-utils
36 +
37 +DESCRIPTION="Window manager for the Xfce desktop environment"
38 +HOMEPAGE="
39 + https://docs.xfce.org/xfce/xfwm4/start
40 + https://gitlab.xfce.org/xfce/xfwm4
41 +"
42 +SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
43 +
44 +LICENSE="GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
47 +IUSE="opengl startup-notification +xcomposite +xpresent"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.20
51 + >=x11-libs/gtk+-3.22:3
52 + x11-libs/libX11
53 + x11-libs/libXext
54 + x11-libs/libXi
55 + x11-libs/libXinerama
56 + x11-libs/libXrandr
57 + x11-libs/libXrender
58 + x11-libs/libXres
59 + x11-libs/pango
60 + >=x11-libs/libwnck-3.14:3
61 + >=xfce-base/libxfce4util-4.10:=
62 + >=xfce-base/libxfce4ui-4.12:=
63 + >=xfce-base/xfconf-4.13:=
64 + opengl? ( media-libs/libepoxy:=[X(+)] )
65 + startup-notification? ( x11-libs/startup-notification )
66 + xcomposite? (
67 + x11-libs/libXcomposite
68 + x11-libs/libXdamage
69 + x11-libs/libXfixes
70 + )
71 + xpresent? ( x11-libs/libXpresent )
72 +"
73 +# libICE/libSM: not really used anywhere but checked by configure
74 +# https://bugzilla.xfce.org/show_bug.cgi?id=11914
75 +DEPEND="
76 + ${RDEPEND}
77 + x11-libs/libICE
78 + x11-libs/libSM
79 +"
80 +BDEPEND="
81 + dev-util/intltool
82 + sys-devel/gettext
83 + virtual/pkgconfig
84 +"
85 +
86 +src_configure() {
87 + local myconf=(
88 + $(use_enable opengl epoxy)
89 + $(use_enable startup-notification)
90 + $(use_enable xcomposite compositor)
91 + $(use_enable xpresent)
92 + --enable-randr
93 + --enable-render
94 + --enable-xi2
95 + --enable-xsync
96 + )
97 +
98 + econf "${myconf[@]}"
99 +}
100 +
101 +pkg_postinst() {
102 + xdg_icon_cache_update
103 +}
104 +
105 +pkg_postrm() {
106 + xdg_icon_cache_update
107 +}