remove ia64 keywords
[gentoo-zh.git] / net-im / deepin-wine-wecom / deepin-wine-wecom-4.1.22.6009.ebuild
bloba592edccbb8a62550f76c83c1e31d79a5d8f48ef
1 # Copyright 1999-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop unpacker xdg
8 WECHAT_INSTALLER="WeChatSetup"
9 DP_WECHAT_VER="${PV}deepin10"
10 DEB_PN="com.qq.weixin.work.deepin"
12 DESCRIPTION="Tencent Weixin Work on Deepin Wine(${DEB_PN}) For Gentoo"
13 HOMEPAGE="https://aur.archlinux.org/packages/com.qq.weixin.work.deepin-x11"
15 SRC_URI="
16 https://mirrors.sdu.edu.cn/spark-store-repository/store/chat/${DEB_PN}/${DEB_PN}_${DP_WECHAT_VER}~spark1_amd64.deb
19 S="${WORKDIR}"
20 LICENSE="Tencent"
21 SLOT="0"
22 KEYWORDS="~amd64"
24 RDEPEND="
25 >=app-emulation/deepin-wine-helper-5.1.45
26 >=app-emulation/deepin-wine6-stable-6.0.0.52
27 media-fonts/noto-cjk
28 media-fonts/wqy-microhei
29 media-libs/alsa-lib[abi_x86_32]
30 media-libs/libpulse[abi_x86_32]
31 media-libs/openal[abi_x86_32]
32 media-plugins/alsa-plugins[abi_x86_32]
33 media-sound/mpg123[abi_x86_32]
34 >=net-nds/openldap-2.4.0[abi_x86_32]
35 x11-apps/xwininfo
38 DEPEND="${RDEPEND}"
40 QA_PREBUILT="*"
42 src_install() {
43 local OPN="opt/apps/${DEB_PN}"
45 cp "${FILESDIR}"/"${P}"-run.sh "${S}"/"${OPN}"/files/run.sh || die
46 sed -i "s/Categories=.*/Categories=Chat;Network;InstantMessaging;/g" \
47 "${S}"/"${OPN}"/entries/applications/"${DEB_PN}".desktop || die
48 insinto "${OPN}"/files
49 doins -r "${S}"/"${OPN}"/files/*
50 fperms +x /"${OPN}"/files/run.sh
52 # Install scalable icons
53 doicon -s scalable "${S}"/"${OPN}"/entries/icons/hicolor/48x48/apps/"${DEB_PN}".svg
54 domenu "${S}"/"${OPN}"/entries/applications/"${DEB_PN}".desktop