Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version bump and fix #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions virt-manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class VirtManager < Formula

desc "App for managing virtual machines"
homepage "https://virt-manager.org/"
url "https://virt-manager.org/download/sources/virt-manager/virt-manager-3.2.0.tar.gz"
sha256 "2b6fe3d90d89e1130227e4b05c51e6642d89c839d3ea063e0e29475fd9bf7b86"
url "https://virt-manager.org/download/sources/virt-manager/virt-manager-4.0.0.tar.gz"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url "https://virt-manager.org/download/sources/virt-manager/virt-manager-4.0.0.tar.gz"
url "https://releases.pagure.org/virt-manager/virt-manager-4.0.0.tar.gz"

sha256 "515aaa2021a4bf352b0573098fe6958319b1ba8ec508ea37e064803f97f17086"
revision 3

depends_on "intltool" => :build
Expand All @@ -28,8 +28,8 @@ class VirtManager < Formula
depends_on "vte3"

resource "libvirt-python" do
url "https://libvirt.org/sources/python/libvirt-python-7.3.0.tar.gz"
sha256 "676c260ddb365120404e611a38c514045ef1af1a7fede15c1fc02d0f8241f696"
url "https://libvirt.org/sources/python/libvirt-python-8.1.0.tar.gz"
sha256 "a21ecfab6d29ac1bdd1bfd4aa3ef58447f9f70919aefecd03774613f65914e43"
end

resource "idna" do
Expand Down
26 changes: 15 additions & 11 deletions virt-viewer.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
class VirtViewer < Formula
desc "App for virtualized guest interaction"
homepage "https://virt-manager.org/"
url "https://virt-manager.org/download/sources/virt-viewer/virt-viewer-10.0.tar.xz"
sha256 "d23bc0a06e4027c37b8386cfd0286ef37bd738977153740ab1b6b331192389c5"
url "https://virt-manager.org/download/sources/virt-viewer/virt-viewer-11.0.tar.xz"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url "https://virt-manager.org/download/sources/virt-viewer/virt-viewer-11.0.tar.xz"
url "https://releases.pagure.org/virt-viewer/virt-viewer-11.0.tar.xz"

sha256 "a43fa2325c4c1c77a5c8c98065ac30ef0511a21ac98e590f22340869bad9abd0"

depends_on "cmake" => :build
depends_on "intltool" => :build
depends_on "libtool" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build

depends_on "atk"
Expand All @@ -23,16 +26,17 @@ class VirtViewer < Formula
depends_on "spice-gtk"
depends_on "spice-protocol"

patch do
url "https://gist.githubusercontent.com/PeterSurda/54e8302a7275a3234670a0d75a2baa6f/raw/4d4e3d33cb7e0708a31bfba98640335ef1fc7ea5/virt-viewer_meson_build.patch"
sha256 "4e1fea7170536348ec79091c451fe29239f27b5eb0d4bf1392b5ca024fcf5e7f"
end

def install
args = %W[
--disable-silent-rules
--disable-update-mimedb
--with-gtk-vnc
--with-spice-gtk
--prefix=#{prefix}
]
system "./configure", *args
system "make", "install"
mkdir "build" do
system "meson", *std_meson_args, ".."
system "ninja"
system "ninja", "install"
end
end

def post_install
Expand Down