summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-01-27 22:38:11 +0100
committerPacho Ramos <pacho@gentoo.org>2020-01-27 22:38:11 +0100
commitd0e702f2e5bb05dc6070fbfa785b23f454fe9a7b (patch)
tree7576916034476dd886b3996ed3cee69d2972883d /app-office/wps-office
parentnet-wireless/aircrack-ng: simple bump (diff)
downloadgentoo-d0e702f2e5bb05dc6070fbfa785b23f454fe9a7b.tar.gz
gentoo-d0e702f2e5bb05dc6070fbfa785b23f454fe9a7b.tar.bz2
gentoo-d0e702f2e5bb05dc6070fbfa785b23f454fe9a7b.zip
app-office/wps-office: Bump to 11.1.0.9080
Package-Manager: Portage-2.3.84, 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.9080.ebuild84
2 files changed, 85 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index a8c0eff46c57..997dd937fce6 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1 +1,2 @@
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
diff --git a/app-office/wps-office/wps-office-11.1.0.9080.ebuild b/app-office/wps-office/wps-office-11.1.0.9080.ebuild
new file mode 100644
index 000000000000..05e9a5d2e7c7
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.9080.ebuild
@@ -0,0 +1,84 @@
+# 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/wps
+ doexe "${S}"/usr/bin/wpp
+ doexe "${S}"/usr/bin/et
+
+ 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/{wps,wpp,et}
+}