app-office/onlyoffice-bin: bump to 5.5.1; update manifest

This commit is contained in:
Parona 2020-04-14 00:21:40 +03:00
parent 6c000a8644
commit 61c7d432c7
2 changed files with 121 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST ONLYOFFICE-DesktopEditors-5.4.2_amd64.deb 163646374 BLAKE2B 19824eb921cd4262e5eb8f3b6bd70472e33d67badadc3d748ab325d90f980413c8e48e776058ebd23de804ca95bc6c87f70bc24bf53756ce0aa2417c9702db67 SHA512 2b85119722d9ba0d4112a2782d365e3eb29e3bce868b6dc68547caf14e2d4df6e4bcd94da2b31670b9574874f13b8a65a3d84aa2e58ce0eeea1f1b1a6aca6888
DIST ONLYOFFICE-DesktopEditors-5.5.1_amd64.deb 179305960 BLAKE2B 7d1e50b6a9fec1e2bd37ccf3988b35f908f752fb1925b1eccb2a9f113d8d50929cbd10bc9aed7f8b3f1315ee903bd8a4f78d9876bd8ddc25e6eefcc027c956fd SHA512 8a87eba1ed160b8ae89c949db427614a282e54b525562476ef7145a4d141b56723fd967b7171cd16aaa2d99922080c7c6ca2baa90d3823564885241c48ae97ea

View File

@ -0,0 +1,120 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# This ebuild was based on Jorgicio's ebuild; all credits go to him.
EAPI=7
inherit desktop gnome2-utils multilib unpacker xdg-utils
MY_PN="ONLYOFFICE-DesktopEditors"
MY_P="${MY_PN}-${PVR//r}"
DESCRIPTION="onlyoffice is an office productivity suite (binary version)"
HOMEPAGE="https://www.onlyoffice.com/"
KEYWORDS="~amd64"
SRC_URI="
amd64? (
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
)
"
SLOT="0"
RESTRICT="mirror strip"
LICENSE="AGPL-3"
IUSE=""
NATIVE_DEPEND="
app-arch/bzip2
dev-libs/expat
dev-libs/glib:2
dev-libs/libffi
dev-libs/libxml2:2
dev-libs/nss
dev-libs/atk
dev-qt/qtgui:5
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtmultimedia:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
dev-qt/qtsvg:5
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
media-libs/fontconfig:1.0
media-libs/freetype:2
media-libs/glu
media-libs/gst-plugins-base
media-libs/gstreamer
net-misc/curl
virtual/opengl
media-libs/tiff
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
media-fonts/dejavu
media-fonts/crosextrafonts-carlito
net-print/cups
net-misc/wget
sys-devel/gcc
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gtkglext
"
RDEPEND="
${NATIVE_DEPEND}
dev-db/sqlite:3
net-libs/libcurl-gnutls
!app-office/onlyoffice
"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_unpack(){
unpack_deb "${A}"
}
src_install() {
mkdir -p ${D}
cp -r . ${D}
local res
for res in 16 24 32 48 64 128 256; do
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
done
dosym "${EPREFIX}/usr/$(get_libdir)/libcurl-gnutls.so.4" "${EPREFIX}/opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4"
}
pkg_preinst(){
gnome2_gconf_savelist
xdg_environment_reset
}
pkg_postinst() {
gnome2_gconf_install
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_gconf_uninstall
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}