-
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: add 11.1.0.11720
- Loading branch information
Showing
4 changed files
with
145 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<catmetadata> | ||
<longdescription lang="en"> | ||
The app-office category contains 'office' (word processing, | ||
spreadsheets, presentation) software packages. | ||
</longdescription> | ||
<longdescription lang="de"> | ||
Die Kategorie app-office enthält Bürosoftware (Textverarbeitung, | ||
Tabellenkalkulation, Präsentation). | ||
</longdescription> | ||
<longdescription lang="es"> | ||
La categoría app-office contiene paquetes de oficina | ||
(procesadores de palabras, hojas de balance, presentación). | ||
</longdescription> | ||
<longdescription lang="ja"> | ||
app-officeカテゴリには「オフィス」(ワープロや表計算やプレゼンテーション) | ||
と言うソフトウェアパッケージが含まれます。 | ||
</longdescription> | ||
<longdescription lang="nl"> | ||
De app-office categorie bevat applicaties voor kantoorwerk, zoals text- | ||
verwerkers, spreadsheets, presentatiehulpmiddelen enz. | ||
</longdescription> | ||
<longdescription lang="vi"> | ||
Nhóm app-office chứa các ứng dụng 'văn phòng' (soạn | ||
thảo văn bản, bảng tính, trình diễn). | ||
</longdescription> | ||
<longdescription lang="it"> | ||
La categoria app-office contiene pacchetti per ufficio | ||
(videoscrittura, fogli elettronici, presentazioni). | ||
</longdescription> | ||
<longdescription lang="pt"> | ||
A categoria app-office contém pacotes de software para | ||
escritório (processadores de textos, planilhas, apresentações). | ||
</longdescription> | ||
<longdescription lang="pl"> | ||
Kategoria app-office zawiera programy biurowe takie jak edytory tekstu, | ||
arkuszy kalkulacyjnych i prezentacji. | ||
</longdescription> | ||
</catmetadata> |
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 @@ | ||
DIST wps-office_11.1.0.11720_amd64.deb 381485080 BLAKE2B 68dd6626d785e80f64139847b53ee075ce21c7589f6dfb635237c0fbe92a3dac6c24871751950f9f48144036dd4e1b96d4b738d07cca6b991f10eac1c0d5243e SHA512 bdd8cd1fe14f94460188c3f0e18e053b788c4d13f00281101e1447ba4032812ddb556914a287026472e9a982813ab9f1b72545cca00355601bd4636fce94cf0e |
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,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Pacho Ramos</name> | ||
</maintainer> | ||
</pkgmetadata> |
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,96 @@ | ||
# Copyright 1999-2024 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://linux.wps.cn" | ||
|
||
KEYWORDS="~amd64" | ||
|
||
SRC_URI=" | ||
amd64? ( https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${MY_PV}/${PN}_${PV}_amd64.deb ) | ||
" | ||
|
||
SLOT="1" | ||
RESTRICT="bindist strip mirror" # mirror as explained at bug #547372 | ||
QA_PREBUILT="*" | ||
LICENSE="WPS-EULA" | ||
IUSE="systemd" | ||
|
||
# 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/lz4 | ||
app-arch/xz-utils | ||
dev-libs/expat | ||
dev-libs/glib:2 | ||
dev-libs/libbsd | ||
dev-libs/libffi:0/8 | ||
dev-libs/libgcrypt:0 | ||
dev-libs/libgpg-error | ||
dev-libs/libpcre:3 | ||
media-libs/fontconfig:1.0 | ||
media-libs/freetype:2 | ||
media-libs/flac:0/10-12 | ||
media-libs/libogg | ||
media-libs/libpulse | ||
media-libs/libsndfile | ||
media-libs/libvorbis | ||
media-libs/tiff-compat:4 | ||
net-libs/libasyncns | ||
net-print/cups | ||
sys-apps/attr | ||
sys-apps/tcp-wrappers | ||
sys-apps/util-linux | ||
sys-libs/libcap | ||
sys-libs/libcxx | ||
sys-libs/zlib:0 | ||
virtual/glu | ||
x11-libs/gtk+:2 | ||
x11-libs/libICE | ||
x11-libs/libSM | ||
x11-libs/libX11 | ||
x11-libs/libXau | ||
x11-libs/libxcb | ||
x11-libs/libXdmcp | ||
x11-libs/libXext | ||
x11-libs/libXrender | ||
x11-libs/libXtst | ||
systemd? ( sys-apps/systemd ) | ||
!${CATEGORY}/${PN}:0 | ||
" | ||
|
||
S="${WORKDIR}" | ||
|
||
pkg_nofetch() { | ||
elog "Please visit https://linux.wps.cn and download ${PN}_${PV}_amd64.deb" | ||
elog "into your DISTDIR directory." | ||
} | ||
|
||
src_install() { | ||
# https://bugs.gentoo.org/878451 | ||
rm "${S}"/opt/kingsoft/wps-office/office6/libstdc++.so* || die | ||
|
||
# https://bugs.gentoo.org/813138 | ||
use systemd || { rm "${S}"/opt/kingsoft/wps-office/office6/libdbus-1.so* || die ; } | ||
|
||
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/{wps,wpp,et,wpspdf,wpsoffice,promecefpluginhost,transerr,ksolaunch,wpscloudsvr} | ||
} |