-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
36 lines (32 loc) · 1.3 KB
/
template
File metadata and controls
36 lines (32 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Template file for 'PrismLauncher'
pkgname=PrismLauncher
version=11.0.1
revision=1
build_style=cmake
configure_args="-DLauncher_BUILD_PLATFORM=Void"
hostmakedepends="extra-cmake-modules openjdk17 pkg-config qt6-tools qt6-base scdoc"
makedepends="qt6-base-devel qt6-qt5compat-devel zlib-devel quazip-qt6-devel
qt6-networkauth-devel cmark-devel libgamemode-devel qrencode-devel
libarchive-devel tomlplusplus-devel"
depends="virtual?java-runtime qt6-svg qt6-imageformats qt6-plugin-tls-openssl"
short_desc="Custom launcher for Minecraft"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://prismlauncher.org/"
distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
checksum=8dc12c1d5bfd67b1e07047313c606826da0079f214a81311d6f5e24005894e8d
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTING=0"
fi
case "$XBPS_TARGET_MACHINE" in
# XXX: this could be fixed by switching to clang, but it seems to produce
# non-PIE executables despite -fPIE being in the C(XX)FLAGS
# There's also some effort needed to get it working on cross
armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
esac
pre_configure() {
. /etc/profile.d/jdk.sh
}
post_install() {
vdoc ${FILESDIR}/README.voidlinux
}