Сравнение libnvme-1.3-r1 с libnvme-1.4
/usr/portage/sys-libs/libnvme/libnvme-1.4.ebuild 2023-10-09 14:52:35.552368503 +0300 | ||
---|---|---|
9 | 9 |
DESCRIPTION="C Library for NVM Express on Linux" |
10 | 10 |
HOMEPAGE="https://github.com/linux-nvme/libnvme" |
11 | 11 |
LICENSE="LGPL-2.1+" |
12 |
SLOT="0" |
|
13 |
IUSE="dbus python ssl +uuid" |
|
12 |
SLOT="0/1" |
|
13 |
IUSE="dbus +json keyutils python ssl +uuid" |
|
14 | 14 | |
15 | 15 |
SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
16 | 16 |
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86" |
17 | 17 | |
18 | 18 |
DEPEND=" |
19 |
dev-libs/json-c:= |
|
19 |
json? ( dev-libs/json-c:= ) |
|
20 |
keyutils? ( sys-apps/keyutils:= ) |
|
20 | 21 |
dbus? ( sys-apps/dbus:= ) |
21 | 22 |
python? ( ${PYTHON_DEPS} ) |
22 | 23 |
ssl? ( >=dev-libs/openssl-1.1:= ) |
... | ... | |
32 | 33 |
python? ( ${PYTHON_REQUIRED_USE} ) |
33 | 34 |
" |
34 | 35 | |
35 |
PATCHES=( |
|
36 |
"${FILESDIR}"/${P}-configure-clang-16.patch |
|
37 |
) |
|
38 | ||
39 | 36 |
src_configure() { |
40 | 37 |
local emesonargs=( |
41 | 38 |
-Dpython=false |
42 |
$(meson_feature ssl openssl) |
|
39 |
$(meson_feature json json-c) |
|
43 | 40 |
$(meson_feature dbus libdbus) |
44 |
$(meson_use python) |
|
41 |
$(meson_feature ssl openssl) |
|
42 |
$(meson_feature python) |
|
45 | 43 |
) |
46 | 44 |
meson_src_configure |
47 | 45 |
} |
48 | 46 | |
49 | 47 |
python_compile() { |
50 | 48 |
local emesonargs=( |
51 |
-Dpython=true |
|
49 |
-Dpython=enabled |
|
52 | 50 |
) |
53 | 51 |
meson_src_configure --reconfigure |
54 | 52 |
meson_src_compile |