PKGBUILD: Add optional dependency xorg-xrandr

* xrandr is used by some mods (possibly forge?) to get display
data. NOT REQUIRED since vanilla minecraft doesn't require it.
This commit is contained in:
Taylor Smock 2018-02-01 12:46:43 -07:00
parent 45c0bac4a4
commit 1b25805828
No known key found for this signature in database
GPG key ID: 9FDE4FFEF1C4CCB7
2 changed files with 7 additions and 5 deletions

View file

@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
# Thu Feb 1 13:44:45 UTC 2018
# Thu Feb 1 19:46:36 UTC 2018
pkgbase = multimc5
pkgdesc = Minecraft launcher with ability to manage multiple instances.
pkgver = 0.6.1
pkgver = 0.6.2
pkgrel = 1
url = http://multimc.org/
arch = i686
@ -21,10 +21,11 @@ pkgbase = multimc5
depends = java-runtime
depends = qt5-svg
optdepends = mcedit: Allows editing of minecraft worlds
optdepends = xorg-xrandr: Some modpacks require this to launch
conflicts = multimc5-git
conflicts = multimc-git
conflicts = multimc
source = https://github.com/MultiMC/MultiMC5/archive/0.6.1.tar.gz
source = https://github.com/MultiMC/MultiMC5/archive/0.6.2.tar.gz
source = https://github.com/MultiMC/libnbtplusplus/archive/multimc-0.5.0.tar.gz
source = https://github.com/MultiMC/quazip/archive/multimc-2.tar.gz
sha512sums = 55adf34bcd4fb90ff6473902827fe16ad2e4546b32d65bc6dd9f49401ddb4a6d64ac751228346493491da9968ecf02ed9b5da81fa00db963a790bb2ef3a7bea1

View file

@ -2,7 +2,7 @@
# Contributor: b.klettbach@gmail.com
pkgname=multimc5
pkgver=0.6.1
pkgver=0.6.2
pkgrel=1
__pkgver_libnbtplusplus=multimc-0.5.0
__pkgver_quazip=multimc-2
@ -12,7 +12,8 @@ url="http://multimc.org/"
license=('Apache')
depends=('zlib' 'libgl' 'qt5-base' 'qt5-x11extras' 'java-runtime' 'qt5-svg')
makedepends=('git' 'patch' 'cmake' 'qt5-tools' 'qt5-x11extras' 'java-environment>=8')
optdepends=('mcedit: Allows editing of minecraft worlds')
optdepends=('mcedit: Allows editing of minecraft worlds'
'xorg-xrandr: Some modpacks require this to launch')
conflicts=('multimc5-git' 'multimc-git' 'multimc')
source=("https://github.com/MultiMC/MultiMC5/archive/${pkgver}.tar.gz"
"https://github.com/MultiMC/libnbtplusplus/archive/${__pkgver_libnbtplusplus}.tar.gz"