mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
games-action/fjordlauncher: drop 9.4.0, 9.4.1, 10.0.1.0, 10.0.2.0
Signed-off-by: cat <cat@plan9.rocks>
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
DIST fjordlauncher-10.0.1.0.tar.gz 7499547 BLAKE2B be26ce4ac784600011e06d2c13b43206a3b7dcbf058c12b55c0bf8d15b71ff5f0d097f97c2e13a1641860d4374cfd296f21cf79cdae83864593ec785399a232d SHA512 3ae8568633357dce1ca9f288201530f133301a866d429c3c3570a64427827790d1c917e10b8ad00490956120e4ab3a5c12a2a573ec1aae1562458079376c32cb
|
||||
DIST fjordlauncher-10.0.2.0.tar.gz 7499796 BLAKE2B 755babaa5d25650e16cee3a62ff3dccba4158025b0ba72f7ee9f617e5c85056c7eefca1030e34c2d0dfd6939cdafd19aebb2760648cafad3f764eb375246b19c SHA512 9181351ca7f5595f0ddb806b10630c9b3a7969e916d321231cbb8ccb2495833083ebcb33d9d1b7ec23d5dd2aa16cb899bc8c761dc1dc7cbc174fdc874dd08ba7
|
||||
DIST fjordlauncher-10.0.5.0.tar.gz 7407099 BLAKE2B f143138dd5c50629457016cfe38cae3b5215c88618531b52e2e126e35ee5119337ebc2855dbf5396136739b8090b80779c49116ddb4f3054ee5758deca9f6f41 SHA512 11ae7e3c3e1193a24b3f4ee32be444da941c922f9792ebb46af1bb15badf2959f28044865e1910a98bce4b2adcca0f648eda0ed5b331e62d0550c535afe2b7e0
|
||||
DIST fjordlauncher-9.2.4.tar.gz 11592326 BLAKE2B 2820b7831e3390bc099acfc2359ce1c82e9b342418b11b8d73e377ea0c2f0e73909d06df618ff3b9cb02105911acfdf7d3899a73fd0e5db52298e6355380d448 SHA512 fd9eba15aa7da3a71a5e4eceb863bfc2732fec77e0469cda004fcf843a7fd9457a1a4b906235e268ab73e24721c4e9d219e468c1344fed80102a7ee706c4f2c9
|
||||
DIST fjordlauncher-9.3.0.tar.gz 11646710 BLAKE2B 3f61f264c3623e3d8878903891ef03bb2638c6ee4a7615a2666a28f1d045f17845d362877b8bc3347dfd69f4f335d167b664f4f4d33b60c1c371db85fd4a2d67 SHA512 8b8d37b54f521e32c8a606b4fcdeaa708671cde397bacf0ce9201e3b467c0172f1bd14df49359c985a38001da2b5395ddab9e7e2bc72774f40e29d792c590c0f
|
||||
DIST fjordlauncher-9.4.0.tar.gz 11647192 BLAKE2B 75f8d2f4f6f7c624df99f5fcc5a1206695f785378581166750ecbd5f432b23ce52b56500bf8eb0a6888af80d2dfc7bde1cd61405a732a30bd00e52824711e2e9 SHA512 90d19408d3aea737e0cceaab8dfb93dd54ae1b6b52ab416a526635939f7f528b8557e6de975ed0a36cfd79269b69cc3d49e7cb66b4c8421dacc38ffe6180a991
|
||||
DIST fjordlauncher-9.4.1.tar.gz 11642256 BLAKE2B 7265bf640d8507234826945bc2a7b64f496848ddfa078bfa04d0582e7a0bc6ddc60bf1dc4866879fa6ba05c745937ba326d905f3cd8ca61d9772e1376df58e9c SHA512 0f389c0c8d4152451476e89259d796b2deda355d4d9e483f3c7f821e629494a44740ae59f1c5f20215b7de96edf61b31d3c530d1870354a7debeb567b9add58c
|
||||
DIST fjordlauncher-9.4.2.tar.gz 11648318 BLAKE2B 2247d63c1eab69a7cc8da1d07acbc2c0fbac31009f601f7d096757b4932ba93e454d86c1c4b164449d436217e14cb18b53901e6c16e1d6d58275f77f9f8ddb70 SHA512 d6e5951f26917ea3510aeb9ee6cefbfac258eb25bc9b87c001da523f461f3740a30ee80e17d5867a5c7b3248d7a3822b89c4109db37459b3206b5f4c63fa366f
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QTMIN=6.0.0
|
||||
inherit cmake java-pkg-2 optfeature toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Prism Launcher fork with support for alternative auth servers"
|
||||
HOMEPAGE="https://github.com/unmojang/FjordLauncher"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/unmojang/FjordLauncher"
|
||||
|
||||
EGIT_SUBMODULES=( 'libraries/libnbtplusplus' )
|
||||
else
|
||||
MY_PN="FjordLauncher"
|
||||
|
||||
# Let's use the vendored tarball to avoid dealing with the submodules directly
|
||||
SRC_URI="
|
||||
https://github.com/unmojang/FjordLauncher/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# Fjord Launcher's files are unpacked to ${WORKDIR}/FjordLauncher-${PV}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
fi
|
||||
|
||||
# GPL-3 for PolyMC, Prism (FjordLauncher is forked from it), and Fjord itself
|
||||
# Apache-2.0 for MultiMC (PolyMC is forked from it)
|
||||
# LGPL-3+ for libnbtplusplus
|
||||
# See the rest of PrismLauncher's libraries at https://github.com/unmojang/FjordLauncher/tree/develop/libraries
|
||||
LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Required at both build time and runtime
|
||||
COMMON_DEPEND="
|
||||
app-arch/libarchive:=
|
||||
app-text/cmark:=
|
||||
dev-cpp/tomlplusplus
|
||||
>=dev-qt/qtbase-${QTMIN}:6[concurrent,gui,network,opengl,widgets,xml(+)]
|
||||
>=dev-qt/qtnetworkauth-${QTMIN}:6
|
||||
games-util/gamemode
|
||||
media-gfx/qrencode:=
|
||||
virtual/zlib:=
|
||||
"
|
||||
|
||||
# max jdk-25 for bug #968411
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
media-libs/libglvnd
|
||||
<virtual/jdk-26:*
|
||||
"
|
||||
|
||||
# QtSvg imageplugin needed at runtime for svg icons. Its used via QIcon.
|
||||
# At run-time we don't depend on JDK, only JRE
|
||||
# And we need more than just the GL headers
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-qt/qtsvg-${QTMIN}:6
|
||||
>=virtual/jre-1.8.0:*
|
||||
virtual/opengl
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
>=kde-frameworks/extra-cmake-modules-${QTMIN}:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
local java="$(java-config -f)"
|
||||
local java_version=${java//[^0-9]/}
|
||||
if [[ ${java_version} -ge 20 ]]; then
|
||||
elog "Java 20 and up has dropped binary compatibility with Java 7."
|
||||
elog "Fjord Launcher is being compiled with Java ${java_version}."
|
||||
elog "The sources will be patched to build binary compatible with"
|
||||
elog "Java 8 instead of Java 7. This may cause issues with very old"
|
||||
elog "Minecraft versions and/or older Forge versions."
|
||||
elog
|
||||
elog "If you experience any problems, install an older Java compiler"
|
||||
elog "and select it with \"eselect java-vm\", then recompile."
|
||||
eapply "${FILESDIR}/fjordlauncher-9.1.0-openjdk21.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
# Resulting binary is named fjordlauncher
|
||||
-DLauncher_APP_BINARY_NAME="${PN}"
|
||||
-DLauncher_BUILD_PLATFORM="Gentoo"
|
||||
-DLauncher_QT_VERSION_MAJOR=6
|
||||
|
||||
-DENABLE_LTO=$(tc-is-lto)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
# Original issue: https://github.com/PolyMC/PolyMC/issues/227
|
||||
optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
|
||||
|
||||
optfeature "built-in MangoHud support" games-util/mangohud
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QTMIN=6.0.0
|
||||
inherit cmake java-pkg-2 optfeature toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Prism Launcher fork with support for alternative auth servers"
|
||||
HOMEPAGE="https://github.com/unmojang/FjordLauncher"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/unmojang/FjordLauncher"
|
||||
|
||||
EGIT_SUBMODULES=( 'libraries/libnbtplusplus' )
|
||||
else
|
||||
MY_PN="FjordLauncher"
|
||||
|
||||
# Let's use the vendored tarball to avoid dealing with the submodules directly
|
||||
SRC_URI="
|
||||
https://github.com/unmojang/FjordLauncher/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# Fjord Launcher's files are unpacked to ${WORKDIR}/FjordLauncher-${PV}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
fi
|
||||
|
||||
# GPL-3 for PolyMC, Prism (FjordLauncher is forked from it), and Fjord itself
|
||||
# Apache-2.0 for MultiMC (PolyMC is forked from it)
|
||||
# LGPL-3+ for libnbtplusplus
|
||||
# See the rest of PrismLauncher's libraries at https://github.com/unmojang/FjordLauncher/tree/develop/libraries
|
||||
LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Required at both build time and runtime
|
||||
COMMON_DEPEND="
|
||||
app-arch/libarchive:=
|
||||
app-text/cmark:=
|
||||
dev-cpp/tomlplusplus
|
||||
>=dev-qt/qtbase-${QTMIN}:6[concurrent,gui,network,opengl,widgets,xml(+)]
|
||||
>=dev-qt/qtnetworkauth-${QTMIN}:6
|
||||
games-util/gamemode
|
||||
media-gfx/qrencode:=
|
||||
virtual/zlib:=
|
||||
"
|
||||
|
||||
# max jdk-25 for bug #968411
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
media-libs/libglvnd
|
||||
<virtual/jdk-26:*
|
||||
"
|
||||
|
||||
# QtSvg imageplugin needed at runtime for svg icons. Its used via QIcon.
|
||||
# At run-time we don't depend on JDK, only JRE
|
||||
# And we need more than just the GL headers
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-qt/qtsvg-${QTMIN}:6
|
||||
>=virtual/jre-1.8.0:*
|
||||
virtual/opengl
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
>=kde-frameworks/extra-cmake-modules-${QTMIN}:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
local java="$(java-config -f)"
|
||||
local java_version=${java//[^0-9]/}
|
||||
if [[ ${java_version} -ge 20 ]]; then
|
||||
elog "Java 20 and up has dropped binary compatibility with Java 7."
|
||||
elog "Fjord Launcher is being compiled with Java ${java_version}."
|
||||
elog "The sources will be patched to build binary compatible with"
|
||||
elog "Java 8 instead of Java 7. This may cause issues with very old"
|
||||
elog "Minecraft versions and/or older Forge versions."
|
||||
elog
|
||||
elog "If you experience any problems, install an older Java compiler"
|
||||
elog "and select it with \"eselect java-vm\", then recompile."
|
||||
eapply "${FILESDIR}/fjordlauncher-9.1.0-openjdk21.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
# Resulting binary is named fjordlauncher
|
||||
-DLauncher_APP_BINARY_NAME="${PN}"
|
||||
-DLauncher_BUILD_PLATFORM="Gentoo"
|
||||
-DLauncher_QT_VERSION_MAJOR=6
|
||||
|
||||
-DENABLE_LTO=$(tc-is-lto)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
# Original issue: https://github.com/PolyMC/PolyMC/issues/227
|
||||
optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
|
||||
|
||||
optfeature "built-in MangoHud support" games-util/mangohud
|
||||
}
|
||||
@@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QTMIN=6.0.0
|
||||
inherit cmake java-pkg-2 optfeature toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Prism Launcher fork with support for alternative auth servers"
|
||||
HOMEPAGE="https://github.com/unmojang/FjordLauncher"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="
|
||||
https://github.com/unmojang/FjordLauncher
|
||||
"
|
||||
|
||||
EGIT_SUBMODULES=(
|
||||
'*' '-libraries/cmark' '-libraries/extra-cmake-modules' '-libraries/filesystem' '-libraries/quazip'
|
||||
'-libraries/tomlplusplus' '-libraries/zlib'
|
||||
)
|
||||
else
|
||||
MY_PN="FjordLauncher"
|
||||
|
||||
# Let's use the vendored tarball to avoid dealing with the submodules directly
|
||||
SRC_URI="
|
||||
https://github.com/unmojang/FjordLauncher/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# Fjord Launcher's files are unpacked to ${WORKDIR}/FjordLauncher-${PV}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
fi
|
||||
|
||||
# GPL-3 for PolyMC, Prism (FjordLauncher is forked from it), and Fjord itself
|
||||
# Apache-2.0 for MultiMC (PolyMC is forked from it)
|
||||
# LGPL-3+ for libnbtplusplus
|
||||
# See the rest of PrismLauncher's libraries at https://github.com/unmojang/FjordLauncher/tree/develop/libraries
|
||||
LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Required at both build time and runtime
|
||||
COMMON_DEPEND="
|
||||
app-text/cmark:=
|
||||
dev-cpp/tomlplusplus
|
||||
>=dev-libs/quazip-1.5
|
||||
>=dev-qt/qtbase-${QTMIN}:6[concurrent,gui,network,widgets,xml(+)]
|
||||
>=dev-qt/qt5compat-${QTMIN}:6
|
||||
>=dev-qt/qtnetworkauth-${QTMIN}:6
|
||||
virtual/zlib
|
||||
"
|
||||
|
||||
# The gulrak-filesystem dependency is only needed at build time, because we don't actually use it on Linux,
|
||||
# only on legacy macOS. Still, we need it present at build time to appease CMake, and having it like this
|
||||
# makes it easier to maintain than patching the CMakeLists file directly.
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-cpp/gulrak-filesystem
|
||||
media-libs/libglvnd
|
||||
>=virtual/jdk-1.8.0:*
|
||||
"
|
||||
|
||||
# QtSvg imageplugin needed at runtime for svg icons. Its used via QIcon.
|
||||
# At run-time we don't depend on JDK, only JRE
|
||||
# And we need more than just the GL headers
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-qt/qtsvg-${QTMIN}:6
|
||||
>=virtual/jre-1.8.0:*
|
||||
virtual/opengl
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
>=kde-frameworks/extra-cmake-modules-${QTMIN}:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
local java="$(java-config -f)"
|
||||
local java_version=${java//[^0-9]/}
|
||||
if [[ ${java_version} -ge 20 ]]; then
|
||||
elog "Java 20 and up has dropped binary compatibility with Java 7."
|
||||
elog "Fjord Launcher is being compiled with Java ${java_version}."
|
||||
elog "The sources will be patched to build binary compatible with"
|
||||
elog "Java 8 instead of Java 7. This may cause issues with very old"
|
||||
elog "Minecraft versions and/or older Forge versions."
|
||||
elog
|
||||
elog "If you experience any problems, install an older Java compiler"
|
||||
elog "and select it with \"eselect java-vm\", then recompile."
|
||||
eapply "${FILESDIR}/fjordlauncher-9.1.0-openjdk21.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
# Resulting binary is named fjordlauncher
|
||||
-DLauncher_APP_BINARY_NAME="${PN}"
|
||||
-DLauncher_BUILD_PLATFORM="Gentoo"
|
||||
-DLauncher_QT_VERSION_MAJOR=6
|
||||
|
||||
-DENABLE_LTO=$(tc-is-lto)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
# Original issue: https://github.com/PolyMC/PolyMC/issues/227
|
||||
optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
|
||||
|
||||
optfeature "built-in MangoHud support" games-util/mangohud
|
||||
optfeature "built-in Feral Gamemode support" games-util/gamemode
|
||||
}
|
||||
@@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QTMIN=6.0.0
|
||||
inherit cmake java-pkg-2 optfeature toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Prism Launcher fork with support for alternative auth servers"
|
||||
HOMEPAGE="https://github.com/unmojang/FjordLauncher"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="
|
||||
https://github.com/unmojang/FjordLauncher
|
||||
"
|
||||
|
||||
EGIT_SUBMODULES=(
|
||||
'*' '-libraries/cmark' '-libraries/extra-cmake-modules' '-libraries/filesystem' '-libraries/quazip'
|
||||
'-libraries/tomlplusplus' '-libraries/zlib'
|
||||
)
|
||||
else
|
||||
MY_PN="FjordLauncher"
|
||||
|
||||
# Let's use the vendored tarball to avoid dealing with the submodules directly
|
||||
SRC_URI="
|
||||
https://github.com/unmojang/FjordLauncher/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# Fjord Launcher's files are unpacked to ${WORKDIR}/FjordLauncher-${PV}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
fi
|
||||
|
||||
# GPL-3 for PolyMC, Prism (FjordLauncher is forked from it), and Fjord itself
|
||||
# Apache-2.0 for MultiMC (PolyMC is forked from it)
|
||||
# LGPL-3+ for libnbtplusplus
|
||||
# See the rest of PrismLauncher's libraries at https://github.com/unmojang/FjordLauncher/tree/develop/libraries
|
||||
LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Required at both build time and runtime
|
||||
COMMON_DEPEND="
|
||||
app-text/cmark:=
|
||||
dev-cpp/tomlplusplus
|
||||
>=dev-libs/quazip-1.5
|
||||
>=dev-qt/qtbase-${QTMIN}:6[concurrent,gui,network,widgets,xml(+)]
|
||||
>=dev-qt/qt5compat-${QTMIN}:6
|
||||
>=dev-qt/qtnetworkauth-${QTMIN}:6
|
||||
virtual/zlib
|
||||
"
|
||||
|
||||
# The gulrak-filesystem dependency is only needed at build time, because we don't actually use it on Linux,
|
||||
# only on legacy macOS. Still, we need it present at build time to appease CMake, and having it like this
|
||||
# makes it easier to maintain than patching the CMakeLists file directly.
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-cpp/gulrak-filesystem
|
||||
media-libs/libglvnd
|
||||
>=virtual/jdk-1.8.0:*
|
||||
"
|
||||
|
||||
# QtSvg imageplugin needed at runtime for svg icons. Its used via QIcon.
|
||||
# At run-time we don't depend on JDK, only JRE
|
||||
# And we need more than just the GL headers
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-qt/qtsvg-${QTMIN}:6
|
||||
>=virtual/jre-1.8.0:*
|
||||
virtual/opengl
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
>=kde-frameworks/extra-cmake-modules-${QTMIN}:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
local java="$(java-config -f)"
|
||||
local java_version=${java//[^0-9]/}
|
||||
if [[ ${java_version} -ge 20 ]]; then
|
||||
elog "Java 20 and up has dropped binary compatibility with Java 7."
|
||||
elog "Fjord Launcher is being compiled with Java ${java_version}."
|
||||
elog "The sources will be patched to build binary compatible with"
|
||||
elog "Java 8 instead of Java 7. This may cause issues with very old"
|
||||
elog "Minecraft versions and/or older Forge versions."
|
||||
elog
|
||||
elog "If you experience any problems, install an older Java compiler"
|
||||
elog "and select it with \"eselect java-vm\", then recompile."
|
||||
eapply "${FILESDIR}/fjordlauncher-9.1.0-openjdk21.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
# Resulting binary is named fjordlauncher
|
||||
-DLauncher_APP_BINARY_NAME="${PN}"
|
||||
-DLauncher_BUILD_PLATFORM="Gentoo"
|
||||
-DLauncher_QT_VERSION_MAJOR=6
|
||||
|
||||
-DENABLE_LTO=$(tc-is-lto)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
# Original issue: https://github.com/PolyMC/PolyMC/issues/227
|
||||
optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
|
||||
|
||||
optfeature "built-in MangoHud support" games-util/mangohud
|
||||
optfeature "built-in Feral Gamemode support" games-util/gamemode
|
||||
}
|
||||
Reference in New Issue
Block a user