mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gui-libs/wlroots: add 0.16.2
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST wlroots-0.14.1.tar.gz 505840 BLAKE2B fca4d259cdde62da0c196344ce1d0f5dd679d0
|
||||
DIST wlroots-0.15.1.tar.gz 565816 BLAKE2B 09b704a55d8b4a5ab19bb0fcdd041635fbbbb8eed94ff6d189ef47f9f86e90178efa8441c7db78839b1145ed79ed016d520d6599e256cdcf49130cda38bc307d SHA512 6228160f2f350a406c612f1048d7075cf2f78206cc84bc16f889d5d0acd614f9e98845fffed03d7067cfdbd7558b77fcc5d8cedc3868d866e476523126a63677
|
||||
DIST wlroots-0.16.0.tar.gz 588565 BLAKE2B d1233f85bc4d80bfc65efb04367e136a351efc5e47168e30f061a8b4eecdd4bdbde6355e35211c610285b4d031c754f90c94b49e63c5b2f665890765b139bf76 SHA512 0b56f31284cc250019cda1e80d1660031d397e880a8c1aac2e60d7758bcac26e50144a499c13c61e24fe2664ba1e6cbb8262bfe28c817f4664162b1de592f1b6
|
||||
DIST wlroots-0.16.1.tar.gz 588945 BLAKE2B bd7dae29ef730c32ade389bbc1f99610afc0c35fc05a5c80e9257d6eb2ca99c38ecb6277206015432033c59c11fab4743f49413a6a19cf1d35cdbe62cdb57925 SHA512 a590960d3a228f1fec007d20094e48d9276568f59e2ce3bac56889fb7df519d68ffb81a73130b7bbf350ec95056009aaabb18ada52a97486d6ad1d5deb6844c3
|
||||
DIST wlroots-0.16.2.tar.gz 589804 BLAKE2B 49911556f1442b43b46e3ec7750706cabeeab915bc36b178b92dec7b66743f4c2f0e335c6e26e318a25ceda41170b20913987a94a3c516df580d379305df7cc2 SHA512 3c1d4fecb3b751987e7051e69849fd62bd4eed95f2d2e548f06e42e4829d0fc24f20c1bfe056a53ede2d1fd05e0c566269a7b9f2bab0de0057a32b55e826a7c0
|
||||
|
||||
82
gui-libs/wlroots/wlroots-0.16.2.ebuild
Normal file
82
gui-libs/wlroots/wlroots-0.16.2.ebuild
Normal file
@@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/wlroots/wlroots"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
SLOT="0/$(ver_cut 2)"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
IUSE="+hwdata +seatd tinywl +udev vulkan x11-backend X"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libinput-1.14.0:0=
|
||||
>=dev-libs/wayland-1.21.0
|
||||
>=dev-libs/wayland-protocols-1.28
|
||||
media-libs/mesa[egl(+),gles2]
|
||||
hwdata? ( sys-apps/hwdata:= )
|
||||
seatd? ( sys-auth/seatd:= )
|
||||
udev? ( virtual/libudev )
|
||||
vulkan? (
|
||||
dev-util/glslang:0=
|
||||
dev-util/vulkan-headers:0=
|
||||
media-libs/vulkan-loader:0=
|
||||
)
|
||||
>=x11-libs/libdrm-2.4.114:0=
|
||||
x11-libs/libxkbcommon
|
||||
>=x11-libs/pixman-0.42.0:0=
|
||||
x11-backend? ( x11-libs/libxcb:0= )
|
||||
X? (
|
||||
x11-base/xwayland
|
||||
x11-libs/libxcb:0=
|
||||
x11-libs/xcb-util-image
|
||||
x11-libs/xcb-util-wm
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-libs/wayland-protocols-1.24
|
||||
>=dev-util/meson-0.60.0
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?)
|
||||
local emesonargs=(
|
||||
"-Dxcb-errors=disabled"
|
||||
$(meson_use tinywl examples)
|
||||
-Drenderers=$(usex vulkan 'gles2,vulkan' gles2)
|
||||
-Dxwayland=$(usex X enabled disabled)
|
||||
-Dbackends=drm,libinput$(usex x11-backend ',x11' '')
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use tinywl; then
|
||||
dobin "${BUILD_DIR}"/tinywl/tinywl
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You must be in the input group to allow your compositor"
|
||||
elog "to access input devices via libinput."
|
||||
}
|
||||
Reference in New Issue
Block a user