1 |
commit: 376ba4d80669b517dc0c1f168366f3f34f955f0f |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 7 19:59:42 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 17:51:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=376ba4d8 |
7 |
|
8 |
dev-libs/wlc: version bump to 0.0.5. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/2040 |
11 |
|
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
dev-libs/wlc/Manifest | 1 + |
15 |
dev-libs/wlc/wlc-0.0.5.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 61 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/wlc/Manifest b/dev-libs/wlc/Manifest |
19 |
index c98c3a5..54e1db3 100644 |
20 |
--- a/dev-libs/wlc/Manifest |
21 |
+++ b/dev-libs/wlc/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST wlc-0.0.3.tar.bz2 206972 SHA256 086556f97e635469afd1f73e191ac57c888925f4480d526346946350273ebb3f SHA512 e1e3c7d80d8888a8fe3102e8ea891d4c52fa160f99fdb3fb837c6ff69ef3468ca2ec2b1f850cfac3d64a7df0e426f1113963395a562ef252c096af48b55c99d4 WHIRLPOOL c59b51b37a6fe9bcc580cd3aa4ecae224f680be507a160a0cb88d5ce68de1c31fedd1e236e8a19c84175364aa26987f1b053b4d41fee2ecd5b1f9d470da544fa |
24 |
+DIST wlc-0.0.5.tar.bz2 207900 SHA256 17aa8e8f4beb62b630433dd69247f272caf0575d2638726cfc1808a4239db136 SHA512 d5d0f299e713306b6c08e78b87ab8eaf9ff974aedd29b353c0db5a1a23602248306e7cd1918136f95663726fa028aa531bd496a7f24f5eaba8ba309e9af801f7 WHIRLPOOL 04f46251eac5dc21ec3071d46020819330452f61f7d60f4b9a3ac44104d0da8e65a8cd073d4a74968cb0bbf3eab57d13a62a09fd942a45157b470c2a89f742bc |
25 |
|
26 |
diff --git a/dev-libs/wlc/wlc-0.0.5.ebuild b/dev-libs/wlc/wlc-0.0.5.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..5e48480 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/wlc/wlc-0.0.5.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit cmake-utils |
39 |
+ |
40 |
+DESCRIPTION="A helper library for Wayland compositors" |
41 |
+HOMEPAGE="https://github.com/Cloudef/wlc" |
42 |
+ |
43 |
+SRC_URI="https://github.com/Cloudef/wlc/releases/download/v${PV}/${P}.tar.bz2" |
44 |
+ |
45 |
+LICENSE="MIT ZLIB" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="X static-libs systemd" |
49 |
+ |
50 |
+RDEPEND="virtual/opengl |
51 |
+ media-libs/mesa[wayland,gbm,gles2,egl] |
52 |
+ x11-libs/libdrm |
53 |
+ x11-libs/pixman |
54 |
+ x11-libs/libxkbcommon |
55 |
+ x11-misc/xkeyboard-config |
56 |
+ dev-libs/libinput |
57 |
+ dev-libs/wayland |
58 |
+ X? ( x11-libs/libX11 |
59 |
+ x11-libs/libxcb |
60 |
+ x11-libs/xcb-util-image |
61 |
+ x11-libs/xcb-util-wm |
62 |
+ x11-libs/libXfixes ) |
63 |
+ systemd? ( sys-apps/systemd sys-apps/dbus )" |
64 |
+ |
65 |
+DEPEND="${RDEPEND} |
66 |
+ virtual/pkgconfig |
67 |
+ dev-libs/wayland-protocols" |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local mycmakeargs=( |
71 |
+ -DWLC_BUILD_EXAMPLES=OFF |
72 |
+ -DWLC_BUILD_TESTS=OFF |
73 |
+ |
74 |
+ -DWLC_BUILD_STATIC=$(usex static-libs) |
75 |
+ |
76 |
+ -DWLC_X11_SUPPORT=$(usex X) |
77 |
+ |
78 |
+ $(cmake-utils_use_find_package systemd Systemd) |
79 |
+ $(cmake-utils_use_find_package systemd Dbus) |
80 |
+ ) |
81 |
+ |
82 |
+ cmake-utils_src_configure |
83 |
+} |
84 |
+ |
85 |
+pkg_postinst() { |
86 |
+ if use X && !has_version 'x11-base/xorg-server[wayland]' |
87 |
+ then |
88 |
+ elog "You have enabled wlc's X11 support. To use Xwayland, you must emerge" |
89 |
+ elog "'x11-base/xorg-server[wayland]'." |
90 |
+ fi |
91 |
+} |