You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
974 B
41 lines
974 B
# Copyright 1999-2024 Gentoo Authors
|
|
# Copyright 2020-2024 The Trinity Desktop Project
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="8"
|
|
|
|
TRINITY_EXTRAGEAR_PACKAGING="yes"
|
|
TRINITY_HANDBOOK="optional"
|
|
|
|
TRINITY_LANGS="cs da de es fr it ja nl nn pl_PL pt ru sk tr zh_CN zh_TW"
|
|
TRINITY_NEED_ARTS="optional"
|
|
TRINITY_MODULE_TYPE="applications/office"
|
|
inherit trinity-base-2
|
|
|
|
DESCRIPTION="Multi-purpose note-taking application for TDE"
|
|
HOMEPAGE="https://trinitydesktop.org/"
|
|
|
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
|
SLOT="14"
|
|
if [[ ${PV} != *9999* ]] ; then
|
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
fi
|
|
IUSE="crypt kontact +svg"
|
|
|
|
DEPEND="
|
|
crypt? ( app-crypt/gpgme )
|
|
kontact? ( ~trinity-base/kontact-${PV} )
|
|
svg? ( ~media-libs/libart_lgpl-${PV} )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_TRANSLATIONS=ON
|
|
-DBUILD_KONTACT_PLUGIN="$(usex kontact)"
|
|
-DWITH_LIBART="$(usex svg)"
|
|
-DWITH_GPGME="$(usex crypt)"
|
|
)
|
|
|
|
trinity-base-2_src_configure
|
|
}
|