mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
42 lines
1011 B
Bash
42 lines
1011 B
Bash
# Copyright 2024-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake verify-sig xdg
|
|
|
|
DESCRIPTION="Lightweight Qt Notes-Manager for Linux"
|
|
HOMEPAGE="https://github.com/tsujan/FeatherNotes"
|
|
SRC_URI="https://github.com/tsujan/FeatherNotes/releases/download/V${PV}/FeatherNotes-${PV}.tar.xz
|
|
https://github.com/tsujan/FeatherNotes/releases/download/V${PV}/FeatherNotes-${PV}.tar.xz.asc"
|
|
S="${WORKDIR}/FeatherNotes-${PV}"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64"
|
|
IUSE="spell X"
|
|
|
|
RDEPEND="
|
|
>=dev-qt/qtbase-6.5.0:6[dbus,gui,network,widgets,xml,X?]
|
|
>=dev-qt/qtsvg-6.5.0:6
|
|
spell? ( app-text/hunspell:= )
|
|
X? ( x11-libs/libX11 )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
X? ( x11-base/xorg-proto )
|
|
"
|
|
BDEPEND="
|
|
dev-qt/qttools:6[linguist]
|
|
verify-sig? ( sec-keys/openpgp-keys-tsujan )
|
|
"
|
|
|
|
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/tsujan.asc"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DWITHOUT_X11=$(usex !X)
|
|
-DWITH_HUNSPELL=$(usex spell)
|
|
)
|
|
cmake_src_configure
|
|
}
|