Diff umockdev-0.19.7-r1 with a umockdev-9999
| /usr/portage/dev-util/umockdev/umockdev-9999.ebuild 2026-09-28 20:03:05.383777792 +0300 | ||
|---|---|---|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 6 | 5 | |
| 7 |
inherit flag-o-matic meson-multilib python-any-r1 vala |
|
| 6 |
PYTHON_COMPAT=( python3_{12..14} )
|
|
| 7 | ||
| 8 |
inherit flag-o-matic meson-multilib python-any-r1 toolchain-funcs vala |
|
| 8 | 9 | |
| 9 | 10 |
if [[ ${PV} = 9999* ]]; then
|
| 10 | 11 |
EGIT_REPO_URI="https://github.com/martinpitt/${PN}.git"
|
| 11 | 12 |
inherit git-r3 |
| 12 | 13 |
else |
| 13 | 14 |
SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
|
| 14 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
| 15 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
| 15 | 16 |
fi |
| 16 | 17 | |
| 17 | 18 |
DESCRIPTION="Mock hardware devices for creating unit tests" |
| ... | ... | |
| 58 | 59 |
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270 |
| 59 | 60 |
filter-flags -fno-semantic-interposition |
| 60 | 61 | |
| 62 |
if tc-is-clang; then |
|
| 63 |
# https://github.com/martinpitt/umockdev/issues/260 |
|
| 64 |
filter-flags '-O*' |
|
| 65 |
fi |
|
| 66 | ||
| 61 | 67 |
local emesonargs=( |
| 62 | 68 |
$(meson_feature selinux) |
| 63 | 69 |
) |