summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-05-13 10:37:30 +0200
committerLars Wendler <polynomial-c@gentoo.org>2022-05-13 10:40:28 +0200
commit43d75efc6308ca1fe25fe38789930bd2bedd1832 (patch)
tree02a0e64d0536376b708155312726450acdf14aab /media-plugins/hdx-realtime-media-engine
parentnet-misc/icaclient: Removed old (diff)
downloadgentoo-43d75efc6308ca1fe25fe38789930bd2bedd1832.tar.gz
gentoo-43d75efc6308ca1fe25fe38789930bd2bedd1832.tar.bz2
gentoo-43d75efc6308ca1fe25fe38789930bd2bedd1832.zip
media-plugins/hdx-realtime-media-engine: Bump to version 2.9.500.2802
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-plugins/hdx-realtime-media-engine')
-rw-r--r--media-plugins/hdx-realtime-media-engine/Manifest2
-rw-r--r--media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.500.2802.ebuild97
2 files changed, 99 insertions, 0 deletions
diff --git a/media-plugins/hdx-realtime-media-engine/Manifest b/media-plugins/hdx-realtime-media-engine/Manifest
index 85f7342123a1..0940479f1823 100644
--- a/media-plugins/hdx-realtime-media-engine/Manifest
+++ b/media-plugins/hdx-realtime-media-engine/Manifest
@@ -2,3 +2,5 @@ DIST HDX_RealTime_Media_Engine_2.9.300_for_Linux.zip 30099613 BLAKE2B 2d5b266587
DIST HDX_RealTime_Media_Engine_2.9.300_for_Linux_x64.zip 30133167 BLAKE2B 0fec6d03f7a26a2fe162c9cfbb15fce57b323f5bc0880bccb3105aa1881532479c40f827595bcc3f55096c49dc0be30b0732349d8a1c8dc55fdeafaf2f05995d SHA512 f09936706d0ed64c72843fab95ef9434106d813ec7388f241da65ee1d69fc8e8b9f367a72a443f6db1b867b0811936e8583cfce6ae2a75fb3cf13ac1b15a2627
DIST HDX_RealTime_Media_Engine_2.9.400_for_Linux.zip 30105551 BLAKE2B cf511ecc01909812535506de81c6f0c7516a2fe90b2e7a92f7c8e3602b38edd962ce4de2bc754d793b2cae06f24364e1908f2ef71728571e0cb63ed41ecf148b SHA512 4cc30e581f8e003c8d3cd460225dc6cd0dba699927d78f4b86ff10f9e7d5c3badcf7edfb6f7ca84343042d671ff872373da82c128aacec2011533e8b0537ae74
DIST HDX_RealTime_Media_Engine_2.9.400_for_Linux_x64.zip 30137698 BLAKE2B 87819d23930898c9849c5bacb83551b46401185c2eaa9342c7a9fee28592f072a659d698e028bfcaf45dfe7cf4393aa7ad49aa6f92e79c6768c298759e116dce SHA512 6fa794646cfe607b94a42c430f2fdb6cde3cc1135a115436b6a2e6629b256ce27e5a116dbab707b5a9c1e6e8065ebd6fd67756a2ddb34245b945970471f56cf4
+DIST HDX_RealTime_Media_Engine_2.9.500_for_Linux.zip 30099634 BLAKE2B aee56c8f2e909ebdeba751ec45a74f7e0a350c7d3ecca0f815f5da5693d3b0941e07cd7bcfdc4d86cbae97668b6252e308e30d57d08494b7ff47ad4e302a8494 SHA512 bfc1949dd8a2774fa0e3228c75523d26d6f28f39e2936b5152567f52a39dc853569a4a012c7e49fa72dd7e75262f0a615bad872191be155ca9c6920bf56ae888
+DIST HDX_RealTime_Media_Engine_2.9.500_for_Linux_x64.zip 30138987 BLAKE2B f59c7cac53c7fdf9560ef7f31ade2e3439c8fa54e46cfb8ad86e4b8bc8880073e73cce5f4cafd2d009ec8bae688d41c8bc8f7d26cf2b89665c2414b87aa0bd6c SHA512 8d9bd9ac2414472d80f04025f0966e32f4157ecd6757c9361c46a2a5d077a3913b93cf5f91f175a239dc4e85363f65a6c855c637a5bce2b3d71775ef66fa345d
diff --git a/media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.500.2802.ebuild b/media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.500.2802.ebuild
new file mode 100644
index 000000000000..1ab96fc394ee
--- /dev/null
+++ b/media-plugins/hdx-realtime-media-engine/hdx-realtime-media-engine-2.9.500.2802.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 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="
+ >=net-misc/icaclient-20.12.0.12-r1
+ || (
+ media-video/pipewire
+ media-sound/pulseaudio
+ media-sound/apulse
+ )
+"
+
+ICAROOT="/opt/Citrix/ICAClient"
+QA_PREBUILT="${ICAROOT#/}/*"
+
+S="${WORKDIR}/usr/local/bin"
+
+pkg_nofetch() {
+ elog "Download the client file ${A} from"
+ elog "https://www.citrix.com/de-de/downloads/citrix-receiver/additional-client-software/hdx-realtime-media-engine-ltsrcu-latest.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
+}
+
+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 $?
+}