www-apps/loolwsd - 7.0.1.1 (xdch47)

Search

Install

Install this version:

emerge -a =www-apps/loolwsd-7.0.1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-apps/loolwsd-7.0.1.1

Or alternatively:

emerge --autounmask-write -a =www-apps/loolwsd-7.0.1.1

Package Information

Description:
Online is a server service
Homepage:
https://www.libreoffice.org/download/libreoffice-online/
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
7.0.1.1 7 ~amd64 0
View Raw Ebuild
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit multilib fcaps

DESCRIPTION="Online is a server service"

HOMEPAGE="https://www.libreoffice.org/download/libreoffice-online/"
SRC_URI="https://dev-www.libreoffice.org/online/${P}.tar.gz"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="acct-group/lool
	acct-user/lool
	>=app-office/libreoffice-$(ver_cut 1)
	>=dev-libs/poco-1.10
	dev-python/lxml
	app-arch/cpio"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/polib
	net-libs/nodejs
	dev-util/cppunit"

PATCHES=(
	"${FILESDIR}/0001-loolconfig-adjust-path-for-systemplate.patch"
	"${FILESDIR}/disable-fc-cache.patch"
)

src_configure() {
	econf \
		--with-lo-path="${EPREFIX}/usr/$(get_libdir)/libreoffice" \
		--with-lokit-path="${EPREFIX}/usr/include/LibreOfficeKit" \
		--with-logfile="${EPREFIX}/var/log/loolwsd/loolwsd.log" \
		--with-vendor="gentoo overlay - xdch47" \
		--with-info-url="https://github.com/xdch47/gpo-xdch47/tree/master/www-apps/${PN}" \
		--with-max-connections 20 \
		--with-max-documents 10 \
		--disable-setcap \
		--disable-werror \
		--enable-anonymization
}

src_install() {
	default

	newinitd "${FILESDIR}/loolwsd.initd" loolwsd

	diropts -m0750 -o lool -g lool
	keepdir {/var/log,/var/lib}/loolwsd
}

pkg_postinst() {
	fcaps cap_fowner,cap_mknod,cap_sys_chroot+ep "${EROOT}/usr/bin/loolforkit"
}

Inherited Eclasses

Dependencies

DEPEND

acct-group/lool
	acct-user/lool
	>=app-office/libreoffice-$(ver_cut 1)
	>=dev-libs/poco-1.10
	dev-python/lxml
	app-arch/cpio

RDEPEND

acct-group/lool
	acct-user/lool
	>=app-office/libreoffice-$(ver_cut 1)
	>=dev-libs/poco-1.10
	dev-python/lxml
	app-arch/cpio

BDEPEND

dev-python/polib
	net-libs/nodejs
	dev-util/cppunit

Manifest for 7.0.1.1

Type File Size Source URLs
DIST loolwsd-7.0.1.1.tar.gz 35301374 bytes https://dev-www.libreoffice.org/online/loolwsd-7.0.1.1.tar.gz