Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wlc/
Date: Sun, 12 Nov 2017 18:01:42
Message-Id: 1510509685.6986ba508aec1d3901bf7294e04102ba0ad3df50.monsieurp@gentoo
1 commit: 6986ba508aec1d3901bf7294e04102ba0ad3df50
2 Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
3 AuthorDate: Thu Nov 9 23:26:00 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 12 18:01:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6986ba50
7
8 dev-libs/wlc: version bump to 0.0.11.
9
10 Closes: https://github.com/gentoo/gentoo/pull/6158
11
12 dev-libs/wlc/Manifest | 1 +
13 dev-libs/wlc/wlc-0.0.11.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/dev-libs/wlc/Manifest b/dev-libs/wlc/Manifest
17 index 9199ccb732a..0c6855f9df1 100644
18 --- a/dev-libs/wlc/Manifest
19 +++ b/dev-libs/wlc/Manifest
20 @@ -1,2 +1,3 @@
21 DIST wlc-0.0.10.tar.bz2 249721 SHA256 f8273940eaceb0661d365d284aceef7cb0ca83e641b7722d818dcac464fb0b01 SHA512 93474b04aad6534d850d9666cb7ba2b588d8beda89d785de1d569951e3c410ec66da84cdaab5e99060e61360b9bdffa96226f20e1d1e906873edc6850c34500c WHIRLPOOL d76c2d4571146939cf935dabbd8a2fe0bbfce3f832c4baffa057fdd1de636c989cb07d63db0fba88fb4d351f097e97b7a6262befb6a50d1bd4554685662a164c
22 +DIST wlc-0.0.11.tar.bz2 247642 SHA256 c2061f5d6c627688ea8b822ac5f4d3ba4d407b3f8d79267677ce4011b6390d22 SHA512 29e7d734cee76b9d0d1fabac71bab33a7146fec8557e583be2d0e85413fa77ed938f23f3bc8728f1f0766239d5eb023ace52abb9b78d40ce1edf876185a60ea5 WHIRLPOOL 33bcafab5955005c691315f133b1805d2ab067eba305b9378a43885e264627fc2a3f926f2aab3867ef59e8e58fa8dac8fb1dd52f5c8a16c2b30721b42b40c1f2
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.11.ebuild b/dev-libs/wlc/wlc-0.0.11.ebuild
26 new file mode 100644
27 index 00000000000..dfd3d6fd8a5
28 --- /dev/null
29 +++ b/dev-libs/wlc/wlc-0.0.11.ebuild
30 @@ -0,0 +1,66 @@
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? (
58 + x11-libs/libX11
59 + x11-libs/libxcb[xkb]
60 + x11-libs/xcb-util-image
61 + x11-libs/xcb-util-wm
62 + x11-libs/libXfixes
63 + )
64 + xwayland? (
65 + x11-libs/libxcb[xkb]
66 + x11-libs/xcb-util-image
67 + x11-libs/xcb-util-wm
68 + x11-base/xorg-server[wayland]
69 + )
70 + systemd? ( sys-apps/systemd sys-apps/dbus )"
71 +
72 +DEPEND="${RDEPEND}
73 + virtual/pkgconfig
74 + >=dev-libs/wayland-protocols-1.7"
75 +
76 +src_configure() {
77 + local mycmakeargs=(
78 + -DWLC_BUILD_EXAMPLES=OFF
79 + -DWLC_BUILD_TESTS=OFF
80 +
81 + -DWLC_BUILD_STATIC=$(usex static-libs)
82 +
83 + -DWLC_X11_BACKEND_SUPPORT=$(usex X)
84 + -DWLC_XWAYLAND_SUPPORT=$(usex xwayland)
85 +
86 + $(cmake-utils_use_find_package systemd Systemd)
87 + $(cmake-utils_use_find_package systemd Dbus)
88 + )
89 + cmake-utils_src_configure
90 +}
91 +
92 +pkg_postinst() {
93 + if use X && ! use xwayland; then
94 + elog "xwayland use flag is required for X11 applications support"
95 + fi
96 +}