mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
PolyMC: update to 1.4.1.
This commit is contained in:
parent
38fa739ccd
commit
bd17e4310d
1 changed files with 6 additions and 5 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'PolyMC'
|
# Template file for 'PolyMC'
|
||||||
pkgname=PolyMC
|
pkgname=PolyMC
|
||||||
version=1.3.2
|
version=1.4.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DLauncher_BUILD_PLATFORM=Void
|
configure_args="-DLauncher_BUILD_PLATFORM=Void
|
||||||
-DLauncher_VERSION_BUILD=${revision}"
|
-DLauncher_VERSION_BUILD=${revision}"
|
||||||
hostmakedepends="openjdk8 qt5-host-tools qt5-qmake"
|
hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
|
||||||
|
qt5-qmake scdoc"
|
||||||
makedepends="qt5-devel"
|
makedepends="qt5-devel"
|
||||||
depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
|
depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
|
||||||
short_desc="Custom launcher for Minecraft"
|
short_desc="Custom launcher for Minecraft"
|
||||||
|
@ -13,7 +14,7 @@ maintainer="Philipp David <pd@3b.pm>"
|
||||||
license="GPL-3.0-only"
|
license="GPL-3.0-only"
|
||||||
homepage="https://polymc.org/"
|
homepage="https://polymc.org/"
|
||||||
distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
|
distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
|
||||||
checksum=c33484ae20c912d3dde2e55f64f24d8b86a9a9547631cd3b10481ddbf90f4735
|
checksum=c7f893e2f8641abcb3bd7fe2ffeda1c7d99ff7e8774c76f9b53f6629e83eab2f
|
||||||
|
|
||||||
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
||||||
configure_args+=" -DBUILD_TESTING=0"
|
configure_args+=" -DBUILD_TESTING=0"
|
||||||
|
@ -25,7 +26,7 @@ esac
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
vsed -i buildconfig/BuildConfig.cpp.in \
|
vsed -i buildconfig/BuildConfig.cpp.in \
|
||||||
-e 's/"-" + QString/"_" + QString/'
|
-e 's/+build\./_/'
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue