Diff kbd-2.9.0-r1 with a kbd-9999
| /usr/portage/sys-apps/kbd/kbd-9999.ebuild 2026-01-24 11:18:05.044337029 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit autotools multiprocessing |
|
| 6 |
inherit multiprocessing |
|
| 7 | 7 | |
| 8 | 8 |
if [[ ${PV} == 9999 ]] ; then
|
| 9 | 9 |
inherit autotools git-r3 |
| ... | ... | |
| 12 | 12 |
else |
| 13 | 13 |
if [[ $(ver_cut 3) -lt 90 ]] ; then |
| 14 | 14 |
SRC_URI="https://www.kernel.org/pub/linux/utils/kbd/${P}.tar.xz"
|
| 15 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
| 15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
| 16 | 16 |
else |
| 17 | 17 |
inherit autotools |
| 18 | 18 |
SRC_URI="https://github.com/legionus/kbd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| ... | ... | |
| 48 | 48 |
test? ( dev-libs/check ) |
| 49 | 49 |
" |
| 50 | 50 | |
| 51 |
PATCHES=( |
|
| 52 |
"${FILESDIR}"/${P}-install-no-attr.patch
|
|
| 53 |
"${FILESDIR}"/${P}-install-posix.patch
|
|
| 54 |
"${FILESDIR}"/${P}-nullptr.patch
|
|
| 55 |
"${FILESDIR}"/${P}-uninit.patch
|
|
| 56 |
"${FILESDIR}"/${P}-time64.patch
|
|
| 57 |
) |
|
| 58 | ||
| 59 | 51 |
src_prepare() {
|
| 60 | 52 |
default |
| 61 | 53 | |
| ... | ... | |
| 68 | 60 |
mv qwerty/cz.map qwerty/cz-qwerty.map || die |
| 69 | 61 |
popd &> /dev/null || die |
| 70 | 62 | |
| 71 |
#if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then
|
|
| 72 |
# eautoreconf |
|
| 73 |
#fi |
|
| 74 | ||
| 75 |
# Drop after 2.9.0 |
|
| 76 |
eautoreconf |
|
| 63 |
if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then
|
|
| 64 |
eautoreconf |
|
| 65 |
fi |
|
| 77 | 66 |
} |
| 78 | 67 | |
| 79 | 68 |
src_configure() {
|