summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-09-15 13:50:38 +0200
committerPacho Ramos <pacho@gentoo.org>2019-09-15 13:50:38 +0200
commitef5f0ff8b24b0b3ea159cc02a2e91f7f6f497f02 (patch)
tree93d9924b351a9a302c7fd5e49d26c05ec5ea4aee
parentnet-libs/libsoup: Bump to 2.66.3 (diff)
downloadgentoo-ef5f0ff8b24b0b3ea159cc02a2e91f7f6f497f02.tar.gz
gentoo-ef5f0ff8b24b0b3ea159cc02a2e91f7f6f497f02.tar.bz2
gentoo-ef5f0ff8b24b0b3ea159cc02a2e91f7f6f497f02.zip
app-office/wps-office: Version bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
-rw-r--r--app-office/wps-office/Manifest1
-rw-r--r--app-office/wps-office/wps-office-11.1.0.8865.ebuild84
2 files changed, 85 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index c367a4c89c1e..f9468538e088 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1,2 +1,3 @@
DIST wps-office_11.1.0.8372_amd64.deb 213018066 BLAKE2B 9769bc6c4c6d292259594f0e39361e67e00cfb4bae05119ecf12ce0666944110c5bc61f5761cf8713bb944237780883116b928a6623d8e6ec476667c64f9c8af SHA512 9a690f6ec9b46f827dcf593316f71bcb13ad55568ccb0056c679e5c803a899cad89b7399d307da07a239aeca7a08a5669b8892649f005464fe0cb2efa926d523
DIST wps-office_11.1.0.8372_i386.deb 216082588 BLAKE2B c8d4f2f4e12b28a38553023ba281add34266266ffadbf1c0bfc3c6a08ef5b0c9f1b3ec828cc5106aea3c8d28409b87a9fc0a3c791f4e9f95e1a2a63ff2651c50 SHA512 76044bbb0cba614a2c506baef8e309f9a965009aa74922a64975a7a78f703e7091efedfb363ff0d86bf794b854cd6646226db902bf8a9afc064a64631cbb05e7
+DIST wps-office_11.1.0.8865_amd64.deb 252991358 BLAKE2B 476d7431a7690b56a2958233bd204a75a32b7f6f7598a092ede89355db6e9749194de41d1a0598e4ef02c96190a5803db007fc848540a5a1e797a32c8f918c20 SHA512 2f515fdfd3f380eb5ba2661006288b04d192ff75d02b95ae2f16a146b287aa78b24d2ae258590354fa567c2c52502ef4e7b9f2ad6ea965911208557681c4a1e7
diff --git a/app-office/wps-office/wps-office-11.1.0.8865.ebuild b/app-office/wps-office/wps-office-11.1.0.8865.ebuild
new file mode 100644
index 000000000000..a6c94fc5dbea
--- /dev/null
+++ b/app-office/wps-office/wps-office-11.1.0.8865.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 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://kdl.cc.ksosoft.com/wps-community/download/${MY_PV}/${PN}_${PV}_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: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}
+}