summaryrefslogtreecommitdiff
path: root/app-office/wps-office
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-25 17:40:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-25 17:40:36 +0000
commit85809279ceef66e68b25eac8c3918bee6762f6cc (patch)
tree9ecee133212467e7b1402b70a11c5d6fb3ea817d /app-office/wps-office
parent4215622c05ed14d30fdad5a4d0feba6d94b0d046 (diff)
gentoo auto-resync : 25:02:2024 - 17:40:36
Diffstat (limited to 'app-office/wps-office')
-rw-r--r--app-office/wps-office/Manifest2
-rw-r--r--app-office/wps-office/wps-office-11.1.0.11719.ebuild90
2 files changed, 92 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index 17695e26b6b6..1e8fa607c2aa 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -2,5 +2,7 @@ DIST wps-office_11.1.0.11698_amd64.deb 413452358 BLAKE2B 99c71532b1481444875bd59
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
+DIST wps-office_11.1.0.11719.XA_amd64.deb 319340366 BLAKE2B b2d9a93ea5ec3dfefc49b276556c1fdcd37b24fee9abae8c0521aa8c816102f739b345b6442c8fc27b7fe64c4c03468afbe74a5da41b8c22de8f2dda4b04e346 SHA512 9e4bdaa7c3e276d8b38b020adbae69f395bfda0da91e41566eb427b9eeeddfcf8957eff69e134cdb1e4c42a2d08a32069920db8834145a035b1b1739e23b7203
EBUILD wps-office-11.1.0.11698.ebuild 2524 BLAKE2B 70f4bc576c1ba6e643c7bf857fb6fb8fb1e46de8c380a0a1a78c3d048d0a3d03a844449bfc76be0fa9b226c0c28d063860d085953cebf21f6b87bcab729a73cb SHA512 ec60e3876ebc8ed90b15fa90e6d50b5c6c2f0fd723f42c27bfa5b055d8e0c6f3b12e02621e8c4ad77a0749ce63de88e22cfe9921756c5b07480b267ceab90856
+EBUILD wps-office-11.1.0.11719.ebuild 2163 BLAKE2B ab43e87b3619bacce95072517e236c724b44d2d54d89c349e204e276b1c3ce106650d8b70265d619064b1291762b4825e29e31a538dbe1ec5b70a9576dc6d410 SHA512 85af2848c29336d45b00bf2c96a2618fdd5c4e36f84c25a89a9dd78c926b9a1fa20371b3c10b0629b86c286b9c9a3cd5f59921657db1afecbadbc85a8baef7e6
MISC metadata.xml 240 BLAKE2B 1f4d972fe6e8f4096f8905fe5ec3f77b8689f3b0e01ac676ae4e55ce3aa66c18473cc82b5766131f155b9f4cd3fa6c541ab3bd32bfd233ff89722937105f968a SHA512 2e9f28bd0e525aa062cb098048dd176668b1ca2220e0018279ec4779eb80a2e8ad4f1ea73899aded97b7d27379e88d2f60cc80af4a6992880edf6e301b7e1090
diff --git a/app-office/wps-office/wps-office-11.1.0.11719.ebuild b/app-office/wps-office/wps-office-11.1.0.11719.ebuild
new file mode 100644
index 000000000000..33b32f57c40b
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.11719.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}
+}