summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-03-11 19:43:39 +0100
committerPacho Ramos <pacho@gentoo.org>2020-03-11 19:44:11 +0100
commit313bbb474cab7b5d3312e89fc1bb0b3e21d94bde (patch)
tree707b534a7a7641a83944c46c0e33875fee40080d /app-office/wps-office
parentapp-benchmarks/i7z: Enforce -fcommon (diff)
downloadgentoo-313bbb474cab7b5d3312e89fc1bb0b3e21d94bde.tar.gz
gentoo-313bbb474cab7b5d3312e89fc1bb0b3e21d94bde.tar.bz2
gentoo-313bbb474cab7b5d3312e89fc1bb0b3e21d94bde.zip
app-office/wps-office: Bump to 11.1.0.9126, install wpspdf
Thanks-to: Zitian Li Closes: https://bugs.gentoo.org/712124 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-office/wps-office')
-rw-r--r--app-office/wps-office/Manifest1
-rw-r--r--app-office/wps-office/wps-office-11.1.0.9126.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index 997dd937fce6..b52126a84538 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1,2 +1,3 @@
DIST wps-office_11.1.0.8865_amd64.deb 252362146 BLAKE2B 97d3260920a19ee6d4c50a8bdd124110916bb556a1585ed078fca3576c089f0865f157765c4f0ac51b762da10649cb4515356b40372c26cb123a202eefd7eb8c SHA512 25b14593dd143f131ba3228d3d19815efdd6cdb8985cf707125b2c7ed5ff13037d7bdcadd6e20e5b2169d2e01bfc00817e523dcfa93b2b2e9b7aad551b466004
DIST wps-office_11.1.0.9080.XA_amd64.deb 204126446 BLAKE2B 8cee00cd674e46a0d88263ef8bd8fb841a3479ea49dbfdfedde7e6f0df4c8a8eb0a1b56da685f3e9d4152baea5128dcdfdae37b0b3337ebdd4d72649d51668b5 SHA512 c910d05478402ac2b9e51f411bb15dc1d5069f02d9a3ded549116f207521ee8c8c5cbe03ba7c86c9a6ef152f174e6284815ac4a4057b4257f0a5c119ed6159cc
+DIST wps-office_11.1.0.9126.XA_amd64.deb 205954802 BLAKE2B 7736d28349fcc6f4d0c69b8f13ec96af42b1de4f073bf14d2c05949cc2d9d51389125d1ef83dee8ebe7cdccb44ba6b70b9425e9397d386e02e0fe8779bf7c029 SHA512 7c2d8b3459ac37ced45b25d19b6ff7f8afca2bae7ee026dfc3ef068f5a1e774baff457ddbcc5d8495f8dca1699ddd5ad67b0f3927ac6e4e99503c67a6dab414c
diff --git a/app-office/wps-office/wps-office-11.1.0.9126.ebuild b/app-office/wps-office/wps-office-11.1.0.9126.ebuild
new file mode 100644
index 000000000000..961aa55ae4af
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.9126.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit unpacker xdg
+
+MY_PV="$(ver_cut 4)"
+
+DESCRIPTION="WPS Office is an office productivity suite"
+HOMEPAGE="http://www.wps.cn/product/wpslinux/ http://wps-community.org/"
+
+KEYWORDS="~amd64"
+
+SRC_URI="http://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${MY_PV}/${PN}_${PV}.XA_amd64.deb"
+
+SLOT="0"
+RESTRICT="strip mirror" # mirror as explained at bug #547372
+LICENSE="WPS-EULA"
+IUSE=""
+
+# 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="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libxcb
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ dev-libs/glib:2
+ sys-libs/zlib:0
+ net-print/cups
+ media-libs/libpng-compat:1.2
+ virtual/glu
+
+ dev-libs/libpcre:3
+ dev-libs/libffi
+ media-sound/pulseaudio
+ app-arch/bzip2:0
+ media-libs/libpng:0
+ dev-libs/expat
+ sys-apps/util-linux
+ dev-libs/libbsd
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ sys-apps/dbus
+ x11-libs/libXtst
+ sys-apps/tcp-wrappers
+ media-libs/libsndfile
+ net-libs/libasyncns
+ dev-libs/libgcrypt:0
+ app-arch/xz-utils
+ app-arch/lz4
+ sys-libs/libcap
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libvorbis
+ dev-libs/libgpg-error
+ sys-apps/attr
+"
+DEPEND=""
+BDEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ exeinto /usr/bin
+ exeopts -m0755
+ doexe "${S}"/usr/bin/*
+
+ insinto /usr/share
+ doins -r "${S}"/usr/share/{applications,desktop-directories,icons,mime,templates}
+
+ insinto /opt/kingsoft/wps-office
+ doins -r "${S}"/opt/kingsoft/wps-office/{office6,templates}
+
+ fperms 0755 /opt/kingsoft/wps-office/office6/{et,wpp,wps,wpspdf}
+}