1 |
commit: 1bfb204c660c5560ee5ec44a2fee4962a7f0bc23 |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jul 27 19:08:32 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 14:37:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfb204c |
7 |
|
8 |
dev-libs/wlc: version bump to 0.0.10 |
9 |
|
10 |
further separated X and xwayland USE flags |
11 |
|
12 |
enabled USE xwayland by default |
13 |
Closes: https://github.com/gentoo/gentoo/pull/5224 |
14 |
|
15 |
dev-libs/wlc/Manifest | 1 + |
16 |
dev-libs/wlc/metadata.xml | 4 +-- |
17 |
dev-libs/wlc/wlc-0.0.10.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++ |
18 |
3 files changed, 69 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/wlc/Manifest b/dev-libs/wlc/Manifest |
21 |
index 3a5fd2413b4..f6d2e6eb294 100644 |
22 |
--- a/dev-libs/wlc/Manifest |
23 |
+++ b/dev-libs/wlc/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
+DIST wlc-0.0.10.tar.bz2 249721 SHA256 f8273940eaceb0661d365d284aceef7cb0ca83e641b7722d818dcac464fb0b01 SHA512 93474b04aad6534d850d9666cb7ba2b588d8beda89d785de1d569951e3c410ec66da84cdaab5e99060e61360b9bdffa96226f20e1d1e906873edc6850c34500c WHIRLPOOL d76c2d4571146939cf935dabbd8a2fe0bbfce3f832c4baffa057fdd1de636c989cb07d63db0fba88fb4d351f097e97b7a6262befb6a50d1bd4554685662a164c |
26 |
DIST wlc-0.0.8.tar.bz2 236970 SHA256 1a7d7758028b0caa75418268f59e2290420850d0f3226ecf74316405d2c5ace5 SHA512 5ddf7dfc5115fa51ea078933b60c6e8ef9515db98f1c47d4ecfe3f49e07dbdadf2bbeb6f6002cc83d13098dee5fa7e66fcae211a58bd762ee984088aebadb779 WHIRLPOOL e99da312339bbc7b3c9c77dcec14b185132bb1216512f85e488cefc7b2b2108793fd7acaba0f172f753b4b38b7551c190758ed778514050a47262a808f86e80e |
27 |
DIST wlc-0.0.9.tar.bz2 240932 SHA256 cc239283c1d87aff9d258e0f4dd5a3ad441d8c6e52be8204abd8694435e4c3b5 SHA512 d34a29c779a39ffb95413f26c62d545f29ed7890529296b837bb153687600582dbe927c65558923bd1614c5fe904aa9cff760c272e79c6c0eff10ba38eee895b WHIRLPOOL 002eb60fbec28fdd599996b10daaa2c2f1b15ace077e4f80bd56c906e32a51cf47a58f6c0dcbb510f333a2fcd0dccf307f5e91cc0330418b09e7d5003c4960ea |
28 |
|
29 |
diff --git a/dev-libs/wlc/metadata.xml b/dev-libs/wlc/metadata.xml |
30 |
index ecb4d296921..acd5c4be487 100644 |
31 |
--- a/dev-libs/wlc/metadata.xml |
32 |
+++ b/dev-libs/wlc/metadata.xml |
33 |
@@ -11,8 +11,8 @@ |
34 |
</maintainer> |
35 |
<use> |
36 |
<flag name="systemd">Enable support for systemd-logind.</flag> |
37 |
- <flag name="X">Enable X11 backend and XWayland support.</flag> |
38 |
- <flag name="xwayland">Enable XWayland support.</flag> |
39 |
+ <flag name="X">Enable X11 backend.</flag> |
40 |
+ <flag name="xwayland">Enable XWayland application support.</flag> |
41 |
</use> |
42 |
<upstream> |
43 |
<remote-id type="github">Cloudef/wlc</remote-id> |
44 |
|
45 |
diff --git a/dev-libs/wlc/wlc-0.0.10.ebuild b/dev-libs/wlc/wlc-0.0.10.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000000..dfd3d6fd8a5 |
48 |
--- /dev/null |
49 |
+++ b/dev-libs/wlc/wlc-0.0.10.ebuild |
50 |
@@ -0,0 +1,66 @@ |
51 |
+# Copyright 1999-2017 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=6 |
55 |
+ |
56 |
+inherit cmake-utils |
57 |
+ |
58 |
+DESCRIPTION="A helper library for Wayland compositors" |
59 |
+HOMEPAGE="https://github.com/Cloudef/wlc" |
60 |
+ |
61 |
+SRC_URI="https://github.com/Cloudef/wlc/releases/download/v${PV}/${P}.tar.bz2" |
62 |
+ |
63 |
+LICENSE="MIT ZLIB" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~x86" |
66 |
+IUSE="X static-libs systemd +xwayland" |
67 |
+ |
68 |
+RDEPEND="virtual/opengl |
69 |
+ virtual/libudev |
70 |
+ media-libs/mesa[wayland,gbm,gles2,egl] |
71 |
+ x11-libs/libdrm |
72 |
+ x11-libs/pixman |
73 |
+ x11-libs/libxkbcommon |
74 |
+ x11-misc/xkeyboard-config |
75 |
+ dev-libs/libinput |
76 |
+ dev-libs/wayland |
77 |
+ X? ( |
78 |
+ x11-libs/libX11 |
79 |
+ x11-libs/libxcb[xkb] |
80 |
+ x11-libs/xcb-util-image |
81 |
+ x11-libs/xcb-util-wm |
82 |
+ x11-libs/libXfixes |
83 |
+ ) |
84 |
+ xwayland? ( |
85 |
+ x11-libs/libxcb[xkb] |
86 |
+ x11-libs/xcb-util-image |
87 |
+ x11-libs/xcb-util-wm |
88 |
+ x11-base/xorg-server[wayland] |
89 |
+ ) |
90 |
+ systemd? ( sys-apps/systemd sys-apps/dbus )" |
91 |
+ |
92 |
+DEPEND="${RDEPEND} |
93 |
+ virtual/pkgconfig |
94 |
+ >=dev-libs/wayland-protocols-1.7" |
95 |
+ |
96 |
+src_configure() { |
97 |
+ local mycmakeargs=( |
98 |
+ -DWLC_BUILD_EXAMPLES=OFF |
99 |
+ -DWLC_BUILD_TESTS=OFF |
100 |
+ |
101 |
+ -DWLC_BUILD_STATIC=$(usex static-libs) |
102 |
+ |
103 |
+ -DWLC_X11_BACKEND_SUPPORT=$(usex X) |
104 |
+ -DWLC_XWAYLAND_SUPPORT=$(usex xwayland) |
105 |
+ |
106 |
+ $(cmake-utils_use_find_package systemd Systemd) |
107 |
+ $(cmake-utils_use_find_package systemd Dbus) |
108 |
+ ) |
109 |
+ cmake-utils_src_configure |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ if use X && ! use xwayland; then |
114 |
+ elog "xwayland use flag is required for X11 applications support" |
115 |
+ fi |
116 |
+} |