mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 07:04:13 +02:00
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
33 lines
680 B
Bash
33 lines
680 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit git-r3 cmake xdg
|
|
|
|
DESCRIPTION="Lightweight Qt Notes-Manager for Linux"
|
|
HOMEPAGE="https://github.com/tsujan/FeatherNotes"
|
|
EGIT_REPO_URI="https://github.com/tsujan/FeatherNotes"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
IUSE="spell X"
|
|
|
|
RDEPEND="
|
|
dev-qt/qtbase:6[dbus,gui,network,widgets,xml,X?]
|
|
dev-qt/qtsvg:6
|
|
spell? ( app-text/hunspell:= )
|
|
X? ( x11-libs/libX11 )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
X? ( x11-base/xorg-proto )
|
|
"
|
|
BDEPEND="dev-qt/qttools:6[linguist]"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DWITHOUT_X11=$(usex !X)
|
|
-DWITH_HUNSPELL=$(usex spell)
|
|
)
|
|
cmake_src_configure
|
|
}
|