summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-09-08 10:24:19 +0200
committerPacho Ramos <pacho@gentoo.org>2021-09-08 10:48:07 +0200
commitf515fc04a9b8deaec5c6d767b4683e8bfd02c3d3 (patch)
treec469bf4c3d6c9a9d2562472b33fe8e4cab328c74 /app-office
parentnet-misc/wget: Bump to version 1.21.2 (diff)
downloadgentoo-f515fc04a9b8deaec5c6d767b4683e8bfd02c3d3.tar.gz
gentoo-f515fc04a9b8deaec5c6d767b4683e8bfd02c3d3.tar.bz2
gentoo-f515fc04a9b8deaec5c6d767b4683e8bfd02c3d3.zip
app-office/wps-office: Bump to 11.1.0.10702
Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/wps-office/Manifest1
-rw-r--r--app-office/wps-office/wps-office-11.1.0.10702.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index 1f09a7a70e17..88a0b4e4b516 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1 +1,2 @@
DIST wps-office_11.1.0.10161.XA_amd64.deb 228984666 BLAKE2B 2b2a5f2048c0e5b292571875197fa51cc5ec25bd59a03bdedad20513b203bc92ea9420881c87352cbe5a0aca25f386f773bb1e1e250fec5ba774b240fc649c95 SHA512 bdc0b8e8c04a904ed5e8f6ecf332db1217c0929dc845b63f13ea074fa508332c5272d087a0502ed92601ab964936c7b458ac5f37a72049d3a5f579649765285f
+DIST wps-office_11.1.0.10702.XA_amd64.deb 275210770 BLAKE2B 6d008e5f59c47e493aeb3b0518ab0c576e7fd2907e6dc87e9c38ac1ea2fac4f8ef16a8b31a7ef44f59adbfc98c75b07f0f8308cfb5ea1bcd3a0483285691d7d8 SHA512 f198fa180fd048ad80f8737a034f43a802297ebe6c6b1c24132d92d4758d8001c3fd270a7b724b84521682c90ac52e362acf1e285bca6e29bdfd45909c7d50e0
diff --git a/app-office/wps-office/wps-office-11.1.0.10702.ebuild b/app-office/wps-office/wps-office-11.1.0.10702.ebuild
new file mode 100644
index 000000000000..30f4b3f8942c
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.10702.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 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.cn/product/wpslinux/ http://linux.wps.com/"
+
+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:0/7 dev-libs/libffi-compat:7 )
+ 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: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
+ dev-libs/libxslt
+ x11-libs/pango
+ virtual/glu
+"
+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}
+
+ fperms 0755 /opt/kingsoft/wps-office/office6/{et,wpp,wps,wpspdf}
+}