app-office/onlyoffice-bin: bump to 5.6.0 + patch for invalid shell
syntax
This commit is contained in:
parent
ad95703dae
commit
3fd516e68b
@ -1,2 +1,3 @@
|
||||
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
|
||||
DIST ONLYOFFICE-DesktopEditors-5.6.0_amd64.deb 180022552 BLAKE2B 841c1876f8d6713dcd1102e37989d4908cfe889f247e887f71b231810f35d0fb974177dfaa083c12276b56f318307c02cd411a40a73eba383915c9ccbb7129e7 SHA512 6a757d547d5bcd7b4c6e112fdb67d308d0e26e75d5e13fdea0767e2a5778f4cafd71821cc950cf191bcc4c91d7d5c32c0e7e935709b8572a19ac5937e05141c3
|
||||
|
13
app-office/onlyoffice-bin/files/fixshellsyntax.patch
Normal file
13
app-office/onlyoffice-bin/files/fixshellsyntax.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/usr/bin/onlyoffice-desktopeditors b/usr/bin/onlyoffice-desktopeditors
|
||||
index 6fa731f..16e7b41 100755
|
||||
--- a/usr/bin/onlyoffice-desktopeditors
|
||||
+++ b/usr/bin/onlyoffice-desktopeditors
|
||||
@@ -68,7 +68,7 @@ set_names_ru() {
|
||||
}
|
||||
|
||||
check_templates() {
|
||||
- if [ $1 != "--new-document-templates" ]; then
|
||||
+ if [ "$1" != "--new-document-templates" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
116
app-office/onlyoffice-bin/onlyoffice-bin-5.6.0.ebuild
Normal file
116
app-office/onlyoffice-bin/onlyoffice-bin-5.6.0.ebuild
Normal file
@ -0,0 +1,116 @@
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user