Сравнение libseccomp-2.5.4-r1 с libseccomp-9999
/usr/portage/sys-libs/libseccomp/libseccomp-9999.ebuild 2023-10-09 14:52:35.556368503 +0300 | ||
---|---|---|
16 | 16 |
PRERELEASE="2.6.0" |
17 | 17 |
inherit autotools git-r3 |
18 | 18 |
else |
19 |
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz |
|
20 |
experimental-loong? ( https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220622.patch.xz )" |
|
21 |
#KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux" |
|
22 |
KEYWORDS="-* ~loong" |
|
19 |
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz" |
|
20 |
KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux" |
|
23 | 21 |
fi |
24 | 22 | |
25 | 23 |
LICENSE="LGPL-2.1" |
26 | 24 |
SLOT="0" |
27 |
IUSE="experimental-loong python static-libs test" |
|
25 |
IUSE="python static-libs test" |
|
28 | 26 |
RESTRICT="!test? ( test )" |
29 | 27 | |
30 | 28 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
... | ... | |
39 | 37 |
python? ( dev-python/cython[${PYTHON_USEDEP}] )" |
40 | 38 | |
41 | 39 |
PATCHES=( |
42 |
"${FILESDIR}"/libseccomp-python-shared.patch |
|
40 |
"${FILESDIR}"/libseccomp-2.6.0-python-shared.patch |
|
43 | 41 |
"${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch |
44 | 42 |
) |
45 | 43 | |
46 | 44 |
src_prepare() { |
47 |
if use experimental-loong; then |
|
48 |
PATCHES+=( "${WORKDIR}/${P}-loongarch64-20220622.patch" ) |
|
49 |
fi |
|
50 | ||
51 | 45 |
default |
52 | 46 | |
53 |
if use experimental-loong; then |
|
54 |
# touch generated files to avoid activating maintainer mode |
|
55 |
# remove when loong-fix-build.patch is no longer necessary |
|
56 |
touch ./aclocal.m4 ./configure ./configure.h.in || die |
|
57 |
find . -name Makefile.in -exec touch {} + || die |
|
58 |
fi |
|
59 | ||
60 | 47 |
if [[ ${PV} == *9999 ]] ; then |
61 | 48 |
sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die |
62 | 49 |