1 |
commit: 279654802ae3c6c4d68faabb399383f5da1fa71d |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 3 15:40:47 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 16:58:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27965480 |
7 |
|
8 |
dev-libs/wlc: version bump to 0.0.9 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/4542 |
11 |
|
12 |
dev-libs/wlc/Manifest | 1 + |
13 |
dev-libs/wlc/wlc-0.0.9.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/wlc/Manifest b/dev-libs/wlc/Manifest |
17 |
index 7f5503464f2..d31fb7b0bff 100644 |
18 |
--- a/dev-libs/wlc/Manifest |
19 |
+++ b/dev-libs/wlc/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST wlc-0.0.7.tar.bz2 234305 SHA256 47e9b756d3fd621df913a6fbc9378c47aa8f9c3be7c2228a657a2411a7211979 SHA512 19775e965d5fc6501be4fa004955e4403859dfbcfaa99897977f4ad3a13493c08a70f7e5c77a1ab76e892c3fa855658a37082bd077287ead08240888b7fc17f0 WHIRLPOOL 57c746a5331686b112920353dff8797a6fbaaca4c6241573659a54649c6214b2224d5dd0fad202574a1358fc06b5d8dcc47c563d216ad0333347a283564cc85f |
22 |
DIST wlc-0.0.8.tar.bz2 236970 SHA256 1a7d7758028b0caa75418268f59e2290420850d0f3226ecf74316405d2c5ace5 SHA512 5ddf7dfc5115fa51ea078933b60c6e8ef9515db98f1c47d4ecfe3f49e07dbdadf2bbeb6f6002cc83d13098dee5fa7e66fcae211a58bd762ee984088aebadb779 WHIRLPOOL e99da312339bbc7b3c9c77dcec14b185132bb1216512f85e488cefc7b2b2108793fd7acaba0f172f753b4b38b7551c190758ed778514050a47262a808f86e80e |
23 |
+DIST wlc-0.0.9.tar.bz2 240932 SHA256 cc239283c1d87aff9d258e0f4dd5a3ad441d8c6e52be8204abd8694435e4c3b5 SHA512 d34a29c779a39ffb95413f26c62d545f29ed7890529296b837bb153687600582dbe927c65558923bd1614c5fe904aa9cff760c272e79c6c0eff10ba38eee895b WHIRLPOOL 002eb60fbec28fdd599996b10daaa2c2f1b15ace077e4f80bd56c906e32a51cf47a58f6c0dcbb510f333a2fcd0dccf307f5e91cc0330418b09e7d5003c4960ea |
24 |
|
25 |
diff --git a/dev-libs/wlc/wlc-0.0.9.ebuild b/dev-libs/wlc/wlc-0.0.9.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..44f42bf1f8e |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/wlc/wlc-0.0.9.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit cmake-utils |
37 |
+ |
38 |
+DESCRIPTION="A helper library for Wayland compositors" |
39 |
+HOMEPAGE="https://github.com/Cloudef/wlc" |
40 |
+ |
41 |
+SRC_URI="https://github.com/Cloudef/wlc/releases/download/v${PV}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="MIT ZLIB" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="X static-libs systemd xwayland" |
47 |
+ |
48 |
+RDEPEND="virtual/opengl |
49 |
+ virtual/libudev |
50 |
+ media-libs/mesa[wayland,gbm,gles2,egl] |
51 |
+ x11-libs/libdrm |
52 |
+ x11-libs/pixman |
53 |
+ x11-libs/libxkbcommon |
54 |
+ x11-misc/xkeyboard-config |
55 |
+ dev-libs/libinput |
56 |
+ dev-libs/wayland |
57 |
+ X? ( x11-libs/libX11 |
58 |
+ x11-libs/libxcb[xkb] |
59 |
+ x11-libs/xcb-util-image |
60 |
+ x11-libs/xcb-util-wm |
61 |
+ x11-libs/libXfixes ) |
62 |
+ xwayland? ( x11-base/xorg-server[wayland] ) |
63 |
+ systemd? ( sys-apps/systemd sys-apps/dbus )" |
64 |
+ |
65 |
+DEPEND="${RDEPEND} |
66 |
+ virtual/pkgconfig |
67 |
+ >=dev-libs/wayland-protocols-1.7" |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local mycmakeargs=( |
71 |
+ -DWLC_BUILD_EXAMPLES=OFF |
72 |
+ -DWLC_BUILD_TESTS=OFF |
73 |
+ -DWLC_BUILD_STATIC=$(usex static-libs) |
74 |
+ -DWLC_X11_SUPPORT=$(usex X) |
75 |
+ $(cmake-utils_use_find_package systemd Systemd) |
76 |
+ $(cmake-utils_use_find_package systemd Dbus) |
77 |
+ ) |
78 |
+ cmake-utils_src_configure |
79 |
+} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ if use X && ! use xwayland; then |
83 |
+ elog "xwayland use flag is required for X11 applications support" |
84 |
+ fi |
85 |
+} |