Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/featherpad/
Date: Fri, 03 Sep 2021 05:12:04
Message-Id: 1630645828.80808951eac6910f1e4ae5e8dcbaf5502d604807.juippis@gentoo
1 commit: 80808951eac6910f1e4ae5e8dcbaf5502d604807
2 Author: Hans Fredrik Nordhaug <hansfn <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 1 07:14:10 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 3 05:10:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80808951
7
8 app-editors/featherpad: Bump to 1.0.0
9
10 This is really a minor / patch update. From changelog:
11
12 Bumped the version to 1.0.0 (some users may have mistaken
13 "0.X.Y" for "unstable").
14
15 Package-Manager: Portage-3.0.20, Repoman-3.0.3
16 Signed-off-by: Hans Fredrik Nordhaug <hansfn <AT> gmail.com>
17 Closes: https://github.com/gentoo/gentoo/pull/22175
18 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
19
20 app-editors/featherpad/Manifest | 1 +
21 app-editors/featherpad/featherpad-1.0.0.ebuild | 37 ++++++++++++++++++++++++++
22 app-editors/featherpad/metadata.xml | 6 +++++
23 3 files changed, 44 insertions(+)
24
25 diff --git a/app-editors/featherpad/Manifest b/app-editors/featherpad/Manifest
26 index 78475bb25f5..4c762231909 100644
27 --- a/app-editors/featherpad/Manifest
28 +++ b/app-editors/featherpad/Manifest
29 @@ -1 +1,2 @@
30 DIST featherpad-0.18.0.tar.gz 967643 BLAKE2B a8a84fa71232bdd9448ec4a9c921f8f452212dfb52ec518c3f340e9b600858a9cfca2d7729a0f58c9d1465b77bd28c836de78026c58ff94297de704e7bf670d8 SHA512 3e0d008792dd55bc5e57654f9b032f0a66a60c682499c684cfc3b182fdc57a654bb5fb195b458af66ddd8db929b31e7bfa789bd9bdf33d32454fbbcb090bcd91
31 +DIST featherpad-1.0.0.tar.gz 1010200 BLAKE2B 22a11a0655ed57f7a7d53949e59c3b989a304b7c3db1f7308af0a52cc00a151cee505b02c19ece286da1be37e76c8874cee4102db3d881ef2c4ad48ecbb2f20a SHA512 9f7e24fa5e89e269693bc0a37f79d987e4914dde2d2b46bd0385886383dab8b35556fbc0f5c5b7b9a2c3a41694174ffa8532c48def87d2972fbc73c1e9c38bf3
32
33 diff --git a/app-editors/featherpad/featherpad-1.0.0.ebuild b/app-editors/featherpad/featherpad-1.0.0.ebuild
34 new file mode 100644
35 index 00000000000..dc209562867
36 --- /dev/null
37 +++ b/app-editors/featherpad/featherpad-1.0.0.ebuild
38 @@ -0,0 +1,37 @@
39 +# Copyright 2021 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=7
43 +
44 +inherit xdg cmake
45 +
46 +DESCRIPTION="Lightweight Qt5 Plain-Text Editor for Linux"
47 +HOMEPAGE="https://github.com/tsujan/FeatherPad"
48 +SRC_URI="https://github.com/tsujan/FeatherPad/archive/V${PV}.tar.gz -> ${P}.tar.gz"
49 +S="${WORKDIR}/FeatherPad-${PV}"
50 +
51 +LICENSE="GPL-3+"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE="+X"
55 +
56 +RDEPEND="app-text/hunspell:=
57 + dev-qt/qtcore:5
58 + dev-qt/qtgui:5
59 + dev-qt/qtnetwork:5
60 + dev-qt/qtprintsupport:5
61 + dev-qt/qtsvg:5
62 + dev-qt/qtwidgets:5
63 + X? (
64 + dev-qt/qtx11extras:5
65 + x11-libs/libX11
66 + )"
67 +DEPEND="${RDEPEND}"
68 +BDEPEND="dev-qt/linguist-tools:5"
69 +
70 +src_configure() {
71 + local mycmakeargs=(
72 + -DWITHOUT_X11=$(usex !X)
73 + )
74 + cmake_src_configure
75 +}
76
77 diff --git a/app-editors/featherpad/metadata.xml b/app-editors/featherpad/metadata.xml
78 index 3fd6253bfc0..d4dadaaf9ad 100644
79 --- a/app-editors/featherpad/metadata.xml
80 +++ b/app-editors/featherpad/metadata.xml
81 @@ -14,6 +14,12 @@
82 plain-text editor for Linux. It is independent of any desktop
83 environment.
84 </longdescription>
85 + <use>
86 + <flag name="X">
87 + Link application against X11 libraries which adds
88 + support for virtual desktop awareness and tab DND.
89 + </flag>
90 + </use>
91 <upstream>
92 <remote-id type="github">tsujan/FeatherPad</remote-id>
93 </upstream>