mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-06 11:52:17 +00:00
chore(prismlauncher): Update build deps to match PrismLauncher nightly, switch from quazip to libarchive (#8391) (#8400)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
%bcond_without qt6
|
||||
%global appid org.prismlauncher.PrismLauncher
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
# Leave blank if you want to build Prism Launcher without MSA id or curseforge api key
|
||||
@@ -23,7 +24,7 @@ Name: prismlauncher
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 9.4
|
||||
Release: 1%?dist
|
||||
Release: 3%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
# each file in the source also contains a SPDX-License-Identifier header that declares its license
|
||||
@@ -45,6 +46,7 @@ BuildRequires: temurin-17-jdk
|
||||
%else
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
%endif
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: cmake(ghc_filesystem)
|
||||
@@ -57,12 +59,12 @@ BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}NetworkAuth) >= %{min_qt_version}
|
||||
BuildRequires: tomlplusplus-devel
|
||||
BuildRequires: pkgconfig(libqrencode)
|
||||
BuildRequires: pkgconfig(libarchive)
|
||||
BuildRequires: pkgconfig(gamemode)
|
||||
|
||||
%if %{with qt6}
|
||||
BuildRequires: cmake(Qt6Core5Compat)
|
||||
BuildRequires: quazip-qt6-devel
|
||||
%else
|
||||
BuildRequires: quazip-qt5-devel
|
||||
%endif
|
||||
|
||||
|
||||
@@ -129,7 +131,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%terra_appstream
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
Reference in New Issue
Block a user