makedeb
Minecraft launcher with ability to manage multiple instances.
Click here to go back to the commit logs for prismlauncher-git.
Hash: 47559392e548bb45bfc2cd27bf6ced2e858f9c81
Message: add support for riscv64
Signed-off-by: lordpipe <lordpipe@protonmail.com>
diff --git a/.SRCINFO b/.SRCINFO
index c576364..3fb5bbf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,13 @@ pkgname = prismlauncher-git
pkgbase = prismlauncher-git
pkgdesc = Minecraft launcher with ability to manage multiple instances.
pkgrel = 1
-pkgver = 8.0.r1.bcadffa
+pkgver = 8.0.r1.bdec11c
url = https://github.com/PrismLauncher/PrismLauncher
arch = i686
arch = amd64
arch = arm64
arch = armhf
+arch = riscv64
conflicts = prismlauncher
depends = libqt5svg5
depends = qt5-image-formats-plugins
diff --git a/PKGBUILD b/PKGBUILD
index 1a81e82..eac57a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,10 +4,10 @@
_pkgname=prismlauncher
pkgname=${_pkgname}-git
-pkgver=8.0.r1.bcadffa
+pkgver=8.0.r1.bdec11c
pkgrel=1
pkgdesc="Minecraft launcher with ability to manage multiple instances."
-arch=('i686' 'amd64' 'arm64' 'armhf')
+arch=('i686' 'amd64' 'arm64' 'armhf' 'riscv64')
url="https://github.com/PrismLauncher/PrismLauncher"
license=('GPL3')
depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5')
@@ -45,9 +45,11 @@ if [[ ${CFLAGS} != *"-mtune"* && ${CFLAGS} != *"-march"* ]]; then
CFLAGS+=" -march=armv7-a -mtune=generic"
CXXFLAGS+=" -march=armv7-a -mtune=generic"
;;
- *)
- CFLAGS+=" -mtune=generic"
- CXXFLAGS+=" -mtune=generic"
+ riscv64*)
+ CFLAGS+=" -march=rv64imafdc"
+ CXXFLAGS+=" -march=rv64imafdc"
+ CFLAGS=${CFLAGS/-fcf-protection/}
+ CXXFLAGS=${CXXFLAGS/-fcf-protection/}
;;
esac
fi