net-im/wemeet: drop 3.19.1.400, 3.19.2.400, 3.26.10.400

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-08-27 16:20:24 +10:00
1 parent 013d46122d
commit 5a9f23594f
5 files changed
-514

No files matched your search

-8
View File
@@ -1,11 +1,3 @@
DIST wemeet-3.19.1.400_amd64.deb 161153760 BLAKE2B 273a9154c16bc693c81eeb46a5fb3b684e97b5c5ed1f4e8764bc50003ac4f283c19481e4f00ec38b99cd2f2dd4596dc12fb04af38b6cd92e9ccea2df3eb9df56 SHA512 5b75fd92a9b3f477cebd791f43d2329e899befca790cc7f3c0970d7c07ad7390a835be91af710f19b5db5a65ab2763e51d1f4f36e222ce6889d7a68d64dce092
DIST wemeet-3.19.1.400_arm64.deb 145309964 BLAKE2B f073543b3c9ef27504a2ac27ae57839776371705fd9fa5bef4dd2688a0ddc32810af70d8289f2d3fea45acc845eab25fb1624d08458b9b3f5ba845568a3a0f8d SHA512 b37963ab911270a1630c1af5cda5a949f01f661f9b8133c3c5f6e241e7037ab7914b3ac69901b05d95edf742332d72494c3c211624622091460b3bbdcfb2b2f9
DIST wemeet-3.19.1.400_loongarch64.deb 136599460 BLAKE2B 8a7e82d857aca00fe04938912f513221dac6816213751563b78b80997721c8bd20520be782cf44f802818f6f3dc62de214887c2e73cecb748b509ae37f192350 SHA512 70c0ff0d4bed129cb1b825f17064e8740cdc87578e12d63e945552640d4837bc876da55be5cc0dfe94efe3c37d514ba6575edee42bffb94855a567e163d8428d
DIST wemeet-3.19.2.400_amd64.deb 161224156 BLAKE2B 26a9e001ccf28c789d0e6aeab25fc1a342b61d2cb5d2bb7920d00471565ee81ebcf72da3b08c7413744402088234c4fbdf2fba027578f28fbb50c25a45646194 SHA512 175a92d412ee3359f93ad84e9344d4317f04e396e40586cfa1f3a7798adbe69e3f2991a5af5163cd99fbb3ad1b3e6e7c5b016d17d022f86b7c3f54a1274b8238
DIST wemeet-3.19.2.400_arm64.deb 144324220 BLAKE2B 251c319417f66322f4696877883e12c3a28791f6cc09aaddc6e9e329211148ee332a29c5dd2f65975c7e9b95131c15c5bf782f98d91265cb8d7f820a3aced739 SHA512 14ecdb89dad4198a1667381c5ebd634b0fa5daedc8488bee5c06cdb8d64854567e0b489b749aca8e5726bb0ec1c752bd6675183dc9a55046161846d0b1f88dea
DIST wemeet-3.26.10.400_amd64.deb 197315640 BLAKE2B 9897996a013f5c294c4be674aea5b8ec5b3a7661d41c70a2cd1d34205c031eb6a7dd5e5779bd631cd02008c94a47c2fe5c32f6ae5490d329e1e5deb646b61e48 SHA512 2be43847d67c434f0dd2625e614a74ec03200cdf6e1b4c8845023b62faee06c73a364c2155419275cb9d77f1f3df056ca009c0e415af4a2b35fa34323a159303
DIST wemeet-3.26.10.400_arm64.deb 180931120 BLAKE2B a1aa274ef4f2c46109fa941d154476ac55749dfe92498a83e8d90fc45d9439eafed1b6f263dad9d63f277d78d401355e29c396409a03609e0fcadcc3bc2b2927 SHA512 5679461dab9990c369e1a8f7678377d45df1db336a732c8a235130369506da9926bed123bd0cea22e044856b4e28b0f65ca87b82b8bb6b79ac8fb09b89e00885
DIST wemeet-3.26.10.400_loongarch64.deb 175579704 BLAKE2B b001861ff82beaf332560b355324b490e5a4d830ec014560961e87164b743b006be0a5eb1dd18da961448f773915be88b46412a83654fcad2735142f37748385 SHA512 8f67fa68e7effe989f786e9200bed061c845dbb68ef70bb5b16bc9fc96f4f370b9f6537d3e7ac0fe2c94bad83dcf7be77f758e16ce0aa644a7847db6ca95f575
DIST wemeet-3.26.10.401_amd64.deb 197268516 BLAKE2B e3ce7c9cb873092e84d91a07349d98c846d42df67a3ea31072ddec46456fbb8db9efb04dcf45e2bde672ab58d0d4d0d44db9e32b225c05d295a2dfeb3dfb54f5 SHA512 acaa1eba8eccd3a5bd4cb57dc0fadce5c33950857677783944ac2bfbefbed927ca3b4b7d9d0c9e864dcdc3b9f9f8a359c456e9b63b38ac0fa9436fc336aa9ea7
DIST wemeet-3.26.10.401_arm64.deb 180672348 BLAKE2B f0529df533421f246a9b64185b68ab53dd93ae4d8982571e933430eebde8c11b4e2781d1740cf2f7b440b44fb9a20b1cb0c8c59163f3adf037f4fda714a8f719 SHA512 6fb54c4972b6ebaf8e1ce576b4ea075ec1b1cd5d02702feef5382712a8bafc2ff85cbd6ab43c90e6e6c55627da77ecc1c8c58f4154e0a160247387f5b2972abc
DIST wemeet-3.26.10.401_loongarch64.deb 174854572 BLAKE2B 3fee65a8475a941f08be35a8e50c763ecffd20e1388b9e665e0cbc28d749a7d95964651fd2a7eb4f446d25c2baabca4d49cdbe69e412ae6e1161b0d501ba3f3b SHA512 b3377f1d2262cb6dfce813d30d3a63f938c130837647d2c0a4a2f40dac5e2e08155173a7248ea74a29d4bdb200e2a90b30bd9e7c3380936863f81841f6bb3d62
-34
View File
@@ -1,34 +0,0 @@
#!/bin/sh
export XDG_SESSION_TYPE=x11
export QT_QPA_PLATFORM=xcb
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_STYLE_OVERRIDE=fusion # 解决使用自带qt情况下,字体颜色全白看不到的问题
export IBUS_USE_PORTAL=1 # fix ibus
FONTCONFIG_DIR=$HOME/.config/fontconfig
unset WAYLAND_DISPLAY
# 解决非zh或en的语言设置闪退的问题
# if "^zh" is not detected in $LANG $LC_ALL $LANGUAGE, set language to en_GB, else zh_CN
if test "${LANG:0:2}" != "zh" -a "${LC_ALL:0:2}" != "zh" -a "${LANGUAGE:0:2}" != "zh"; then
export LC_ALL="en_US.UTF-8"
else
export LC_ALL="zh_CN.UTF-8"
fi
# if pipewire-pulse installed
if [ -f /usr/bin/pipewire-pulse ]; then
# 解决Pipewire播放声音卡顿的问题
export PULSE_LATENCY_MSEC=20
fi
if [ -e "/dev/nvidia0" ]; then
# 解决 NVIDIA 显卡屏幕分享黑屏问题
export __EGL_VENDOR_LIBRARY_FILENAMES="/usr/share/glvnd/egl_vendor.d/50_mesa.json"
fi
if [ -f "/usr/bin/bwrap" ];then
mkdir -p $FONTCONFIG_DIR
bwrap --dev-bind / / --tmpfs $HOME/.config --ro-bind $FONTCONFIG_DIR $FONTCONFIG_DIR /opt/wemeet/bin/wemeetapp $*
else
exec /opt/wemeet/bin/wemeetapp $*
fi
-160
View File
@@ -1,160 +0,0 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="Wemeet - Tencent Video Conferencing"
HOMEPAGE="https://meeting.tencent.com/"
SRC_URI="
amd64? ( https://updatecdn.meeting.qq.com/cos/\
fcdc2a010a25561a4d23e168b677b493/TencentMeeting_0300000000_${PV}_x86_64_default.publish.deb
-> ${P}_amd64.deb )
arm64? ( https://updatecdn.meeting.qq.com/cos/\
73805834f20680c804310bd0e80f269d/TencentMeeting_0300000000_${PV}_arm64_default.publish.deb
-> ${P}_arm64.deb )
loong? ( https://updatecdn.meeting.qq.com/cos/\
bc71f68ac41d78667c10b10913949b88/TencentMeeting_0300000000_${PV}_loongarch64_default.publish.deb
-> ${P}_loongarch64.deb )
"
S="${WORKDIR}"
LICENSE="wemeet_license"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="bindist test mirror"
# ~loong TODO:
#
# * qtwebengine sandbox crashes on statx (may have to somehow port qtwebengine:5)
# * provide libcurl-gnutls.so.4 compat symlink
RDEPEND="
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
dev-libs/wayland
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libglvnd
media-libs/libpulse
sys-apps/dbus
virtual/zlib
virtual/udev
x11-libs/libdrm
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXinerama
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/xcb-util-image
x11-libs/xcb-util-keysyms
x11-libs/xcb-util-renderutil
x11-libs/xcb-util-wm
loong? (
net-misc/curl[gnutls]
virtual/loong-ow-compat
)
"
BDEPEND="dev-util/patchelf"
QA_PREBUILT="opt/${PN}/*"
src_prepare() {
local f
einfo "Unbundling libraries"
pushd opt/${PN}/lib > /dev/null
for f in lib*; do
case "${f#lib}" in
desktop*|ImSDK*|nxui*|qt*|service_manager*|tms*|ui*|wemeet*|xcast*|xnn*|yuv*|TencentSM*)
# keep components of $PN itself
continue
;;
icu*|jpeg.so.8*)
# * the bundled icu ABI is too old (soname is 60) for us to source
# from system
# * jpeg-compat is not packaged in ::gentoo (it is in ::steam-overlay
# but we shouldn't force users to pull in other overlays anyway)
continue
;;
Qt5*)
# we have to keep the entirety of Qt, because of an alarming error
# seen with libQt5Widgets.so.5 unbundled:
#
# /opt/wemeet/bin/wemeetapp: symbol lookup error:
# /opt/wemeet/lib/libwemeet_framework.so: undefined symbol:
# _ZN7QWidget11eventFilterEP7QObjectP6QEvent, version Qt_5
#
# which means the Qt ABI is different in the Tencent build env than
# ours, and that it is unsafe for us to swap the libraries.
continue
;;
esac
einfo " $f"
rm "$f" || die
done
popd > /dev/null
einfo "Unbundling plugins to fix libqxcb-glx-integration SIGSEGV"
rm -r opt/wemeet/plugins/xcbglintegrations || die
default
}
src_install() {
# Fix RPATHs to ensure the libraries can be found
for f in $(find "opt/${PN}/bin" "opt/${PN}/plugins") ; do
[[ -f ${f} && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "/opt/${PN}/lib" ${f} || die "patchelf failed on ${f}"
done
for f in $(find "opt/${PN}/lib") ; do
[[ -f ${f} && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath '$ORIGIN' ${f} || die "patchelf failed on ${f}"
done
insinto "/opt/${PN}"
exeinto "/opt/${PN}"
doins -r opt/"${PN}"/*
# Force X11
# If wayland is used, wemeet will just die:
# /opt/wemeet/bin/wemeetapp: symbol lookup error:
# /usr/lib64/libwayland-cursor.so.0: undefined symbol: wl_proxy_marshal_flags
# tested with 2.8.0.3 and dev-libs/wayland-1.20.0
newexe "${FILESDIR}/wemeetapp-1.sh" wemeetapp.sh
fperms +x "/opt/${PN}/bin/wemeetapp"
fperms +x "/opt/${PN}/bin/QtWebEngineProcess"
# put launcher into PATH
dosym "../../opt/${PN}/wemeetapp.sh" /usr/bin/wemeetapp
sed -i "s/^Icon=.*/Icon=wemeetapp/g" "usr/share/applications/wemeetapp.desktop" || die
sed -i "s/^Exec=.*/Exec=wemeetapp %u/g" "usr/share/applications/wemeetapp.desktop" || die
sed -i -e '$a Comment=Tencent Meeting Linux Client\n\' \
-e 'Comment[zh_CN]=腾讯会议Linux客户端\n\' \
-e 'Keywords=wemeet;tencent;meeting;\n' \
"usr/share/applications/wemeetapp.desktop" || die
domenu "usr/share/applications/wemeetapp.desktop"
newicon -s scalable "opt/${PN}/wemeet.svg" "wemeetapp.svg"
for i in 16 32 64 128 256; do
png_file="opt/${PN}/icons/hicolor/${i}x${i}/mimetypes/wemeetapp.png"
if [ -e "${png_file}" ]; then
newicon -s "${i}" -c mimetypes "${png_file}" "wemeetapp.png"
fi
done
}
-157
View File
@@ -1,157 +0,0 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="Wemeet - Tencent Video Conferencing"
HOMEPAGE="https://meeting.tencent.com/"
SRC_URI="
amd64? ( https://updatecdn.meeting.qq.com/cos/\
fb7464ffb18b94a06868265bed984007/TencentMeeting_0300000000_3.19.2.400_x86_64_default.publish.officialwebsite.deb
-> ${P}_amd64.deb )
arm64? ( https://updatecdn.meeting.qq.com/cos/\
867a8a2e99a215dcd4f60fe049dbe6cf/TencentMeeting_0300000000_3.19.2.400_arm64_default.publish.officialwebsite.deb
-> ${P}_arm64.deb )
"
S="${WORKDIR}"
LICENSE="wemeet_license"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="bindist test mirror"
# ~loong TODO:
#
# * qtwebengine sandbox crashes on statx (may have to somehow port qtwebengine:5)
# * provide libcurl-gnutls.so.4 compat symlink
RDEPEND="
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
dev-libs/wayland
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libglvnd
media-libs/libpulse
sys-apps/dbus
virtual/zlib
virtual/udev
x11-libs/libdrm
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXinerama
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/xcb-util-image
x11-libs/xcb-util-keysyms
x11-libs/xcb-util-renderutil
x11-libs/xcb-util-wm
loong? (
net-misc/curl[gnutls]
virtual/loong-ow-compat
)
"
BDEPEND="dev-util/patchelf"
QA_PREBUILT="opt/${PN}/*"
src_prepare() {
local f
einfo "Unbundling libraries"
pushd opt/${PN}/lib > /dev/null
for f in lib*; do
case "${f#lib}" in
desktop*|ImSDK*|nxui*|qt*|service_manager*|tms*|ui*|wemeet*|xcast*|xnn*|yuv*|TencentSM*)
# keep components of $PN itself
continue
;;
icu*|jpeg.so.8*)
# * the bundled icu ABI is too old (soname is 60) for us to source
# from system
# * jpeg-compat is not packaged in ::gentoo (it is in ::steam-overlay
# but we shouldn't force users to pull in other overlays anyway)
continue
;;
Qt5*)
# we have to keep the entirety of Qt, because of an alarming error
# seen with libQt5Widgets.so.5 unbundled:
#
# /opt/wemeet/bin/wemeetapp: symbol lookup error:
# /opt/wemeet/lib/libwemeet_framework.so: undefined symbol:
# _ZN7QWidget11eventFilterEP7QObjectP6QEvent, version Qt_5
#
# which means the Qt ABI is different in the Tencent build env than
# ours, and that it is unsafe for us to swap the libraries.
continue
;;
esac
einfo " $f"
rm "$f" || die
done
popd > /dev/null
einfo "Unbundling plugins to fix libqxcb-glx-integration SIGSEGV"
rm -r opt/wemeet/plugins/xcbglintegrations || die
default
}
src_install() {
# Fix RPATHs to ensure the libraries can be found
for f in $(find "opt/${PN}/bin" "opt/${PN}/plugins") ; do
[[ -f ${f} && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "/opt/${PN}/lib" ${f} || die "patchelf failed on ${f}"
done
for f in $(find "opt/${PN}/lib") ; do
[[ -f ${f} && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath '$ORIGIN' ${f} || die "patchelf failed on ${f}"
done
insinto "/opt/${PN}"
exeinto "/opt/${PN}"
doins -r opt/"${PN}"/*
# Force X11
# If wayland is used, wemeet will just die:
# /opt/wemeet/bin/wemeetapp: symbol lookup error:
# /usr/lib64/libwayland-cursor.so.0: undefined symbol: wl_proxy_marshal_flags
# tested with 2.8.0.3 and dev-libs/wayland-1.20.0
newexe "${FILESDIR}/wemeetapp-1.sh" wemeetapp.sh
fperms +x "/opt/${PN}/bin/wemeetapp"
fperms +x "/opt/${PN}/bin/QtWebEngineProcess"
# put launcher into PATH
dosym "../../opt/${PN}/wemeetapp.sh" /usr/bin/wemeetapp
sed -i "s/^Icon=.*/Icon=wemeetapp/g" "usr/share/applications/wemeetapp.desktop" || die
sed -i "s/^Exec=.*/Exec=wemeetapp %u/g" "usr/share/applications/wemeetapp.desktop" || die
sed -i -e '$a Comment=Tencent Meeting Linux Client\n\' \
-e 'Comment[zh_CN]=腾讯会议Linux客户端\n\' \
-e 'Keywords=wemeet;tencent;meeting;\n' \
"usr/share/applications/wemeetapp.desktop" || die
domenu "usr/share/applications/wemeetapp.desktop"
newicon -s scalable "opt/${PN}/wemeet.svg" "wemeetapp.svg"
for i in 16 32 64 128 256; do
png_file="opt/${PN}/icons/hicolor/${i}x${i}/mimetypes/wemeetapp.png"
if [ -e "${png_file}" ]; then
newicon -s "${i}" -c mimetypes "${png_file}" "wemeetapp.png"
fi
done
}
-155
View File
@@ -1,155 +0,0 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="Wemeet - Tencent Video Conferencing"
HOMEPAGE="https://meeting.tencent.com/"
SRC_URI="
amd64? ( https://updatecdn.meeting.qq.com/cos/\
9cfd93b10ee81b2fc3ad26357f27ed13/TencentMeeting_0300000000_${PV}_x86_64_default.publish.officialwebsite.deb
-> ${P}_amd64.deb )
arm64? ( https://updatecdn.meeting.qq.com/cos/\
e5f447f30343e27c49438db8d035ae23/TencentMeeting_0300000000_${PV}_arm64_default.publish.officialwebsite.deb
-> ${P}_arm64.deb )
loong? ( https://updatecdn.meeting.qq.com/cos/\
9f89b7a489e65e457308d6bf2ed505db/TencentMeeting_0300000000_${PV}_loongarch64_default.publish.officialwebsite.deb
-> ${P}_loongarch64.deb )
"
S="${WORKDIR}"
LICENSE="wemeet_license"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="bindist test mirror"
# ~loong TODO:
#
# * qtwebengine sandbox crashes on statx (may have to somehow port qtwebengine:5)
# * provide libcurl-gnutls.so.4 compat symlink
RDEPEND="
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
dev-libs/wayland
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libglvnd
media-libs/libpulse
sys-apps/dbus
virtual/zlib
virtual/udev
x11-libs/libdrm
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXinerama
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/xcb-util-image
x11-libs/xcb-util-keysyms
x11-libs/xcb-util-renderutil
x11-libs/xcb-util-wm
loong? (
net-misc/curl[gnutls]
virtual/loong-ow-compat
)
"
BDEPEND="dev-util/patchelf"
QA_PREBUILT="opt/${PN}/*"
src_prepare() {
local f
einfo "Unbundling libraries"
pushd opt/${PN}/lib > /dev/null
for f in lib*; do
case "${f#lib}" in
desktop*|crash_guard*|ImSDK*|nxui*|qt*|service_manager*|tms*|ui*|wemeet*|xcast*|xnn*|yuv*|TencentSM*)
# keep components of $PN itself
continue
;;
icu*|jpeg.so.8*)
# * the bundled icu ABI is too old (soname is 60) for us to source
# from system
# * jpeg-compat is not packaged in ::gentoo (it is in ::steam-overlay
# but we shouldn't force users to pull in other overlays anyway)
continue
;;
Qt5*)
# we have to keep the entirety of Qt, because of an alarming error
# seen with libQt5Widgets.so.5 unbundled:
#
# /opt/wemeet/bin/wemeetapp: symbol lookup error:
# /opt/wemeet/lib/libwemeet_framework.so: undefined symbol:
# _ZN7QWidget11eventFilterEP7QObjectP6QEvent, version Qt_5
#
# which means the Qt ABI is different in the Tencent build env than
# ours, and that it is unsafe for us to swap the libraries.
continue
;;
esac
einfo " $f"
rm "$f" || die
done
popd > /dev/null
einfo "Unbundling plugins to fix libqxcb-glx-integration SIGSEGV"
rm -r opt/wemeet/plugins/xcbglintegrations || die
default
}
src_install() {
# Fix RPATHs to ensure the libraries can be found
for f in $(find "opt/${PN}/bin" "opt/${PN}/plugins") ; do
[[ -f ${f} && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "/opt/${PN}/lib" ${f} || die "patchelf failed on ${f}"
done
for f in $(find "opt/${PN}/lib") ; do
[[ -f ${f} && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath '$ORIGIN' ${f} || die "patchelf failed on ${f}"
done
insinto "/opt/${PN}"
exeinto "/opt/${PN}"
doins -r opt/"${PN}"/*
newexe "${FILESDIR}/wemeetapp-xwayland.sh" wemeetapp.sh
fperms +x "/opt/${PN}/bin/wemeetapp"
fperms +x "/opt/${PN}/bin/QtWebEngineProcess"
# put launcher into PATH
dosym "../../opt/${PN}/wemeetapp.sh" /usr/bin/wemeetapp
sed -i "s/^Icon=.*/Icon=wemeetapp/g" "usr/share/applications/wemeetapp.desktop" || die
sed -i "s/^Exec=.*/Exec=wemeetapp %u/g" "usr/share/applications/wemeetapp.desktop" || die
sed -i -e '$a Comment=Tencent Meeting Linux Client\n\' \
-e 'Comment[zh_CN]=腾讯会议Linux客户端\n\' \
-e 'Keywords=wemeet;tencent;meeting;\n' \
"usr/share/applications/wemeetapp.desktop" || die
domenu "usr/share/applications/wemeetapp.desktop"
newicon -s scalable "opt/${PN}/wemeet.svg" "wemeetapp.svg"
for i in 16 32 64 128 256; do
png_file="opt/${PN}/icons/hicolor/${i}x${i}/mimetypes/wemeetapp.png"
if [ -e "${png_file}" ]; then
newicon -s "${i}" -c mimetypes "${png_file}" "wemeetapp.png"
fi
done
}