summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-02-13 22:29:13 +0100
committerPacho Ramos <pacho@gentoo.org>2018-02-13 22:30:08 +0100
commit727d75ae4814bcdc75efb72a95413f2c1ab79091 (patch)
tree32e0b253ba65bdfe7817099307272772f268fbe6 /app-office/wps-office
parentapp-office/wps-office: Update the deps completely as they were obsolete for a... (diff)
downloadgentoo-727d75ae4814bcdc75efb72a95413f2c1ab79091.tar.gz
gentoo-727d75ae4814bcdc75efb72a95413f2c1ab79091.tar.bz2
gentoo-727d75ae4814bcdc75efb72a95413f2c1ab79091.zip
app-office/wps-office: Drop old
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'app-office/wps-office')
-rw-r--r--app-office/wps-office/wps-office-10.1.0.5707_alpha21.ebuild145
1 files changed, 0 insertions, 145 deletions
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
deleted file mode 100644
index e480a1469eb2..000000000000
--- a/app-office/wps-office/wps-office-10.1.0.5707_alpha21.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# 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
-}