23 |
23 |
|
24 |
24 |
PYTHON_COMPAT=( python3_{9..11} )
|
25 |
25 |
WANT_LIBTOOL=none
|
26 |
|
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/dkiper.gpg
|
27 |
26 |
|
28 |
27 |
if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then
|
29 |
28 |
inherit python-any-r1
|
... | ... | |
33 |
32 |
inherit autotools
|
34 |
33 |
fi
|
35 |
34 |
|
36 |
|
inherit bash-completion-r1 flag-o-matic multibuild optfeature toolchain-funcs verify-sig
|
|
35 |
inherit bash-completion-r1 flag-o-matic multibuild optfeature toolchain-funcs
|
37 |
36 |
|
38 |
|
MY_P=${P}
|
39 |
37 |
if [[ ${PV} != 9999 ]]; then
|
40 |
38 |
if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then
|
41 |
39 |
# The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860
|
42 |
40 |
MY_P=${P/_/'~'}
|
43 |
|
SRC_URI="
|
44 |
|
https://alpha.gnu.org/gnu/${PN}/${MY_P}.tar.xz
|
45 |
|
verify-sig? ( https://alpha.gnu.org/gnu/${PN}/${MY_P}.tar.xz.sig )
|
46 |
|
"
|
|
41 |
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${MY_P}.tar.xz"
|
47 |
42 |
S=${WORKDIR}/${MY_P}
|
48 |
43 |
else
|
49 |
|
SRC_URI="
|
50 |
|
mirror://gnu/${PN}/${P}.tar.xz
|
51 |
|
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
|
52 |
|
"
|
|
44 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
53 |
45 |
S=${WORKDIR}/${P%_*}
|
54 |
46 |
fi
|
55 |
|
#KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
|
47 |
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
56 |
48 |
else
|
57 |
49 |
inherit git-r3
|
58 |
50 |
EGIT_REPO_URI="https://git.savannah.gnu.org/git/grub.git"
|
... | ... | |
62 |
54 |
"${FILESDIR}"/gfxpayload.patch
|
63 |
55 |
"${FILESDIR}"/grub-2.02_beta2-KERNEL_GLOBS.patch
|
64 |
56 |
"${FILESDIR}"/grub-2.06-test-words.patch
|
65 |
|
"${FILESDIR}"/grub-2.12_rc1-util-grub.d-25_bli.in-fix-shebang-on-unmerged-usr.patch
|
66 |
57 |
)
|
67 |
58 |
|
68 |
59 |
DEJAVU=dejavu-sans-ttf-2.37
|
... | ... | |
115 |
106 |
virtual/pkgconfig
|
116 |
107 |
)
|
117 |
108 |
truetype? ( virtual/pkgconfig )
|
118 |
|
verify-sig? ( sec-keys/openpgp-keys-danielkiper )
|
119 |
109 |
"
|
120 |
110 |
DEPEND="
|
121 |
111 |
app-arch/xz-utils
|
... | ... | |
159 |
149 |
git-r3_fetch "${GNULIB_URI}" "${GNULIB_REVISION}"
|
160 |
150 |
git-r3_checkout "${GNULIB_URI}" gnulib
|
161 |
151 |
popd >/dev/null || die
|
162 |
|
elif use verify-sig; then
|
163 |
|
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sig}
|
164 |
152 |
fi
|
165 |
153 |
default
|
166 |
154 |
}
|