Сравнение girara-0.4.0 с girara-0.4.0-r1
/usr/portage/dev-libs/girara/girara-0.4.0-r1.ebuild 2023-10-09 14:52:29.500368350 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-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 | 6 |
inherit meson virtualx |
7 | 7 | |
8 | 8 |
DESCRIPTION="UI library that focuses on simplicity and minimalism" |
9 | 9 |
HOMEPAGE="https://pwmt.org/projects/girara/" |
10 | 10 | |
11 |
if [[ ${PV} == *999 ]]; then |
|
11 |
if [[ ${PV} == *9999 ]]; then |
|
12 | 12 |
inherit git-r3 |
13 | 13 |
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" |
14 | 14 |
EGIT_BRANCH="develop" |
15 | 15 |
else |
16 | 16 |
SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz" |
17 |
KEYWORDS="amd64 arm ~riscv x86" |
|
17 |
KEYWORDS="~amd64 ~arm ~riscv ~x86" |
|
18 | 18 |
fi |
19 | 19 | |
20 | 20 |
LICENSE="ZLIB" |
21 | 21 |
SLOT="0" |
22 | 22 |
IUSE="doc libnotify test" |
23 | ||
24 | 23 |
RESTRICT="!test? ( test )" |
25 | 24 | |
26 |
DEPEND="dev-libs/glib:2 |
|
25 |
DEPEND=" |
|
26 |
app-accessibility/at-spi2-core |
|
27 |
dev-libs/glib:2 |
|
27 | 28 |
dev-libs/json-glib:= |
29 |
media-libs/harfbuzz:= |
|
30 |
x11-libs/cairo[glib] |
|
31 |
x11-libs/gdk-pixbuf |
|
28 | 32 |
>=x11-libs/gtk+-3.20:3 |
29 |
libnotify? ( x11-libs/libnotify )" |
|
33 |
x11-libs/pango |
|
34 |
libnotify? ( x11-libs/libnotify ) |
|
35 |
" |
|
30 | 36 |
RDEPEND="${DEPEND}" |
31 |
BDEPEND="doc? ( app-doc/doxygen ) |
|
32 |
test? ( dev-libs/check ) |
|
33 |
virtual/pkgconfig" |
|
37 |
# Tests are run under virtx |
|
38 |
BDEPEND=" |
|
39 |
virtual/pkgconfig |
|
40 |
doc? ( app-doc/doxygen ) |
|
41 |
test? ( |
|
42 |
dev-libs/check |
|
43 |
x11-libs/gtk+:3[X] |
|
44 |
) |
|
45 |
" |
|
34 | 46 | |
35 | 47 |
src_configure() { |
36 |
local emesonargs=( |
|
48 |
local -a emesonargs=( |
|
37 | 49 |
-Djson=enabled |
38 |
-Ddocs=$(usex doc enabled disabled) |
|
39 |
-Dnotify=$(usex libnotify enabled disabled) |
|
50 |
$(meson_feature doc docs) |
|
51 |
$(meson_feature libnotify notify) |
|
40 | 52 |
) |
41 | 53 |
meson_src_configure |
42 | 54 |
} |
43 | 55 | |
44 | 56 |
src_test() { |
57 |
# TODO: run test on wayland |
|
45 | 58 |
virtx meson_src_test |
46 | 59 |
} |