diff options
author | Hans Fredrik Nordhaug <hansfn@gmail.com> | 2022-06-10 14:52:11 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-06-14 19:26:09 +0300 |
commit | 2f01a1c640b30c87b08d53ced03556313a21a1ce (patch) | |
tree | 7a9c1d1dc0aa81890a3951630693dd9fea88e8b8 /app-editors/featherpad/featherpad-1.2.0.ebuild | |
parent | sys-kernel/gentoo-sources: add 4.19.247 (diff) | |
download | gentoo-2f01a1c640b30c87b08d53ced03556313a21a1ce.tar.gz gentoo-2f01a1c640b30c87b08d53ced03556313a21a1ce.tar.bz2 gentoo-2f01a1c640b30c87b08d53ced03556313a21a1ce.zip |
app-editors/featherpad: add 1.2.0
Signed-off-by: Hans Fredrik Nordhaug <hansfn@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25846
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors/featherpad/featherpad-1.2.0.ebuild')
-rw-r--r-- | app-editors/featherpad/featherpad-1.2.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-editors/featherpad/featherpad-1.2.0.ebuild b/app-editors/featherpad/featherpad-1.2.0.ebuild new file mode 100644 index 000000000000..e82070d4a429 --- /dev/null +++ b/app-editors/featherpad/featherpad-1.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg cmake + +DESCRIPTION="Lightweight Qt5 Plain-Text Editor for Linux" +HOMEPAGE="https://github.com/tsujan/FeatherPad" +SRC_URI="https://github.com/tsujan/FeatherPad/archive/V${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/FeatherPad-${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="+X" + +RDEPEND="app-text/hunspell:= + >=dev-qt/qtcore-5.15.0 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + X? ( + dev-qt/qtx11extras:5 + x11-libs/libX11 + )" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5" + +src_configure() { + local mycmakeargs=( + -DWITHOUT_X11=$(usex !X) + ) + cmake_src_configure +} |