Ports: Add doxygen v1.9.7

This commit is contained in:
Gurkirat Singh 2023-08-21 05:54:49 +05:30 committed by Tim Schumacher
parent e4dd4808c4
commit 4519ac2da9
4 changed files with 60 additions and 0 deletions

View file

@ -57,6 +57,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`dosbox-staging`](dosbox-staging/) | DOSBox Staging | 0.77.1 | https://dosbox-staging.github.io/ |
| [`dosfstools`](dosfstools/) | dosfstools utility suite | 4.2 | https://github.com/dosfstools/dosfstools/ |
| [`double-conversion`](double-conversion/) | double-conversion | 3.2.1 | https://github.com/google/double-conversion |
| [`doxygen`](doxygen/) | Doxygen | 1.9.7 | https://github.com/doxygen/doxygen |
| [`drascula`](drascula/) | Dráscula: The Vampire Strikes Back | 1.0 | https://www.scummvm.org/games/#games-drascula |
| [`dreamweb`](dreamweb/) | DreamWeb | 1.1 | https://www.scummvm.org/games/#games-dreamweb |
| [`dropbear`](dropbear/) | Dropbear SSH | 2022.82 | https://dropbear.nl/mirror/dropbear.html |

30
Ports/doxygen/package.sh Executable file
View file

@ -0,0 +1,30 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='doxygen'
version='1.9.7'
files=(
"https://github.com/doxygen/doxygen/archive/refs/tags/Release_${version//./_}.tar.gz 691777992a7240ed1f822a5c2ff2c4273b57c1cf9fc143553d87f91a0c5970ee"
)
workdir="${port}-Release_${version//./_}"
useconfigure='true'
configopts=(
'-Bbuild'
'-GNinja'
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
'-DCMAKE_BUILD_TYPE=Release'
'-DCMAKE_POLICY_DEFAULT_CMP0148=OLD'
)
depends=(
'libiconv'
)
configure() {
run cmake "${configopts[@]}"
}
build() {
run cmake --build build -j "$MAKEJOBS"
}
install() {
run cmake --install build --prefix "$SERENITY_INSTALL_ROOT"
}

View file

@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gurkirat Singh <tbhaxor@gmail.com>
Date: Mon, 21 Aug 2023 05:47:52 +0530
Subject: [PATCH] Pretend that SerenityOS is Linux-like
---
deps/filesystem/filesystem.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/deps/filesystem/filesystem.hpp b/deps/filesystem/filesystem.hpp
index 53f4ad4efc0947583ae53b9b2a64a9f50557537b..60c0f194b669e62d079ec32d4c4bb8fa7d0ecbb4 100644
--- a/deps/filesystem/filesystem.hpp
+++ b/deps/filesystem/filesystem.hpp
@@ -54,7 +54,7 @@
#ifndef GHC_OS_DETECTED
#if defined(__APPLE__) && defined(__MACH__)
#define GHC_OS_MACOS
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__serenity__)
#define GHC_OS_LINUX
#if defined(__ANDROID__)
#define GHC_OS_ANDROID

View file

@ -0,0 +1,7 @@
# Patches for doxygen on SerenityOS
## `0001-Pretend-that-SerenityOS-is-Linux-like.patch`
Pretend that SerenityOS is Linux-like