aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-10-06 17:27:08 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-10-06 17:27:08 +0900
commitb6bd0dcc828beb88e08a8788283ae4be622bb648 (patch)
treead83c21ca4b796ce20ceeb24489cc626702ba791 /media-libs/wivrn
parentapp-shells/carapace: Fixed license from Apache-2.0 to MIT (diff)
downloadguru-b6bd0dcc828beb88e08a8788283ae4be622bb648.tar.gz
guru-b6bd0dcc828beb88e08a8788283ae4be622bb648.tar.bz2
guru-b6bd0dcc828beb88e08a8788283ae4be622bb648.zip
media-libs/wivrn: fix DEPEND and update EAPI
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'media-libs/wivrn')
-rw-r--r--media-libs/wivrn/wivrn-9999.ebuild23
1 files changed, 9 insertions, 14 deletions
diff --git a/media-libs/wivrn/wivrn-9999.ebuild b/media-libs/wivrn/wivrn-9999.ebuild
index 5f1c2f35c..048ee1731 100644
--- a/media-libs/wivrn/wivrn-9999.ebuild
+++ b/media-libs/wivrn/wivrn-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 2024 Gentoo Authors
# 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"
HOMEPAGE="https://github.com/WiVRn/WiVRn"
@@ -52,15 +52,17 @@ RDEPEND="
net-analyzer/wireshark
)
gui? (
- dev-qt/qtbase
+ dev-qt/qtbase:6
)
"
-
-BDEPEND="
+DEPEND="
${RDEPEND}
dev-cpp/cli11
dev-cpp/eigen
dev-cpp/nlohmann_json
+ dev-libs/boost
+"
+BDEPEND="
dev-util/glslang
"
@@ -121,14 +123,13 @@ src_configure() {
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()
{
fcaps cap_sys_nice bin/wivrn-server
- xdg_icon_cache_update
- xdg_desktop_database_update
+ xdg_pkg_postinst
elog "WiVRn requires a compatible client on VR headset to run."
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"
@@ -136,9 +137,3 @@ pkg_postinst()
elog "For most headsets it can be downloaded on https://github.com/WiVRn/WiVRn/releases/tag/v${PV}"
fi
}
-
-pkg_postrm()
-{
- xdg_icon_cache_update
- xdg_desktop_database_update
-}