New package: PolyMC-1.1.1
This commit is contained in:
parent
cbab7dabbd
commit
28b083c4e6
6
srcpkgs/PolyMC/files/README.voidlinux
Normal file
6
srcpkgs/PolyMC/files/README.voidlinux
Normal file
@ -0,0 +1,6 @@
|
||||
Void-specific instructions:
|
||||
============================
|
||||
|
||||
You may not have the correct version of java installed for running specific
|
||||
versions of Minecraft. For Minecraft version 1.17 and up install openjdk17-jre
|
||||
and for older ones openjdk8-jre.
|
30
srcpkgs/PolyMC/template
Normal file
30
srcpkgs/PolyMC/template
Normal file
@ -0,0 +1,30 @@
|
||||
# Template file for 'PolyMC'
|
||||
pkgname=PolyMC
|
||||
version=1.1.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DLauncher_BUILD_PLATFORM=Void -DLauncher_PORTABLE=0
|
||||
-DLauncher_VERSION_BUILD=${revision}"
|
||||
hostmakedepends="openjdk8 qt5-host-tools qt5-qmake"
|
||||
makedepends="qt5-devel"
|
||||
depends="virtual?java-runtime qt5-imageformats xrandr"
|
||||
short_desc="Custom launcher for Minecraft"
|
||||
maintainer="Philipp David <pd@3b.pm>"
|
||||
license="GPL-3.0-only"
|
||||
homepage="https://polymc.org/"
|
||||
distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
|
||||
checksum=7ade9abc3a6f61ed27a129c10084c783cc9a3266484a53e29dabcc1cbb0ba5c4
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
|
||||
esac
|
||||
|
||||
post_patch() {
|
||||
vsed -i buildconfig/BuildConfig.cpp.in \
|
||||
-e 's/"-" + QString/"_" + QString/'
|
||||
rm -rf .git
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vdoc ${FILESDIR}/README.voidlinux
|
||||
}
|
2
srcpkgs/PolyMC/update
Normal file
2
srcpkgs/PolyMC/update
Normal file
@ -0,0 +1,2 @@
|
||||
site=https://github.com/PolyMC/PolyMC/tags
|
||||
pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
|
Loading…
x
Reference in New Issue
Block a user