Adding updates
This commit is contained in:
parent
807a967cde
commit
e17391b07f
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
|
||||||
|
}
|
8
gui-wm/sway/Manifest
Normal file
8
gui-wm/sway/Manifest
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
DIST sway-1.0.tar.gz 5474548 BLAKE2B bea0a72c374b75f027e466d83e8c06abe32205e0cda80776b0e48e327a6da4e965a6a575595e5a38bcb125294c509b5d9a1db17604dd9e9032acef404366bdb9 SHA512 57e2610244c8bcd2b09bb5396113176d118ee5a0688aea297d4c191eda70ce29b36ff64e05c57d1a32a31cc4f2ac2562fd3cb3890508a8f3c7cbcb9fb017171d
|
||||||
|
DIST sway-1.1.1.tar.gz 5480615 BLAKE2B 2cc55535a030d5d057c332a8b2647f394ec8f08a3a5aebe48e0bd21da718eac23bdbcc5a2ce26624efb9360518e5f14eaafe406e1c7d9b3eb81621bab7b6c39c SHA512 2585446ca0936df41c7959b6b48487b25c86f1a8a3bedcd146aab023a873a416ce750698e3cabcd9cb861e35bbd7e280574ff477152906669af9b17d3e54028e
|
||||||
|
DIST sway-1.4.tar.gz 5514489 BLAKE2B 31eb1aee32079e643cc7a0263a097000c089e36916ea2a681e1ec696f8329e7ecfe3c8a981ec3b6d4e3dd99c8e263b2c208dbe602308d6bdaf4cdabbb3c10971 SHA512 3b280bdfdbdae8fb9b4f555bc630c64e7c1d09f7b2c783b99413863a6b620d50cd2b6d10d63e11fdfb9c678fce9a403228ac52fa69fb52561ffbd06790505a71
|
||||||
|
EBUILD sway-1.0.ebuild 3085 BLAKE2B 62c575e078c9078faca0d58cc0adc18fd52b10f648fdf6cc8cc18b5080fc8844d92a7bdf80141c03bae5d1dac8ccc62b0f263a05b82a407d4ee3e25c573470b5 SHA512 10aeba287ad9113010d60b1e07af1ba6291c575109f89c9501bd42370e8bc1afb148bb6604d95048b4d390b9d66213249c25b5f8867599e5cdce53db0967550b
|
||||||
|
EBUILD sway-1.1.1.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68
|
||||||
|
EBUILD sway-1.4.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68
|
||||||
|
EBUILD sway-9999.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68
|
||||||
|
MISC metadata.xml 2486 BLAKE2B 2d34da83a8d8726b91189d27a400e705a1b0259a1ca577a85e7c21784274a08a0adccc134cd523e193f8635b26dcb1802e37bfa1831f58c922285341b1eadd5e SHA512 9d382307136a126a614a8361828cb018865243b1a8c2a4dd08fbd484afc53320abf6d64dd82dd93a47d8de284552f1857c028c6c72db06199152e1458b636ec0
|
56
gui-wm/sway/metadata.xml
Normal file
56
gui-wm/sway/metadata.xml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?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>prometheanfire@gentoo.org</email>
|
||||||
|
<name>Matthew Thode</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>hilobakho@gmail.com</email>
|
||||||
|
<name>Mykyta Holubakha</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>speedjack95@gmail.com</email>
|
||||||
|
<name>Niccolò Scatena</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
"SirCmpwn's Wayland window manager" is an i3-compatible window manager
|
||||||
|
for Wayland.
|
||||||
|
|
||||||
|
sway was created to fill the need of an i3-like window manager for
|
||||||
|
Wayland. The upstream i3 developers have no intention of porting i3 to
|
||||||
|
Wayland, and projects proposed by others ended up as vaporware. Many
|
||||||
|
thanks to the i3 folks for providing such a great piece of software, so
|
||||||
|
good that your users would rather write an entirely new window manager
|
||||||
|
from scratch that behaved *exactly* like i3 rather than switch to
|
||||||
|
something else.
|
||||||
|
</longdescription>
|
||||||
|
<use>
|
||||||
|
<flag name="elogind">Enable support for rootless session via elogind</flag>
|
||||||
|
<flag name="fish-completion">Enable fish completion support</flag>
|
||||||
|
<flag name="man">Build and install man pages</flag>
|
||||||
|
<flag name="swaybar">Install 'swaybar': sway's status bar component</flag>
|
||||||
|
<flag name="swaybg">Install 'swaybg': allows to set a desktop background image</flag>
|
||||||
|
<flag name="swayidle">Install 'swayidle': idle manager to run commands when user is inactive</flag>
|
||||||
|
<flag name="swaylock">Install 'swaylock': sway's screen locker</flag>
|
||||||
|
<flag name="swaymsg">Install 'swaymsg': tool for communicating with a running sway instance</flag>
|
||||||
|
<flag name="swaynag">Install 'swaynag': shows a message with buttons</flag>
|
||||||
|
<flag name="tray">Enable support for StatusNotifierItem tray specification</flag>
|
||||||
|
<flag name="wallpapers">Install sway's default wallpaper image</flag>
|
||||||
|
<flag name="X">Enable support for X11 applications (XWayland)</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">swaywm/sway</remote-id>
|
||||||
|
<maintainer status="active">
|
||||||
|
<email>sir@cmpwn.com</email>
|
||||||
|
<name>Drew DeVault</name>
|
||||||
|
</maintainer>
|
||||||
|
<bugs-to>https://github.com/swaywm/sway/issues</bugs-to>
|
||||||
|
<doc>https://github.com/swaywm/sway/wiki</doc>
|
||||||
|
<changelog>https://github.com/swaywm/sway/releases</changelog>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
114
gui-wm/sway/sway-1.0.ebuild
Normal file
114
gui-wm/sway/sway-1.0.ebuild
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit eutils meson
|
||||||
|
|
||||||
|
DESCRIPTION="i3-compatible Wayland window manager"
|
||||||
|
HOMEPAGE="https://swaywm.org"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||||
|
else
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="amd64 arm64 x86"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion"
|
||||||
|
REQUIRED_USE="?? ( elogind systemd )
|
||||||
|
tray? ( || ( elogind systemd ) )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/json-c-0.13:0=
|
||||||
|
>=dev-libs/libinput-1.6.0:0=
|
||||||
|
dev-libs/libpcre
|
||||||
|
dev-libs/wayland
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/libxkbcommon
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pixman
|
||||||
|
elogind? ( >=sys-auth/elogind-239 )
|
||||||
|
swaybar? ( x11-libs/gdk-pixbuf:2 )
|
||||||
|
swaybg? ( x11-libs/gdk-pixbuf:2 )
|
||||||
|
swayidle? ( gui-apps/swayidle )
|
||||||
|
swaylock? ( gui-apps/swaylock )
|
||||||
|
systemd? ( >=sys-apps/systemd-239 )
|
||||||
|
X? ( x11-libs/libxcb:0= )
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]"
|
||||||
|
else
|
||||||
|
DEPEND+=">=gui-libs/wlroots-0.5.0[elogind=,systemd=,X=]
|
||||||
|
<gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]"
|
||||||
|
fi
|
||||||
|
RDEPEND="
|
||||||
|
x11-misc/xkeyboard-config
|
||||||
|
${DEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-libs/wayland-protocols-1.14
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
BDEPEND+="man? ( ~app-text/scdoc-9999 )"
|
||||||
|
else
|
||||||
|
BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die
|
||||||
|
use swaybg || sed -e "s/subdir('swaybg')//g" -i meson.build || die
|
||||||
|
use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die
|
||||||
|
use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dman-pages=$(usex man enabled disabled)
|
||||||
|
-Dtray=$(usex tray enabled disabled)
|
||||||
|
-Dxwayland=$(usex X enabled disabled)
|
||||||
|
$(meson_use wallpapers default-wallpaper)
|
||||||
|
$(meson_use fish-completion fish-completions)
|
||||||
|
$(meson_use zsh-completion zsh-completions)
|
||||||
|
"-Dbash-completions=true"
|
||||||
|
"-Dwerror=false"
|
||||||
|
)
|
||||||
|
|
||||||
|
if use swaybar || use swaybg; then
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=enabled")
|
||||||
|
else
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=disabled")
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
fowners root:0 /usr/bin/sway
|
||||||
|
fperms 4511 /usr/bin/sway
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
elog ""
|
||||||
|
elog "If you use ConsoleKit2, remember to launch sway using:"
|
||||||
|
elog "exec ck-launch-session sway"
|
||||||
|
elog ""
|
||||||
|
elog "If your system does not set the XDG_RUNTIME_DIR environment"
|
||||||
|
elog "variable, you must set it manually to run Sway. See wiki"
|
||||||
|
elog "for details: https://wiki.gentoo.org/wiki/Sway"
|
||||||
|
fi
|
||||||
|
}
|
112
gui-wm/sway/sway-1.1.1.ebuild
Normal file
112
gui-wm/sway/sway-1.1.1.ebuild
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit eutils meson
|
||||||
|
|
||||||
|
DESCRIPTION="i3-compatible Wayland window manager"
|
||||||
|
HOMEPAGE="https://swaywm.org"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||||
|
else
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion"
|
||||||
|
REQUIRED_USE="?? ( elogind systemd )
|
||||||
|
tray? ( || ( elogind systemd ) )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/json-c-0.13:0=
|
||||||
|
>=dev-libs/libinput-1.6.0:0=
|
||||||
|
dev-libs/libpcre
|
||||||
|
dev-libs/wayland
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/libxkbcommon
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pixman
|
||||||
|
elogind? ( >=sys-auth/elogind-239 )
|
||||||
|
swaybar? ( x11-libs/gdk-pixbuf:2 )
|
||||||
|
swaybg? ( gui-apps/swaybg )
|
||||||
|
swayidle? ( gui-apps/swayidle )
|
||||||
|
swaylock? ( gui-apps/swaylock )
|
||||||
|
systemd? ( >=sys-apps/systemd-239 )
|
||||||
|
X? ( x11-libs/libxcb:0= )
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]"
|
||||||
|
else
|
||||||
|
DEPEND+=">=gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]"
|
||||||
|
fi
|
||||||
|
RDEPEND="
|
||||||
|
x11-misc/xkeyboard-config
|
||||||
|
${DEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-libs/wayland-protocols-1.14
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
BDEPEND+="man? ( ~app-text/scdoc-9999 )"
|
||||||
|
else
|
||||||
|
BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die
|
||||||
|
use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die
|
||||||
|
use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dman-pages=$(usex man enabled disabled)
|
||||||
|
-Dtray=$(usex tray enabled disabled)
|
||||||
|
-Dxwayland=$(usex X enabled disabled)
|
||||||
|
$(meson_use wallpapers default-wallpaper)
|
||||||
|
$(meson_use fish-completion fish-completions)
|
||||||
|
$(meson_use zsh-completion zsh-completions)
|
||||||
|
"-Dbash-completions=true"
|
||||||
|
"-Dwerror=false"
|
||||||
|
)
|
||||||
|
|
||||||
|
if use swaybar; then
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=enabled")
|
||||||
|
else
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=disabled")
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
fowners root:0 /usr/bin/sway
|
||||||
|
fperms 4511 /usr/bin/sway
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
elog ""
|
||||||
|
elog "If you use ConsoleKit2, remember to launch sway using:"
|
||||||
|
elog "exec ck-launch-session sway"
|
||||||
|
elog ""
|
||||||
|
elog "If your system does not set the XDG_RUNTIME_DIR environment"
|
||||||
|
elog "variable, you must set it manually to run Sway. See wiki"
|
||||||
|
elog "for details: https://wiki.gentoo.org/wiki/Sway"
|
||||||
|
fi
|
||||||
|
}
|
112
gui-wm/sway/sway-1.4.ebuild
Normal file
112
gui-wm/sway/sway-1.4.ebuild
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit eutils meson
|
||||||
|
|
||||||
|
DESCRIPTION="i3-compatible Wayland window manager"
|
||||||
|
HOMEPAGE="https://swaywm.org"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||||
|
else
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion"
|
||||||
|
REQUIRED_USE="?? ( elogind systemd )
|
||||||
|
tray? ( || ( elogind systemd ) )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/json-c-0.13:0=
|
||||||
|
>=dev-libs/libinput-1.6.0:0=
|
||||||
|
dev-libs/libpcre
|
||||||
|
dev-libs/wayland
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/libxkbcommon
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pixman
|
||||||
|
elogind? ( >=sys-auth/elogind-239 )
|
||||||
|
swaybar? ( x11-libs/gdk-pixbuf:2 )
|
||||||
|
swaybg? ( gui-apps/swaybg )
|
||||||
|
swayidle? ( gui-apps/swayidle )
|
||||||
|
swaylock? ( gui-apps/swaylock )
|
||||||
|
systemd? ( >=sys-apps/systemd-239 )
|
||||||
|
X? ( x11-libs/libxcb:0= )
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]"
|
||||||
|
else
|
||||||
|
DEPEND+=">=gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]"
|
||||||
|
fi
|
||||||
|
RDEPEND="
|
||||||
|
x11-misc/xkeyboard-config
|
||||||
|
${DEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-libs/wayland-protocols-1.14
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
BDEPEND+="man? ( ~app-text/scdoc-9999 )"
|
||||||
|
else
|
||||||
|
BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die
|
||||||
|
use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die
|
||||||
|
use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dman-pages=$(usex man enabled disabled)
|
||||||
|
-Dtray=$(usex tray enabled disabled)
|
||||||
|
-Dxwayland=$(usex X enabled disabled)
|
||||||
|
$(meson_use wallpapers default-wallpaper)
|
||||||
|
$(meson_use fish-completion fish-completions)
|
||||||
|
$(meson_use zsh-completion zsh-completions)
|
||||||
|
"-Dbash-completions=true"
|
||||||
|
"-Dwerror=false"
|
||||||
|
)
|
||||||
|
|
||||||
|
if use swaybar; then
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=enabled")
|
||||||
|
else
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=disabled")
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
fowners root:0 /usr/bin/sway
|
||||||
|
fperms 4511 /usr/bin/sway
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
elog ""
|
||||||
|
elog "If you use ConsoleKit2, remember to launch sway using:"
|
||||||
|
elog "exec ck-launch-session sway"
|
||||||
|
elog ""
|
||||||
|
elog "If your system does not set the XDG_RUNTIME_DIR environment"
|
||||||
|
elog "variable, you must set it manually to run Sway. See wiki"
|
||||||
|
elog "for details: https://wiki.gentoo.org/wiki/Sway"
|
||||||
|
fi
|
||||||
|
}
|
112
gui-wm/sway/sway-9999.ebuild
Normal file
112
gui-wm/sway/sway-9999.ebuild
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit eutils meson
|
||||||
|
|
||||||
|
DESCRIPTION="i3-compatible Wayland window manager"
|
||||||
|
HOMEPAGE="https://swaywm.org"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
||||||
|
else
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion"
|
||||||
|
REQUIRED_USE="?? ( elogind systemd )
|
||||||
|
tray? ( || ( elogind systemd ) )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/json-c-0.13:0=
|
||||||
|
>=dev-libs/libinput-1.6.0:0=
|
||||||
|
dev-libs/libpcre
|
||||||
|
dev-libs/wayland
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/libxkbcommon
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pixman
|
||||||
|
elogind? ( >=sys-auth/elogind-239 )
|
||||||
|
swaybar? ( x11-libs/gdk-pixbuf:2 )
|
||||||
|
swaybg? ( gui-apps/swaybg )
|
||||||
|
swayidle? ( gui-apps/swayidle )
|
||||||
|
swaylock? ( gui-apps/swaylock )
|
||||||
|
systemd? ( >=sys-apps/systemd-239 )
|
||||||
|
X? ( x11-libs/libxcb:0= )
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]"
|
||||||
|
else
|
||||||
|
DEPEND+=">=gui-libs/wlroots-0.6.0[elogind=,systemd=,X=]"
|
||||||
|
fi
|
||||||
|
RDEPEND="
|
||||||
|
x11-misc/xkeyboard-config
|
||||||
|
${DEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-libs/wayland-protocols-1.14
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
BDEPEND+="man? ( ~app-text/scdoc-9999 )"
|
||||||
|
else
|
||||||
|
BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use swaybar || sed -e "s/subdir('swaybar')//g" -e "/sway-bar.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaybar/d" -i meson.build || die
|
||||||
|
use swaymsg || sed -e "s/subdir('swaymsg')//g" -e "/swaymsg.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaymsg/d" -i meson.build || die
|
||||||
|
use swaynag || sed -e "s/subdir('swaynag')//g" -e "/swaynag.[0-9].scd/d" \
|
||||||
|
-e "/completions\/[a-z]\+\/_\?swaynag/d" -i meson.build || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dman-pages=$(usex man enabled disabled)
|
||||||
|
-Dtray=$(usex tray enabled disabled)
|
||||||
|
-Dxwayland=$(usex X enabled disabled)
|
||||||
|
$(meson_use wallpapers default-wallpaper)
|
||||||
|
$(meson_use fish-completion fish-completions)
|
||||||
|
$(meson_use zsh-completion zsh-completions)
|
||||||
|
"-Dbash-completions=true"
|
||||||
|
"-Dwerror=false"
|
||||||
|
)
|
||||||
|
|
||||||
|
if use swaybar; then
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=enabled")
|
||||||
|
else
|
||||||
|
emesonargs+=("-Dgdk-pixbuf=disabled")
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
fowners root:0 /usr/bin/sway
|
||||||
|
fperms 4511 /usr/bin/sway
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
elog ""
|
||||||
|
elog "If you use ConsoleKit2, remember to launch sway using:"
|
||||||
|
elog "exec ck-launch-session sway"
|
||||||
|
elog ""
|
||||||
|
elog "If your system does not set the XDG_RUNTIME_DIR environment"
|
||||||
|
elog "variable, you must set it manually to run Sway. See wiki"
|
||||||
|
elog "for details: https://wiki.gentoo.org/wiki/Sway"
|
||||||
|
fi
|
||||||
|
}
|
2
media-video/pipewire/Manifest
Normal file
2
media-video/pipewire/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST pipewire-0.3.6.tar.gz 968858 BLAKE2B 342b935ce1f68282cb6a1684855c7efacf24759359ca2079aade27b7d7d2699135e07c1e52afefb8924d9c8274b4cdbda98cc6c19d8aa0bf14b7202c0e0923f4 SHA512 a8d67bb6135432705d6de026074325f0cae7f01e3fe0b65fa7dafb128e5984ce126f8b4635bfbd9746777514df6f0880a78149fd007c7c1432ac29f95655ddcc
|
||||||
|
EBUILD pipewire-0.3.6.ebuild 1165 BLAKE2B 2fa6b7d78fc5d6da221a70870fab7a2f1b114e9ac1b7ec50af8026c5307ead0531f0671500eab7f09cc3111d53fc4b5039204ed199b5f11a7c8718c3138d718f SHA512 7a4ab2244fe610d9711eaca5c56fbd7776e579f4f2fe2df3ef32a65b9221655c122042627ff451605fdda47b34e5fbfee4ee349f540ea4f5735fd2cf3a9890c5
|
60
media-video/pipewire/pipewire-0.3.6.ebuild
Normal file
60
media-video/pipewire/pipewire-0.3.6.ebuild
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit meson
|
||||||
|
|
||||||
|
MY_PV="${PV%_*}"
|
||||||
|
MY_P="${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
DESCRIPTION="Multimedia processing graphs"
|
||||||
|
HOMEPAGE="http://pipewire.org/"
|
||||||
|
SRC_URI="https://github.com/PipeWire/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="*"
|
||||||
|
|
||||||
|
IUSE="docs examples ffmpeg gstreamer jack pulseaudio systemd"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/sbc
|
||||||
|
media-video/ffmpeg:=
|
||||||
|
jack? ( >=media-sound/jack2-1.9.10 )
|
||||||
|
pulseaudio? ( >=media-sound/pulseaudio-11.1 )
|
||||||
|
sys-apps/dbus
|
||||||
|
virtual/libudev
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0
|
||||||
|
media-libs/gst-plugins-base:1.0
|
||||||
|
)
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
media-libs/vulkan-loader
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
app-doc/xmltoman
|
||||||
|
docs? ( app-doc/doxygen )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dman=true
|
||||||
|
$(meson_use docs)
|
||||||
|
$(meson_use examples)
|
||||||
|
$(meson_use ffmpeg)
|
||||||
|
$(meson_use gstreamer)
|
||||||
|
$(meson_use jack pipewire-jack)
|
||||||
|
$(meson_use jack)
|
||||||
|
$(meson_use pulseaudio pipewire-pulseaudio)
|
||||||
|
$(meson_use systemd)
|
||||||
|
)
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
3
sys-kernel/linux-firmware/Manifest
Normal file
3
sys-kernel/linux-firmware/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DIST linux-firmware-20200619.tar.gz 250595335 BLAKE2B 9bb010b6600d02c536caf17502e54c5225934706eff747d7edaf55774f3c78841d3ff235b7eed037ff117e6e29e7ac11fec498fcace5c52f8b0ddd6b553b96f8 SHA512 9ee615f7d458e453ac53294cb920f322fa29c84255d127cd5f47fad178b0983e7e3fcd6be0b80bc6878c01258bdf75a1356ff6b6766279b10f352bfdb2e4b9a5
|
||||||
|
EBUILD linux-firmware-20200619.ebuild 9178 BLAKE2B 71681d355ffcc4e2a4ea81dd4fa5fe13a0d4449bfab3c0fadd9adee425aa0e4dcf5dda56243a480d01ffb3b375a982e602f1acb7b881a4745cf9b991b80a5313 SHA512 90589eb040f873f8fce4ed2f3da700f884d52fd2d841613fdc3581106aa480fcdfb3a47a14f488edf3d81652e4b7dc9e61dda93a4ca31226d0be6f3654f64a77
|
||||||
|
MISC metadata.xml 867 BLAKE2B db510434e654367fb0ae439b1a3ca3fc170f558022f07634a534ea982f2445ff656fa618b9dac5ebb6ac2f64d9ee93dcc59525c1f3d429eda4ebce05a678298c SHA512 5429e7424fac663e3448e80dad98365239b855f09522fe7ea3cd2c731bec37fee29209cc8ead46e73ea03cd85a3e9c8fafe18ddf4a35e5bb55513d63ad5ae7ff
|
337
sys-kernel/linux-firmware/linux-firmware-20200619.ebuild
Normal file
337
sys-kernel/linux-firmware/linux-firmware-20200619.ebuild
Normal file
@ -0,0 +1,337 @@
|
|||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit mount-boot savedconfig
|
||||||
|
|
||||||
|
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="*"
|
||||||
|
|
||||||
|
DESCRIPTION="Linux firmware files"
|
||||||
|
HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
|
||||||
|
redistributable? (
|
||||||
|
linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) )
|
||||||
|
unknown-license? ( all-rights-reserved )"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="initramfs +redistributable savedconfig unknown-license"
|
||||||
|
RESTRICT="binchecks strip
|
||||||
|
unknown-license? ( bindist )"
|
||||||
|
|
||||||
|
REQUIRED_USE="initramfs? ( redistributable )"
|
||||||
|
|
||||||
|
BDEPEND="initramfs? ( app-arch/cpio )"
|
||||||
|
|
||||||
|
#add anything else that collides to this
|
||||||
|
RDEPEND="!savedconfig? (
|
||||||
|
redistributable? (
|
||||||
|
!sys-firmware/alsa-firmware[alsa_cards_ca0132]
|
||||||
|
!media-tv/cx18-firmware
|
||||||
|
!<sys-firmware/ivtv-firmware-20080701-r1
|
||||||
|
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
|
||||||
|
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
|
||||||
|
!media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
|
||||||
|
!net-dialup/ueagle-atm
|
||||||
|
!net-dialup/ueagle4-atm
|
||||||
|
!net-wireless/ar9271-firmware
|
||||||
|
!net-wireless/i2400m-fw
|
||||||
|
!net-wireless/libertas-firmware
|
||||||
|
!sys-firmware/rt61-firmware
|
||||||
|
!net-wireless/rt73-firmware
|
||||||
|
!net-wireless/rt2860-firmware
|
||||||
|
!net-wireless/rt2870-firmware
|
||||||
|
!sys-block/qla-fc-firmware
|
||||||
|
!sys-firmware/amd-ucode
|
||||||
|
!sys-firmware/iwl1000-ucode
|
||||||
|
!sys-firmware/iwl2000-ucode
|
||||||
|
!sys-firmware/iwl2030-ucode
|
||||||
|
!sys-firmware/iwl3945-ucode
|
||||||
|
!sys-firmware/iwl4965-ucode
|
||||||
|
!sys-firmware/iwl5000-ucode
|
||||||
|
!sys-firmware/iwl5150-ucode
|
||||||
|
!sys-firmware/iwl6000-ucode
|
||||||
|
!sys-firmware/iwl6005-ucode
|
||||||
|
!sys-firmware/iwl6030-ucode
|
||||||
|
!sys-firmware/iwl6050-ucode
|
||||||
|
!sys-firmware/iwl3160-ucode
|
||||||
|
!sys-firmware/iwl7260-ucode
|
||||||
|
!sys-firmware/iwl7265-ucode
|
||||||
|
!sys-firmware/iwl3160-7260-bt-ucode
|
||||||
|
!sys-firmware/radeon-ucode
|
||||||
|
)
|
||||||
|
unknown-license? (
|
||||||
|
!sys-firmware/alsa-firmware[alsa_cards_korg1212]
|
||||||
|
!sys-firmware/alsa-firmware[alsa_cards_maestro3]
|
||||||
|
!sys-firmware/alsa-firmware[alsa_cards_sb16]
|
||||||
|
!sys-firmware/alsa-firmware[alsa_cards_ymfpci]
|
||||||
|
)
|
||||||
|
)"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
use initramfs && mount-boot_pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# source and documentation files, not to be installed
|
||||||
|
local source_files=(
|
||||||
|
README
|
||||||
|
WHENCE
|
||||||
|
"LICEN[CS]E*"
|
||||||
|
"GPL*"
|
||||||
|
configure
|
||||||
|
Makefile
|
||||||
|
check_whence.py
|
||||||
|
atusb/ChangeLog
|
||||||
|
av7110/Boot.S
|
||||||
|
av7110/Makefile
|
||||||
|
carl9170fw/
|
||||||
|
cis/Makefile
|
||||||
|
cis/src/
|
||||||
|
dsp56k/bootstrap.asm
|
||||||
|
dsp56k/concat-bootstrap.pl
|
||||||
|
dsp56k/Makefile
|
||||||
|
"isci/*.[ch]"
|
||||||
|
isci/Makefile
|
||||||
|
isci/README
|
||||||
|
"keyspan_pda/*.S"
|
||||||
|
keyspan_pda/Makefile
|
||||||
|
usbdux/
|
||||||
|
)
|
||||||
|
|
||||||
|
# whitelist of images with a free software license
|
||||||
|
local free_software=(
|
||||||
|
# keyspan_pda (GPL-2+)
|
||||||
|
keyspan_pda/keyspan_pda.fw
|
||||||
|
keyspan_pda/xircom_pgs.fw
|
||||||
|
# dsp56k (GPL-2+)
|
||||||
|
dsp56k/bootstrap.bin
|
||||||
|
# ath9k_htc (BSD GPL-2+ MIT)
|
||||||
|
ath9k_htc/htc_7010-1.4.0.fw
|
||||||
|
ath9k_htc/htc_9271-1.4.0.fw
|
||||||
|
# pcnet_cs, 3c589_cs, 3c574_cs, serial_cs (dual GPL-2/MPL-1.1)
|
||||||
|
cis/LA-PCM.cis
|
||||||
|
cis/PCMLM28.cis
|
||||||
|
cis/DP83903.cis
|
||||||
|
cis/NE2K.cis
|
||||||
|
cis/tamarack.cis
|
||||||
|
cis/PE-200.cis
|
||||||
|
cis/PE520.cis
|
||||||
|
cis/3CXEM556.cis
|
||||||
|
cis/3CCFEM556.cis
|
||||||
|
cis/MT5634ZLX.cis
|
||||||
|
cis/RS-COM-2P.cis
|
||||||
|
cis/COMpad2.cis
|
||||||
|
cis/COMpad4.cis
|
||||||
|
# serial_cs (GPL-3)
|
||||||
|
cis/SW_555_SER.cis
|
||||||
|
cis/SW_7xx_SER.cis
|
||||||
|
cis/SW_8xx_SER.cis
|
||||||
|
# dvb-ttpci (GPL-2+)
|
||||||
|
av7110/bootcode.bin
|
||||||
|
# usbdux, usbduxfast, usbduxsigma (GPL-2+)
|
||||||
|
usbdux_firmware.bin
|
||||||
|
usbduxfast_firmware.bin
|
||||||
|
usbduxsigma_firmware.bin
|
||||||
|
# brcmfmac (GPL-2+)
|
||||||
|
brcm/brcmfmac4330-sdio.Prowise-PT301.txt
|
||||||
|
brcm/brcmfmac43340-sdio.meegopad-t08.txt
|
||||||
|
brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt
|
||||||
|
brcm/brcmfmac43362-sdio.lemaker,bananapro.txt
|
||||||
|
brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
|
||||||
|
"brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt"
|
||||||
|
brcm/brcmfmac43430-sdio.AP6212.txt
|
||||||
|
brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
|
||||||
|
brcm/brcmfmac43430-sdio.MUR1DX.txt
|
||||||
|
brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt
|
||||||
|
brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
|
||||||
|
brcm/brcmfmac4356-pcie.gpd-win-pocket.txt
|
||||||
|
# isci (GPL-2)
|
||||||
|
isci/isci_firmware.bin
|
||||||
|
# carl9170 (GPL-2+)
|
||||||
|
carl9170-1.fw
|
||||||
|
# atusb (GPL-2+)
|
||||||
|
atusb/atusb-0.2.dfu
|
||||||
|
atusb/atusb-0.3.dfu
|
||||||
|
atusb/rzusb-0.3.bin
|
||||||
|
# mlxsw_spectrum (dual BSD/GPL-2)
|
||||||
|
mellanox/mlxsw_spectrum-13.1420.122.mfa2
|
||||||
|
mellanox/mlxsw_spectrum-13.1530.152.mfa2
|
||||||
|
mellanox/mlxsw_spectrum-13.1620.192.mfa2
|
||||||
|
mellanox/mlxsw_spectrum-13.1702.6.mfa2
|
||||||
|
mellanox/mlxsw_spectrum-13.1703.4.mfa2
|
||||||
|
mellanox/mlxsw_spectrum-13.1910.622.mfa2
|
||||||
|
mellanox/mlxsw_spectrum-13.2000.1122.mfa2
|
||||||
|
)
|
||||||
|
|
||||||
|
# blacklist of images with unknown license
|
||||||
|
local unknown_license=(
|
||||||
|
atmsar11.fw
|
||||||
|
korg/k1212.dsp
|
||||||
|
ess/maestro3_assp_kernel.fw
|
||||||
|
ess/maestro3_assp_minisrc.fw
|
||||||
|
yamaha/ds1_ctrl.fw
|
||||||
|
yamaha/ds1_dsp.fw
|
||||||
|
yamaha/ds1e_ctrl.fw
|
||||||
|
tr_smctr.bin
|
||||||
|
ttusb-budget/dspbootcode.bin
|
||||||
|
emi62/bitstream.fw
|
||||||
|
emi62/loader.fw
|
||||||
|
emi62/midi.fw
|
||||||
|
emi62/spdif.fw
|
||||||
|
ti_3410.fw
|
||||||
|
ti_5052.fw
|
||||||
|
mts_mt9234mu.fw
|
||||||
|
mts_mt9234zba.fw
|
||||||
|
whiteheat.fw
|
||||||
|
whiteheat_loader.fw
|
||||||
|
intelliport2.bin
|
||||||
|
cpia2/stv0672_vp4.bin
|
||||||
|
vicam/firmware.fw
|
||||||
|
edgeport/boot.fw
|
||||||
|
edgeport/boot2.fw
|
||||||
|
edgeport/down.fw
|
||||||
|
edgeport/down2.fw
|
||||||
|
edgeport/down3.bin
|
||||||
|
sb16/mulaw_main.csp
|
||||||
|
sb16/alaw_main.csp
|
||||||
|
sb16/ima_adpcm_init.csp
|
||||||
|
sb16/ima_adpcm_playback.csp
|
||||||
|
sb16/ima_adpcm_capture.csp
|
||||||
|
sun/cassini.bin
|
||||||
|
acenic/tg1.bin
|
||||||
|
acenic/tg2.bin
|
||||||
|
adaptec/starfire_rx.bin
|
||||||
|
adaptec/starfire_tx.bin
|
||||||
|
yam/1200.bin
|
||||||
|
yam/9600.bin
|
||||||
|
3com/3C359.bin
|
||||||
|
ositech/Xilinx7OD.bin
|
||||||
|
qlogic/isp1000.bin
|
||||||
|
myricom/lanai.bin
|
||||||
|
yamaha/yss225_registers.bin
|
||||||
|
lgs8g75.fw
|
||||||
|
)
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
# remove sources and documentation (wildcards are expanded)
|
||||||
|
rm -r ${source_files[@]} || die
|
||||||
|
rm -rf .git
|
||||||
|
|
||||||
|
if use !unknown-license; then
|
||||||
|
# remove files in unknown_license
|
||||||
|
rm "${unknown_license[@]}" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use !redistributable; then
|
||||||
|
# remove files _not_ in the free_software or unknown_license lists
|
||||||
|
# everything else is confirmed (or assumed) to be redistributable
|
||||||
|
# based on upstream acceptance policy
|
||||||
|
local IFS=$'\n'
|
||||||
|
find ! -type d -printf "%P\n" \
|
||||||
|
| grep -Fvx -e "${free_software[*]}" -e "${unknown_license[*]}" \
|
||||||
|
| xargs -d '\n' rm || die
|
||||||
|
IFS=$' \t\n'
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use initramfs; then
|
||||||
|
if [[ -d "${S}/amd-ucode" ]]; then
|
||||||
|
local UCODETMP="${T}/ucode_tmp"
|
||||||
|
local UCODEDIR="${UCODETMP}/kernel/x86/microcode"
|
||||||
|
mkdir -p "${UCODEDIR}" || die
|
||||||
|
echo 1 > "${UCODETMP}/early_cpio"
|
||||||
|
|
||||||
|
local amd_ucode_file="${UCODEDIR}/AuthenticAMD.bin"
|
||||||
|
cat "${S}"/amd-ucode/*.bin > "${amd_ucode_file}" || die "Failed to concat amd cpu ucode"
|
||||||
|
|
||||||
|
if [[ ! -s "${amd_ucode_file}" ]]; then
|
||||||
|
die "Sanity check failed: '${amd_ucode_file}' is empty!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pushd "${UCODETMP}" &>/dev/null || die
|
||||||
|
find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${S}"/amd-uc.img
|
||||||
|
popd &>/dev/null || die
|
||||||
|
if [[ ! -s "${S}/amd-uc.img" ]]; then
|
||||||
|
die "Failed to create '${S}/amd-uc.img'!"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# If this will ever happen something has changed which
|
||||||
|
# must be reviewed
|
||||||
|
die "'${S}/amd-ucode' not found!"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "# Remove files that shall not be installed from this list." > ${PN}.conf
|
||||||
|
find * ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf
|
||||||
|
|
||||||
|
if use savedconfig; then
|
||||||
|
restore_config ${PN}.conf
|
||||||
|
|
||||||
|
ebegin "Removing all files not listed in config"
|
||||||
|
find ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) -printf "%P\n" \
|
||||||
|
| grep -Fvx -f <(grep -v '^#' ${PN}.conf \
|
||||||
|
|| die "grep failed, empty config file?") \
|
||||||
|
| xargs -d '\n' --no-run-if-empty rm
|
||||||
|
eend $? || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# remove empty directories, bug #396073
|
||||||
|
find -type d -empty -delete || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
save_config ${PN}.conf
|
||||||
|
rm ${PN}.conf || die
|
||||||
|
|
||||||
|
if use initramfs ; then
|
||||||
|
mkdir "${ED}/boot" || die
|
||||||
|
mv "${S}"/amd-uc.img "${ED}/boot" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! ( shopt -s failglob; : * ) 2>/dev/null; then
|
||||||
|
eerror "No files to install. Check your USE flag settings"
|
||||||
|
eerror "and the list of files in your saved configuration."
|
||||||
|
die "Refusing to install an empty package"
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /lib/firmware/
|
||||||
|
doins -r *
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if use savedconfig; then
|
||||||
|
ewarn "USE=savedconfig is active. You must handle file collisions manually."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure /boot is available if needed.
|
||||||
|
use initramfs && mount-boot_pkg_preinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "If you are only interested in particular firmware files, edit the saved"
|
||||||
|
elog "configfile and remove those that you do not want."
|
||||||
|
|
||||||
|
local ver
|
||||||
|
for ver in ${REPLACING_VERSIONS}; do
|
||||||
|
if ver_test ${ver} -lt 20190514; then
|
||||||
|
elog
|
||||||
|
elog 'Starting with version 20190514, installation of many firmware'
|
||||||
|
elog 'files is controlled by USE flags. Please review your USE flag'
|
||||||
|
elog 'and package.license settings if you are missing some files.'
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Don't forget to umount /boot if it was previously mounted by us.
|
||||||
|
use initramfs && mount-boot_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
# Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
|
||||||
|
use initramfs && mount-boot_pkg_prerm
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
# Don't forget to umount /boot if it was previously mounted by us.
|
||||||
|
use initramfs && mount-boot_pkg_postrm
|
||||||
|
}
|
22
sys-kernel/linux-firmware/metadata.xml
Normal file
22
sys-kernel/linux-firmware/metadata.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>chithanh@gentoo.org</email>
|
||||||
|
<name>Chí-Thanh Christopher Nguyễn</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>zerochaos@gentoo.org</email>
|
||||||
|
<name>Rick Farina</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>kernel@gentoo.org</email>
|
||||||
|
<name>Gentoo Kernel Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="initramfs">Create and install initramfs for early microcode loading in /boot (only AMD for now)</flag>
|
||||||
|
<flag name="redistributable">Install also non-free (but redistributable) firmware files</flag>
|
||||||
|
<flag name="savedconfig">Allows individual selection of firmware files</flag>
|
||||||
|
<flag name="unknown-license">Install firmware files whose license is unknown</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user