summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-06-23 11:10:01 +0200
committerPacho Ramos <pacho@gentoo.org>2017-06-23 11:18:10 +0200
commit16df5300ef9dc8749f4acb23010a76a976c82c12 (patch)
tree035544c23e0a3fae1685cee1985cdd05607b2fab /app-office
parentmail-client/cone: bump to 0.95 (diff)
downloadgentoo-16df5300ef9dc8749f4acb23010a76a976c82c12.tar.gz
gentoo-16df5300ef9dc8749f4acb23010a76a976c82c12.tar.bz2
gentoo-16df5300ef9dc8749f4acb23010a76a976c82c12.zip
app-office/wps-office: Version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-office')
-rw-r--r--app-office/wps-office/Manifest2
-rw-r--r--app-office/wps-office/wps-office-10.1.0.5707_alpha21.ebuild145
2 files changed, 147 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index dd037ce30739..16f2cbf14315 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 000000000000..e480a1469eb2
--- /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
+}