1 |
commit: 1f196e4951d57194c9a1f55f89df2e369c0312e7 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 4 10:37:40 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 4 13:03:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f196e49 |
7 |
|
8 |
media-libs/clutter: patchset to fix wayland amdgpu mouse use and more |
9 |
|
10 |
Includes various patches from git master, including fixing picking (mouse use) |
11 |
on 10bit capable systems (most notable amdgpu on wayland desktops), some |
12 |
configure checks with clang and much more. |
13 |
Also disables actor-shader-effect test has upstream has done under meson. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/680612 |
16 |
Package-Manager: Portage-2.3.79, Repoman-2.3.12 |
17 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
18 |
|
19 |
media-libs/clutter/Manifest | 1 + |
20 |
media-libs/clutter/clutter-1.26.2-r2.ebuild | 115 ++++++++++++++++++++++++++++ |
21 |
2 files changed, 116 insertions(+) |
22 |
|
23 |
diff --git a/media-libs/clutter/Manifest b/media-libs/clutter/Manifest |
24 |
index 45bda292d11..f799ee6aec1 100644 |
25 |
--- a/media-libs/clutter/Manifest |
26 |
+++ b/media-libs/clutter/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
+DIST clutter-1.26.2-patchset.tar.xz 10204 BLAKE2B d3515420600a7d7df7df608f5091ccd1df5e23a5e75cc1e3cc3856de94a935234280d3648eace3220a299214a4715860c74d24a994b7f6e36901d8c80e10a7dc SHA512 2659b9a4ec3db59bc5a35ce09f974271a7a3f5e7bfbc7f741b5a5e87b2a017f4a779aafd97386fe448b94a5285d9eecad661cc320620c7c56928e296939bb708 |
29 |
DIST clutter-1.26.2.tar.xz 5353736 BLAKE2B ac30cee3c5a8ed786c38820b7afb86e80929c2a797b737b35650ae6dd856576d72cc7f5407a984f418e255d6ab43c8d3ca9d7efd6f50650b2e0c733ecca19114 SHA512 c8008a1a1f111313d9abaff8d4415f112ddc32a02e08845f3735d33bb25b72b082f133daba06749bb9595eaf1ba83b308d30a413fbbe8dcdc1afdd7077a30937 |
30 |
|
31 |
diff --git a/media-libs/clutter/clutter-1.26.2-r2.ebuild b/media-libs/clutter/clutter-1.26.2-r2.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..ed51ee09f53 |
34 |
--- /dev/null |
35 |
+++ b/media-libs/clutter/clutter-1.26.2-r2.ebuild |
36 |
@@ -0,0 +1,115 @@ |
37 |
+# Copyright 1999-2020 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+GNOME2_LA_PUNT="yes" |
42 |
+GNOME2_EAUTORECONF="yes" |
43 |
+ |
44 |
+inherit gnome2 virtualx |
45 |
+ |
46 |
+DESCRIPTION="Clutter is a library for creating graphical user interfaces" |
47 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Clutter" |
48 |
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz" |
49 |
+ |
50 |
+LICENSE="LGPL-2.1+ FDL-1.1+" |
51 |
+SLOT="1.0" |
52 |
+ |
53 |
+IUSE="aqua debug doc egl gtk +introspection test wayland X" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+REQUIRED_USE=" |
56 |
+ || ( aqua wayland X ) |
57 |
+ wayland? ( egl ) |
58 |
+" |
59 |
+ |
60 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
61 |
+ |
62 |
+# NOTE: glx flavour uses libdrm + >=mesa-7.3 |
63 |
+# >=libX11-1.3.1 needed for X Generic Event support |
64 |
+# do not depend on tslib, it does not build and is disabled by default upstream |
65 |
+RDEPEND=" |
66 |
+ >=dev-libs/glib-2.44.0:2 |
67 |
+ >=dev-libs/atk-2.5.3[introspection?] |
68 |
+ >=dev-libs/json-glib-0.12[introspection?] |
69 |
+ >=media-libs/cogl-1.21.2:1.0=[introspection?,pango,wayland?] |
70 |
+ >=x11-libs/cairo-1.14:=[aqua?,glib] |
71 |
+ >=x11-libs/pango-1.30[introspection?] |
72 |
+ |
73 |
+ virtual/opengl |
74 |
+ x11-libs/libdrm:= |
75 |
+ |
76 |
+ egl? ( |
77 |
+ >=dev-libs/libinput-0.19.0 |
78 |
+ media-libs/cogl[gles2,kms] |
79 |
+ >=dev-libs/libgudev-136 |
80 |
+ x11-libs/libxkbcommon |
81 |
+ ) |
82 |
+ gtk? ( >=x11-libs/gtk+-3.22.6:3[aqua?] ) |
83 |
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= ) |
84 |
+ X? ( |
85 |
+ media-libs/fontconfig |
86 |
+ >=x11-libs/libX11-1.3.1 |
87 |
+ x11-libs/libXext |
88 |
+ x11-libs/libXdamage |
89 |
+ >=x11-libs/libXi-1.3 |
90 |
+ >=x11-libs/libXcomposite-0.4 ) |
91 |
+ wayland? ( |
92 |
+ dev-libs/wayland |
93 |
+ x11-libs/gdk-pixbuf:2 ) |
94 |
+" |
95 |
+DEPEND="${RDEPEND} |
96 |
+ dev-util/glib-utils |
97 |
+ >=dev-util/gtk-doc-am-1.20 |
98 |
+ >=sys-devel/gettext-0.17 |
99 |
+ virtual/pkgconfig |
100 |
+ doc? ( |
101 |
+ >=dev-util/gtk-doc-1.20 |
102 |
+ >=app-text/docbook-sgml-utils-0.6.14[jadetex] |
103 |
+ dev-libs/libxslt ) |
104 |
+ X? ( x11-base/xorg-proto ) |
105 |
+ test? ( x11-libs/gdk-pixbuf ) |
106 |
+" |
107 |
+ |
108 |
+PATCHES=( |
109 |
+ # assorted patches from git at 2020-01-03; most importantly fixes wayland amdgpu picking (with working 10bit color) for various GNOME clutter games and gnome-maps |
110 |
+ "${WORKDIR}/patches" # requires eautoreconf |
111 |
+) |
112 |
+ |
113 |
+src_prepare() { |
114 |
+ # We only need conformance tests, the rest are useless for us |
115 |
+ sed -e 's/^\(SUBDIRS =\).*/\1 accessibility conform/g' \ |
116 |
+ -i tests/Makefile.am || die "am tests sed failed" |
117 |
+ sed -e 's/^\(SUBDIRS =\)[^\]*/\1 accessibility conform/g' \ |
118 |
+ -i tests/Makefile.in || die "in tests sed failed" |
119 |
+ |
120 |
+ gnome2_src_prepare |
121 |
+} |
122 |
+ |
123 |
+src_configure() { |
124 |
+ # XXX: Conformance test suite (and clutter itself) does not work under Xvfb |
125 |
+ # (GLX error blabla) |
126 |
+ # XXX: coverage disabled for now |
127 |
+ # XXX: What about cex100/win32 backends? |
128 |
+ gnome2_src_configure \ |
129 |
+ --disable-maintainer-flags \ |
130 |
+ --disable-mir-backend \ |
131 |
+ --disable-gcov \ |
132 |
+ --disable-cex100-backend \ |
133 |
+ --disable-win32-backend \ |
134 |
+ --disable-tslib-input \ |
135 |
+ $(use_enable aqua quartz-backend) \ |
136 |
+ $(usex debug --enable-debug=yes --enable-debug=minimum) \ |
137 |
+ $(use_enable doc docs) \ |
138 |
+ $(use_enable egl egl-backend) \ |
139 |
+ $(use_enable egl evdev-input) \ |
140 |
+ $(use_enable gtk gdk-backend) \ |
141 |
+ $(use_enable introspection) \ |
142 |
+ $(use_enable test gdk-pixbuf) \ |
143 |
+ $(use_enable wayland wayland-backend) \ |
144 |
+ $(use_enable wayland wayland-compositor) \ |
145 |
+ $(use_enable X xinput) \ |
146 |
+ $(use_enable X x11-backend) |
147 |
+} |
148 |
+ |
149 |
+src_test() { |
150 |
+ virtx emake check -C tests/conform |
151 |
+} |