mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
gamehub: update to 0.15.0
This commit is contained in:
parent
a19c9112b8
commit
83bdf22a60
2 changed files with 2 additions and 67 deletions
|
@ -1,60 +0,0 @@
|
||||||
commit 57a0a05d9f664fca97c8531385a361fd4c68d861
|
|
||||||
Author: q66 <daniel@octaforge.org>
|
|
||||||
Date: Sat Jan 4 23:25:33 2020 +0100
|
|
||||||
|
|
||||||
fix build with recent vala
|
|
||||||
|
|
||||||
diff --git src/ui/dialogs/SettingsDialog/SettingsDialogTab.vala src/ui/dialogs/SettingsDialog/SettingsDialogTab.vala
|
|
||||||
index 369dd34..a952db9 100644
|
|
||||||
--- src/ui/dialogs/SettingsDialog/SettingsDialogTab.vala
|
|
||||||
+++ src/ui/dialogs/SettingsDialog/SettingsDialogTab.vala
|
|
||||||
@@ -28,11 +28,6 @@ namespace GameHub.UI.Dialogs.SettingsDialog
|
|
||||||
{
|
|
||||||
public SettingsDialog dialog { construct; protected get; }
|
|
||||||
|
|
||||||
- public SettingsDialogTab(SettingsDialog dlg)
|
|
||||||
- {
|
|
||||||
- Object(orientation: Orientation.VERTICAL, dialog: dlg);
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
construct
|
|
||||||
{
|
|
||||||
margin_start = margin_end = 8;
|
|
||||||
diff --git src/ui/views/GameDetailsView/GameDetailsBlock.vala src/ui/views/GameDetailsView/GameDetailsBlock.vala
|
|
||||||
index 0a03c39..06bf4a8 100644
|
|
||||||
--- src/ui/views/GameDetailsView/GameDetailsBlock.vala
|
|
||||||
+++ src/ui/views/GameDetailsView/GameDetailsBlock.vala
|
|
||||||
@@ -30,11 +30,6 @@ namespace GameHub.UI.Views.GameDetailsView
|
|
||||||
|
|
||||||
public bool is_dialog { get; construct; }
|
|
||||||
|
|
||||||
- public GameDetailsBlock(Game game, bool is_dialog)
|
|
||||||
- {
|
|
||||||
- Object(game: game, orientation: Orientation.VERTICAL, is_dialog: is_dialog);
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
public abstract bool supports_game { get; }
|
|
||||||
|
|
||||||
protected void add_info_label(string title, string? text, bool multiline=true, bool markup=false, Container? parent=null)
|
|
||||||
diff --git src/utils/downloader/Downloader.vala src/utils/downloader/Downloader.vala
|
|
||||||
index 7005965..2efcaf9 100644
|
|
||||||
--- src/utils/downloader/Downloader.vala
|
|
||||||
+++ src/utils/downloader/Downloader.vala
|
|
||||||
@@ -104,7 +104,7 @@ namespace GameHub.Utils.Downloader
|
|
||||||
set { _status = value; status_change(_status); }
|
|
||||||
}
|
|
||||||
|
|
||||||
- public Download(File remote, File local, File local_tmp)
|
|
||||||
+ protected Download(File remote, File local, File local_tmp)
|
|
||||||
{
|
|
||||||
this.remote = remote;
|
|
||||||
this.local = local;
|
|
||||||
@@ -116,7 +116,7 @@ namespace GameHub.Utils.Downloader
|
|
||||||
|
|
||||||
public abstract class PausableDownload: Download
|
|
||||||
{
|
|
||||||
- public PausableDownload(File remote, File local, File local_tmp)
|
|
||||||
+ protected PausableDownload(File remote, File local, File local_tmp)
|
|
||||||
{
|
|
||||||
base(remote, local, local_tmp);
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gamehub'
|
# Template file for 'gamehub'
|
||||||
pkgname=gamehub
|
pkgname=gamehub
|
||||||
version=0.13.1
|
version=0.15.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="GameHub-${version}-1-master"
|
wrksrc="GameHub-${version}-1-master"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
|
@ -13,9 +13,4 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://tkashkin.tk/projects/gamehub/"
|
homepage="https://tkashkin.tk/projects/gamehub/"
|
||||||
distfiles="https://github.com/tkashkin/GameHub/archive/${version}-1-master.tar.gz"
|
distfiles="https://github.com/tkashkin/GameHub/archive/${version}-1-master.tar.gz"
|
||||||
checksum=387412b6203b1e68bfec27ef7fab46e5dbf7e9cd5cebce6b6698a00e67d9b7e0
|
checksum=0182a32b595451b6bebf6f8173b6a41690e1c2b2d1c0b1a07cfce2ea0e536302
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) broken="src/utils/Utils.vala:175:22: error: expected identifier before '(' token; stdout = Utils.run(cmd, dir, env, override_runtime, capture_output, log);"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue