libvirt 8.0.0

* libvirt 8.0.0
* libvirt: depend on linux headers for Linux
* libvirt: patch for macOS

Closes #93151.

Co-authored-by: Michka Popoff <michkapopoff@gmail.com>
Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Porkepix 2022-01-14 16:44:27 +01:00 committed by BrewTestBot
parent dd84e870fc
commit 91b24e6309
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 10 additions and 3 deletions

View File

@ -1,10 +1,9 @@
class Libvirt < Formula
desc "C virtualization API"
homepage "https://libvirt.org/"
url "https://libvirt.org/sources/libvirt-7.10.0.tar.xz"
sha256 "cb318014af097327928c6e3d72922e3be02a3e6401247b2aa52d9ab8e0b480f9"
url "https://libvirt.org/sources/libvirt-8.0.0.tar.xz"
sha256 "51e6e8ff04bafe96d7e314b213dcd41fb1163d9b4f0f75cdab01e663728f4cf6"
license all_of: ["LGPL-2.1-or-later", "GPL-2.0-or-later"]
revision 1
head "https://gitlab.com/libvirt/libvirt.git", branch: "master"
livecheck do
@ -46,6 +45,7 @@ class Libvirt < Formula
on_linux do
depends_on "libtirpc"
depends_on "linux-headers@5.16"
end
# Don't generate accelerator command line on macOS
@ -67,6 +67,13 @@ class Libvirt < Formula
sha256 "4eb3c9f0ca140a4d8eb5002acde0b6f1234011f82df7d8cc85252be35e8a5cff"
end
# Fix PermissionError: [Errno 1] Operation not permitted: '/usr/local/Cellar/yajl/2.1.0/include/libvirt'
# Remove with next release
patch do
url "https://gitlab.com/libvirt/libvirt/-/commit/9f2d3cb472fd4d86dc4de5d57fcf8acb14e33e00.diff"
sha256 "ee14a4922ddc405c6ff6c5f7e9183b83f50cfa448b2ab9e1428f3f1c47e0d34c"
end
def install
mkdir "build" do
args = %W[