blob: d49de017bd79a1f9df1e151d2307ecf87b4f214a (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Vasiliy Stelmachenok <ventureo@yandex.ru>
pkgname=freesmlauncher
pkgver=1.1.1
pkgrel=1
pkgdesc="Minecraft launcher with offline accounts support"
arch=(x86_64)
url='https://freesmlauncher.windstone.space/'
license=('GPL-3.0-only AND LGPL-3.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND MIT AND LicenseRef-Batch AND OFL-1.1')
depends=(
glibc
gcc-libs
java-runtime
libgl
qt6-base
qt6-5compat
qt6-svg
qt6-imageformats
qt6-networkauth
quazip-qt6
zlib
hicolor-icon-theme
tomlplusplus
cmark
)
makedepends=(cmake extra-cmake-modules git jdk17-openjdk scdoc ghc-filesystem gamemode)
optdepends=(
'glfw-pure: Native Wayland support'
'openal: to use system OpenAL libraries'
'visualvm: Profiling support'
'xorg-xrandr: for older minecraft versions'
'flite: minecraft voice narration'
)
source=("git+https://github.com/FreesmTeam/FreesmLauncher#tag=sequoia-$pkgver")
sha256sums=('09edb37c5316a183973fe21fb56595ac1f4cf0dd8f7e9be2af3c6ba87ca63c75')
prepare() {
cd "FreesmLauncher"
git remote set-url origin https://github.com/FreesmTeam/FreesmLauncher
git submodule update --init --filter=tree:0 --recursive
}
build() {
cd "FreesmLauncher"
export PATH="/usr/lib/jvm/java-17-openjdk/bin/:$PATH"
cmake -DCMAKE_BUILD_TYPE= \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DLauncher_QT_VERSION_MAJOR="6" \
-DLauncher_ENABLE_JAVA_DOWNLOADER=ON \
-Bbuild -S.
cmake --build build
}
check() {
cd "FreesmLauncher"
ctest .
}
package() {
cd "FreesmLauncher/build"
DESTDIR="$pkgdir" cmake --install .
}
# vim:set ts=2 sw=2 et:
|