summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasen Borisov <tajjada@gmail.com>2016-07-04 09:50:31 +0300
committerGöktürk Yüksek <gokturk@gentoo.org>2016-07-07 22:52:07 -0400
commit9fa1f6828f5af35745fbf59cd58b62f86bf13de7 (patch)
tree0197f69e7143ef842815edc520502085db6702da /dev-libs/wlc
parentnet-misc/networkmanager: Fix build for non-native arches (diff)
downloadgentoo-9fa1f6828f5af35745fbf59cd58b62f86bf13de7.tar.gz
gentoo-9fa1f6828f5af35745fbf59cd58b62f86bf13de7.tar.bz2
gentoo-9fa1f6828f5af35745fbf59cd58b62f86bf13de7.zip
dev-libs/wlc: fix missing RDEPEND and X configuration
Gentoo-Bug: 584462 Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/wlc')
-rw-r--r--dev-libs/wlc/wlc-0.0.3-r1.ebuild (renamed from dev-libs/wlc/wlc-0.0.3.ebuild)7
-rw-r--r--dev-libs/wlc/wlc-9999.ebuild3
2 files changed, 6 insertions, 4 deletions
diff --git a/dev-libs/wlc/wlc-0.0.3.ebuild b/dev-libs/wlc/wlc-0.0.3-r1.ebuild
index 71e2e7872a0e..220b06b29cf4 100644
--- a/dev-libs/wlc/wlc-0.0.3.ebuild
+++ b/dev-libs/wlc/wlc-0.0.3-r1.ebuild
@@ -21,6 +21,7 @@ RDEPEND="virtual/opengl
x11-libs/libdrm
x11-libs/pixman
x11-libs/libxkbcommon
+ x11-misc/xkeyboard-config
dev-libs/libinput
dev-libs/wayland
X? ( x11-libs/libX11
@@ -32,7 +33,7 @@ RDEPEND="virtual/opengl
DEPEND="${RDEPEND}
virtual/pkgconfig
- dev-libs/wayland-protocols"
+ dev-libs/wayland-protocols"
src_configure() {
local mycmakeargs=(
@@ -41,10 +42,10 @@ src_configure() {
-DWLC_BUILD_STATIC=$(usex static-libs)
+ -DWLC_X11_SUPPORT=$(usex X)
+
$(cmake-utils_use_find_package systemd Systemd)
$(cmake-utils_use_find_package systemd Dbus)
- $(cmake-utils_use_find_package X X11)
- $(cmake-utils_use_find_package X XCB)
)
cmake-utils_src_configure
diff --git a/dev-libs/wlc/wlc-9999.ebuild b/dev-libs/wlc/wlc-9999.ebuild
index 84647c88fc61..5a3e040fbf84 100644
--- a/dev-libs/wlc/wlc-9999.ebuild
+++ b/dev-libs/wlc/wlc-9999.ebuild
@@ -21,6 +21,7 @@ RDEPEND="virtual/opengl
x11-libs/libdrm
x11-libs/pixman
x11-libs/libxkbcommon
+ x11-misc/xkeyboard-config
dev-libs/libinput
dev-libs/wayland
X? ( x11-libs/libX11
@@ -32,7 +33,7 @@ RDEPEND="virtual/opengl
DEPEND="${RDEPEND}
virtual/pkgconfig
- dev-libs/wayland-protocols"
+ dev-libs/wayland-protocols"
src_configure() {
local mycmakeargs=(