diff options
Diffstat (limited to 'app-office/wps-office')
-rw-r--r-- | app-office/wps-office/Manifest | 2 | ||||
-rw-r--r-- | app-office/wps-office/wps-office-11.1.0.10702.ebuild | 94 |
2 files changed, 96 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest index 0b22c3bf7deb..aaba13840edf 100644 --- a/app-office/wps-office/Manifest +++ b/app-office/wps-office/Manifest @@ -1,3 +1,5 @@ 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 EBUILD wps-office-11.1.0.10161-r2.ebuild 2073 BLAKE2B 7fabbe26a855ddca1b18f20da07919b52835406f552eab8d7fbe96a30d6d412d89fbc16baaa70bf3195fcc1d5b059fcd35d8ed5a73c72ba7db77301324095554 SHA512 6b612a1c97b65a9d624c01029626829a667d15f88dce5221171fc6d5251beb438bb4beff41625e624f659886ea6ec1ac0bedf164d5aa0251c2c2fffe364404ff +EBUILD wps-office-11.1.0.10702.ebuild 2091 BLAKE2B 22da6d0a8c25f60bdcbb9ad0036e96786dad9870e474a90174d37dee6ed22540ed3cf3eb3e4dbf4e5a707c817ab2a7bb09bd4324107fe41d0804ece331a36094 SHA512 2dd8d6bab8720689b2e024786ba1540a3dd73b2bc78b0be0bf60f563a2d7116b1ee97776c0b31b09089f57c7c47570e2d386a6a18f1fb8f7ba2ad12eb269ba9b MISC metadata.xml 239 BLAKE2B 33a4b7a2007252ef09e319431769f16c7010fc511e2e2ff02853ce5bf064f90b3e3ff088d97510fa0cfdd2dffaf82872f836aff8385efcee22a62d611cc41a21 SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623 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} +} |