mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
update wps
This commit is contained in:
parent
51bf4416b3
commit
f72f1fde2e
@ -1 +1,2 @@
|
|||||||
DIST wps-office_11.1.0.10161_amd64.deb 319356564 BLAKE2B cf7dff9057d5c7b62655e09ce08868b5a9ec9e191ad174e71dd963b564e4ea3d6a42113d60b72d929188c0b63978865e0473a85e3c7de3c3b55d7e365d9ff809 SHA512 cea2d824c22e459c714b68c2c6434fac2dedbeadc83268821fb7edb04b8c16d15ecd7c9dca88abeb2502bb6fb8ff2b65005f9d90eaadec415031ffbfdcff687e
|
DIST wps-office_11.1.0.10161_amd64.deb 319356564 BLAKE2B cf7dff9057d5c7b62655e09ce08868b5a9ec9e191ad174e71dd963b564e4ea3d6a42113d60b72d929188c0b63978865e0473a85e3c7de3c3b55d7e365d9ff809 SHA512 cea2d824c22e459c714b68c2c6434fac2dedbeadc83268821fb7edb04b8c16d15ecd7c9dca88abeb2502bb6fb8ff2b65005f9d90eaadec415031ffbfdcff687e
|
||||||
|
DIST wps-office_11.1.0.10702_amd64.deb 364304508 BLAKE2B 877aee01ef637d3e14569399a7b93226f17b7dc9cae482889d520b630c1d2fb59eceb5f8e5fed934ca666cda226433a3b6c50ef0a3bf18a60965dc0eeb322064 SHA512 9742955bd0efe802aa0666c857f42257bd0461fec566e141c9e899b31f6482894720a3c37e28337744ecc9ff2b5a6fc4900370260241423d9489823723ded547
|
||||||
|
81
app-office/wps-office/wps-office-11.1.0.10702.ebuild
Normal file
81
app-office/wps-office/wps-office-11.1.0.10702.ebuild
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# 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, Here is the Chinese version"
|
||||||
|
HOMEPAGE="http://www.wps.cn/product/wpslinux/ http://wps-community.org/"
|
||||||
|
|
||||||
|
KEYWORDS="amd64"
|
||||||
|
|
||||||
|
SRC_URI="https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/${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
|
||||||
|
virtual/glu
|
||||||
|
|
||||||
|
dev-libs/libpcre:3
|
||||||
|
dev-libs/libffi
|
||||||
|
media-sound/pulseaudio
|
||||||
|
app-arch/bzip2:0
|
||||||
|
dev-libs/expat
|
||||||
|
sys-apps/util-linux
|
||||||
|
dev-libs/libbsd
|
||||||
|
x11-libs/libXau
|
||||||
|
x11-libs/libXdmcp
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
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/*
|
||||||
|
|
||||||
|
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,wpspdf,wpsoffice,promecefpluginhost,transerr}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user