Diff kbd-2.6.3-r1 with a kbd-9999
/usr/portage/sys-apps/kbd/kbd-9999.ebuild 2023-10-09 14:52:35.384368499 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit autotools |
|
7 | ||
8 | 6 |
if [[ ${PV} == 9999 ]] ; then |
7 |
inherit autotools git-r3 |
|
9 | 8 |
EGIT_REPO_URI="https://github.com/legionus/kbd.git https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git" |
10 | 9 |
EGIT_BRANCH="master" |
11 |
inherit git-r3 |
|
12 | 10 |
else |
13 | 11 |
if [[ $(ver_cut 3) -lt 90 ]] ; then |
14 | 12 |
SRC_URI="https://www.kernel.org/pub/linux/utils/kbd/${P}.tar.xz" |
15 | 13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
16 | 14 |
else |
15 |
inherit autotools |
|
17 | 16 |
SRC_URI="https://github.com/legionus/kbd/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
18 | 17 |
fi |
19 | 18 |
fi |
... | ... | |
47 | 46 |
test? ( dev-libs/check ) |
48 | 47 |
" |
49 | 48 | |
50 |
PATCHES=( |
|
51 |
"${FILESDIR}"/${PN}-2.6.3-no-redefine-fortify-source.patch |
|
52 |
) |
|
53 | ||
54 | 49 |
src_prepare() { |
55 | 50 |
default |
56 | 51 | |
... | ... | |
63 | 58 |
mv qwerty/cz.map qwerty/cz-qwerty.map || die |
64 | 59 |
popd &> /dev/null || die |
65 | 60 | |
66 |
#if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then |
|
67 |
# eautoreconf |
|
68 |
#fi |
|
69 | ||
70 |
# Always do it for now for the F_S patch |
|
71 |
eautoreconf |
|
61 |
if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then |
|
62 |
eautoreconf |
|
63 |
fi |
|
72 | 64 |
} |
73 | 65 | |
74 | 66 |
src_configure() { |