Line 0
Link Here
|
0 |
- |
1 |
# Copyright 2019-2023 Gentoo Authors |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=7 |
5 |
|
6 |
inherit meson |
7 |
|
8 |
DESCRIPTION="library for managing wayfire configuration files" |
9 |
HOMEPAGE="https://github.com/WayfireWM/wf-config" |
10 |
|
11 |
if [[ ${PV} == 9999 ]]; then |
12 |
inherit git-r3 |
13 |
EGIT_REPO_URI="https://github.com/WayfireWM/wf-config.git" |
14 |
else |
15 |
SRC_URI="https://github.com/WayfireWM/wf-config/releases/download/v${PV}/${P}.tar.xz" |
16 |
KEYWORDS="amd64 ~arm64 ~riscv ~x86" |
17 |
fi |
18 |
|
19 |
LICENSE="MIT" |
20 |
SLOT="0" |
21 |
IUSE="test" |
22 |
RESTRICT="!test? ( test )" |
23 |
|
24 |
DEPEND=" |
25 |
dev-libs/libevdev |
26 |
dev-libs/libxml2 |
27 |
media-libs/glm |
28 |
" |
29 |
RDEPEND="${DEPEND}" |
30 |
BDEPEND=" |
31 |
dev-libs/wayland-protocols |
32 |
virtual/pkgconfig |
33 |
test? ( dev-cpp/doctest ) |
34 |
" |
35 |
|
36 |
src_configure() { |
37 |
local emesonargs=( |
38 |
$(meson_feature test tests) |
39 |
) |
40 |
|
41 |
meson_src_configure |
42 |
} |