1 |
commit: 86259ae16b4c48252322795bed39955311d077b8 |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 31 20:24:40 2018 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 31 20:24:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=86259ae1 |
7 |
|
8 |
x11-wm/mutter: version bump to 3.26.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.21, Repoman-2.3.6 |
11 |
RepoMan-Options: --force |
12 |
Manifest-Sign-Key: 0x7DF238CF0AA182E1 |
13 |
|
14 |
x11-wm/mutter/mutter-3.26.1.ebuild | 135 +++++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 135 insertions(+) |
16 |
|
17 |
diff --git a/x11-wm/mutter/mutter-3.26.1.ebuild b/x11-wm/mutter/mutter-3.26.1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000..7d5a008b |
20 |
--- /dev/null |
21 |
+++ b/x11-wm/mutter/mutter-3.26.1.ebuild |
22 |
@@ -0,0 +1,135 @@ |
23 |
+# Copyright 1999-2018 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+inherit gnome2 virtualx |
28 |
+ |
29 |
+DESCRIPTION="GNOME 3 compositing window manager based on Clutter" |
30 |
+HOMEPAGE="https://git.gnome.org/browse/mutter/" |
31 |
+ |
32 |
+LICENSE="GPL-2+" |
33 |
+SLOT="0/0" |
34 |
+#FIXME add remote desktop support |
35 |
+IUSE="debug gles2 input_devices_wacom +introspection test udev wayland" |
36 |
+ |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
38 |
+ |
39 |
+# libXi-1.7.4 or newer needed per: |
40 |
+# https://bugzilla.gnome.org/show_bug.cgi?id=738944 |
41 |
+COMMON_DEPEND=" |
42 |
+ >=dev-libs/atk-2.5.3 |
43 |
+ >=x11-libs/gdk-pixbuf-2:2 |
44 |
+ >=dev-libs/json-glib-0.12.0 |
45 |
+ >=x11-libs/pango-1.30[introspection?] |
46 |
+ >=x11-libs/cairo-1.14[X] |
47 |
+ >=x11-libs/gtk+-3.19.8:3[X,introspection?] |
48 |
+ >=dev-libs/glib-2.53.2:2[dbus] |
49 |
+ >=media-libs/libcanberra-0.26[gtk3] |
50 |
+ >=x11-libs/startup-notification-0.7 |
51 |
+ >=x11-libs/libXcomposite-0.2 |
52 |
+ >=gnome-base/gsettings-desktop-schemas-3.21.4[introspection?] |
53 |
+ gnome-base/gnome-desktop:3= |
54 |
+ >sys-power/upower-0.99:= |
55 |
+ |
56 |
+ x11-libs/libICE |
57 |
+ x11-libs/libSM |
58 |
+ x11-libs/libX11 |
59 |
+ >=x11-libs/libXcomposite-0.4 |
60 |
+ x11-libs/libXcursor |
61 |
+ x11-libs/libXdamage |
62 |
+ x11-libs/libXext |
63 |
+ >=x11-libs/libXfixes-3 |
64 |
+ >=x11-libs/libXi-1.7.4 |
65 |
+ x11-libs/libXinerama |
66 |
+ >=x11-libs/libXrandr-1.5 |
67 |
+ x11-libs/libXrender |
68 |
+ x11-libs/libxcb |
69 |
+ x11-libs/libxkbfile |
70 |
+ >=x11-libs/libxkbcommon-0.4.3[X] |
71 |
+ x11-misc/xkeyboard-config |
72 |
+ |
73 |
+ gnome-extra/zenity |
74 |
+ media-libs/mesa[egl] |
75 |
+ |
76 |
+ gles2? ( media-libs/mesa[gles2] ) |
77 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) |
78 |
+ introspection? ( >=dev-libs/gobject-introspection-1.42:= ) |
79 |
+ udev? ( >=virtual/libgudev-232:= ) |
80 |
+ wayland? ( |
81 |
+ >=dev-libs/libinput-1.4 |
82 |
+ >=dev-libs/wayland-1.13 |
83 |
+ >=dev-libs/wayland-protocols-1.9 |
84 |
+ >=media-libs/mesa-10.3[egl,gbm,wayland] |
85 |
+ sys-apps/systemd |
86 |
+ >=virtual/libgudev-232:= |
87 |
+ >=virtual/libudev-136:= |
88 |
+ x11-base/xorg-server[wayland] |
89 |
+ x11-libs/libdrm:= |
90 |
+ ) |
91 |
+" |
92 |
+DEPEND="${COMMON_DEPEND} |
93 |
+ >=sys-devel/gettext-0.19.6 |
94 |
+ virtual/pkgconfig |
95 |
+ x11-proto/xextproto |
96 |
+ x11-proto/xineramaproto |
97 |
+ x11-proto/xproto |
98 |
+ test? ( app-text/docbook-xml-dtd:4.5 ) |
99 |
+ wayland? ( >=sys-kernel/linux-headers-4.4 ) |
100 |
+" |
101 |
+RDEPEND="${COMMON_DEPEND} |
102 |
+ !x11-misc/expocity |
103 |
+" |
104 |
+ |
105 |
+src_prepare() { |
106 |
+ # Disable building of noinst_PROGRAM for tests |
107 |
+ if ! use test; then |
108 |
+ sed -e '/^noinst_PROGRAMS/d' \ |
109 |
+ -i cogl/tests/conform/Makefile.{am,in} || die |
110 |
+ sed -e '/noinst_PROGRAMS += testboxes/d' \ |
111 |
+ -i src/Makefile-tests.am || die |
112 |
+ sed -e '/noinst_PROGRAMS/ s/testboxes$(EXEEXT)//' \ |
113 |
+ -i src/Makefile.in || die |
114 |
+ fi |
115 |
+ |
116 |
+ gnome2_src_prepare |
117 |
+ |
118 |
+ # Leave the damn CFLAGS alone |
119 |
+ sed -e 's/$CFLAGS -g/$CFLAGS /' \ |
120 |
+ -i clutter/configure || die |
121 |
+ sed -e 's/$CFLAGS -g -O0/$CFLAGS /' \ |
122 |
+ -i cogl/configure || die |
123 |
+ sed -e 's/$CFLAGS -g -O/$CFLAGS /' \ |
124 |
+ -i configure || die |
125 |
+} |
126 |
+ |
127 |
+src_configure() { |
128 |
+ # Prefer gl driver by default |
129 |
+ # GLX is forced by mutter but optional in clutter |
130 |
+ # xlib-egl-platform required by mutter x11 backend |
131 |
+ # native backend without wayland is useless |
132 |
+ gnome2_src_configure \ |
133 |
+ --disable-static \ |
134 |
+ --enable-compile-warnings=minimum \ |
135 |
+ --enable-gl \ |
136 |
+ --enable-glx \ |
137 |
+ --enable-sm \ |
138 |
+ --enable-startup-notification \ |
139 |
+ --enable-verbose-mode \ |
140 |
+ --enable-xlib-egl-platform \ |
141 |
+ --with-default-driver=gl \ |
142 |
+ --with-libcanberra \ |
143 |
+ $(usex debug --enable-debug=yes "") \ |
144 |
+ $(use_enable gles2) \ |
145 |
+ $(use_enable gles2 cogl-gles2) \ |
146 |
+ $(use_enable introspection) \ |
147 |
+ $(use_enable wayland) \ |
148 |
+ $(use_enable wayland kms-egl-platform) \ |
149 |
+ $(use_enable wayland native-backend) \ |
150 |
+ $(use_enable wayland wayland-egl-server) \ |
151 |
+ $(use_with input_devices_wacom libwacom) \ |
152 |
+ $(use_with udev gudev) |
153 |
+} |
154 |
+ |
155 |
+src_test() { |
156 |
+ virtx emake check |
157 |
+} |