summaryrefslogtreecommitdiff
path: root/gui-libs/wlroots/wlroots-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:28:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:28:05 +0100
commitf1af93971b7490792d8541bc790e0d8c6d787059 (patch)
treea38046712bbc3a3844d77452d16c84e716caa3d4 /gui-libs/wlroots/wlroots-9999.ebuild
parentfc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff)
gentoo resync : 06.08.2019
Diffstat (limited to 'gui-libs/wlroots/wlroots-9999.ebuild')
-rw-r--r--gui-libs/wlroots/wlroots-9999.ebuild30
1 files changed, 2 insertions, 28 deletions
diff --git a/gui-libs/wlroots/wlroots-9999.ebuild b/gui-libs/wlroots/wlroots-9999.ebuild
index db03b0f1e012..b9431381dd79 100644
--- a/gui-libs/wlroots/wlroots-9999.ebuild
+++ b/gui-libs/wlroots/wlroots-9999.ebuild
@@ -17,8 +17,8 @@ else
fi
LICENSE="MIT"
-SLOT="0"
-IUSE="elogind icccm rootston systemd x11-backend X"
+SLOT="0/9999"
+IUSE="elogind icccm systemd x11-backend X"
REQUIRED_USE="?? ( elogind systemd )"
DEPEND="
@@ -47,8 +47,6 @@ BDEPEND="
virtual/pkgconfig
"
-FILECAPS=( cap_sys_admin usr/bin/rootston )
-
src_configure() {
# xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?)
local emesonargs=(
@@ -57,7 +55,6 @@ src_configure() {
-Dxcb-icccm=$(usex icccm enabled disabled)
-Dxwayland=$(usex X enabled disabled)
-Dx11-backend=$(usex x11-backend enabled disabled)
- $(meson_use rootston)
"-Dexamples=false"
"-Dwerror=false"
)
@@ -72,30 +69,7 @@ src_configure() {
meson_src_configure
}
-src_install() {
- if use rootston; then
- dobin "${BUILD_DIR}"/rootston/rootston
- newdoc rootston/rootston.ini.example rootston.ini
- fi
-
- meson_src_install
-}
-
pkg_postinst() {
elog "You must be in the input group to allow your compositor"
elog "to access input devices via libinput."
- if use rootston; then
- elog ""
- elog "You should copy (and decompress) the example configuration file"
- elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini"
- elog "to the working directory from where you launch rootston"
- elog "(or pass the '-C path-to-config' option to rootston)."
- if ! use systemd && ! use elogind; then
- elog ""
- elog "If you use ConsoleKit2, remember to launch rootston using:"
- elog "exec ck-launch-session rootston"
-
- fcaps_pkg_postinst
- fi
- fi
}