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 B7061159C9B for ; Thu, 1 Aug 2024 08:34:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FE89E2A76; Thu, 1 Aug 2024 08:34:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52FD7E2A75 for ; Thu, 1 Aug 2024 08:34:54 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A63E3406D1 for ; Thu, 1 Aug 2024 08:34:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A9E51E8D for ; Thu, 1 Aug 2024 08:34:51 +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: <1722501281.851c24aeb8a7ad74fed8299a20c6714ef4612b9f.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.11723.ebuild X-VCS-Directories: app-office/wps-office/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 851c24aeb8a7ad74fed8299a20c6714ef4612b9f X-VCS-Branch: master Date: Thu, 1 Aug 2024 08:34:51 +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: 3555e0f7-04cd-4c6f-96a5-12020922a831 X-Archives-Hash: 76ea85d4f6553498015ea9e02c92f5a4 commit: 851c24aeb8a7ad74fed8299a20c6714ef4612b9f Author: Pacho Ramos gentoo org> AuthorDate: Thu Aug 1 08:26:50 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Thu Aug 1 08:34:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851c24ae app-office/wps-office: add 11.1.0.11723 Signed-off-by: Pacho Ramos gentoo.org> app-office/wps-office/Manifest | 1 + .../wps-office/wps-office-11.1.0.11723.ebuild | 90 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest index 6ad091233a69..5f5cce8d1cef 100644 --- a/app-office/wps-office/Manifest +++ b/app-office/wps-office/Manifest @@ -1 +1,2 @@ DIST wps-office_11.1.0.11719.XA_amd64.deb 319340366 BLAKE2B b2d9a93ea5ec3dfefc49b276556c1fdcd37b24fee9abae8c0521aa8c816102f739b345b6442c8fc27b7fe64c4c03468afbe74a5da41b8c22de8f2dda4b04e346 SHA512 9e4bdaa7c3e276d8b38b020adbae69f395bfda0da91e41566eb427b9eeeddfcf8957eff69e134cdb1e4c42a2d08a32069920db8834145a035b1b1739e23b7203 +DIST wps-office_11.1.0.11723.XA_amd64.deb 318892996 BLAKE2B c6e1ac5279cdf91a0eaf7807e701ae45e12d55fc84fa68516593fadc3471b884a09870fb468aa2b610db2557134f860668700d885b991536a92eadfab40e9711 SHA512 3c9bcce0a9a653b3e9159167197d317ef56e3c38bf3781890de187194bb90503c6bda6c73a9b8c6da59a32a8ddad9c7e763efcb217796d6a62303969a5dc7093 diff --git a/app-office/wps-office/wps-office-11.1.0.11723.ebuild b/app-office/wps-office/wps-office-11.1.0.11723.ebuild new file mode 100644 index 000000000000..33b32f57c40b --- /dev/null +++ b/app-office/wps-office/wps-office-11.1.0.11723.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 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" + +SRC_URI=" + amd64? ( https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${MY_PV}/${PN}_${PV}.XA_amd64.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 ) +" + +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} +}