media-plugins/hdx-realtime-media-engine: Revbump fixing several issues

- REALLY install all necessary files
- install HDXRTME.so to the correct location
- Register plugin with Citrix receiver

Bug: https://bugs.gentoo.org/755407
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2021-01-16 12:49:30 +01:00
parent a5c53ce46c
commit e7a55ed2f3

View File

@@ -20,7 +20,7 @@ RESTRICT="fetch mirror strip"
DEPEND="app-arch/unzip"
RDEPEND="
net-misc/icaclient
>=net-misc/icaclient-20.12.0.12-r1
|| (
media-sound/pulseaudio
media-sound/apulse
@@ -66,7 +66,6 @@ src_install() {
local destfiles=(
DialTone_US.wav
EULA.rtf
HDXRTME.so
InboundCallRing.wav
)
@@ -74,8 +73,25 @@ src_install() {
for el in "${destfiles[@]}" ; do
doins "${el}"
done
exeinto "${ICAROOT}"/rtme
doexe RTMEconfig RTMediaEngineSRV
for el in /var/{lib,log}/RTMediaEngineSRV /var/lib/Citrix/HDXRMEP ; do
keepdir ${el}
fperms a+rw ${el}
done
insinto "${ICAROOT}"
doins HDXRTME.so
}
pkg_postinst() {
ebegin "add info about our plugin to the module.ini of the Citrix receiver"
local inifile="${BROOT}${ICAROOT}/config/module.ini"
if cp "${inifile}" . ; then
"${BROOT}${ICAROOT}"/rtme/RTMEconfig -install -ignoremm \
&& cp new_module.ini "${inifile}"
fi
eend $?
}