fix(update): paper-plane pqmarble prismlauncher-{qt5-,}nightly voicevox (#659)

This commit is contained in:
madomado
2023-07-28 00:38:28 +08:00
committed by GitHub
parent e3cc12a922
commit b65b8a3cd3
6 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -1 +1 @@
rpm.version(gh("paper-plane-developers/paper-plane"));
rpm.version(gh_tag("paper-plane-developers/paper-plane"));
+3 -3
View File
@@ -1,5 +1,5 @@
let v = gh("VOICEVOX/voicevox");
rpm.version(v);
rpm.global("ver", v);
let engines = get(`https://raw.githubusercontent.com/VOICEVOX/voicevox/${v}/package.json`).json().engines;
rpm.define("nodev", find(">=([\\d.]+)", engines.node, 1));
rpm.define("npmv", find(">=([\\d.]+)", engines.npm, 1));
rpm.global("nodev", find(">=([\\d.]+)", engines.node, 1));
rpm.global("npmv", find(">=([\\d.]+)", engines.npm, 1));
+2 -1
View File
@@ -1,9 +1,10 @@
%global nodev 16.17.0
%global npmv 8.11.0
%global ver 0.14.7
%define debug_package %nil
Name: voicevox
Version: 0.14.7
Version: %ver
Release: 1%?dist
Summary: Free Japanese text-to-speech editor
License: LGPL-3.0
+4 -1
View File
@@ -4,5 +4,8 @@ if filters.contains("nightly") {
let sha = req.get().json().sha;
rpm.global("commit", sha);
rpm.release();
// rpm.version(`${gh("PrismLauncher/PrismLauncher")}^%{snapshot_info}`);
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
rpm.version(`${maj}.${min}^%{snapshot_info}`);
}
@@ -4,5 +4,8 @@ if filters.contains("nightly") {
let sha = req.get().json().sha;
rpm.global("commit", sha);
rpm.release();
// rpm.version(`${gh("PrismLauncher/PrismLauncher")}^%{snapshot_info}`);
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
rpm.version(`${maj}.${min}^%{snapshot_info}`);
}
+1 -1
View File
@@ -1,4 +1,4 @@
let req = get("https://gitlab.gnome.org/api/v4/projects/1551/repository/branches/main").json();
rpm.global("commit", req.commit.id)
rpm.global("commit", req.commit.id);
let meson = get("https://gitlab.gnome.org/raggesilver/marble/-/raw/master/meson.build");
rpm.global("ver", find("(?m)^\\s+version:\\s*'(.+)',$", meson, 1));