summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/wps-office/Manifest1
-rw-r--r--app-office/wps-office/wps-office-11.1.0.9615.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index 5da7f25c1a92..7543617325bf 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1 +1,2 @@
DIST wps-office_11.1.0.9505.XA_amd64.deb 212685550 BLAKE2B 56c38f01837c33e55ea2266a6b55781a911becb3af89baa8089c59ae43a565a46558e677c7d84f91ef51e64dd3024f4729027dd0621ea9b4a10188f4e63a1db5 SHA512 d6d7e4fd85fbf24b08281d68ad3be9280d9b337555e328f75db1e53b9ce1bb47b2265b73e2da00df7b1a9b0a9775152920bd439368307f2373f611de6eaf19a7
+DIST wps-office_11.1.0.9615.XA_amd64.deb 226220962 BLAKE2B 4ef64d1e610bf9eb8cd03b204229d6dbc7d50e1850034aeaa6b80863cf060db8c7ac276f33047b84948af29cfa511ab5141f57d821d01999828a47066281303e SHA512 23a788c592688649a7d3e789934af37e1892b3a817b1ea3689fa88322500a2ef16794623e98b8ab61288ca800925df243579e0b76c5bec1dda0b77d8f704e3db
diff --git a/app-office/wps-office/wps-office-11.1.0.9615.ebuild b/app-office/wps-office/wps-office-11.1.0.9615.ebuild
new file mode 100644
index 000000000000..9989ac889b6b
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.9615.ebuild
@@ -0,0 +1,93 @@
+# 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="https://www.wps.cn/product/wpslinux/ http://wps-community.org/"
+
+KEYWORDS="~amd64"
+
+SRC_URI="https://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
+QA_PREBUILT="*"
+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="
+ app-arch/bzip2:0
+ app-arch/xz-utils
+ app-arch/lz4
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libbsd
+ dev-libs/libffi
+ dev-libs/libgcrypt:0
+ dev-libs/libgpg-error
+ dev-libs/libpcre:3
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsndfile
+ media-libs/libvorbis
+ media-libs/libpng-compat:1.2
+ media-libs/libpng:0
+ media-sound/pulseaudio
+ net-libs/libasyncns
+ net-print/cups
+ sys-apps/attr
+ sys-apps/util-linux
+ sys-apps/dbus
+ sys-apps/tcp-wrappers
+ sys-libs/libcap
+ sys-libs/zlib:0
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libXv
+ x11-libs/libxcb
+ x11-libs/pango
+ virtual/glu
+"
+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}
+}