Diff featherpad-0.9.1 with a featherpad-1.4.0

/usr/portage/app-editors/featherpad/featherpad-1.4.0.ebuild 2023-10-09 14:52:28.276368319 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 2021-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit qmake-utils
7

  
8
MY_P="${P/featherpad/FeatherPad}"
6
inherit xdg cmake
9 7

  
10 8
DESCRIPTION="Lightweight Qt5 Plain-Text Editor for Linux"
11 9
HOMEPAGE="https://github.com/tsujan/FeatherPad"
12
SRC_URI="https://codeload.github.com/tsujan/${PN}/tar.gz/V${PV} -> ${P}.tar.gz"
10
SRC_URI="https://github.com/tsujan/FeatherPad/archive/V${PV}.tar.gz -> ${P}.tar.gz"
11
S="${WORKDIR}/FeatherPad-${PV}"
13 12

  
14
LICENSE="GPL-3"
13
LICENSE="GPL-3+"
15 14
SLOT="0"
16
KEYWORDS="amd64 x86"
15
KEYWORDS="~amd64 ~riscv ~x86"
16
IUSE="+X"
17 17

  
18
RDEPEND="dev-qt/qtcore:5
18
RDEPEND="app-text/hunspell:=
19
	>=dev-qt/qtcore-5.15.0:5
20
	dev-qt/qtdbus:5
19 21
	dev-qt/qtgui:5
20
	dev-qt/qtwidgets:5
21
	dev-qt/qtnetwork:5
22 22
	dev-qt/qtprintsupport:5
23
	dev-qt/qtsvg:5"
24
DEPEND="${RDEPEND}
25
	dev-qt/linguist-tools:5"
26

  
27
S="${WORKDIR}/${MY_P}"
23
	dev-qt/qtsvg:5
24
	dev-qt/qtwidgets:5
25
	X? (
26
		dev-qt/qtx11extras:5
27
		x11-libs/libX11
28
	)"
29
DEPEND="${RDEPEND}"
30
BDEPEND="dev-qt/linguist-tools:5"
28 31

  
29 32
src_configure() {
30
	eqmake5
31
}
32

  
33
src_install() {
34
	emake INSTALL_ROOT="${ED}" install
33
	local mycmakeargs=(
34
		-DWITHOUT_X11=$(usex !X)
35
	)
36
	cmake_src_configure
35 37
}
Thank you!