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