From b987a550f067c3da93b0664cf1fdc8a624c0aa38 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 24 Apr 2024 23:59:27 +0100 Subject: gentoo auto-resync : 24:04:2024 - 23:59:27 --- app-editors/featherpad/featherpad-1.5.0-r1.ebuild | 34 +++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app-editors/featherpad/featherpad-1.5.0-r1.ebuild (limited to 'app-editors/featherpad/featherpad-1.5.0-r1.ebuild') diff --git a/app-editors/featherpad/featherpad-1.5.0-r1.ebuild b/app-editors/featherpad/featherpad-1.5.0-r1.ebuild new file mode 100644 index 000000000000..9b69e0fe90b1 --- /dev/null +++ b/app-editors/featherpad/featherpad-1.5.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+X" + +RDEPEND=" + app-text/hunspell:= + dev-qt/qtbase:6[dbus,gui,widgets] + dev-qt/qtsvg:6 + 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) + ) + cmake_src_configure +} -- cgit v1.2.3