Сравнение dtc-1.7.2 с dtc-9999
/usr/portage/sys-apps/dtc/dtc-9999.ebuild 2025-07-29 16:22:17.372467909 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{10..13} ) |
|
7 |
inherit meson python-single-r1 |
|
6 |
PYTHON_COMPAT=( python3_{11..13} ) |
|
7 |
inherit dot-a meson python-single-r1 |
|
8 | 8 | |
9 | 9 |
if [[ ${PV} == 9999 ]] ; then |
10 | 10 |
EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/dtc/dtc.git" |
11 | 11 |
inherit git-r3 |
12 | 12 |
else |
13 | 13 |
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" |
14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
15 | 15 |
fi |
16 | 16 | |
17 | 17 |
DESCRIPTION="Open Firmware device tree compiler" |
... | ... | |
56 | 56 |
} |
57 | 57 | |
58 | 58 |
src_configure() { |
59 |
use static-libs && lto-guarantee-fat |
|
59 | 60 |
local emesonargs=( |
61 |
-Ddefault_library=$(usex static-libs both shared) |
|
60 | 62 |
-Dtools=true |
61 | 63 |
-Dvalgrind=disabled # only used for some tests |
62 | 64 |
$(meson_feature python) |
... | ... | |
64 | 66 |
$(meson_feature yaml) |
65 | 67 |
) |
66 | 68 | |
67 |
# bug #909366 |
|
68 |
use static-libs && emesonargs+=( -Dstatic-build=true ) |
|
69 | ||
70 | 69 |
meson_src_configure |
71 | 70 |
} |
71 | ||
72 |
src_install() { |
|
73 |
meson_src_install |
|
74 |
strip-lto-bytecode |
|
75 | ||
76 |
use python && python_optimize "${ED}" |
|
77 |
} |