From 682e46329e71d98a9938bda19da86c413a5f5314 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 24 Apr 2024 21:33:15 +0300 Subject: [PATCH] app-text/feathernotes: new package, add 1.2.0, 9999 Signed-off-by: Arthur Zamarin --- app-text/feathernotes/Manifest | 1 + .../feathernotes/feathernotes-1.2.0.ebuild | 35 +++++++++++++++++++ .../feathernotes/feathernotes-9999.ebuild | 33 +++++++++++++++++ app-text/feathernotes/metadata.xml | 17 +++++++++ 4 files changed, 86 insertions(+) create mode 100644 app-text/feathernotes/Manifest create mode 100644 app-text/feathernotes/feathernotes-1.2.0.ebuild create mode 100644 app-text/feathernotes/feathernotes-9999.ebuild create mode 100644 app-text/feathernotes/metadata.xml diff --git a/app-text/feathernotes/Manifest b/app-text/feathernotes/Manifest new file mode 100644 index 0000000000000..e7f3dcef68599 --- /dev/null +++ b/app-text/feathernotes/Manifest @@ -0,0 +1 @@ +DIST feathernotes-1.2.0.tar.gz 926273 BLAKE2B ae945ae6adb95d3cd8ef42becfcd68a591ef62f97f05d514f19a9c07e6900b2230e89361b65abfc2082797755bcb8b6c521b72a6406a21886ba6ab386f23295f SHA512 f6aabc0d4bee5f3af20a86035befbc27eddedc5ec37c9a353723a80fb0f691af6ad57d5f50a0e8504336c141822227f8287ed61e52d084b34e3b8ab5246315c0 diff --git a/app-text/feathernotes/feathernotes-1.2.0.ebuild b/app-text/feathernotes/feathernotes-1.2.0.ebuild new file mode 100644 index 0000000000000..3f3075fd6e7ae --- /dev/null +++ b/app-text/feathernotes/feathernotes-1.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION=" Lightweight Qt Notes-Manager for Linux" +HOMEPAGE="https://github.com/tsujan/FeatherNotes" +SRC_URI="https://github.com/tsujan/FeatherNotes/archive/V${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/FeatherNotes-${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +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 +} diff --git a/app-text/feathernotes/feathernotes-9999.ebuild b/app-text/feathernotes/feathernotes-9999.ebuild new file mode 100644 index 0000000000000..880fc704e847f --- /dev/null +++ b/app-text/feathernotes/feathernotes-9999.ebuild @@ -0,0 +1,33 @@ +# 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 +} diff --git a/app-text/feathernotes/metadata.xml b/app-text/feathernotes/metadata.xml new file mode 100644 index 0000000000000..25af69d6ae8f0 --- /dev/null +++ b/app-text/feathernotes/metadata.xml @@ -0,0 +1,17 @@ + + + + + arthurzam@gentoo.org + Arthur Zamarin + + + + Link application against X11 libraries which adds + support for virtual desktop awareness and tab DND + + + + tsujan/FeatherNotes + +