Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1459
Signed-off-by: Ian Delaney <idella4@gentoo.org>
inherit cmake-utils
-DESCRIPTION="A helper library for Wayland compositors."
+DESCRIPTION="A helper library for Wayland compositors"
HOMEPAGE="https://github.com/Cloudef/wlc"
SRC_URI="https://github.com/Cloudef/wlc/releases/download/v${PV}/${P}.tar.bz2"
cmake-utils_src_configure
}
+
+pkg_postinst() {
+ if use X && !has_version 'x11-base/xorg-server[wayland]'
+ then
+ elog "You have enabled wlc's X11 support. To use Xwayland, you must emerge"
+ elog "'x11-base/xorg-server[wayland]'."
+ fi
+}
inherit git-r3 cmake-utils
-DESCRIPTION="A helper library for Wayland compositors."
+DESCRIPTION="A helper library for Wayland compositors"
HOMEPAGE="https://github.com/Cloudef/wlc"
EGIT_REPO_URI="https://github.com/Cloudef/wlc.git"
cmake-utils_src_configure
}
+
+pkg_postinst() {
+ if use X && !has_version 'x11-base/xorg-server[wayland]'
+ then
+ elog "You have enabled wlc's X11 support. To use Xwayland, you must emerge"
+ elog "'x11-base/xorg-server[wayland]'."
+ fi
+}