From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A11F6158649 for ; Thu, 11 May 2023 17:03:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB761E0D1D; Thu, 11 May 2023 17:03:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B44B3E0D1D for ; Thu, 11 May 2023 17:03:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0486340A8E for ; Thu, 11 May 2023 17:03:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80DC7990 for ; Thu, 11 May 2023 17:03:26 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1683824600.0cf3680072ebe6b39281b22f5cee9b6264aca9f1.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/wps-office/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/wps-office/Manifest app-office/wps-office/wps-office-11.1.0.11698.ebuild X-VCS-Directories: app-office/wps-office/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0cf3680072ebe6b39281b22f5cee9b6264aca9f1 X-VCS-Branch: master Date: Thu, 11 May 2023 17:03:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5f8674f-4bff-4cdc-8ec5-19b16701d563 X-Archives-Hash: 1ebc3146a440cbf0f736c5479b850b35 commit: 0cf3680072ebe6b39281b22f5cee9b6264aca9f1 Author: Pacho Ramos gentoo org> AuthorDate: Thu May 11 17:01:31 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Thu May 11 17:03:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf36800 app-office/wps-office: add 11.1.0.11698 Upstream supports more arches. Fix the removal of files Thanks-to: Melker Narikka Bug: https://bugs.gentoo.org/878451 Bug: https://bugs.gentoo.org/813138 Signed-off-by: Pacho Ramos gentoo.org> app-office/wps-office/Manifest | 4 + .../wps-office/wps-office-11.1.0.11698.ebuild | 95 ++++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest index badabf76af7c..fbbe61e924f0 100644 --- a/app-office/wps-office/Manifest +++ b/app-office/wps-office/Manifest @@ -1 +1,5 @@ DIST wps-office_11.1.0.11691_amd64.deb 413557282 BLAKE2B f3e9149c0c1e43956da47c1e5faba4a10ed5e6964760dcc42b4e6e4a56777a9c6ba810c7b477a8bfc70ebc8e8ef11f9dee588be6f1243439edccc56fef0aaab0 SHA512 e19a2d6dc05b5ecc070966f92b9218749266e4d4255620e376c6888044bed83d06455d16372f081b7a7067b6c1e63e67bb3270468ec0731ebb7e308e1afaffc6 +DIST wps-office_11.1.0.11698_amd64.deb 413452358 BLAKE2B 99c71532b1481444875bd59f04bf414be46f30f00c3397eba5077ca1b1aa28dfafff243148088b7ee2cf01aefeaac3e2890575869e314c8a28823f3c57514314 SHA512 743a4727e5326fcb27a61aafc3833b311222575420ecff5e374c6680278e5042e2e82fc58b36bbbea5aebea0933a1b349284a01620e9471c452a0534c0c5fa3f +DIST wps-office_11.1.0.11698_arm64.deb 363977336 BLAKE2B f8e356d93b2cdfde4b9b0c892869c6e2da3ec717f39d281aa6aa97219a63bbcf4206d2196b7a8cab04e0884fbe3e08e01d1b80fc08d182fa38a1f9b97d678a59 SHA512 828523dab2f78d7fe0f522adfe7b56895a882c5fa76667a6a3c499bfea0281866e2436852434b1853e96c7ba3e9a70c306fd73d76346d64582a8320a8475a247 +DIST wps-office_11.1.0.11698_loongarch64.deb 377014384 BLAKE2B 2a2e38a88abc4d43397d5464458811a9a1445cc0ad5ce24b2abbfab3b10b32c653ec770cb657746a853f59ef62813df34f7ad6fa71d99c6fc43e4f988f83f477 SHA512 433f99bc7c7896342c522e78f9f5f640f94e517f86d6624b8333fd806d115d004cbd163f0b66e81b3ca0fe7e97b8929205dcd81f1d497b01dac1cc2801087765 +DIST wps-office_11.1.0.11698_mips64el.deb 362887032 BLAKE2B f96dbc01db707e3b68ffef8fcf7589598d3e0cd7657533c6ba7def8ea5b5e3d1ffd861d4205517678525a25046157503853ae25df0cd631e6fed05b3bf1a2525 SHA512 a254fa1ed9e5b89558cb49a390366c9a5877f9688ff2cad9f72d8ff609edf03ab17f54798362fd2f0ca4a830b10d0b048bff9691c506668d8b9b7fabe583fd12 diff --git a/app-office/wps-office/wps-office-11.1.0.11698.ebuild b/app-office/wps-office/wps-office-11.1.0.11698.ebuild new file mode 100644 index 000000000000..1b249262c52c --- /dev/null +++ b/app-office/wps-office/wps-office-11.1.0.11698.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit unpacker xdg + +MY_PV="$(ver_cut 4)" + +DESCRIPTION="WPS Office is an office productivity suite" +HOMEPAGE="https://www.wps.com/office/linux/" + +KEYWORDS="~amd64 ~arm64 ~loong ~mips" + +SRC_URI=" + amd64? ( https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${MY_PV}/${PN}_${PV}_amd64.deb ) + arm64? ( https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${MY_PV}/${PN}_${PV}_arm64.deb ) + loong? ( https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${MY_PV}/${PN}_${PV}_loongarch64.deb ) + mips? ( https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${MY_PV}/${PN}_${PV}_mips64el.deb ) +" + +SLOT="0" +RESTRICT="bindist strip mirror" # mirror as explained at bug #547372 +QA_PREBUILT="*" +LICENSE="WPS-EULA" +IUSE="systemd" + +# Deps got from this (listed in order): +# rpm -qpR wps-office-10.1.0.5707-1.a21.x86_64.rpm +# ldd /opt/kingsoft/wps-office/office6/wps +# ldd /opt/kingsoft/wps-office/office6/wpp +RDEPEND=" + app-arch/bzip2:0 + app-arch/lz4 + app-arch/xz-utils + dev-libs/expat + dev-libs/glib:2 + dev-libs/libbsd + dev-libs/libffi:0/8 + dev-libs/libgcrypt:0 + dev-libs/libgpg-error + dev-libs/libpcre:3 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/flac:0/10-12 + media-libs/libogg + media-libs/libpulse + media-libs/libsndfile + media-libs/libvorbis + media-libs/tiff-compat:4 + net-libs/libasyncns + net-print/cups + sys-apps/attr + sys-apps/tcp-wrappers + sys-apps/util-linux + sys-libs/libcap + sys-libs/libcxx + sys-libs/zlib:0 + virtual/glu + x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXtst + systemd? ( sys-apps/systemd ) +" +DEPEND="" +BDEPEND="" + +S="${WORKDIR}" + +src_install() { + # https://bugs.gentoo.org/878451 + rm "${S}"/opt/kingsoft/wps-office/office6/libstdc++.so* || die + + # https://bugs.gentoo.org/813138 + use systemd || { rm "${S}"/opt/kingsoft/wps-office/office6/libdbus-1.so* || die ; } + + exeinto /usr/bin + exeopts -m0755 + doexe "${S}"/usr/bin/* + + insinto /usr/share + # Skip mime subdir to not get selected over rest of office suites + doins -r "${S}"/usr/share/{applications,desktop-directories,icons,templates} + + insinto /opt/kingsoft/wps-office + doins -r "${S}"/opt/kingsoft/wps-office/{office6,templates} + + fperms 0755 /opt/kingsoft/wps-office/office6/{wps,wpp,et,wpspdf,wpsoffice,promecefpluginhost,transerr,ksolaunch,wpscloudsvr} +}