mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
media-libs/wivrn: fix DEPEND and update EAPI
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
aeb5d63b2d
commit
b6bd0dcc82
@ -1,9 +1,9 @@
|
|||||||
# Copyright 2024 Gentoo Authors
|
# Copyright 2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit cmake fcaps
|
inherit cmake fcaps xdg
|
||||||
|
|
||||||
DESCRIPTION="WiVRn OpenXR streaming"
|
DESCRIPTION="WiVRn OpenXR streaming"
|
||||||
HOMEPAGE="https://github.com/WiVRn/WiVRn"
|
HOMEPAGE="https://github.com/WiVRn/WiVRn"
|
||||||
@ -52,15 +52,17 @@ RDEPEND="
|
|||||||
net-analyzer/wireshark
|
net-analyzer/wireshark
|
||||||
)
|
)
|
||||||
gui? (
|
gui? (
|
||||||
dev-qt/qtbase
|
dev-qt/qtbase:6
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
DEPEND="
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
dev-cpp/cli11
|
dev-cpp/cli11
|
||||||
dev-cpp/eigen
|
dev-cpp/eigen
|
||||||
dev-cpp/nlohmann_json
|
dev-cpp/nlohmann_json
|
||||||
|
dev-libs/boost
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
dev-util/glslang
|
dev-util/glslang
|
||||||
"
|
"
|
||||||
|
|
||||||
@ -121,14 +123,13 @@ src_configure() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
cmake_src_install
|
cmake_src_install
|
||||||
|
|
||||||
dosym /usr/share/openxr/1/openxr_wivrn.json /etc/openxr/1/active_runtime.json
|
dosym -r /usr/share/openxr/1/openxr_wivrn.json /etc/openxr/1/active_runtime.json
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst()
|
pkg_postinst()
|
||||||
{
|
{
|
||||||
fcaps cap_sys_nice bin/wivrn-server
|
fcaps cap_sys_nice bin/wivrn-server
|
||||||
xdg_icon_cache_update
|
xdg_pkg_postinst
|
||||||
xdg_desktop_database_update
|
|
||||||
elog "WiVRn requires a compatible client on VR headset to run."
|
elog "WiVRn requires a compatible client on VR headset to run."
|
||||||
if [[ ${PV} == 9999 ]]; then
|
if [[ ${PV} == 9999 ]]; then
|
||||||
elog "For most headsets it can be downloaded from CI artifacts on https://github.com/WiVRn/WiVRn/actions/workflows/Build.yml"
|
elog "For most headsets it can be downloaded from CI artifacts on https://github.com/WiVRn/WiVRn/actions/workflows/Build.yml"
|
||||||
@ -136,9 +137,3 @@ pkg_postinst()
|
|||||||
elog "For most headsets it can be downloaded on https://github.com/WiVRn/WiVRn/releases/tag/v${PV}"
|
elog "For most headsets it can be downloaded on https://github.com/WiVRn/WiVRn/releases/tag/v${PV}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm()
|
|
||||||
{
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user