Adding updates
This commit is contained in:
10
gui-libs/wlroots/Manifest
Normal file
10
gui-libs/wlroots/Manifest
Normal file
@ -0,0 +1,10 @@
|
||||
DIST wlroots-0.10.1.tar.gz 455232 BLAKE2B 0f4def61d8501b7746ccc589d59586b3641340fb7633b0c4a7b518f1b1b5285c1ee71fb629aa0a0e649c15a4ae69b5cfbc7a034c96e545765a96ddda35f10609 SHA512 e1af5a5b6484b5f4060090e13d22d699d5aaa6926e1a6b1043d2b900f88a002ed67dacf8498f23ed3008bf8a35500f415f95b3dbcf50de5da354f309f9161d58
|
||||
DIST wlroots-0.4.1.tar.gz 480127 BLAKE2B f193860ef9e0852b053270bdaa44b491a8c65a76dc01c71690f7a006eac46e606cca95675e6dec4d65487d9b98bcabb7cd12578f028a9cb9c5cd648e47754df4 SHA512 bd8863c7f285579d81b9372f1335c10eb2d0fd7b46b7589e6b2acad53fa373f2e3b549d2c31876d87d66851af0415a12a011a05953ffe2384b718db6d95cba2e
|
||||
DIST wlroots-0.5.0.tar.gz 481154 BLAKE2B 094c7c92191ea9c581debc90fa7b0117ed15328c11a098e53cec05b326e84c54481a69382ef9a592337ade370ffb55ea98b545794471808dee9f41ee9db8194f SHA512 4defecff91a6179d3a6b7d05c92c14b20c7fa69263a889869912e913a5d1e29f9fd4684f9816b03e2427a21c004d64236f35d8282e02e8d27d826442f1f8b3a7
|
||||
DIST wlroots-0.6.0.tar.gz 497934 BLAKE2B a0b631831752e533f83ed62e402ef69b0994df050fd643cf2ef89556face4a822b3936bc758b70ab160eedda8ced16c0992dc209600914095784bba97bd26ee2 SHA512 c205d4303a381e11ef2f4db2faac1ddf9ad85c675824aae9cfe62d9f8bd313f1568d4810db1d006416783b50c8364198648a46d1ba453a0d8f659d6920618286
|
||||
EBUILD wlroots-0.10.1.ebuild 2560 BLAKE2B 76b28e33dbe932fe89160a4806a46d3f1de2118ea05545d2248f3c7ddf59609bcd339dbe34673054943e7ca37360d3dec773630f0e2a4dde803062aa14facab3 SHA512 aebd49d399a8989d56bd2e08291da1af80432ec9cf642446bc5aa6f71c8c63d9f3467243fd43d216693831dfa432e1ba4be494a79b999254e6a741e730559ff6
|
||||
EBUILD wlroots-0.4.1.ebuild 2556 BLAKE2B 387bad0c2177db317674eca833112491e6a9fb78dfe1f6f652450a557bcc5ef65c575f0024b069e6b93122b94e6fc180f8d046ee4d83c2be571150458fdb8868 SHA512 4c57f85f868d258bbe8168137f4e5f639dd617ab994a93324a115ed31e3ff2dddd802bc787cada563df8df780cd7a4ad3d1a57cf2b64c6408c862ffa64178c41
|
||||
EBUILD wlroots-0.5.0.ebuild 2560 BLAKE2B 888dbb482966d512c7c448ef30061acf9bf19f311cb1cede67eb51d4969236f366980b2d13a852a6a19e5ed0dfd3969abb739796b3ba77556a70447245ec6ac2 SHA512 60e2b90b688e7e62e1a34077e5edbf07c1103da4d9198fb224b511b01a78c98011a835e6f547388646b337509f912d93ef674e919a08da2c24a6383ce74d0f21
|
||||
EBUILD wlroots-0.6.0.ebuild 2560 BLAKE2B 76b28e33dbe932fe89160a4806a46d3f1de2118ea05545d2248f3c7ddf59609bcd339dbe34673054943e7ca37360d3dec773630f0e2a4dde803062aa14facab3 SHA512 aebd49d399a8989d56bd2e08291da1af80432ec9cf642446bc5aa6f71c8c63d9f3467243fd43d216693831dfa432e1ba4be494a79b999254e6a741e730559ff6
|
||||
EBUILD wlroots-9999.ebuild 2563 BLAKE2B 3702306601cfb39e3d3e6719cfa75e6c23ee7f35814c804a4eb9997bcc004b5ff57f328d17625bd1313ca7898ee86211a3f1857c401886e39d9971443ccd478e SHA512 9c69220a61469efe672e06414dbdac04e7dbf25eb5b3e8cda4696752b0604421144b167cf5836ef413d500427edcc5a7d02dbc821027f3952bcb385cb310d6ad
|
||||
MISC metadata.xml 1682 BLAKE2B 5713fb5006f1c178ba401ff4831ff991ec1e2270bf7d7961a0727a8934cf9262654fa12b9e13cd14803a8ace50c04dcdcdd37ff6162239fb22c30c84970b1f7a SHA512 88263936158e8d423f79ac9932286674e0b7e6e50f0279cefc07fa3961cda5c65874b14029553ce8b93dd22a7715ca40b1db32d239498d144fc6c901000e5018
|
40
gui-libs/wlroots/metadata.xml
Normal file
40
gui-libs/wlroots/metadata.xml
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bman@gentoo.org</email>
|
||||
<name>Aaron Bauman</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>speedjack95@gmail.com</email>
|
||||
<name>Niccolò Scatena</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Pluggable, composable, unopinionated modules for building a Wayland
|
||||
compositor.
|
||||
|
||||
wlroots implements a huge variety of Wayland compositor features and
|
||||
implements them right. By using wlroots, you get high performance,
|
||||
excellent hardware compatibility, broad support for many wayland
|
||||
interfaces, and comfortable development tools.
|
||||
|
||||
wlroots is developed under the direction of the <pkg>dev-libs/sway</pkg> project.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="elogind">Enable support for rootless session via elogind</flag>
|
||||
<flag name="icccm">Use xcb-icccm (from <pkg>x11-libs/xcb-util-wm</pkg>) util library for improved Xwayland introspection</flag>
|
||||
<flag name="rootston">Build the rootston example compositor</flag>
|
||||
<flag name="x11-backend">Enable support for handling input/output devices through <pkg>x11-libs/libxcb</pkg></flag>
|
||||
<flag name="X">Enable support for X11 applications (XWayland)</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">swaywm/wlroots</remote-id>
|
||||
<maintainer status="active">
|
||||
<email>sir@cmpwn.com</email>
|
||||
<name>Drew DeVault</name>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/swaywm/wlroots/issues</bugs-to>
|
||||
<doc>https://github.com/swaywm/wlroots/wiki</doc>
|
||||
<changelog>https://github.com/swaywm/wlroots/releases</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
101
gui-libs/wlroots/wlroots-0.10.1.ebuild
Normal file
101
gui-libs/wlroots/wlroots-0.10.1.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps meson
|
||||
|
||||
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
|
||||
HOMEPAGE="https://github.com/swaywm/wlroots"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind icccm rootston systemd x11-backend X"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libinput-1.9.0:0=
|
||||
>=dev-libs/wayland-1.17.0
|
||||
media-libs/mesa[egl,gles2,gbm]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
icccm? ( x11-libs/xcb-util-wm )
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
x11-backend? ( x11-libs/libxcb:0= )
|
||||
X? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/libxcb:0=
|
||||
x11-libs/xcb-util-image
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
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=(
|
||||
"-Dxcb-errors=disabled"
|
||||
-Dlibcap=$(usex filecaps enabled disabled)
|
||||
-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"
|
||||
)
|
||||
if use systemd; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|
||||
elif use elogind; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
|
||||
else
|
||||
emesonargs+=("-Dlogind=disabled")
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
101
gui-libs/wlroots/wlroots-0.4.1.ebuild
Normal file
101
gui-libs/wlroots/wlroots-0.4.1.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps meson
|
||||
|
||||
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
|
||||
HOMEPAGE="https://github.com/swaywm/wlroots"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind icccm rootston systemd x11-backend X"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libinput-1.7.0:0=
|
||||
>=dev-libs/wayland-1.16.0
|
||||
media-libs/mesa[egl,gles2,gbm]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
icccm? ( x11-libs/xcb-util-wm )
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
x11-backend? ( x11-libs/libxcb:0= )
|
||||
X? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/libxcb:0=
|
||||
x11-libs/xcb-util-image
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
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=(
|
||||
"-Dxcb-errors=disabled"
|
||||
-Dlibcap=$(usex filecaps enabled disabled)
|
||||
-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"
|
||||
)
|
||||
if use systemd; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|
||||
elif use elogind; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
|
||||
else
|
||||
emesonargs+=("-Dlogind=disabled")
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
101
gui-libs/wlroots/wlroots-0.5.0.ebuild
Normal file
101
gui-libs/wlroots/wlroots-0.5.0.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps meson
|
||||
|
||||
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
|
||||
HOMEPAGE="https://github.com/swaywm/wlroots"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind icccm rootston systemd x11-backend X"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libinput-1.7.0:0=
|
||||
>=dev-libs/wayland-1.16.0
|
||||
media-libs/mesa[egl,gles2,gbm]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
icccm? ( x11-libs/xcb-util-wm )
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
x11-backend? ( x11-libs/libxcb:0= )
|
||||
X? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/libxcb:0=
|
||||
x11-libs/xcb-util-image
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
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=(
|
||||
"-Dxcb-errors=disabled"
|
||||
-Dlibcap=$(usex filecaps enabled disabled)
|
||||
-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"
|
||||
)
|
||||
if use systemd; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|
||||
elif use elogind; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
|
||||
else
|
||||
emesonargs+=("-Dlogind=disabled")
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
101
gui-libs/wlroots/wlroots-0.6.0.ebuild
Normal file
101
gui-libs/wlroots/wlroots-0.6.0.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps meson
|
||||
|
||||
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
|
||||
HOMEPAGE="https://github.com/swaywm/wlroots"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind icccm rootston systemd x11-backend X"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libinput-1.9.0:0=
|
||||
>=dev-libs/wayland-1.17.0
|
||||
media-libs/mesa[egl,gles2,gbm]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
icccm? ( x11-libs/xcb-util-wm )
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
x11-backend? ( x11-libs/libxcb:0= )
|
||||
X? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/libxcb:0=
|
||||
x11-libs/xcb-util-image
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
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=(
|
||||
"-Dxcb-errors=disabled"
|
||||
-Dlibcap=$(usex filecaps enabled disabled)
|
||||
-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"
|
||||
)
|
||||
if use systemd; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|
||||
elif use elogind; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
|
||||
else
|
||||
emesonargs+=("-Dlogind=disabled")
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
101
gui-libs/wlroots/wlroots-9999.ebuild
Normal file
101
gui-libs/wlroots/wlroots-9999.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps meson
|
||||
|
||||
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
|
||||
HOMEPAGE="https://github.com/swaywm/wlroots"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind icccm rootston systemd x11-backend X"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libinput-1.9.0:0=
|
||||
>=dev-libs/wayland-1.17.0
|
||||
media-libs/mesa[egl,gles2,gbm]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
icccm? ( x11-libs/xcb-util-wm )
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
x11-backend? ( x11-libs/libxcb:0= )
|
||||
X? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/libxcb:0=
|
||||
x11-libs/xcb-util-image
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
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=(
|
||||
"-Dxcb-errors=disabled"
|
||||
-Dlibcap=$(usex filecaps enabled disabled)
|
||||
-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"
|
||||
)
|
||||
if use systemd; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|
||||
elif use elogind; then
|
||||
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
|
||||
else
|
||||
emesonargs+=("-Dlogind=disabled")
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user