Update package version to 2.14

This commit is contained in:
2026-01-17 12:44:52 +02:00
parent 7bc1279d60
commit ae612c9b4e
2 changed files with 14 additions and 15 deletions
+4 -3
View File
@@ -1,7 +1,7 @@
name: grub
description: The GRand Unified Bootloader
version: "2.12"
revision: 10
version: "2.14"
revision: 1
url: https://www.gnu.org/software/grub/
license: GPL3-or-later
architecture: any
@@ -20,6 +20,7 @@ optional_depends:
- mtools
- os-prober
make_depends:
- autoconf-archive
- freetype2
- fuse3
- gzip
@@ -28,7 +29,7 @@ downloads:
- url: https://ftpmirror.gnu.org/gnu/grub/grub-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: f3c97391f7c4eaa677a78e090c7e97e6dc47b16f655f04683ebd37bef7fe0faa
checksum: bc8d3c73535b8838d8c8e2654d73edc4e6ae8c8acdb45d5df5dc9a1547446d43
- url: https://ftpmirror.gnu.org/gnu/unifont/unifont-16.0.03/unifont-16.0.03.bdf.gz
filepath: unifont.bdf.gz
checksum: 7f3d1664ac1c051f59a1a1360dd654f78d82c246a688c342e863cec7f6ba95d4
+10 -12
View File
@@ -9,7 +9,14 @@ prepare() {
gunzip -c unifont.bdf.gz > "$BPM_SOURCE"/unifont.bdf
cd "$BPM_SOURCE"
# Allow detection of non-versioned initramfs image file names
patch -Np1 -i "$BPM_WORKDIR"/fix-initramfs-detection.patch
# Add missing file
echo depends bli part_gpt > grub-core/extra_deps.lst
# Fix dejavu font directory
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac"
autoreconf -fi
}
# The build function is executed in the source directory
@@ -17,17 +24,12 @@ prepare() {
build() {
unset {C,CPP,CXX,LD}FLAGS
# Add missing file
echo depends bli part_gpt > grub-core/extra_deps.lst
# Fix dejavu font directory
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac"
autoreconf -fi
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-efiemu \
--disable-werror \
--enable-boot-time \
--enable-cache-stats \
--with-platform=efi \
--target=x86_64
make
@@ -36,15 +38,11 @@ build() {
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
make DESTDIR="$BPM_OUTPUT" bashcompletiondir=/usr/share/bash-completion/completions install
#Install font data files
install -Dm644 ascii.h widthspec.h *.pf2 "$BPM_OUTPUT"/usr/share/grub/
# Install bash completions
install -dm755 "$BPM_OUTPUT"/usr/share/bash-completion/completions/
mv "$BPM_OUTPUT"/etc/bash_completion.d/grub "$BPM_OUTPUT"/usr/share/bash-completion/completions
# Install grub default file
install -Dm644 "$BPM_WORKDIR"/grub.default "$BPM_OUTPUT"/etc/default/grub