1
0
Fork 0

Compare commits

..

No commits in common. "fee43a5c5a4c5fd92cb2115b9e7fb0539f643cd5" and "0ecf7cca2cc8ca7d6ecd7ad4efdcc52677322a99" have entirely different histories.

23 changed files with 147 additions and 619 deletions

View file

@ -1,3 +0,0 @@
DIST luau-0.666.gh.tar.gz 1942716 BLAKE2B 018c395352ebd695782622c53408a5ee4b91d4af1ba0be89eca21a16aab681f88f4adc61b75d5b449ff34128bc73302398f6a27b502b330a6540e5e72c0442a2 SHA512 2d529cc17188f8fdcb881d1004f1f3c9ac4142aaada5d1847863d377ca63d98ec49a3bf8dadd00b954909c4eaaaad3eeff5009020d58105eada0bf02b443d3c8
DIST luau-0.669.gh.tar.gz 1962832 BLAKE2B b265db9330c9a28ba77d3a882c0fce60f4b3528145603e26a8b29f6939e4fae9b4d3e73dbce14ded20811ba317d5947c5c3cb8b74a0788fccd63606d21f50b32 SHA512 eec53ad49d632d9c73eb8df497018c935c5e8b0a75be3c54608c4b0d11c59b47cb546db71c62eab1941974e97af3f8d009a0ac2b2cde933988fa27c1d6a28939
DIST luau-0.679.gh.tar.gz 1996752 BLAKE2B ab13dfa870c49a916b7eb268b51055a77d90adb718422240f9fa234495b22adc0f835e23c654e448bbbf5dc494bbcaafc8b21b73284b8909537a8e39099bb5c3 SHA512 3e8e1342eeb724bd08ee51a96b6b377bb046e2e3898830c15160667e6cbc81b56d16eb1cf3ff7f03ba471e022a6f45e918d37c1b0468b1355237a903ae1e597a

View file

@ -1,28 +0,0 @@
From 0d7ce033b5b4bc33cc02e85a8c56e23e68694211 Mon Sep 17 00:00:00 2001
From: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
Date: Mon, 10 Mar 2025 01:35:36 +0200
Subject: [PATCH] Add #include <cstdint> to fix building with gcc 15
With gcc 15, the C++ Standard Library no longer includes other headers
that were internally used by the library. In luau's case the missing
header is <cstdint>
Downstream Gentoo bug: https://bugs.gentoo.org/938122
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
---
Analysis/src/TypedAllocator.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Analysis/src/TypedAllocator.cpp b/Analysis/src/TypedAllocator.cpp
index a2f49afbd..16c844e8d 100644
--- a/Analysis/src/TypedAllocator.cpp
+++ b/Analysis/src/TypedAllocator.cpp
@@ -26,6 +26,8 @@ const size_t kPageSize = sysconf(_SC_PAGESIZE);
#include <stdlib.h>
+#include <cstdint>
+
LUAU_FASTFLAG(DebugLuauFreezeArena)
namespace Luau

View file

@ -1,19 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ if(EXT_PLATFORM_STRING)
return()
endif()
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.20)
option(LUAU_BUILD_CLI "Build CLI" ON)
option(LUAU_BUILD_TESTS "Build tests" ON)
@@ -17,7 +17,6 @@ cmake_policy(SET CMP0054 NEW)
cmake_policy(SET CMP0091 NEW)
if(LUAU_STATIC_CRT)
- cmake_minimum_required(VERSION 3.15)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()

View file

@ -1,19 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ if(EXT_PLATFORM_STRING)
return()
endif()
-cmake_minimum_required(VERSION 3.10)
+cmake_minimum_required(VERSION 3.20)
option(LUAU_BUILD_CLI "Build CLI" ON)
option(LUAU_BUILD_TESTS "Build tests" ON)
@@ -17,7 +17,6 @@ cmake_policy(SET CMP0054 NEW)
cmake_policy(SET CMP0091 NEW)
if(LUAU_STATIC_CRT)
- cmake_minimum_required(VERSION 3.15)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()

View file

@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake edo
DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
HOMEPAGE="https://luau.org/
https://github.com/luau-lang/luau/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/luau-lang/${PN}"
else
SRC_URI="https://github.com/luau-lang/${PN}/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz"
KEYWORDS="amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/luau-0.653-TypedAllocator-cpp.patch"
"${FILESDIR}/luau-0.653-cmake_minimum.patch"
)
DOCS=( CONTRIBUTING.md README.md SECURITY.md )
src_configure() {
local -a mycmakeargs=(
-DLUAU_BUILD_TESTS="$(usex test)"
)
cmake_src_configure
}
src_test() {
edo "${BUILD_DIR}/Luau.UnitTest" --verbose
edo "${BUILD_DIR}/Luau.Conformance" --verbose
}
src_install() {
exeinto /usr/bin
doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
insinto /usr/include/Luau
doins ./CodeGen/include/luacodegen.h
doins ./Compiler/include/luacode.h
doins ./VM/include/*.h
doins ./{Config,Common,Compiler,CodeGen,Ast,Analysis,EqSat}/include/Luau/*.h
if use static-libs ; then
dolib.a "${BUILD_DIR}"/libLuau.*.a
fi
einstalldocs
}

View file

@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake edo
DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
HOMEPAGE="https://luau.org/
https://github.com/luau-lang/luau/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/luau-lang/${PN}"
else
SRC_URI="https://github.com/luau-lang/${PN}/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz"
KEYWORDS="amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/luau-0.653-TypedAllocator-cpp.patch"
"${FILESDIR}/luau-0.669-cmake_minimum.patch"
)
DOCS=( CONTRIBUTING.md README.md SECURITY.md )
src_configure() {
local -a mycmakeargs=(
-DLUAU_BUILD_TESTS="$(usex test)"
)
cmake_src_configure
}
src_test() {
edo "${BUILD_DIR}/Luau.UnitTest" --verbose
edo "${BUILD_DIR}/Luau.Conformance" --verbose
}
src_install() {
exeinto /usr/bin
doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
insinto /usr/include/Luau
doins ./CodeGen/include/luacodegen.h
doins ./Compiler/include/luacode.h
doins ./VM/include/*.h
doins ./{Config,Common,Compiler,CodeGen,Ast,Analysis,EqSat}/include/Luau/*.h
if use static-libs ; then
dolib.a "${BUILD_DIR}"/libLuau.*.a
fi
einstalldocs
}

View file

@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake edo
DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
HOMEPAGE="https://luau.org/
https://github.com/luau-lang/luau/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/luau-lang/${PN}"
else
SRC_URI="https://github.com/luau-lang/${PN}/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz"
KEYWORDS="amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/luau-0.653-TypedAllocator-cpp.patch"
"${FILESDIR}/luau-0.669-cmake_minimum.patch"
)
DOCS=( CONTRIBUTING.md README.md SECURITY.md )
src_configure() {
local -a mycmakeargs=(
-DLUAU_BUILD_TESTS="$(usex test)"
)
cmake_src_configure
}
src_test() {
edo "${BUILD_DIR}/Luau.UnitTest" --verbose
edo "${BUILD_DIR}/Luau.Conformance" --verbose
}
src_install() {
exeinto /usr/bin
doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
insinto /usr/include/Luau
doins ./CodeGen/include/luacodegen.h
doins ./Compiler/include/luacode.h
doins ./VM/include/*.h
doins ./{Config,Common,Compiler,CodeGen,Ast,Analysis,EqSat}/include/Luau/*.h
if use static-libs ; then
dolib.a "${BUILD_DIR}"/libLuau.*.a
fi
einstalldocs
}

View file

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@gentoo.org</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription>
Luau is a fast, small, safe, gradually typed embeddable scripting language
derived from Lua. It is designed to be backwards compatible with Lua 5.1,
as well as incorporating some features from future Lua releases, but also
expands the feature set (most notably with type annotations). Luau is
largely implemented from scratch, with the language runtime being a very
heavily modified version of Lua 5.1 runtime, with completely rewritten
interpreter and other performance innovations. The runtime mostly preserves
Lua 5.1 API, so existing bindings should be more or less compatible with a
few caveats.
</longdescription>
<upstream>
<bugs-to>https://github.com/luau-lang/luau/issues/</bugs-to>
<remote-id type="github">luau-lang/luau</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,2 +1 @@
DIST libqt6pas-6.2.7.tar.gz 87513233 BLAKE2B 26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e SHA512 85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881
DIST libqt6pas-6.2.8.tar.gz 87567292 BLAKE2B 3c58af99366bc42d1374b597b6eda5d6b2c8af5376bdaa86df53757b29914bbb545c8d11dbbc7ebb55e4638cacbd4c1801c4cd651034a8c9a50efc24a78b64ee SHA512 f33308cf130854b63fbcf6eee8824b454276dd71f8ce5c3cffbac5d42ded396ee3859a59ebfa3385c21a27553b0997ae2d334e6c8f6ce6edaf5474047eef79e4

View file

@ -1,31 +0,0 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qmake-utils
MY_P="lazarus-3.8-0"
DESCRIPTION="Free Pascal Qt6 bindings library updated by lazarus IDE."
HOMEPAGE="https://gitlab.com/freepascal.org/lazarus/lazarus"
SRC_URI="https://downloads.sourceforge.net/lazarus/${MY_P}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="LGPL-3"
SLOT="0/2.2"
DEPEND="
>=dev-qt/qtbase-6.8:6[X,gui,network,widgets,cups]
>=dev-qt/qtsvg-6.8:6"
S="${WORKDIR}/lazarus/lcl/interfaces/qt6/cbindings"
src_configure() {
eqmake6 Qt6Pas.pro
}
src_install() {
emake INSTALL_ROOT="${D}" install
}

View file

@ -1 +0,0 @@
DIST premake-5.0.0_beta7.tar.gz 8499540 BLAKE2B 51c6da107fb0a24c62b1a8f0ab6b1f118d4103d2e4033c2d98f104918cd1d0914cbecf93a54d481c30aebf07497ac8989d0e7048617f626725dc1be48943ebfb SHA512 b6ed480c85db82d749b22b1b97537da525d8eb062514766393c1ff4fc8077289c0037200b7bc260754f320fd5d9c109cb56adbaeec59d485cd95728564927499

View file

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>titanofold@gentoo.org</email>
<name>Aaron W. Swenson</name>
</maintainer>
<longdescription lang="en">
Describe your software project just once, using Premake's simple and
easy to read syntax, and build it everywhere. Generate project files
for Visual Studio, GNU Make, Xcode, Code::Blocks, and more across
Windows, Mac OS X, and Linux. Use the full featured Lua scripting
engine to make build configuration tasks a breeze.
</longdescription>
<upstream>
<remote-id type="github">premake/premake-core</remote-id>
<remote-id type="sourceforge">premake</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,37 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
MY_PV=${PV/_/-}
DESCRIPTION="A makefile generation tool"
HOMEPAGE="https://premake.github.io"
SRC_URI="https://github.com/premake/premake-core/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-core-${MY_PV}"
LICENSE="BSD"
SLOT="5"
KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86"
PATCHES=(
)
src_compile() {
# bug #773505
tc-export AR CC
emake -f Bootstrap.mak linux
}
src_test() {
bin/release/premake${SLOT} test || die
}
src_install() {
dobin bin/release/premake${SLOT}
einstalldocs
}

View file

@ -0,0 +1 @@
DIST slade-3.2.6.tar.gz 7027328 BLAKE2B ba0db4926f5706166ec2439cbb539a9d5330e2d3ea3dbd8e29b586cf57a23b7b254823d84b7ba79b604a86ed0e5753b4e7c4fcf825ba7d3217c52824f36c5be4 SHA512 d09631b24c83769482480c24dfc1f6992ae293bdfe4c8661d967d6ac0fcbba6f0e1bf58c58afc84a82fb5f900d9e0e99413800a42edc353a4f7f1f52781db54f

View file

@ -0,0 +1,27 @@
From dc0057d1200f9bb6b67f1b1a2094b7e402d1d370 Mon Sep 17 00:00:00 2001
From: James Le Cuirot <chewi@gentoo.org>
Date: Sat, 20 Feb 2021 12:28:48 +0000
Subject: [PATCH] Don't force FluidSynth to use ALSA on Linux
---
src/Audio/MIDIPlayer.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/Audio/MIDIPlayer.cpp b/src/Audio/MIDIPlayer.cpp
index bb001339..f33ffe67 100644
--- a/src/Audio/MIDIPlayer.cpp
+++ b/src/Audio/MIDIPlayer.cpp
@@ -344,10 +344,6 @@ public:
fs_initialised_ = false;
file_ = "";
- // Set fluidsynth driver to alsa in linux (no idea why it defaults to jack)
- if (app::platform() == app::Platform::Linux && fs_driver.value.empty())
- fs_driver = "alsa";
-
// Init soundfont path
if (fs_soundfont_path.value.empty())
{
--
2.30.0

View file

@ -0,0 +1,25 @@
SFML's render window only supports X11 under Linux, so SLADE crashes if GDK
chooses the Wayland backend. This patch tells GDK to prefer the X11 backend.
SLADE 3.3.0 will apparently not use the render window.
diff --git a/src/Application/SLADEWxApp.cpp b/src/Application/SLADEWxApp.cpp
index 3dadf241..de01e340 100644
--- a/src/Application/SLADEWxApp.cpp
+++ b/src/Application/SLADEWxApp.cpp
@@ -52,6 +52,16 @@
using namespace slade;
+#ifdef __WXGTK__
+#include <gdk/gdk.h>
+
+struct PreferX11 {
+ PreferX11() { gdk_set_allowed_backends("x11,*"); }
+};
+static PreferX11 preferx11;
+#endif
+
+
// -----------------------------------------------------------------------------
//
// Variables

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
<remote-id type="github">sirjuddington/SLADE</remote-id>
</upstream>
<use>
<flag name="fluidsynth">Enable MIDI software synthesis using <pkg>media-sound/fluidsynth</pkg></flag>
</use>
</pkgmetadata>

View file

@ -0,0 +1,80 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..3} )
WX_GTK_VER="3.2-gtk3"
inherit cmake lua-single wxwidgets
MY_PV="${PV/beta/b}"
DESCRIPTION="Modern editor for Doom-engine based games and source ports"
HOMEPAGE="https://slade.mancubus.net/"
SRC_URI="https://github.com/sirjuddington/${PN^^}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="fluidsynth timidity webkit"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="
${LUA_DEPS}
app-arch/bzip2:=
dev-libs/libfmt:=
>=media-libs/dumb-2:=
media-libs/freeimage[jpeg,png,tiff]
media-libs/glew:0=
media-libs/libsfml:=
media-sound/mpg123
net-misc/curl
sys-libs/zlib
x11-libs/wxGTK:${WX_GTK_VER}[opengl,webkit?,X]
fluidsynth? ( media-sound/fluidsynth:= )
"
RDEPEND="
${DEPEND}
timidity? ( media-sound/timidity++ )
"
BDEPEND="
app-arch/p7zip
virtual/pkgconfig
"
S="${WORKDIR}/${PN^^}-${MY_PV}"
PATCHES=(
"${FILESDIR}"/${PN}-3.2.0_beta2-fluidsynth-driver.patch
"${FILESDIR}"/${PN}-3.2.2-wayland.patch
)
src_prepare() {
cmake_src_prepare
# Delete bundled libraries just in case.
rm -r thirdparty/dumb/ thirdparty/fmt/ || die
}
src_configure() {
local luav=$(lua_get_version)
local mycmakeargs=(
-DLua_FIND_VERSION_MAJOR=$(ver_cut 1 "${luav}")
-DLua_FIND_VERSION_MINOR=$(ver_cut 2 "${luav}")
-DLua_FIND_VERSION_COUNT=2
-DLua_FIND_VERSION_EXACT=ON
-DNO_COTIRE=ON
-DNO_FLUIDSYNTH=$(usex fluidsynth OFF ON)
-DNO_WEBVIEW=$(usex webkit OFF ON)
-DUSE_SFML_RENDERWINDOW=ON
-DUSE_SYSTEM_DUMB=ON
-DUSE_SYSTEM_FMT=ON
-DWX_GTK3=ON
)
setup-wxwidgets
cmake_src_configure
}

View file

@ -1,3 +1,2 @@
DIST libsdl3-3.1.6.tar.gz 7773892 BLAKE2B 6701e4d65816bc2845096f69479ca2759a24c365d1bb25be2e7588b96dbe9eeec1eb7e7031d1b72911fbe198d3358f67feb308a23cc8cc80e509731dddda8b1b SHA512 a0ca7263cd2f1b883829c39ae0ee2ea18d814f8dde768c8be9a49487193bc856bb45870764fd70169e75d2ec80457e5b45811c07a926479f1ac4f9d3157f40a4
DIST libsdl3-3.1.8.tar.gz 15997157 BLAKE2B 1bb6c6215d773d01e9a56b95f64cf9952b598b1fdc923b7a6822f7d4b25705c18988b6c620456cec34fce6039386f025e4164ef73f4e1e4ce65015aadd469107 SHA512 5a40cf838fce3a0ddd895269c5ad51fc4ca63bf9919f23c45b04218ae55096708b8f24027056256e69f9b4ae730b967c8ba3b77a24f7771a0770cf45fddaeb34
DIST libsdl3-3.2.4.tar.gz 15993045 BLAKE2B c52c2a45b1451284bd2eea7d13c538ad6eea4538e8a286e04c42006b55036492c2bf8c356996c370896104b95f68db3a7557454c443b68eae5f5c225d753ad87 SHA512 627f8e519f3426df28935c94999f311ade0deec36bfdc120e5edcb8ffc358c543f9c0f9d9ddbe0d8f005bb30a11f223d8f34388dc3a19aefe6a83cddeaa95402

View file

@ -1,208 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib flag-o-matic
MY_PN="release"
DESCRIPTION="Simple Direct Media Layer"
HOMEPAGE="https://www.libsdl.org/"
SRC_URI="https://github.com/libsdl-org/SDL/archive/refs/tags/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/SDL-${MY_PN}-${PV}"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86"
IUSE="X alsa +sound cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 \
cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 camera custom-cflags dbus debug doc gles1 gles2 +haptic ibus \
jack +joystick kms opengl pipewire pulseaudio sndio static-libs \
test udev +video vulkan wayland xscreensaver"
RESTRICT="!test? ( test )"
REQUIRED_USE="
alsa? ( sound )
haptic? ( joystick )
ibus? ( dbus )
jack? ( sound )
gles1? ( video )
gles2? ( video )
opengl? ( video )
pipewire? ( sound )
pulseaudio? ( sound )
sndio? ( sound )
vulkan? ( video )
wayland? ( gles2 )
xscreensaver? ( X )
"
COMMON_DEPEND="
X? (
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXfixes-6.0.0[${MULTILIB_USEDEP}]
>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
>=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] )
)
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
ibus? ( app-i18n/ibus )
jack? ( virtual/jack[${MULTILIB_USEDEP}] )
kms? (
>=x11-libs/libdrm-2.4.82[${MULTILIB_USEDEP}]
>=media-libs/mesa-9.0.0[${MULTILIB_USEDEP}]
)
opengl? (
>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
>=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
)
pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
virtual/libiconv[${MULTILIB_USEDEP}]
wayland? (
>=dev-libs/wayland-1.20[${MULTILIB_USEDEP}]
gui-libs/libdecor[${MULTILIB_USEDEP}]
>=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},wayland]
>=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}]
)
"
RDEPEND="
${COMMON_DEPEND}
opengl? ( media-libs/mesa[${MULTILIB_USEDEP},opengl(+)] )
vulkan? (
media-libs/mesa[${MULTILIB_USEDEP},vulkan(+)]
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
)
"
DEPEND="
${COMMON_DEPEND}
gles1? ( media-libs/libglvnd )
gles2? ( media-libs/libglvnd )
ibus? ( dev-libs/glib:2 )
test? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
vulkan? ( dev-util/vulkan-headers )
X? ( x11-base/xorg-proto )
"
BDEPEND="
virtual/pkgconfig
doc? (
app-text/doxygen
media-gfx/graphviz
)
wayland? ( >=dev-util/wayland-scanner-1.20 )
"
src_prepare() {
cmake_src_prepare
# Unbundle some headers.
rm -r src/video/khronos || die
ln -s "${ESYSROOT}/usr/include" src/video/khronos || die
}
src_configure() {
use custom-cflags || strip-flags
local mycmakeargs=(
-DSDL_ALSA=$(usex alsa)
-DSDL_ALSA_SHARED=OFF
-DSDL_ASAN=$(usex debug)
-DSDL_ASSEMBLY=ON
-DSDL_ASSERTIONS=$(usex debug enabled disabled)
-DSDL_AUDIO=$(usex sound)
-DSDL_AVX=$(usex cpu_flags_x86_avx)
-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-DSDL_CAMERA=$(usex camera)
-DSDL_CCACHE=OFF
-DSDL_DBUS=$(usex dbus)
-DSDL_DIALOG=ON
-DSDL_DISABLE_INSTALL=OFF
-DSDL_DISABLE_INSTALL_CPACK=OFF
-DSDL_DISABLE_INSTALL_DOCS=$(usex doc OFF ON)
-DSDL_DISKAUDIO=$(usex sound)
-DSDL_DUMMYAUDIO=$(usex sound)
-DSDL_DUMMYCAMERA=$(usex camera)
-DSDL_DUMMYVIDEO=$(usex video)
-DSDL_EXAMPLES=$(usex doc)
-DSDL_EXAMPLES_LINK_SHARED=OFF
-DSDL_GCC_ATOMICS=ON
-DSDL_GPU=$(usex video)
-DSDL_HAPTIC=$(usex haptic)
-DSDL_IBUS=$(usex ibus)
-DSDL_JACK=$(usex jack)
-DSDL_JACK_SHARED=OFF
-DSDL_JOYSTICK=$(usex joystick)
-DSDL_HIDAPI=ON
-DSDL_KMSDRM=$(usex kms)
-DSDL_KMSDRM_SHARED=OFF
-DSDL_LIBC=ON
-DSDL_LIBICONV=ON
-DSDL_SYSTEM_ICONV=ON
-DSDL_LIBUDEV=$(usex udev)
-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-DSDL_OPENGL=$(usex opengl)
-DSDL_OPENGLES=$(use gles1 || use gles2 && echo ON || echo OFF)
-DSDL_PIPEWIRE=$(usex pipewire)
-DSDL_PIPEWIRE_SHARED=OFF
-DSDL_PULSEAUDIO=$(usex pulseaudio)
-DSDL_PULSEAUDIO_SHARED=OFF
-DSDL_RENDER=$(usex video)
-DSDL_RENDER_GPU=$(usex video)
-DSDL_RENDER_VULKAN=$(usex vulkan)
-DSDL_RENDER_D3D=OFF
-DSDL_RENDER_D3D11=OFF
-DSDL_RENDER_D3D12=OFF
-DSDL_RENDER_METAL=OFF
-DSDL_RPATH=OFF
-DSDL_RPI=OFF
-DSDL_SNDIO=$(usex sndio)
-DSDL_SNDIO_SHARED=OFF
-DSDL_SSE=$(usex cpu_flags_x86_sse)
-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-DSDL_STATIC=$(usex static-libs)
-DSDL_TESTS=$(usex test)
-DSDL_TESTS_LINK_SHARED=OFF
-DSDL_TEST_LIBRARY=$(usex test)
-DSDL_VIDEO=$(usex video)
-DSDL_VIRTUAL_JOYSTICK=$(usex joystick)
-DSDL_VULKAN=$(usex vulkan)
-DSDL_WAYLAND=$(usex wayland)
-DSDL_WAYLAND_LIBDECOR=$(usex wayland)
-DSDL_WAYLAND_LIBDECOR_SHARED=OFF
-DSDL_WAYLAND_SHARED=OFF
-DSDL_WERROR=$(usex debug)
-DSDL_X11=$(usex X)
-DSDL_X11_SHARED=OFF
-DSDL_X11_XSCRNSAVER=$(usex xscreensaver)
)
cmake-multilib_src_configure
}
src_compile() {
cmake-multilib_src_compile
if use doc; then
cd docs || die
doxygen || die
fi
}
src_test() {
unset SDL_GAMECONTROLLERCONFIG SDL_GAMECONTROLLER_USE_BUTTON_LABELS
cmake-multilib_src_test
}
multilib_src_install_all() {
rm -r "${ED}"/usr/share/licenses/ || die
dodoc {BUGS,WhatsNew}.txt CREDITS.md README.md docs/README*.md
use doc && dodoc -r docs/output/html/
}

View file

@ -1,14 +0,0 @@
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Gradually typed embeddable scripting language derived from Lua
EAPI=8
HOMEPAGE=https://luau.org/ https://github.com/luau-lang/luau/
INHERIT=cmake edo
IUSE=static-libs test
KEYWORDS=amd64 ~x86
LICENSE=MIT
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://github.com/luau-lang/luau/archive/0.666.tar.gz -> luau-0.666.gh.tar.gz
_eclasses_=toolchain-funcs f9d71a6efe9d083aec750dd13968e169 flag-o-matic b892042b2667b8ac69ec8a2571dc290a multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 90d8ee8393c5c815637fd3cb87828c9b edo a5e294016aa84979fcb2459749eb80b2
_md5_=28ed728a726de938c83a9fe39ec73716

View file

@ -1,14 +0,0 @@
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Gradually typed embeddable scripting language derived from Lua
EAPI=8
HOMEPAGE=https://luau.org/ https://github.com/luau-lang/luau/
INHERIT=cmake edo
IUSE=static-libs test
KEYWORDS=amd64 ~x86
LICENSE=MIT
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://github.com/luau-lang/luau/archive/0.669.tar.gz -> luau-0.669.gh.tar.gz
_eclasses_=toolchain-funcs f9d71a6efe9d083aec750dd13968e169 flag-o-matic b892042b2667b8ac69ec8a2571dc290a multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 90d8ee8393c5c815637fd3cb87828c9b edo a5e294016aa84979fcb2459749eb80b2
_md5_=1274f582013e59012443ed773e456d27

View file

@ -1,14 +0,0 @@
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Gradually typed embeddable scripting language derived from Lua
EAPI=8
HOMEPAGE=https://luau.org/ https://github.com/luau-lang/luau/
INHERIT=cmake edo
IUSE=static-libs test
KEYWORDS=amd64 ~x86
LICENSE=MIT
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://github.com/luau-lang/luau/archive/0.679.tar.gz -> luau-0.679.gh.tar.gz
_eclasses_=toolchain-funcs f9d71a6efe9d083aec750dd13968e169 flag-o-matic b892042b2667b8ac69ec8a2571dc290a multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 90d8ee8393c5c815637fd3cb87828c9b edo a5e294016aa84979fcb2459749eb80b2
_md5_=1274f582013e59012443ed773e456d27