aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/gnome-boxes/APKBUILD6
-rw-r--r--community/gnome-boxes/add-smartcard-disable-option.patch36
2 files changed, 21 insertions, 21 deletions
diff --git a/community/gnome-boxes/APKBUILD b/community/gnome-boxes/APKBUILD
index 15494594f4..7199fc813b 100644
--- a/community/gnome-boxes/APKBUILD
+++ b/community/gnome-boxes/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-boxes
-pkgver=42.0.1
+pkgver=42.2
pkgrel=0
pkgdesc="Virtualization made simple"
url="https://wiki.gnome.org/Apps/Boxes"
@@ -34,6 +34,6 @@ package() {
}
sha512sums="
-74968525943ff1a695f2d0cbcd3b9066f2b8c87d6b3b7dea5dab2911600fb09c961ee547a759eed2a23636c7b242a86b56e5ee579dc01e9e9c9caac67a845b03 gnome-boxes-42.0.1.tar.xz
-87486e45ecd06642f0381d940078138ff88eb104bb176d0dd9dbcfa766a2075c26ba67cf49736374f9c018847e126d7a48c0ceddbceae05f46506eace357bde1 add-smartcard-disable-option.patch
+04689313be9d98af536d53794ec3138bd66809b55eea89b31b2c900ca4288c1abd1914c7bbcc78131cde750eade2c92405eede616863b84c1ec8f1d04af13acc gnome-boxes-42.2.tar.xz
+9a219a2bfc3af33cccde86ad78a4748873a6715afe5fea5d913ba47ca7fe8ae2627b389c561e71f7d74065502378e947acdcecd53342d3183abe6b5e3236c6df add-smartcard-disable-option.patch
"
diff --git a/community/gnome-boxes/add-smartcard-disable-option.patch b/community/gnome-boxes/add-smartcard-disable-option.patch
index 7c35eea5b2..dfb1e823c3 100644
--- a/community/gnome-boxes/add-smartcard-disable-option.patch
+++ b/community/gnome-boxes/add-smartcard-disable-option.patch
@@ -1,20 +1,20 @@
-From db0d70ada9f64b3af41fd34a4a31485cb5ac9ed5 Mon Sep 17 00:00:00 2001
+From ac3d004f793307a89787acdf99e368ffc118d24f Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
-Date: Fri, 15 Apr 2022 14:32:05 +0200
+Date: Tue, 5 Jul 2022 19:34:24 +0200
Subject: [PATCH] build, config: Add separate option for enabling smartcard
support
Allows for disabling smartcard support on systems where it is disabled
in QEMU.
---
- meson.build | 1 +
- meson_options.txt | 5 +++++
- src/config.vapi | 1 +
- src/vm-configurator.vala | 2 +-
+ meson.build | 1 +
+ meson_options.txt | 5 +++++
+ src/config.vapi | 1 +
+ src/vm-configurator.vala | 2 +-
4 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
-index 4df18cbb..e13689c2 100644
+index d08220a..4e4782d 100644
--- a/meson.build
+++ b/meson.build
@@ -37,6 +37,7 @@ conf.set_quoted ('DATADIR', data_dir)
@@ -26,7 +26,7 @@ index 4df18cbb..e13689c2 100644
if get_option ('profile') == 'development'
diff --git a/meson_options.txt b/meson_options.txt
-index ebd86b47..2d0b4d4a 100644
+index ebd86b4..2d0b4d4 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -34,3 +34,8 @@ option ('uefi',
@@ -39,7 +39,7 @@ index ebd86b47..2d0b4d4a 100644
+ value: true,
+ description: 'Whether to enable smartcard support or not')
diff --git a/src/config.vapi b/src/config.vapi
-index f6144e59..1aef8d9b 100644
+index f6144e5..1aef8d9 100644
--- a/src/config.vapi
+++ b/src/config.vapi
@@ -15,4 +15,5 @@ namespace Config {
@@ -49,18 +49,18 @@ index f6144e59..1aef8d9b 100644
+ public const bool SMARTCARD_SUPPORTED;
}
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
-index 6d817df7..45b12f20 100644
+index 17720b5..e234c36 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
-@@ -92,7 +92,7 @@ public static Domain create_domain_config (InstallerMedia install_media, string
+@@ -95,7 +95,7 @@ public static Domain create_domain_config (InstallerMedia install_media, string
+ domain.add_device (create_graphics_device());
+ add_usb_support (domain, install_media);
- add_usb_support (domain, install_media);
+- if (!App.is_running_in_flatpak ())
++ if (Config.SMARTCARD_SUPPORTED && !App.is_running_in_flatpak ())
+ add_smartcard_support (domain);
+ }
-- if (!App.is_running_in_flatpak ())
-+ if (Config.SMARTCARD_SUPPORTED && !App.is_running_in_flatpak ())
- add_smartcard_support (domain);
-
- set_video_config (domain, install_media);
--
-2.35.2
+2.37.0