From c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 10 Aug 2022 09:16:34 +0100 Subject: added ovmf, lolcat, spice, and squashfstools --- repo/acpica/acpica.xibuild | 25 +++++++++++++++++++++++++ repo/acpica/disable-werror.patch | 13 +++++++++++++ repo/acpica/iasl.xibuild | 7 +++++++ 3 files changed, 45 insertions(+) create mode 100644 repo/acpica/acpica.xibuild create mode 100644 repo/acpica/disable-werror.patch create mode 100644 repo/acpica/iasl.xibuild (limited to 'repo/acpica') diff --git a/repo/acpica/acpica.xibuild b/repo/acpica/acpica.xibuild new file mode 100644 index 0000000..dcc24ce --- /dev/null +++ b/repo/acpica/acpica.xibuild @@ -0,0 +1,25 @@ +#!/bin/sh + +NAME="acpica" +DESC="ACPI Component Architecture utilities" + +MAKEDEPS=" flex bison" + +PKG_VER=20210930 +SOURCE="https://acpica.org/sites/acpica/files/acpica-unix-$PKG_VER.tar.gz" + +ADDITIONAL=" +disable-werror.patch +" + +prepare () { + apply_patches +} + +build() { + make +} + +package() { + make install DESTDIR="$PKG_DEST" +} diff --git a/repo/acpica/disable-werror.patch b/repo/acpica/disable-werror.patch new file mode 100644 index 0000000..da0c7c8 --- /dev/null +++ b/repo/acpica/disable-werror.patch @@ -0,0 +1,13 @@ +diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config +index a1f0313..8c4e8e7 100644 +--- a/generate/unix/Makefile.config ++++ b/generate/unix/Makefile.config +@@ -194,7 +194,7 @@ CWARNINGFLAGS = \ + -Wall\ + -Wbad-function-cast\ + -Wdeclaration-after-statement\ +- -Werror\ ++ -Wno-pointer-to-int-cast\ + -Wformat=2\ + -Wmissing-declarations\ + -Wmissing-prototypes\ diff --git a/repo/acpica/iasl.xibuild b/repo/acpica/iasl.xibuild new file mode 100644 index 0000000..8cd90ca --- /dev/null +++ b/repo/acpica/iasl.xibuild @@ -0,0 +1,7 @@ +#!/bin/sh + +DESC="ACPI ASL compiler" + +package () { + add_from_main usr/bin/iasl +} -- cgit v1.2.1