diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-12-26 14:21:41 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-12-26 14:22:12 +0100 |
commit | 45e0c1521935cf3e2413ff3678e5d7e3920f7cc6 (patch) | |
tree | 707c618fbef69230c1258e76754cf225fb55e2c9 /app-office/wps-office | |
parent | mail-filter/rspamd: new ebuild, from my overlay (diff) | |
download | gentoo-45e0c1521935cf3e2413ff3678e5d7e3920f7cc6.tar.gz gentoo-45e0c1521935cf3e2413ff3678e5d7e3920f7cc6.tar.bz2 gentoo-45e0c1521935cf3e2413ff3678e5d7e3920f7cc6.zip |
Version bump (reported in github by WallanceLee)
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-office/wps-office')
-rw-r--r-- | app-office/wps-office/Manifest | 2 | ||||
-rw-r--r-- | app-office/wps-office/wps-office-10.1.0.5444_alpha20.ebuild | 141 |
2 files changed, 143 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest index 70d6e39525c3..ebebfff8c725 100644 --- a/app-office/wps-office/Manifest +++ b/app-office/wps-office/Manifest @@ -1,3 +1,5 @@ +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_9.1.0.4961~a18p1_amd64.deb 67419632 SHA256 a37c28648d571571351582e0863d252fc7378da87683c335ee93937a09924a6f SHA512 c828f9cc3383a33db533ada811dd8ca2d80599b8c49d9f1a4fd6080386245aae7a5bc71b2e628cacb2bf9c07b2619417afebf990c6332abb4e23ade2ef0f471f WHIRLPOOL c46cf46a6bd8249c5f6643fbc61c03a374e264a3577e66c32e459b95ae7fe4ef663488657a2c4ba4ef79a32dddbe0ae63515f7efcd898dada698528d74778386 DIST wps-office_9.1.0.4961~a18p1_i386.deb 74647622 SHA256 e5e6f2813d3e778c68c3bc810ebe95ee862700c7ebf823f10a70dffbea1cd81c SHA512 7d90812e4a5a23f7d55f30c24831f8c17825048da14de6689cd8df9c4ce0cfb62982a05da78cbdc314e174b0e965c04852b104dd4d44bd1b76af45fdeba604d8 WHIRLPOOL 83fe9921bb71e2541790bff44728cd3ae5d557819ee25f103f5b3cb4c4e8d4801d2f402029371b8a58d6bdb5459efe8f5f64777b763070ab79d9690915c2b87d DIST wps-office_9.1.0.4975~a19p1_amd64.deb 64716800 SHA256 79a49c9db0c4482c894e3c334e38bd299302e1c4bb4cd387f6a615f9e054a25d SHA512 f92415eb8d652afa6601dbea8f87949ed05d970e610c5aedebda21f2b0386a80bcea164f86e7c680946302d2f953067fc88889891a346353e4f15b547ecb8a3a WHIRLPOOL b8603756e4d3b09691974966d62f80dbe1ec668ae2eb5d99bbe2ad39a6c944de89292ede651143d894fad2631f7686036cd4a281ed5265a09f1af6361d75ea77 diff --git a/app-office/wps-office/wps-office-10.1.0.5444_alpha20.ebuild b/app-office/wps-office/wps-office-10.1.0.5444_alpha20.ebuild new file mode 100644 index 000000000000..cd7c16fa8240 --- /dev/null +++ b/app-office/wps-office/wps-office-10.1.0.5444_alpha20.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 +} |