mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:57:35 +00:00
Ports: Add Julius
This commit is contained in:
parent
51ee37ed76
commit
ec0bf937a2
4 changed files with 53 additions and 0 deletions
23
Ports/julius/package.sh
Executable file
23
Ports/julius/package.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='julius'
|
||||
version='1.7.0'
|
||||
useconfigure='true'
|
||||
files=(
|
||||
"https://github.com/bvschaik/julius/archive/refs/tags/v${version}.tar.gz 3ee62699bcbf6c74fe5a9c940c62187141422a9bd98e01747a554fd77483431f"
|
||||
)
|
||||
depends=(
|
||||
'libpng'
|
||||
'SDL2'
|
||||
'SDL2_mixer'
|
||||
)
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
)
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}" .
|
||||
}
|
||||
|
||||
install() {
|
||||
run make "${installopts[@]}" install
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Justin Brown <behindcurtain3@gmail.com>
|
||||
Date: Tue, 8 Aug 2023 18:47:06 -0700
|
||||
Subject: [PATCH] Skip including execinfo.h for Serenity
|
||||
|
||||
---
|
||||
src/core/backtrace.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/core/backtrace.c b/src/core/backtrace.c
|
||||
index 025bac7c7cc5058a8372ecfc3862ac31a6cb1310..693bb5c1ff0c1b43d58803d51c95a3ae9e5165f0 100644
|
||||
--- a/src/core/backtrace.c
|
||||
+++ b/src/core/backtrace.c
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && \
|
||||
!defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && \
|
||||
- !defined(__HAIKU__) && !defined(__EMSCRIPTEN__)
|
||||
+ !defined(__HAIKU__) && !defined(__EMSCRIPTEN__) && !defined(__serenity__)
|
||||
|
||||
#include <execinfo.h>
|
||||
|
7
Ports/julius/patches/ReadMe.md
Normal file
7
Ports/julius/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Patches for julius on SerenityOS
|
||||
|
||||
## `0001-Skip-including-execinfo.h-for-Serenity.patch`
|
||||
|
||||
Skip including execinfo.h for Serenity
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue