forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-office/wps-office: Bump to 11.1.0.10161
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Pacho Ramos <[email protected]>
- Loading branch information
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST wps-office_11.1.0.10161.XA_amd64.deb 228984666 BLAKE2B 2b2a5f2048c0e5b292571875197fa51cc5ec25bd59a03bdedad20513b203bc92ea9420881c87352cbe5a0aca25f386f773bb1e1e250fec5ba774b240fc649c95 SHA512 bdc0b8e8c04a904ed5e8f6ecf332db1217c0929dc845b63f13ea074fa508332c5272d087a0502ed92601ab964936c7b458ac5f37a72049d3a5f579649765285f | ||
DIST wps-office_11.1.0.9615.XA_amd64.deb 226220962 BLAKE2B 4ef64d1e610bf9eb8cd03b204229d6dbc7d50e1850034aeaa6b80863cf060db8c7ac276f33047b84948af29cfa511ab5141f57d821d01999828a47066281303e SHA512 23a788c592688649a7d3e789934af37e1892b3a817b1ea3689fa88322500a2ef16794623e98b8ab61288ca800925df243579e0b76c5bec1dda0b77d8f704e3db | ||
DIST wps-office_11.1.0.9719.XA_amd64.deb 225790936 BLAKE2B fea8ccda302605525904d4399b134dec1567b702a9a30f337ae24bd35459512661539be27b4c06ae9fb71f893e4dcb1d906dc1221abc09264dc349cf9bbfe224 SHA512 231d5e824a66c64a41a38d3b421061da8562d53a0c5517b452d57f25dd2bb3252faaf8a3d3ac83f57d916b38cc288c13eaaa20bfba83fc334b6db508db015ce5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Copyright 1999-2021 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://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 | ||
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 | ||
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 prefence 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} | ||
} |