summaryrefslogtreecommitdiff
path: root/app-office
diff options
context:
space:
mode:
Diffstat (limited to 'app-office')
-rw-r--r--app-office/Manifest.gzbin7894 -> 7895 bytes
-rw-r--r--app-office/wps-office/Manifest2
-rw-r--r--app-office/wps-office/wps-office-11.1.0.11691.ebuild91
3 files changed, 93 insertions, 0 deletions
diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz
index ae179dec4cfe..ea2a42396a25 100644
--- a/app-office/Manifest.gz
+++ b/app-office/Manifest.gz
Binary files differ
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index c0cc9e31a0fc..04ff27d82fcd 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1,3 +1,5 @@
DIST wps-office_11.1.0.11664_amd64.deb 413652340 BLAKE2B 5bca47eef4c0c6a418ff5d79cef46ddd8841400333e72d3ac6fb5337d81fc7265503226da7d78b9a1df0cccf8d021852c69d2f65ed88ed74fc531638ef557f08 SHA512 6dbe7df259d989389df9d3c5730966693538ab1ef95c18a66cd50609894c83b028190f7381e1c998b0470d389c8c6969d8528ef88bc6428fdb0123586880de08
+DIST wps-office_11.1.0.11691_amd64.deb 413557282 BLAKE2B f3e9149c0c1e43956da47c1e5faba4a10ed5e6964760dcc42b4e6e4a56777a9c6ba810c7b477a8bfc70ebc8e8ef11f9dee588be6f1243439edccc56fef0aaab0 SHA512 e19a2d6dc05b5ecc070966f92b9218749266e4d4255620e376c6888044bed83d06455d16372f081b7a7067b6c1e63e67bb3270468ec0731ebb7e308e1afaffc6
EBUILD wps-office-11.1.0.11664-r3.ebuild 2553 BLAKE2B 6fc6fece90e64d079d2a72d9439de04ac3fa3b182237a42118f1d5bb3a03fcb45638ba23e3f1ec5472e821b4a3db6ac4be86e5a75928c3a89f99c211f03f980e SHA512 aea15abddee3c8a7f6dd0cfa07c221e75648f8fb749ca7a099bef3ed67e396ab9130675a5b90b204be41fb574d90a8443ae93ee5fe2b8527522e76ca62be04c5
+EBUILD wps-office-11.1.0.11691.ebuild 2275 BLAKE2B ca733db3b2fa0a3a0bc897a213197cfcb2176476aee9ce87ff09eb8bfbedbbb9bba1b0fd4348113ae01d07c1b19b6ba2fd8f96ad8365dd2df34b663ca2986556 SHA512 b392930ef30e4d35e2d386fc4036f5bee3d5552956a7fe32e22363bf65ad4ceac3193e0bf6861d4ac8bfabf5bba6bb697233b744708a0bec3f8892520db2b3d9
MISC metadata.xml 240 BLAKE2B 1f4d972fe6e8f4096f8905fe5ec3f77b8689f3b0e01ac676ae4e55ce3aa66c18473cc82b5766131f155b9f4cd3fa6c541ab3bd32bfd233ff89722937105f968a SHA512 2e9f28bd0e525aa062cb098048dd176668b1ca2220e0018279ec4779eb80a2e8ad4f1ea73899aded97b7d27379e88d2f60cc80af4a6992880edf6e301b7e1090
diff --git a/app-office/wps-office/wps-office-11.1.0.11691.ebuild b/app-office/wps-office/wps-office-11.1.0.11691.ebuild
new file mode 100644
index 000000000000..f29f9108f10c
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.11691.ebuild
@@ -0,0 +1,91 @@
+# 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"
+
+#SRC_URI="https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${MY_PV}/${PN}_${PV}.XA_amd64.deb"
+SRC_URI="https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${MY_PV}/${PN}_${PV}_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 )
+"
+DEPEND=""
+BDEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ 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}
+
+ # 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 ; }
+
+ fperms 0755 /opt/kingsoft/wps-office/office6/{wps,wpp,et,wpspdf,wpsoffice,promecefpluginhost,transerr,ksolaunch,wpscloudsvr}
+}