summaryrefslogtreecommitdiff
path: root/packages/sys-boot/grub/grub.exlib
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-boot/grub/grub.exlib')
-rw-r--r--packages/sys-boot/grub/grub.exlib10
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/sys-boot/grub/grub.exlib b/packages/sys-boot/grub/grub.exlib
index 702f066..7e686d8 100644
--- a/packages/sys-boot/grub/grub.exlib
+++ b/packages/sys-boot/grub/grub.exlib
@@ -5,12 +5,6 @@ require gnu [ suffix=tar.xz ] \
flag-o-matic \
autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ]
-if ever is_scm ; then
- DOWNLOADS=""
- SCM_REPOSITORY="https://git.savannah.gnu.org/git/${PN}.git"
- require scm-git
-fi
-
export_exlib_phases pkg_setup src_prepare src_configure src_compile src_install
SUMMARY="GRUB (Grand Unified Boot) bootloader"
@@ -22,6 +16,7 @@ MYOPTIONS="
grub-mount [[ description = [ FUSE driver for filesystems that GRUB understands ] ]]
mkfont [[ description = [ Build grub-mkfont which can create GRUB font files ] ]]
pc [[ description = [ Build PC platform support ] ]]
+ themes [[ description = [ Build and install GRUB themes (starfield) ] ]]
( providers: eudev systemd ) [[ number-selected = exactly-one ]]
( efi pc ) [[ number-selected = at-least-one ]]
"
@@ -41,6 +36,7 @@ DEPENDENCIES="
fonts/unifont
media-libs/freetype:2
)
+ themes? ( fonts/dejavu )
build+run:
app-arch/xz
sys-devel/gettext [[ note = [ required for grub-mkconfig, grep gettext in /etc/grub.d ] ]]
@@ -119,6 +115,7 @@ grub_src_configure() {
$(option_enable device-mapper) \
$(option_enable grub-mount) \
$(option_enable mkfont grub-mkfont)
+ $(option_enable themes grub-themes)
fi
if option pc; then
@@ -148,6 +145,7 @@ grub_src_configure() {
$(option_enable device-mapper) \
$(option_enable grub-mount) \
$(option_enable mkfont grub-mkfont)
+ $(option_enable themes grub-themes)
fi
}