summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-16 10:59:40 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-16 11:00:11 +0100
commitfd866d14e2f0dce2133b57c05356cee219faf317 (patch)
tree3825f75ac596e1bd6b23dc5915b709ab28daa0bc /app-office/wps-office
parentapp-office/wps-office: Drop old (diff)
downloadgentoo-fd866d14e2f0dce2133b57c05356cee219faf317.tar.gz
gentoo-fd866d14e2f0dce2133b57c05356cee219faf317.tar.bz2
gentoo-fd866d14e2f0dce2133b57c05356cee219faf317.zip
app-office/wps-office: Version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-office/wps-office')
-rw-r--r--app-office/wps-office/Manifest2
-rw-r--r--app-office/wps-office/wps-office-10.1.0.5460_alpha20_p1.ebuild141
2 files changed, 143 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
index 739830ccaadf..6213619ec425 100644
--- a/app-office/wps-office/Manifest
+++ b/app-office/wps-office/Manifest
@@ -1,2 +1,4 @@
DIST wps-office_10.1.0.5444~a20_amd64.deb 81954904 SHA256 19380705962fb6f161dbf2ba40c6a5b5df34dc55b983ac6b1bd1776baeef2069 SHA512 585bcf5f51c7fec073fdc284501e4f31199f5982badaf879b325b6e49b5e0d4c3eb0d719ce6b5ee180aed8b479531e8f060d036902a4efbe6c632bb0146e6eb3 WHIRLPOOL 246fb53eb3122966be033c0bcc20035b86fbd0b8f1a327fa21bbd27ffef14738c61f23d00431e5b7ab93fc95d759e6bc269c128de66ad45488d363f2e3d63d30
DIST wps-office_10.1.0.5444~a20_i386.deb 81553560 SHA256 130ac0926ae2c8bc4dc3b3092998556b5d949044d7630cc4d41b5339e6e487f5 SHA512 02474a9948b1e2907a84522cb7d84a4acbda5bfdd5aa97068b60acf92646ef89858ee1eb5e834be7caa2eeb8c8e3eb33b5fd691d15711e5daf205611dfac0363 WHIRLPOOL 8d06d473ae042497173b68bedc3d776c1f3b133428035410c14d24ea12e0a340ab47a1362f60eb6b1113ab48a2bfb9aac55031a878f6097f644477b751130b73
+DIST wps-office_10.1.0.5460~a20p1_amd64.deb 81891888 SHA256 5e4844a0da411f2ff01d3b1dd03ff7291799001ee7a78925d8c5dd3ca3fce8d0 SHA512 ae3ff4923177f6fa8e097099045b7c7c7b03473cb55a074cc84a184e0e263445287783b9a123847645573928393708f0480300132614067c04fd2cb3a11076ec WHIRLPOOL 8d0c6b596401e6dcdc5c11cd3cf2f842a3dbf52232a2b128a8678c86107ddc0aae9191de93bbb555fc3c0b57293348a1998cd20a8bd6063b7deb3855b813856e
+DIST wps-office_10.1.0.5460~a20p1_i386.deb 81407384 SHA256 cf314da6a7f82a72664633f90bbfc75940a931661c01b6904db5229445d00fd0 SHA512 d720ca78a35bf60fcdb209bd19b5c0d865da87681e08cf7848a01a76f260f23f5de41ba9d3c635f300cd27518f6b0643f6476970128fbb40429ffbc0d76d945c WHIRLPOOL edf33b0a1e2ebf2288bf6a6bf3ad216d99efd7bf68fad1c5c1aab216fc42c03ec503dacb60e6140873374006520b6d292ff03455d1368124fab3ab88989169c1
diff --git a/app-office/wps-office/wps-office-10.1.0.5460_alpha20_p1.ebuild b/app-office/wps-office/wps-office-10.1.0.5460_alpha20_p1.ebuild
new file mode 100644
index 000000000000..cd7c16fa8240
--- /dev/null
+++ b/app-office/wps-office/wps-office-10.1.0.5460_alpha20_p1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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/"
+
+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/tiff:3
+# dev-qt/qtwebkit:4
+# dev-qt/qtcore:4
+# dev-qt/qtdbus:4
+# media-libs/phonon
+
+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() {
+ # 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
+}