wps-office de portage
This commit is contained in:
parent
d830f15c4f
commit
a23baa80f5
3 changed files with 102 additions and 0 deletions
7
app-office/wps-office/Manifest
Normal file
7
app-office/wps-office/Manifest
Normal file
|
@ -0,0 +1,7 @@
|
|||
DIST wps-office_10.1.0.6758_x86.tar.xz 134090056 BLAKE2B b137774b23c947cf81e3c3b4bdde105285c415ae18c14ed6e11ab72d10287ec7129b63c17c73494c146da94d5df0c266f7bc4b7490f6740ff0cb89c99d89f2d2 SHA512 ed1a59e3abfdda71025eacfd6eb6f699459ce815894232ca6205990f4de5cb7a51c958a354edb01b6411ffba691aa03c839720f156ea467c018e005dcc795d75
|
||||
DIST wps-office_10.1.0.6758_x86_64.tar.xz 131332480 BLAKE2B 030474fe48d392f6b8d00da19b8be97e5e19414cac64567c563d6dfc79a89e40ef7cdf0551219bada63661a69aa23ba3bfa8a808d41d0fa6f4c61e61b0871678 SHA512 2e1510d79119a4950437023ec34199e3e6e5ddc43e655af0cc0993758f640887395771ca27a4eec1bb9e81788738221d135d652feda988b6a3194090229c9cfd
|
||||
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
|
||||
EBUILD wps-office-10.1.0.6758.ebuild 2150 BLAKE2B d04a941bb18e5aa1551f253881dd990ae13ed50d7b6b8cdde6c64787c3b4dabef67895620c4fc211bc1b69e49096cafc244a1aaf7f91e65322f725f6b6dd9394 SHA512 1e94128bf7843c66ebb06602f7d47e3e8f5d66aceef6b631cd2839cc8ad2d36dc7cf49576bc9e75fa3e0b1a614aa6221bdab0c7a176f6b5946ec3ccd8a954d4c
|
||||
EBUILD wps-office-11.1.0.8372.ebuild 1920 BLAKE2B 96a5ee9eb15d3660dbbf8c6ad4a334c34103e8173cb02d17c838cb610a3acf5108c31421e98a97ff87fad2ac0ee46b07c6b63c8b93ae2337920f6eec56eb989c SHA512 bf971365a23a7330ff76be72d6435436dc9c75cd050b061bc0e4d6a66f2c7f9efdd3d2bd766a609ce3995b07001b7ff021c2cf8ca5d646b2e711a5d7aeae3757
|
||||
MISC metadata.xml 239 BLAKE2B 33a4b7a2007252ef09e319431769f16c7010fc511e2e2ff02853ce5bf064f90b3e3ff088d97510fa0cfdd2dffaf82872f836aff8385efcee22a62d611cc41a21 SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623
|
8
app-office/wps-office/metadata.xml
Normal file
8
app-office/wps-office/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pacho@gentoo.org</email>
|
||||
<name>Pacho Ramos</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
87
app-office/wps-office/wps-office-11.1.0.8372.ebuild
Normal file
87
app-office/wps-office/wps-office-11.1.0.8372.ebuild
Normal file
|
@ -0,0 +1,87 @@
|
|||
# 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 ~x86"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( http://kdl.cc.ksosoft.com/wps-community/download/${MY_PV}/${PN}_${PV}_amd64.deb )
|
||||
x86? ( http://kdl.cc.ksosoft.com/wps-community/download/${MY_PV}/${PN}_${PV}_i386.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}
|
||||
}
|
Loading…
Reference in a new issue