Diff libevent-2.2.1-r2 with a libevent-9999
/usr/portage/dev-libs/libevent/libevent-9999.ebuild 2023-10-09 14:52:29.512368351 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit multilib-minimal verify-sig |
|
6 |
inherit autotools git-r3 multilib-minimal |
|
7 | 7 | |
8 |
MY_P="${P}-alpha-dev" |
|
9 | 8 |
DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" |
10 | 9 |
HOMEPAGE=" |
11 | 10 |
https://libevent.org/ |
12 | 11 |
https://github.com/libevent/libevent/ |
13 | 12 |
" |
14 |
BASE_URI="https://github.com/libevent/libevent/releases/download/release-${PV}-alpha" |
|
15 |
SRC_URI=" |
|
16 |
${BASE_URI}/${MY_P}.tar.gz |
|
17 |
verify-sig? ( |
|
18 |
${BASE_URI}/${MY_P}.tar.gz.asc |
|
19 |
) |
|
20 |
" |
|
21 |
S=${WORKDIR}/${MY_P} |
|
13 |
EGIT_REPO_URI="https://github.com/libevent/libevent.git" |
|
22 | 14 | |
23 | 15 |
LICENSE="BSD" |
24 |
SLOT="0/2.2.1-r2" |
|
16 |
SLOT="0/2.2" |
|
25 | 17 |
KEYWORDS="" |
26 | 18 |
IUSE=" |
27 | 19 |
+clock-gettime debug malloc-replacement mbedtls +ssl static-libs |
... | ... | |
37 | 29 |
RDEPEND=" |
38 | 30 |
${DEPEND} |
39 | 31 |
" |
40 |
BDEPEND=" |
|
41 |
verify-sig? ( |
|
42 |
sec-keys/openpgp-keys-libevent |
|
43 |
) |
|
44 |
" |
|
45 | 32 | |
46 | 33 |
DOCS=( README.md ChangeLog{,-1.4,-2.0} whatsnew-2.{0,1}.txt ) |
47 | 34 |
MULTILIB_WRAPPED_HEADERS=( |
48 | 35 |
/usr/include/event2/event-config.h |
49 | 36 |
) |
50 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libevent.asc |
|
51 | 37 | |
52 |
PATCHES=( |
|
53 |
# signalfd-by-default breaks at least app-misc/tmux |
|
54 |
# https://github.com/libevent/libevent/pull/1486 |
|
55 |
"${FILESDIR}/${P}-disable-signalfd.patch" |
|
56 |
) |
|
38 |
src_prepare() { |
|
39 |
default |
|
40 |
eautoreconf |
|
41 |
} |
|
57 | 42 | |
58 | 43 |
multilib_src_configure() { |
59 | 44 |
# fix out-of-source builds |
... | ... | |
72 | 57 |
--disable-samples |
73 | 58 |
) |
74 | 59 |
econf "${myconf[@]}" |
75 | ||
76 |
# workaround https://github.com/libevent/libevent/issues/1459 |
|
77 |
sed -i -e 's:@CMAKE_DEBUG_POSTFIX@::' *.pc || die |
|
78 | 60 |
} |
79 | 61 | |
80 | 62 |
multilib_src_install_all() { |