mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(update): paper-plane pqmarble prismlauncher-{qt5-,}nightly voicevox (#659)
This commit is contained in:
@@ -1 +1 @@
|
||||
rpm.version(gh("paper-plane-developers/paper-plane"));
|
||||
rpm.version(gh_tag("paper-plane-developers/paper-plane"));
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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,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,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));
|
||||
|
||||
Reference in New Issue
Block a user