Diff directx-headers-1.614.1 with a directx-headers-9999
| /usr/portage/dev-util/directx-headers/directx-headers-9999.ebuild 2025-07-29 16:22:14.244454969 +0300 | ||
|---|---|---|
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
MY_PN=DirectX-Headers |
| 7 |
inherit meson-multilib |
|
| 7 |
inherit dot-a meson-multilib |
|
| 8 | 8 | |
| 9 | 9 |
if [[ ${PV} == *9999* ]]; then
|
| 10 | 10 |
EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
|
| 11 | 11 |
inherit git-r3 |
| 12 | 12 |
else |
| 13 | 13 |
SRC_URI="https://github.com/microsoft/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 14 |
KEYWORDS="amd64 arm64 x86" |
|
| 14 |
KEYWORDS="~amd64 ~x86" |
|
| 15 | 15 |
S="${WORKDIR}"/${MY_PN}-${PV}
|
| 16 | 16 |
fi |
| 17 | 17 | |
| ... | ... | |
| 22 | 22 |
SLOT="0" |
| 23 | 23 | |
| 24 | 24 |
multilib_src_configure() {
|
| 25 |
lto-guarantee-fat |
|
| 26 | ||
| 25 | 27 |
local emesonargs=( |
| 26 | 28 |
-Dbuild-test=false |
| 27 | 29 |
) |
| 28 | 30 | |
| 29 | 31 |
meson_src_configure |
| 30 | 32 |
} |
| 33 | ||
| 34 |
multilib_src_install_all() {
|
|
| 35 |
strip-lto-bytecode |
|
| 36 |
einstalldocs |
|
| 37 | ||
| 38 |
} |
|