app-office/onlyoffice-bin: bump to 6.0.0 and start of clean up

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2020-10-17 21:54:08 +03:00
parent 4bb0388f5f
commit d5a9f8fa06
No known key found for this signature in database
GPG Key ID: 7211B3F7B598F87A
3 changed files with 55 additions and 117 deletions

View File

@ -1,2 +1,2 @@
DIST ONLYOFFICE-DesktopEditors-5.6.0_amd64.deb 180022552 BLAKE2B 841c1876f8d6713dcd1102e37989d4908cfe889f247e887f71b231810f35d0fb974177dfaa083c12276b56f318307c02cd411a40a73eba383915c9ccbb7129e7 SHA512 6a757d547d5bcd7b4c6e112fdb67d308d0e26e75d5e13fdea0767e2a5778f4cafd71821cc950cf191bcc4c91d7d5c32c0e7e935709b8572a19ac5937e05141c3
DIST ONLYOFFICE-DesktopEditors-5.6.4_amd64.deb 179286302 BLAKE2B 8339b2a0717561f12b35efaba02fa0ff505e1f391f3d4694e2b199c72c4e87be7d5de4df0e6ae08a7eb232146ded5c5eca742202c651da69d36b94ced29e188f SHA512 ae3e1401c6f0ed266475468ab38c6507788005bb234afb79e9bccaf379b6b0d1bfe0fdbe25c8eaf78f35ee0d3e5548dff968e8659e55a6f9d1a6e0ffc25ccfcd
DIST ONLYOFFICE-DesktopEditors-6.0.0_amd64.deb 200973674 BLAKE2B 95c8dd8878778190b0e8221d6196027090a43ad722807f0c1f25979ca2d1cf88baafb7d3f8685a7aa6a0b60da6f45a3d2bf4207ff8b52c95a9c86e5418119add SHA512 59dcd4046dfb303b90ca1ef79fe71a3013a529db8a716a8d22a90b71596c1eef51358f7a309559a00fade100b13e4a7b104328593effeac09ce104358279e8c0

View File

@ -1,116 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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=""
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
x11-libs/cairo
x11-libs/gtk+:2
"
RDEPEND="
${DEPEND}
dev-db/sqlite:3
net-libs/libcurl-gnutls
!app-office/onlyoffice
"
PATCHES=( "${FILESDIR}/fixshellsyntax.patch" )
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
}

View File

@ -0,0 +1,54 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop gnome2-utils multilib unpacker xdg
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"
RDEPEND="
x11-libs/gtk+:3
dev-libs/nss
x11-libs/libXScrnSaver
x11-libs/pixman
media-gfx/graphite2
"
RDEPEND="
${DEPEND}
dev-db/sqlite:3
net-libs/libcurl-gnutls
!app-office/onlyoffice
"
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
}