diff --git a/anda/games/prismlauncher/prismlauncher.spec b/anda/games/prismlauncher/prismlauncher.spec index 817e6063de..6ce620bafc 100644 --- a/anda/games/prismlauncher/prismlauncher.spec +++ b/anda/games/prismlauncher/prismlauncher.spec @@ -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