refind: update to 0.12.0.
This commit is contained in:
parent
56b9746b6c
commit
1e0598b52b
1 changed files with 16 additions and 13 deletions
|
@ -1,32 +1,35 @@
|
||||||
# Template file for 'refind'
|
# Template file for 'refind'
|
||||||
pkgname=refind
|
pkgname=refind
|
||||||
version=0.11.4
|
version=0.12.0
|
||||||
revision=4
|
revision=1
|
||||||
makedepends="gnu-efi-libs git"
|
archs="x86_64* i686* aarch64*"
|
||||||
|
makedepends="gnu-efi-libs"
|
||||||
depends="bash dosfstools efibootmgr"
|
depends="bash dosfstools efibootmgr"
|
||||||
short_desc="EFI boot manager utility"
|
short_desc="EFI boot manager utility"
|
||||||
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="GPL-3.0-only, BSD-3-Clause"
|
license="GPL-3.0-only, BSD-3-Clause"
|
||||||
homepage="https://sourceforge.net/projects/refind/"
|
homepage="https://sourceforge.net/projects/refind/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/refind/refind-src-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/refind/refind-src-${version}.tar.gz"
|
||||||
checksum=39baf140603951da098238c1cbf4176fdd7d4a45fab0399e9985ad7368034dae
|
checksum=7bb8505bc9ff87a7b6de38bf9a91d46f4d613b30031d5eb088a4d791a31eb7c4
|
||||||
python_version=2 #unverified
|
python_version=2
|
||||||
conf_files="/etc/default/refind-kernel-hook.conf"
|
conf_files="/etc/default/refind-kernel-hook.conf"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
x86_64*|i686*|aarch64*) ;;
|
|
||||||
*) broken="${XBPS_TARGET_MACHINE} is unsupported" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind"|g' -i refind-install
|
vsed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind"|g' \
|
||||||
|
-i refind-install
|
||||||
|
|
||||||
# Patch paths to libaries and includes for cross-compiling
|
# Patch paths to libaries and includes for cross-compiling
|
||||||
sed -e "s|^EFIINC.*|EFIINC = ${XBPS_CROSS_BASE}/usr/include/efi|" \
|
vsed \
|
||||||
|
-e "s|^EFIINC.*|EFIINC = ${XBPS_CROSS_BASE}/usr/include/efi|" \
|
||||||
-e "s|^GNUEFILIB.*|GNUEFILIB = ${XBPS_CROSS_BASE}/usr/lib|" \
|
-e "s|^GNUEFILIB.*|GNUEFILIB = ${XBPS_CROSS_BASE}/usr/lib|" \
|
||||||
-e "s|^EFILIB.*|EFILIB = ${XBPS_CROSS_BASE}/usr/lib|" \
|
-e "s|^EFILIB.*|EFILIB = ${XBPS_CROSS_BASE}/usr/lib|" \
|
||||||
-e "s|^EFICRT0.*|EFICRT0 = ${XBPS_CROSS_BASE}/usr/lib|" \
|
-e "s|^EFICRT0.*|EFICRT0 = ${XBPS_CROSS_BASE}/usr/lib|" \
|
||||||
-i Make.common
|
-i Make.common
|
||||||
|
|
||||||
|
# Only this file is written in python3
|
||||||
|
# All other files are python2
|
||||||
|
vsed -e '1s,^.*python3$,#!/usr/bin/python3,' \
|
||||||
|
-i refind-mkdefault
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Reference in a new issue