mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
media-libs/wivrn: add pkg_postinst
Signed-off-by: Patrick Nicolas <patricknicolas@laposte.net>
This commit is contained in:
@@ -108,3 +108,13 @@ src_install() {
|
||||
|
||||
dosym /usr/share/openxr/1/openxr_wivrn.json /etc/openxr/1/active_runtime.json
|
||||
}
|
||||
|
||||
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/Meumeu/WiVRn/actions/workflows/Build.yml"
|
||||
else
|
||||
elog "For most headsets it can be downloaded on https://github.com/Meumeu/WiVRn/releases/tag/v${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -108,3 +108,13 @@ src_install() {
|
||||
|
||||
dosym /usr/share/openxr/1/openxr_wivrn.json /etc/openxr/1/active_runtime.json
|
||||
}
|
||||
|
||||
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/Meumeu/WiVRn/actions/workflows/Build.yml"
|
||||
else
|
||||
elog "For most headsets it can be downloaded on https://github.com/Meumeu/WiVRn/releases/tag/v${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -108,3 +108,13 @@ src_install() {
|
||||
|
||||
dosym /usr/share/openxr/1/openxr_wivrn.json /etc/openxr/1/active_runtime.json
|
||||
}
|
||||
|
||||
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/Meumeu/WiVRn/actions/workflows/Build.yml"
|
||||
else
|
||||
elog "For most headsets it can be downloaded on https://github.com/Meumeu/WiVRn/releases/tag/v${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user