diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-06 11:18:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-06 11:18:16 +0100 |
commit | ebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (patch) | |
tree | f2204ce5f94dc3cb13728ff93649d889944952bb /sys-boot/grub/grub-9999.ebuild | |
parent | fe1c8b732bd548b699d4c2ef725f67f8b8c8911c (diff) |
gentoo resync : 06.05.2018
Diffstat (limited to 'sys-boot/grub/grub-9999.ebuild')
-rw-r--r-- | sys-boot/grub/grub-9999.ebuild | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild index cc6db989c6e8..8c33dc3f4bbc 100644 --- a/sys-boot/grub/grub-9999.ebuild +++ b/sys-boot/grub/grub-9999.ebuild @@ -1,19 +1,24 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 if [[ ${PV} == 9999 ]]; then GRUB_AUTOGEN=1 + GRUB_AUTORECONF=1 fi if [[ -n ${GRUB_AUTOGEN} ]]; then PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + inherit python-any-r1 +fi + +if [[ -n ${GRUB_AUTORECONF} ]]; then WANT_LIBTOOL=none - inherit autotools python-any-r1 + inherit autotools fi -inherit autotools bash-completion-r1 flag-o-matic multibuild pax-utils toolchain-funcs versionator +inherit bash-completion-r1 flag-o-matic multibuild pax-utils toolchain-funcs versionator if [[ ${PV} != 9999 ]]; then if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then @@ -28,8 +33,7 @@ if [[ ${PV} != 9999 ]]; then KEYWORDS="~amd64 ~arm64 ~x86" else inherit git-r3 - EGIT_REPO_URI="git://git.sv.gnu.org/grub.git - http://git.savannah.gnu.org/r/grub.git" + EGIT_REPO_URI="https://git.savannah.gnu.org/git/grub.git" fi PATCHES=( @@ -62,7 +66,7 @@ REQUIRED_USE=" # os-prober: Used on runtime to detect other OSes # xorriso (dev-libs/libisoburn): Used on runtime for mkrescue -RDEPEND=" +COMMON_DEPEND=" app-arch/xz-utils >=sys-libs/ncurses-5.2-r5:0= debug? ( @@ -75,14 +79,17 @@ RDEPEND=" ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) " -DEPEND="${RDEPEND} +DEPEND="${COMMON_DEPEND} ${PYTHON_DEPS} app-misc/pax-utils sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo - fonts? ( media-libs/freetype:2 ) + fonts? ( + media-libs/freetype:2 + virtual/pkgconfig + ) grub_platforms_xen? ( app-emulation/xen-tools:= ) grub_platforms_xen-32? ( app-emulation/xen-tools:= ) static? ( @@ -91,6 +98,7 @@ DEPEND="${RDEPEND} app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] + virtual/pkgconfig ) ) test? ( @@ -106,9 +114,11 @@ DEPEND="${RDEPEND} themes? ( app-arch/unzip media-libs/freetype:2 + virtual/pkgconfig ) + truetype? ( virtual/pkgconfig ) " -RDEPEND+=" +RDEPEND="${COMMON_DEPEND} kernel_linux? ( grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) @@ -117,8 +127,6 @@ RDEPEND+=" nls? ( sys-devel/gettext ) " -DEPEND+=" !!=media-libs/freetype-2.5.4" - RESTRICT="strip !test? ( test )" QA_EXECSTACK="usr/bin/grub*-emu* usr/lib/grub/*" @@ -153,6 +161,9 @@ src_prepare() { if [[ -n ${GRUB_AUTOGEN} ]]; then python_setup bash autogen.sh || die + fi + + if [[ -n ${GRUB_AUTORECONF} ]]; then autopoint() { :; } eautoreconf fi |