diff options
author | Henning Schild <henning@hennsch.de> | 2023-07-17 16:23:52 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-26 04:33:22 +0100 |
commit | 06c5198d42fbc6654124a23df0e0896de7e02f85 (patch) | |
tree | 13998cb96e92b7b2fe6ba544e063750b4c5a5457 /media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.700.3000.ebuild | |
parent | dev-lang/zig: fix building on 9999 with "doc" USE-flag enabled (diff) | |
download | gentoo-06c5198d42fbc6654124a23df0e0896de7e02f85.tar.gz gentoo-06c5198d42fbc6654124a23df0e0896de7e02f85.tar.bz2 gentoo-06c5198d42fbc6654124a23df0e0896de7e02f85.zip |
media-plugins/hdx-realtime-media-engine: bump to version 2.9.700.3000
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/31928
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.700.3000.ebuild')
-rw-r--r-- | media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.700.3000.ebuild | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.700.3000.ebuild b/media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.700.3000.ebuild new file mode 100644 index 000000000000..bdca16afb49a --- /dev/null +++ b/media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.700.3000.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker + +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="HDX RealTime Media Engine plugin for Citrix Workspace App" +HOMEPAGE="https://www.citrix.com/" +SRC_URI="amd64? ( HDX_RealTime_Media_Engine_${MY_PV}_for_Linux_x64.zip ) + x86? ( HDX_RealTime_Media_Engine_${MY_PV}_for_Linux.zip )" +LICENSE="icaclient" +SLOT="0" + +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="fetch mirror strip" + +BDEPEND="app-arch/unzip" +RDEPEND=" + sys-libs/llvm-libunwind + || ( + media-video/pipewire + media-libs/libpulse + media-sound/apulse + ) + x11-libs/libX11 + x11-libs/libXv +" + +ICAROOT="/opt/Citrix/ICAClient" +QA_PREBUILT="${ICAROOT#/}/*" + +REQUIRES_EXCLUDE=" + libpulse.so.0 + libsndfile.so.1 +" + +S="${WORKDIR}/usr/local/bin" + +pkg_nofetch() { + elog "Download the client file ${A} from" + elog "https://www.citrix.com/downloads/workspace-app/additional-client-software/hdx-realtime-media-engine.html" + elog "and place it into your DISTDIR directory." +} + +pkg_setup() { + case ${ARCH} in + amd64) + zip_dir="x86_64" + zip_arch="amd64" + ;; + x86) + zip_dir="i386" + zip_arch="i386" + ;; + esac +} + +src_unpack() { + default + + local MY_T="${WORKDIR}/HDX_RealTime_Media_Engine_${MY_PV}_for_Linux$(usex amd64 '_x64' '')" + local deb_base_name="citrix-hdx-realtime-media-engine" + unpack_deb ${MY_T}/${zip_dir}/${deb_base_name}_$(ver_rs 3 -)_${zip_arch}.deb +} + +src_install() { + insinto "${ICAROOT}/rtme" + + # No, we do NOT install such a generic udev rule into the system + local destfiles=( + DialTone_US.wav + EULA.rtf + InboundCallRing.wav + ) + + local el + 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 +} |