Upstream now includes <linux/input-event-codes.h> in reframe-server/rf-vnc-server.c, so add sys-kernel/linux-headers to DEPEND. Assisted-by: Claude:claude-sonnet-5-5 Signed-off-by: Zakk <zakk@gentoozh.org>
66 lines
1.2 KiB
Bash
66 lines
1.2 KiB
Bash
# Copyright 2024-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit meson tmpfiles
|
|
|
|
MVMATH_COMMIT="e7547696c8345dcdbc65fd31c51d05d1dc4e1e1a"
|
|
|
|
DESCRIPTION="DRM/KMS based remote desktop for Linux"
|
|
HOMEPAGE="https://reframe.alynx.one/"
|
|
SRC_URI="
|
|
https://github.com/AlynxZhou/reframe/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://github.com/AlynxZhou/mvmath/archive/${MVMATH_COMMIT}.tar.gz -> mvmath-${MVMATH_COMMIT}.tar.gz
|
|
"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
IUSE="neatvnc systemd"
|
|
|
|
RDEPEND="
|
|
acct-user/reframe
|
|
acct-group/reframe
|
|
dev-libs/glib:2
|
|
gui-libs/gtk:4
|
|
x11-libs/libdrm
|
|
media-libs/libepoxy
|
|
net-libs/libvncserver
|
|
x11-libs/libxkbcommon
|
|
systemd? ( sys-apps/systemd:= )
|
|
neatvnc? (
|
|
gui-libs/neatvnc
|
|
dev-libs/aml
|
|
x11-libs/pixman
|
|
media-video/ffmpeg
|
|
)
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
sys-kernel/linux-headers
|
|
"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
rm -rf "${S}/deps/mvmath"
|
|
ln -sfn "${WORKDIR}/mvmath-${MVMATH_COMMIT}" "${S}/deps/mvmath"
|
|
|
|
default_src_prepare
|
|
}
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
-D neatvnc=$(usex neatvnc true false)
|
|
$(meson_use systemd)
|
|
)
|
|
|
|
meson_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
if use systemd; then
|
|
tmpfiles_process reframe-tmpfiles.conf
|
|
fi
|
|
}
|