public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Fri, 23 Jun 2017 09:18:23 +0000 (UTC)	[thread overview]
Message-ID: <1498209490.16df5300ef9dc8749f4acb23010a76a976c82c12.pacho@gentoo> (raw)

commit:     16df5300ef9dc8749f4acb23010a76a976c82c12
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 09:10:01 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 09:18:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16df5300

app-office/wps-office: Version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-office/wps-office/Manifest                     |   2 +
 .../wps-office-10.1.0.5707_alpha21.ebuild          | 145 +++++++++++++++++++++
 2 files changed, 147 insertions(+)

diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index dd037ce3073..16f2cbf1431 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1,2 +1,4 @@
 DIST wps-office_10.1.0.5672~a21_amd64.deb 82319222 SHA256 d6d27039a9a70f4f12cc2522a64a318533746da71f29d012e79b3aef63425bdc SHA512 f90491819795b73ed6cca8b133c3ba76ae8bf26f01c6166e63e3d4f9dfc60acb3115a4612eec87fc3f6aaf6e8f7514d7f82d995e36013fe6486a819cf67734ba WHIRLPOOL b04e39b8a5efe24340c24932503a2eb72ff0217ac0a625ae810776aab616303730d81c50544ee7ac61c28a5ed5f9bc5776b09ed5de78b62e7cd526b82e9cd141
 DIST wps-office_10.1.0.5672~a21_i386.deb 81926170 SHA256 c5bf75e057b7070c803bf74cd8a12689322d8397b906219d41f9ebacdfbb2880 SHA512 47d52f51419fed6671626ef2ced5f31b40787044d604b0168b3e185eab505e211f029ad5ec7d1170b00849f19c02e474896b09829541bf0177a7f047f9a7dbf0 WHIRLPOOL a1473b1ea21a28ca719567833cfe4eb57d97fe726fa751e37794988f51571186bc5e29f453c5411b551ee7ae7ef469311962e7b8e9020f71efe0ef26bcbd9647
+DIST wps-office_10.1.0.5707~a21_amd64.deb 88085156 SHA256 210c340ef9a1e8f127a18c32e0f53aa2bf58af7c94f532a546fb999fbf8bf2fa SHA512 3812237ef2662a9b7e3777dc253c8c410fca73627eb42e33c177b7a2c52b27324fd3ff75b24e1309ecf77279086ab639e3b7fe3e42a4a420036e2989e1941ebd WHIRLPOOL 9843b391562db0fb7fa6c9fb72e4fbcd5177d929cc4d96a626f2db9b2dfc891dfd7cdf05668805c35e2e39b86fac5e2afc27cf4f63e1fa60f66afc96a562c751
+DIST wps-office_10.1.0.5707~a21_i386.deb 87863566 SHA256 8e4625f4feabe010dccd95f9e09d488aa72fb9652c3db2aa7f4a671d0ee98355 SHA512 0fb3eb873f0017d9dbe7a3dc7d849086cdbbd5eaaf5fbfb9bdbe737c40029799df83d98e4e0bf04f6737a0033c76fccba206a3342624b045e309b6d2c35fffe7 WHIRLPOOL d5dd9ee250ad2333246fa7f71ed347cdb44986a1efada85e746282164092538917d72961e22a36473810f7ae394af2055c881c4129921c3bb25c3cb6762a16f0

diff --git a/app-office/wps-office/wps-office-10.1.0.5707_alpha21.ebuild b/app-office/wps-office/wps-office-10.1.0.5707_alpha21.ebuild
new file mode 100644
index 00000000000..e480a1469eb
--- /dev/null
+++ b/app-office/wps-office/wps-office-10.1.0.5707_alpha21.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fdo-mime font gnome2-utils unpacker versionator
+
+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"
+
+UNBUNDLED_LIBS="
+	media-libs/phonon
+"
+# Not fully unbundled: media-libs/phonon , libkso.so needs system copy, but
+# wpp fails to run if bundled one is not present due to invalid symbols
+#	media-libs/phonon
+#	media-libs/tiff:3
+#	dev-qt/qtwebkit:4
+#	dev-qt/qtcore:4
+#	dev-qt/qtdbus:4
+
+NATIVE_DEPEND="
+	app-arch/bzip2
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/libffi
+	dev-libs/libxml2:2
+	media-libs/fontconfig:1.0
+	media-libs/freetype:2
+	media-libs/glu
+	media-libs/gst-plugins-base:0.10
+	media-libs/gstreamer:0.10
+	media-libs/libpng:1.2
+	virtual/opengl
+	media-libs/tiff:3
+	sys-apps/util-linux
+	sys-libs/zlib
+	x11-libs/libdrm
+	x11-libs/libICE
+	x11-libs/libSM
+	x11-libs/libX11
+	x11-libs/libXau
+	x11-libs/libxcb
+	x11-libs/libXdamage
+	x11-libs/libXdmcp
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrender
+	x11-libs/libXxf86vm
+	media-libs/libmng
+	net-print/cups
+"
+RDEPEND="
+	${UNBUNDLED_LIBS}
+	${NATIVE_DEPEND}
+	net-nds/openldap
+	dev-db/sqlite:3
+"
+DEPEND=""
+
+S="${WORKDIR}"
+
+#src_prepare() {
+#	default
+
+	# Remove bundled libs and rely on system versions if possible
+	# Commented lines are about the libs that cannot be unbundled yet.
+#	cd "${S}"/opt/kingsoft/wps-office/office6/
+#	rm -f libQtCore.so* || die
+#	rm -f libQtDBus.so* || die
+#	rm -f libQtNetwork.so || die
+#	rm -f libQtWebKit.so* || die
+#	rm -f libphonon.so*
+#	rm -f libtiff.so.4* || die
+#}
+
+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() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	use sharedfonts && font_pkg_postinst
+	fdo-mime_desktop_database_update
+	fdo-mime_mime_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2017-06-23  9:18 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23  9:18 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-02 13:00 [gentoo-commits] repo/gentoo:master commit in: app-office/wps-office/ Pacho Ramos
2024-08-01  8:34 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
2018-02-13 21:30 Pacho Ramos
2017-07-21  8:46 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=1498209490.16df5300ef9dc8749f4acb23010a76a976c82c12.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