Skip to content

Commit

Permalink
prismlauncher: move JREs to weak deps, add java 21 for snapshots (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo authored Apr 4, 2024
1 parent 97ba35d commit 045b6b3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
5 changes: 3 additions & 2 deletions anda/games/prismlauncher-nightly/prismlauncher-nightly.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ Requires(postun): desktop-file-utils
Requires: qt%{qt_version}-qtimageformats
Requires: qt%{qt_version}-qtsvg
Requires: javapackages-filesystem
Requires: java-17-openjdk
Requires: java-1.8.0-openjdk
Recommends: java-21-openjdk
Recommends: java-17-openjdk
Suggests: java-1.8.0-openjdk

# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
Recommends: xrandr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ Requires(postun): desktop-file-utils
Requires: qt%{qt_version}-qtimageformats
Requires: qt%{qt_version}-qtsvg
Requires: javapackages-filesystem
Requires: java-17-openjdk
Requires: java-1.8.0-openjdk
Recommends: java-21-openjdk
Recommends: java-17-openjdk
Suggests: java-1.8.0-openjdk

# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
Recommends: xrandr
Expand Down
10 changes: 7 additions & 3 deletions anda/games/prismlauncher-qt5/prismlauncher-qt5.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name: prismlauncher
Name: prismlauncher-qt5
%endif
Version: 8.2
Release: 1%?dist
Release: 2%?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
Expand Down Expand Up @@ -61,8 +61,9 @@ Requires(postun): desktop-file-utils
Requires: qt%{qt_version}-qtimageformats
Requires: qt%{qt_version}-qtsvg
Requires: javapackages-filesystem
Requires: java-17-openjdk
Requires: java-1.8.0-openjdk
Recommends: java-21-openjdk
Recommends: java-17-openjdk
Suggests: java-1.8.0-openjdk

# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
Recommends: xrandr
Expand Down Expand Up @@ -131,6 +132,9 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt


%changelog
* Wed Apr 03 2024 seth <getchoo at tuta dot io> - 8.2-2
- move JREs to weak deps, add java 21 for snapshots

* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
- remove terra-fractureiser-detector from recommends, use proper build platform

Expand Down
10 changes: 7 additions & 3 deletions anda/games/prismlauncher/prismlauncher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name: prismlauncher
Name: prismlauncher-qt5
%endif
Version: 8.2
Release: 1%?dist
Release: 2%?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
Expand Down Expand Up @@ -61,8 +61,9 @@ Requires(postun): desktop-file-utils
Requires: qt%{qt_version}-qtimageformats
Requires: qt%{qt_version}-qtsvg
Requires: javapackages-filesystem
Requires: java-17-openjdk
Requires: java-1.8.0-openjdk
Recommends: java-21-openjdk
Recommends: java-17-openjdk
Suggests: java-1.8.0-openjdk

# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
Recommends: xrandr
Expand Down Expand Up @@ -131,6 +132,9 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt


%changelog
* Wed Apr 03 2024 seth <getchoo at tuta dot io> - 8.2-2
- move JREs to weak deps, add java 21 for snapshots

* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
- remove terra-fractureiser-detector from recommends, use proper build platform

Expand Down

0 comments on commit 045b6b3

Please sign in to comment.