app-office/onlyoffice-bin: addressed QA complaints
This commit is contained in:
parent
70899d7a16
commit
8d828d50d2
@ -1,7 +1,5 @@
|
|||||||
# Copyright 1999-2020 Gentoo Foundation
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# 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
|
EAPI=7
|
||||||
|
|
||||||
@ -15,7 +13,6 @@ HOMEPAGE="https://www.onlyoffice.com/"
|
|||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
amd64? (
|
amd64? (
|
||||||
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
||||||
@ -71,10 +68,8 @@ NATIVE_DEPEND="
|
|||||||
media-fonts/crosextrafonts-carlito
|
media-fonts/crosextrafonts-carlito
|
||||||
net-print/cups
|
net-print/cups
|
||||||
net-misc/wget
|
net-misc/wget
|
||||||
sys-devel/gcc
|
|
||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/gtk+:2
|
x11-libs/gtk+:2
|
||||||
x11-libs/gtkglext
|
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${NATIVE_DEPEND}
|
${NATIVE_DEPEND}
|
||||||
@ -87,12 +82,12 @@ DEPEND="${RDEPEND}"
|
|||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
src_unpack(){
|
src_unpack(){
|
||||||
unpack_deb "${A}"
|
unpack_deb ${A}
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
mkdir -p ${D}
|
mkdir -p "${D}"
|
||||||
cp -r . ${D}
|
cp -r . "${D}"
|
||||||
local res
|
local res
|
||||||
for res in 16 24 32 48 64 128 256; do
|
for res in 16 24 32 48 64 128 256; do
|
||||||
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
|
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
# Copyright 1999-2020 Gentoo Foundation
|
# Copyright 2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# 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
|
EAPI=7
|
||||||
|
|
||||||
@ -15,7 +13,6 @@ HOMEPAGE="https://www.onlyoffice.com/"
|
|||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
amd64? (
|
amd64? (
|
||||||
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
||||||
@ -27,7 +24,7 @@ RESTRICT="mirror strip"
|
|||||||
LICENSE="AGPL-3"
|
LICENSE="AGPL-3"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
NATIVE_DEPEND="
|
DEPEND="
|
||||||
app-arch/bzip2
|
app-arch/bzip2
|
||||||
dev-libs/expat
|
dev-libs/expat
|
||||||
dev-libs/glib:2
|
dev-libs/glib:2
|
||||||
@ -71,23 +68,20 @@ NATIVE_DEPEND="
|
|||||||
media-fonts/crosextrafonts-carlito
|
media-fonts/crosextrafonts-carlito
|
||||||
net-print/cups
|
net-print/cups
|
||||||
net-misc/wget
|
net-misc/wget
|
||||||
sys-devel/gcc
|
|
||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/gtk+:2
|
x11-libs/gtk+:2
|
||||||
x11-libs/gtkglext
|
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${NATIVE_DEPEND}
|
${DEPEND}
|
||||||
dev-db/sqlite:3
|
dev-db/sqlite:3
|
||||||
net-libs/libcurl-gnutls
|
net-libs/libcurl-gnutls
|
||||||
!app-office/onlyoffice
|
!app-office/onlyoffice
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
src_unpack(){
|
src_unpack(){
|
||||||
unpack_deb "${A}"
|
unpack_deb ${A}
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
Loading…
Reference in New Issue
Block a user