Сравнение featherpad-1.4.1 с featherpad-9999
/var/lib/layman/calculate/app-editors/featherpad/featherpad-9999.ebuild 2018-11-21 10:40:49.000000000 +0300 | ||
---|---|---|
1 |
# Copyright 2021-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2018 Gentoo Foundation |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=8 |
|
4 |
EAPI=7 |
|
5 | 5 | |
6 |
inherit cmake xdg |
|
6 |
inherit qmake-utils git-r3 |
|
7 | ||
8 |
MY_P="${P/featherpad/FeatherPad}" |
|
7 | 9 | |
8 | 10 |
DESCRIPTION="Lightweight Qt5 Plain-Text Editor for Linux" |
9 | 11 |
HOMEPAGE="https://github.com/tsujan/FeatherPad" |
10 |
SRC_URI="https://github.com/tsujan/FeatherPad/archive/V${PV}.tar.gz -> ${P}.tar.gz" |
|
11 |
S="${WORKDIR}/FeatherPad-${PV}" |
|
12 |
EGIT_REPO_URI="https://github.com/tsujan/${PN}.git" |
|
12 | 13 | |
13 |
LICENSE="GPL-3+" |
|
14 |
LICENSE="GPL-3" |
|
14 | 15 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~riscv ~x86" |
|
16 |
IUSE="qt6 +X" |
|
17 | 16 | |
18 |
RDEPEND=" |
|
19 |
app-text/hunspell:= |
|
20 |
!qt6? ( |
|
21 |
dev-qt/qtcore:5 |
|
22 |
dev-qt/qtdbus:5 |
|
23 |
dev-qt/qtgui:5 |
|
24 |
dev-qt/qtprintsupport:5 |
|
25 |
dev-qt/qtsvg:5 |
|
26 |
dev-qt/qtwidgets:5 |
|
27 |
X? ( dev-qt/qtx11extras:5 ) |
|
28 |
) |
|
29 |
qt6? ( |
|
30 |
dev-qt/qtbase:6[cups,dbus,gui,widgets] |
|
31 |
dev-qt/qtsvg:6 |
|
32 |
) |
|
33 |
X? ( x11-libs/libX11 ) |
|
34 |
" |
|
17 |
RDEPEND="dev-qt/qtcore:5 |
|
18 |
dev-qt/qtgui:5 |
|
19 |
dev-qt/qtwidgets:5 |
|
20 |
dev-qt/qtnetwork:5 |
|
21 |
dev-qt/qtprintsupport:5 |
|
22 |
dev-qt/qtsvg:5" |
|
35 | 23 |
DEPEND="${RDEPEND} |
36 |
X? ( x11-base/xorg-proto ) |
|
37 |
" |
|
38 |
BDEPEND=" |
|
39 |
!qt6? ( dev-qt/linguist-tools:5 ) |
|
40 |
qt6? ( dev-qt/qttools:6[linguist] ) |
|
41 |
" |
|
24 |
dev-qt/linguist-tools:5" |
|
25 | ||
26 |
S="${WORKDIR}/${MY_P}" |
|
42 | 27 | |
43 | 28 |
src_configure() { |
44 |
local mycmakeargs=( |
|
45 |
-DWITHOUT_X11=$(usex !X) |
|
46 |
-DENABLE_QT5=$(usex !qt6) |
|
47 |
) |
|
48 |
cmake_src_configure |
|
29 |
eqmake5 |
|
30 |
} |
|
31 | ||
32 |
src_install() { |
|
33 |
emake INSTALL_ROOT="${ED}" install |
|
49 | 34 |
} |