From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/wps-office/
Date: Tue, 13 Feb 2018 21:30:14 +0000 (UTC) [thread overview]
Message-ID: <1518557406.09376e45b02fac4ed13f6d7f7b8820980667526d.pacho@gentoo> (raw)
commit: 09376e45b02fac4ed13f6d7f7b8820980667526d
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 21:28:59 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 21:30:06 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09376e45
app-office/wps-office: Update the deps completely as they were obsolete for a long time
Package-Manager: Portage-2.3.20, Repoman-2.3.6
.../wps-office-10.1.0.5707_alpha21-r1.ebuild | 130 +++++++++++++++++++++
1 file changed, 130 insertions(+)
diff --git a/app-office/wps-office/wps-office-10.1.0.5707_alpha21-r1.ebuild b/app-office/wps-office/wps-office-10.1.0.5707_alpha21-r1.ebuild
new file mode 100644
index 00000000000..d892d28e7b2
--- /dev/null
+++ b/app-office/wps-office/wps-office-10.1.0.5707_alpha21-r1.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit font gnome2-utils unpacker versionator xdg
+
+MY_PV="$(get_version_component_range 1-4)"
+MY_V="$(get_version_component_range 5)"
+
+if [ -z "$(get_version_component_range 6)" ]; then
+ MY_SP=""
+else
+ MY_SP="$(get_version_component_range 6)"
+fi
+
+case ${PV} in
+ *_alpha*)
+ MY_BRANCH=${MY_V/alpha/a}
+ ;;
+ *_beta*)
+ MY_BRANCH=${MY_V/beta/b}
+ ;;
+ *)
+ die "Invalid value for \${PV}: ${PV}"
+ ;;
+esac
+MY_VV=${MY_PV}~${MY_BRANCH}${MY_SP}
+
+DESCRIPTION="WPS Office is an office productivity suite"
+HOMEPAGE="http://linux.wps.cn/ http://wps-community.org/"
+
+KEYWORDS="~amd64 ~x86"
+
+SRC_URI="
+ x86? ( http://kdl.cc.ksosoft.com/wps-community/download/${MY_BRANCH}/${PN}_${MY_VV}_i386.deb )
+ amd64? ( http://kdl.cc.ksosoft.com/wps-community/download/${MY_BRANCH}/${PN}_${MY_VV}_amd64.deb )
+"
+
+SLOT="0"
+RESTRICT="strip mirror" # mirror as explained at bug #547372
+LICENSE="WPS-EULA"
+IUSE="+sharedfonts"
+
+# 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
+ sys-devel/gcc
+ sys-libs/glibc
+ 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/systemd
+ 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=""
+
+S="${WORKDIR}"
+
+src_install() {
+ exeinto /usr/bin
+ exeopts -m0755
+ doexe "${S}"/usr/bin/wps
+ doexe "${S}"/usr/bin/wpp
+ doexe "${S}"/usr/bin/et
+
+ if ! use sharedfonts; then
+ insinto /opt/kingsoft/wps-office/office6/fonts
+ doins -r "${S}"/usr/share/fonts/wps-office/*
+ rm -rf "${S}"/usr/share/fonts || die
+ fi
+
+ insinto /usr
+ doins -r "${S}"/usr/share
+
+ insinto /
+ doins -r "${S}"/opt
+ fperms 0755 /opt/kingsoft/wps-office/office6/{wps,wpp,et}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use sharedfonts && font_pkg_postinst
+ xdg_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_icon_cache_update
+}
next reply other threads:[~2018-02-13 21:30 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-13 21:30 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-01 8:34 [gentoo-commits] repo/gentoo:master commit in: app-office/wps-office/ Pacho Ramos
2024-08-01 8:34 Pacho Ramos
2024-03-03 19:18 Pacho Ramos
2024-02-25 15:20 Pacho Ramos
2023-06-19 13:31 Pacho Ramos
2023-05-11 17:03 Pacho Ramos
2023-04-18 15:08 Pacho Ramos
2023-02-24 14:21 Pacho Ramos
2022-12-16 15:48 Ionen Wolkens
2022-10-28 15:15 Pacho Ramos
2022-10-28 15:15 Pacho Ramos
2022-09-11 20:12 Sam James
2022-06-11 17:44 Pacho Ramos
2022-05-15 18:41 Pacho Ramos
2022-05-15 18:41 Pacho Ramos
2022-05-15 18:39 Pacho Ramos
2022-02-05 11:15 Pacho Ramos
2022-01-29 9:35 Pacho Ramos
2021-11-11 17:57 Pacho Ramos
2021-09-08 8:48 Pacho Ramos
2021-07-30 14:56 Sergei Trofimovich
2021-07-25 0:36 Sam James
2021-01-22 21:56 Pacho Ramos
2021-01-22 21:56 Pacho Ramos
2020-12-09 20:39 Pacho Ramos
2020-12-09 20:39 Pacho Ramos
2020-08-07 9:37 Pacho Ramos
2020-07-23 10:39 Pacho Ramos
2020-07-22 16:07 Pacho Ramos
2020-07-21 1:36 Aaron Bauman
2020-05-31 12:42 Pacho Ramos
2020-05-31 12:42 Pacho Ramos
2020-03-11 18:44 Pacho Ramos
2020-03-11 18:44 Pacho Ramos
2020-01-27 21:38 Pacho Ramos
2019-12-26 20:23 Pacho Ramos
2019-12-15 13:08 Pacho Ramos
2019-12-15 13:08 Pacho Ramos
2019-11-08 6:48 Michał Górny
2019-09-15 12:18 Pacho Ramos
2019-04-25 18:39 Pacho Ramos
2019-04-07 13:00 Pacho Ramos
2019-03-23 12:59 Pacho Ramos
2019-03-23 12:59 Pacho Ramos
2019-01-19 8:56 Pacho Ramos
2018-09-15 13:29 Pacho Ramos
2018-09-15 11:58 Pacho Ramos
2018-03-13 12:54 Pacho Ramos
2018-02-19 19:31 Pacho Ramos
2018-02-13 21:30 Pacho Ramos
2017-07-21 8:46 Pacho Ramos
2017-06-23 9:18 Pacho Ramos
2017-03-22 19:17 Pacho Ramos
2017-03-22 19:06 Pacho Ramos
2016-07-09 11:41 Pacho Ramos
2016-07-06 12:29 Heather Cynede
2016-02-07 12:28 Pacho Ramos
2016-02-07 12:28 Pacho Ramos
2016-01-16 10:00 Pacho Ramos
2016-01-16 10:00 Pacho Ramos
2015-12-26 13:22 Pacho Ramos
2015-12-26 13:22 Pacho Ramos
2015-09-08 18:05 Pacho Ramos
2015-09-05 7:53 Pacho Ramos
2015-09-05 7:50 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1518557406.09376e45b02fac4ed13f6d7f7b8820980667526d.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox