Ports: Make files a proper array

This commit is contained in:
Tim Schumacher 2023-07-10 13:10:29 +02:00 committed by Jelle Raaijmakers
parent 3c2d846b94
commit 284fee9e77
Notes: sideshowbarker 2024-07-17 01:12:07 +09:00
311 changed files with 959 additions and 350 deletions

View file

@ -317,20 +317,14 @@ func_defined fetch || fetch() {
tried_download_again=0
while true; do
OLDIFS=$IFS
IFS=$'\n'
for f in $files; do
IFS=$OLDIFS
for f in "${files[@]}"; do
read url filename auth_sum<<< $(echo "$f")
do_download_file "$url" "${PORT_META_DIR}/${filename}"
done
verification_failed=0
OLDIFS=$IFS
IFS=$'\n'
for f in $files; do
IFS=$OLDIFS
for f in "${files[@]}"; do
read url filename auth_sum<<< $(echo "$f")
# check sha256sum if given
@ -357,10 +351,7 @@ func_defined fetch || fetch() {
done
# extract
OLDIFS=$IFS
IFS=$'\n'
for f in $files; do
IFS=$OLDIFS
for f in "${files[@]}"; do
read url filename auth_sum<<< $(echo "$f")
if [ ! -f "$workdir"/.${filename}_extracted ]; then
@ -435,10 +426,7 @@ clean() {
rm -rf "${PORT_BUILD_DIR}/"*
}
clean_dist() {
OLDIFS=$IFS
IFS=$'\n'
for f in $files; do
IFS=$OLDIFS
for f in "${files[@]}"; do
read url filename hash <<< $(echo "$f")
rm -f "${PORT_META_DIR}/${filename}"
done

View file

@ -5,7 +5,9 @@ version=git
depends=("SDL2" "zlib")
workdir=Another-World-Bytecode-Interpreter-master
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DSDL2_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2")
files="https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip master.zip 326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317"
files=(
"https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip master.zip 326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317"
)
launcher_name="Another World"
launcher_category=Games
launcher_command="/opt/Another-World/raw --datapath=/opt/Another-World"

View file

@ -2,7 +2,9 @@
port='ClassiCube'
version='1.3.3'
files="https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz ClassiCube-${version}.tar.gz f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d"
files=(
"https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz ClassiCube-${version}.tar.gz f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d"
)
workdir="${port}-${version}/src/"
depends=(
'SDL2'

View file

@ -4,7 +4,9 @@ port="ObjFW"
version="master"
commit="2903ecda7767a9563b6d3c74581b3920d32e6576"
useconfigure="true"
files="https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz ObjFW-${commit}.tar.gz ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727"
files=(
"https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz ObjFW-${commit}.tar.gz ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727"
)
workdir="ObjFW-${commit}"
use_fresh_config_sub='true'
config_sub_paths=("build-aux/config.sub")

View file

@ -8,7 +8,9 @@ use_fresh_config_guess='true'
config_guess_paths=("make/autoconf/build-aux/autoconf-config.guess")
use_fresh_config_sub='true'
config_sub_paths=("make/autoconf/build-aux/autoconf-config.sub")
files="https://github.com/openjdk/jdk17u-dev/archive/refs/tags/jdk-${version}-ga.tar.gz jdk-${version}-ga.tar.gz 4bd3d2534d7b584c01711e64b9e5b7e79052a1759d3fded8d64107ebc9d37dc2"
files=(
"https://github.com/openjdk/jdk17u-dev/archive/refs/tags/jdk-${version}-ga.tar.gz jdk-${version}-ga.tar.gz 4bd3d2534d7b584c01711e64b9e5b7e79052a1759d3fded8d64107ebc9d37dc2"
)
depends=("fontconfig" "libffi")
configure() {

View file

@ -134,7 +134,9 @@ script simply defines some well-known variables and looks like this:
port="foo"
version="1.2.3"
useconfigure="true"
files="https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz"
files=(
"https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
)
depends=("bar" "baz")
```
@ -183,8 +185,8 @@ depends=("ncurses" "gettext")
#### `files`
A list of external files required by the port, one per line. The format of each
line is as follows:
An array of external files required by the port, one per line. The format of each
entry is as follows:
```text
URL NAME HASH
@ -197,7 +199,9 @@ that will be used for verification.
For example:
```bash
files="https://example.com/foo-${version}.tar.xz foo-${version}.tar.xz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
files=(
"https://example.com/foo-${version}.tar.xz foo-${version}.tar.xz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
)
```
If a file is a compressed tar archive, a gzip compressed file or a zip

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=RISCVEmu
version=ad8ad6a0eb8591385318b2ec1cffde6078ff0185
files="https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz RISCVEmu-${version}.tar.gz b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33"
files=(
"https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz RISCVEmu-${version}.tar.gz b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33"
)
build() {
run "${CXX}" -o RISCVEmu RISCVEmu.cpp RISCV.cpp

View file

@ -3,7 +3,9 @@ port=RetroArch
useconfigure="true"
version="1.12.0"
archive_hash="c912e32a0300f16ade827d48a4a948d5dab40b764cd1169f61108c6f5803649a"
files="https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz $archive_hash"
files=(
"https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz $archive_hash"
)
depends=("freetype" "SDL2" "zlib")
configopts=(

View file

@ -3,5 +3,7 @@
port=SDL2-GNUBoy
version=1.2.1
useconfigure=false
files="https://github.com/AlexOberhofer/SDL2-GNUBoy/archive/refs/tags/v${version}.tar.gz SDL2-GNUBoy-${version}.tar.gz d8b729aa88747301ed39514ad9dc857b842332ac87242993881e15125af1be20"
files=(
"https://github.com/AlexOberhofer/SDL2-GNUBoy/archive/refs/tags/v${version}.tar.gz SDL2-GNUBoy-${version}.tar.gz d8b729aa88747301ed39514ad9dc857b842332ac87242993881e15125af1be20"
)
depends=("SDL2")

View file

@ -2,7 +2,9 @@
port='SDL2'
version='2.24.0'
useconfigure='true'
files="https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz SDL2-${version}.tar.gz 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97"
files=(
"https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz SDL2-${version}.tar.gz 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97"
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DPULSEAUDIO=OFF"

View file

@ -2,7 +2,9 @@
port=SDL2_gfx
version=1.0.4
files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262"
files=(
"https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262"
)
depends=("SDL2")
useconfigure=true
use_fresh_config_sub=true

View file

@ -3,7 +3,9 @@ port='SDL2_image'
useconfigure='true'
version='2.6.2'
depends=("SDL2" "libpng" "libjpeg" "libtiff")
files="https://github.com/libsdl-org/SDL_image/releases/download/release-${version}/SDL2_image-${version}.tar.gz SDL2_image-${version}.tar.gz 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777"
files=(
"https://github.com/libsdl-org/SDL_image/releases/download/release-${version}/SDL2_image-${version}.tar.gz SDL2_image-${version}.tar.gz 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777"
)
configure() {
run ./configure \

View file

@ -2,7 +2,9 @@
port='SDL2_mixer'
version='2.6.2'
useconfigure='true'
files="https://github.com/libsdl-org/SDL_mixer/releases/download/release-${version}/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz 8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371"
files=(
"https://github.com/libsdl-org/SDL_mixer/releases/download/release-${version}/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz 8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371"
)
depends=("libmodplug" "libmpg123" "libvorbis" "SDL2" "timidity")
configure() {

View file

@ -7,5 +7,7 @@ configopts=(
"--disable-static"
"--enable-shared"
)
files="https://github.com/libsdl-org/SDL_net/releases/download/release-${version}/SDL2_net-${version}.tar.gz SDL2_net-${version}.tar.gz 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
files=(
"https://github.com/libsdl-org/SDL_net/releases/download/release-${version}/SDL2_net-${version}.tar.gz SDL2_net-${version}.tar.gz 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
)
depends=("SDL2")

View file

@ -5,7 +5,9 @@ _commit='301135a6d0d9bb77c9da0b7f809e9a10d579610f'
workdir="SDL_sound-${_commit}"
useconfigure='true'
depends=('SDL2')
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
files=(
"https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
)
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
configure() {

View file

@ -2,7 +2,9 @@
port='SDL2_ttf'
version='2.20.1'
useconfigure='true'
files="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57"
files=(
"https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57"
)
depends=("SDL2" "freetype")
configure() {

View file

@ -6,7 +6,9 @@ depends=("SDL2" "SDL2_image")
commitid="86988c668eeaa10f218e1d4938fc5b4e42314d68"
workdir="${port}-${commitid}"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://github.com/NagyD/SDLPoP/archive/${commitid}.zip PoP.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
files=(
"https://github.com/NagyD/SDLPoP/archive/${commitid}.zip PoP.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
)
launcher_name="Prince of Persia"
launcher_category=Games
launcher_command=/opt/PrinceOfPersia/prince

View file

@ -5,7 +5,9 @@ useconfigure=true
configopts=("--disable-static")
use_fresh_config_sub=true
config_sub_paths=("build-scripts/config.sub")
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz SDL_mixer-${version}.tar.gz 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
files=(
"https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz SDL_mixer-${version}.tar.gz 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
)
depends=("libmikmod" "libvorbis" "sdl12-compat" "timidity")
# Explicitly point to the config binaries installed by our ports. Otherwise, it will

View file

@ -4,7 +4,9 @@ version='1.0.3'
useconfigure='true'
use_fresh_config_sub='true'
depends=("sdl12-compat" "libmikmod")
files="https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz ${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
files=(
"https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz ${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
)
configopts=(
"--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--enable-ogg=no"

View file

@ -5,7 +5,9 @@ version=git
depends=("SDL2" "SDL2_mixer" "SDL2_image")
workdir=Super-Mario-Clone-Cpp-master
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91"
files=(
"https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91"
)
launcher_name="Super Mario"
launcher_category=Games
launcher_command=/opt/Super_Mario/uMario

View file

@ -3,7 +3,9 @@ port=SuperTuxKart
useconfigure='true'
version='1.4'
archive_hash='9890392419baf4715313f14d5ad60746f276eed36eb580636caf44e2532c0f03'
files="https://github.com/supertuxkart/stk-code/releases/download/${version}/supertuxkart-${version}-src.tar.xz ${port}-${version}-src.tar.xz $archive_hash"
files=(
"https://github.com/supertuxkart/stk-code/releases/download/${version}/supertuxkart-${version}-src.tar.xz ${port}-${version}-src.tar.xz $archive_hash"
)
workdir="${port}-${version}-src"
launcher_name='SuperTuxKart'
launcher_category='Games'

View file

@ -2,7 +2,9 @@
port='VVVVVV'
version='2.3.6'
useconfigure='true'
files="https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/${version}.tar.gz VVVVVV-${version}.tar.gz a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9"
files=(
"https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/${version}.tar.gz VVVVVV-${version}.tar.gz a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9"
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DCMAKE_BUILD_TYPE=Release"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='aclock'
version='2.3'
files="https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c aclock-${version}.c 2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669"
files=(
"https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c aclock-${version}.c 2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669"
)
depends=("ncurses")
build() {

View file

@ -2,7 +2,9 @@
port=acpica-tools
version='R06_28_23'
workdir="acpica-${version}"
files="https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz acpica-${version}.tar.gz 2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31"
files=(
"https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz acpica-${version}.tar.gz 2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31"
)
build() {

View file

@ -8,7 +8,9 @@ configopts=(
)
use_fresh_config_sub='true'
use_fresh_config_guess='true'
files="https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz alpine-${version}.tar.xz c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba"
files=(
"https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz alpine-${version}.tar.xz c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba"
)
depends=(
'openssl'
'ncurses'

View file

@ -4,7 +4,9 @@ version=4.2.4
workdir="Angband-${version}"
useconfigure=true
use_fresh_config_sub=true
files="https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz Angband-${version}.tar.gz a07c78c1dd05e48ddbe4d8ef5d1880fcdeab55fd05f1336d9cba5dd110b15ff3"
files=(
"https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz Angband-${version}.tar.gz a07c78c1dd05e48ddbe4d8ef5d1880fcdeab55fd05f1336d9cba5dd110b15ff3"
)
depends=("ncurses" "SDL2" "SDL2_image" "SDL2_ttf" "SDL2_mixer")
configopts=(
"--prefix=/usr/local"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='aria2'
version='1.36.0'
files="https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz ${port}-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5"
files=(
"https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz ${port}-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5"
)
depends=(
"libssh2"
"libxml2"

View file

@ -2,7 +2,9 @@
port=awk
version=20220122
useconfigure="false"
files="https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz awk-${version}.tar.gz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042"
files=(
"https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz awk-${version}.tar.gz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042"
)
patchlevel=1
build() {

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='backward-cpp'
version='65a769f'
files="https://github.com/bombela/backward-cpp/tarball/65a769ffe77cf9d759d801bc792ac56af8e911a3 backward-cpp-${version}.tar.gz 233271162bf09ce7c41026416e5d6f59a66f42f83c3ea370f110980ac219144a"
files=(
"https://github.com/bombela/backward-cpp/tarball/65a769ffe77cf9d759d801bc792ac56af8e911a3 backward-cpp-${version}.tar.gz 233271162bf09ce7c41026416e5d6f59a66f42f83c3ea370f110980ac219144a"
)
workdir="bombela-backward-cpp-${version}"
useconfigure='true'
configopts=(

View file

@ -7,7 +7,9 @@ use_fresh_config_guess='true'
config_sub_paths=("support/config.sub")
config_guess_paths=("support/config.guess")
configopts=("--disable-nls" "--without-bash-malloc")
files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c"
files=(
"https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c"
)
build() {
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=bass
version="cd-1.2"
files="https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip bass-${version}.zip 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593"
files=(
"https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip bass-${version}.zip 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593"
)
depends=("scummvm")
bass_resource_path="/usr/local/share/games/${port}-${version}"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='bc'
version='6.5.0'
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz b1afb1f50c0bce6119c98590bcc8afc22f520bc85c2b512c83938dbb8321cc30"
files=(
"https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz b1afb1f50c0bce6119c98590bcc8afc22f520bc85c2b512c83938dbb8321cc30"
)
useconfigure='true'
configscript='configure.sh'
configopts=("--prefix=/usr/local" "--disable-nls")

View file

@ -3,7 +3,9 @@
port='bdwgc'
version='8.2.2'
use_fresh_config_sub='true'
files="https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz bdwgc.tar.gz f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0"
files=(
"https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz bdwgc.tar.gz f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0"
)
depends=("libatomic_ops")
workdir="gc-$version"

View file

@ -12,7 +12,9 @@ configopts=(
"--disable-nls"
"--enable-libiberty"
)
files="https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz 0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1"
files=(
"https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz 0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1"
)
depends=("zlib")
export ac_cv_func_getrusage=no

View file

@ -3,4 +3,6 @@ port='bison'
version='3.8'
useconfigure='true'
configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local")
files="https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz bison-${version}.tar.gz d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458"
files=(
"https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz bison-${version}.tar.gz d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458"
)

View file

@ -2,7 +2,9 @@
port=bochs
version=2.7
depends=("SDL2")
files="https://download.sourceforge.net/project/bochs/bochs/$version/bochs-$version.tar.gz bochs-${version}.tar.gz a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a"
files=(
"https://download.sourceforge.net/project/bochs/bochs/$version/bochs-$version.tar.gz bochs-${version}.tar.gz a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a"
)
useconfigure=true
use_fresh_config_sub=true
configopts=("--with-sdl2")

View file

@ -10,7 +10,9 @@ depends=(
'xz'
'libicu'
)
files="https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2 boost_${version//./_}.tar.bz2 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
files=(
"https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2 boost_${version//./_}.tar.bz2 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
)
bjamopts=(
'--user-config=user-config.jam'
'toolset=gcc'

View file

@ -3,7 +3,9 @@ port='brogue'
depends=("SDL2" "SDL2_image")
version='1.11.1'
workdir="BrogueCE-${version}"
files="https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz dc562cf774f88b12b6aeebdac5a00e62e8598b3f84da2130a54a67a60c5debf2"
files=(
"https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz dc562cf774f88b12b6aeebdac5a00e62e8598b3f84da2130a54a67a60c5debf2"
)
makeopts+=("bin/brogue")
install() {

View file

@ -2,7 +2,9 @@
port='brotli'
version='1.0.9'
files="https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz brotli-v${version}.tar.gz f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
files=(
"https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz brotli-v${version}.tar.gz f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
)
useconfigure='true'
configure() {

View file

@ -1,5 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=byacc
version=20220128
files="https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz byacc-${version}.tgz 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c"
files=(
"https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz byacc-${version}.tgz 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c"
)
useconfigure=true

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=bzip2
version=1.0.8
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
files=(
"https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
)
makeopts=("bzip2")
installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local")

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='bzip3'
version='1.2.2'
files="https://github.com/kspalaiologos/bzip3/releases/download/${version}/bzip3-${version}.tar.gz bzip3-${version}.tar.gz 19e8d379f48610f945a04a988fd0c330ff6613b3df96405d56bed35a7d216dee"
files=(
"https://github.com/kspalaiologos/bzip3/releases/download/${version}/bzip3-${version}.tar.gz bzip3-${version}.tar.gz 19e8d379f48610f945a04a988fd0c330ff6613b3df96405d56bed35a7d216dee"
)
useconfigure='true'
installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local")
configopts=(

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='c-ares'
version='1.19.0'
files="https://c-ares.org/download/c-ares-${version}.tar.gz c-ares-${version}.tar.gz bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3"
files=(
"https://c-ares.org/download/c-ares-${version}.tar.gz c-ares-${version}.tar.gz bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3"
)
useconfigure=true
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")

View file

@ -2,7 +2,9 @@
port=c-ray
version=8f30eb9904a4d20a78e9387d79dc049c5ed69b0c
useconfigure=true
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008"
files=(
"https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008"
)
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
depends=("SDL2")
workdir="${port}-${version}"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ca-certificates
version=2022-04-26
files="https://curl.se/ca/cacert-${version}.pem cacert-${version}.pem 08df40e8f528ed283b0e480ba4bcdbfdd2fdcf695a7ada1668243072d80f8b6f"
files=(
"https://curl.se/ca/cacert-${version}.pem cacert-${version}.pem 08df40e8f528ed283b0e480ba4bcdbfdd2fdcf695a7ada1668243072d80f8b6f"
)
workdir="."
configure() {

View file

@ -2,7 +2,9 @@
port=carl
version=1.5
workdir=cryanc-"${version}"
files="https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz cryanc-${version}.tar.gz 019c2a4df4ce5a332fc29b7903244d6a76bb0bd8bb3e406326b6239416a5b0f6"
files=(
"https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz cryanc-${version}.tar.gz 019c2a4df4ce5a332fc29b7903244d6a76bb0bd8bb3e406326b6239416a5b0f6"
)
build() {
run $CC -O3 carl.c -o carl

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='cavestory'
version='2.6.5-1'
files=('https://github.com/gloof11/nxengine-evo/archive/b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip nxengine-evo-b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip 83e66960e27ec928d1217439754f0dd733765ecaf760c02832e5b35f4858ea8a')
files=(
'https://github.com/gloof11/nxengine-evo/archive/b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip nxengine-evo-b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip 83e66960e27ec928d1217439754f0dd733765ecaf760c02832e5b35f4858ea8a'
)
depends=(
'libjpeg'
'libpng'

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='cbonsai'
version='1.3.1'
files="https://gitlab.com/jallbrit/cbonsai/-/archive/v${version}/cbonsai-v${version}.tar cbonsai-v${version}.tar.bz2 686e4af58f8e44e09b689da6e9a98a404fc0a779da7c7da1a5403283e0e471d8"
files=(
"https://gitlab.com/jallbrit/cbonsai/-/archive/v${version}/cbonsai-v${version}.tar cbonsai-v${version}.tar.bz2 686e4af58f8e44e09b689da6e9a98a404fc0a779da7c7da1a5403283e0e471d8"
)
workdir="cbonsai-v${version}"
makeopts+=(CC="${CC}")
depends=("ncurses")

View file

@ -2,7 +2,9 @@
port='ccache'
version='4.6.3'
useconfigure='true'
files="https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.gz ccache-$version.tar.gz f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05"
files=(
"https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.gz ccache-$version.tar.gz f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05"
)
depends=('zstd')
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"

View file

@ -3,7 +3,9 @@
port='cfunge'
version='2bc4fb27ade2a816ca9a90a6d9f6958111123fa9'
useconfigure='true'
files="https://codeload.github.com/VorpalBlade/cfunge/zip/${version} cfunge.zip 364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55"
files=(
"https://codeload.github.com/VorpalBlade/cfunge/zip/${version} cfunge.zip 364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55"
)
configure() {
run cmake -B build "${configopts[@]}"

View file

@ -5,7 +5,9 @@ version=git
depends=("SDL2")
workdir=chester-public
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz b3ea7ad40608e1050fa434258f5c69b93e7bad10523c4c4a86fe08d1442a907b"
files=(
"https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz b3ea7ad40608e1050fa434258f5c69b93e7bad10523c4c4a86fe08d1442a907b"
)
configure() {
run cmake "${configopts[@]}"

View file

@ -4,7 +4,9 @@ version='3.0.1'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('autotools/config.sub')
files="https://www.chocolate-doom.org/downloads/${version}/chocolate-doom-${version}.tar.gz chocolate-doom-${version}.tar.gz d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7"
files=(
"https://www.chocolate-doom.org/downloads/${version}/chocolate-doom-${version}.tar.gz chocolate-doom-${version}.tar.gz d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7"
)
depends=(
'libpng'
'libsamplerate'

View file

@ -5,7 +5,9 @@ useconfigure=false
depends=(sparsehash libffi pcre)
commit_hash=d28b7d62bd61397e46152aa6e4ee59b115c0e2d7
archive_hash=0e31ab638c4fd1438f68fdf069336e2541eb4cfc5db2f55888f6175e0171a2ef
files="https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz citron.tar.gz $archive_hash"
files=(
"https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz citron.tar.gz $archive_hash"
)
workdir="citron-$commit_hash"
pre_install() {

View file

@ -3,7 +3,9 @@ port='cmake'
# NOTE: keep this version aligned with Toolchain/BuildCMake.sh
version='3.26.4'
useconfigure='true'
files="https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}.tar.gz cmake-${version}.tar.gz 313b6880c291bd4fe31c0aa51d6e62659282a521e695f30d5cc0d25abbd5c208"
files=(
"https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}.tar.gz cmake-${version}.tar.gz 313b6880c291bd4fe31c0aa51d6e62659282a521e695f30d5cc0d25abbd5c208"
)
depends=(
'bash'
'make'

View file

@ -4,7 +4,9 @@ useconfigure=true
version=3112b127babe72d2222059edd2d7eb7fb8bddfb1
depends=("ncurses")
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz ${port}-${version}.tar.gz a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87"
files=(
"https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz ${port}-${version}.tar.gz a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87"
)
launcher_name=cmatrix
launcher_category=Games
launcher_command=cmatrix

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='composer'
version='2.4.3'
files="https://getcomposer.org/download/${version}/composer.phar composer.phar 26d72f2790502bc9b22209e1cec1e0e43d33b368606ad227d327cccb388b609a"
files=(
"https://getcomposer.org/download/${version}/composer.phar composer.phar 26d72f2790502bc9b22209e1cec1e0e43d33b368606ad227d327cccb388b609a"
)
depends=('php')
build() {

View file

@ -4,7 +4,9 @@ version=9.1
useconfigure="true"
use_fresh_config_sub="true"
config_sub_paths=("build-aux/config.sub")
files="https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz 6055df9268603e8239a5c9c1d64cb25b9a992530df66e33b8d78a660edb37b35"
files=(
"https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz 6055df9268603e8239a5c9c1d64cb25b9a992530df66e33b8d78a660edb37b35"
)
# Exclude some non-working utilities:
# - arch, coreutils, and hostname are already excluded in the default configuration

View file

@ -3,7 +3,9 @@ port='cowsay'
version='3.04'
depends=('perl5')
useconfigure='false'
files="https://github.com/tnalpgge/rank-amateur-cowsay/archive/refs/tags/cowsay-${version}.tar.gz cowsay-${version}.tar.gz d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b"
files=(
"https://github.com/tnalpgge/rank-amateur-cowsay/archive/refs/tags/cowsay-${version}.tar.gz cowsay-${version}.tar.gz d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b"
)
workdir="rank-amateur-cowsay-cowsay-${version}/"
prefix='/usr/local'

View file

@ -4,4 +4,6 @@ version='2.13'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('build-aux/config.sub')
files="https://ftpmirror.gnu.org/gnu/cpio/cpio-${version}.tar.gz cpio-${version}.tar.gz e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88"
files=(
"https://ftpmirror.gnu.org/gnu/cpio/cpio-${version}.tar.gz cpio-${version}.tar.gz e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88"
)

View file

@ -2,7 +2,9 @@
port='curl'
version='8.2.0'
useconfigure='true'
files="https://curl.se/download/curl-${version}.tar.bz2 curl-${version}.tar.bz2 080aaa5bef29ab3f592101e7a95f32ddbe88b92125cb28dde479d5a104928ea4"
files=(
"https://curl.se/download/curl-${version}.tar.bz2 curl-${version}.tar.bz2 080aaa5bef29ab3f592101e7a95f32ddbe88b92125cb28dde479d5a104928ea4"
)
depends=(
'ca-certificates'
'openssl'

View file

@ -2,7 +2,9 @@
port=dash
version=0.5.10.2
useconfigure=true
files="http://gondor.apana.org.au/~herbert/dash/files/dash-${version}.tar.gz dash-${version}.tar.gz 3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071"
files=(
"http://gondor.apana.org.au/~herbert/dash/files/dash-${version}.tar.gz dash-${version}.tar.gz 3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071"
)
configure() {
host_env

View file

@ -2,7 +2,9 @@
port='deutex'
version='5.2.2'
useconfigure='true'
files="https://github.com/Doom-Utils/deutex/releases/download/v${version}/deutex-${version}.tar.zst deutex-${version}.tar.zst 10ed0e7a533ec97cb6d03548d4258fbec88852a45b5ea4cf5434376ad4174b5f"
files=(
"https://github.com/Doom-Utils/deutex/releases/download/v${version}/deutex-${version}.tar.zst deutex-${version}.tar.zst 10ed0e7a533ec97cb6d03548d4258fbec88852a45b5ea4cf5434376ad4174b5f"
)
depends=(
'libpng'
)

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='dialog'
version='1.3-20220526'
files="https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz dialog-${version}.tgz 858c9a625b20fde19fb7b19949ee9e9efcade23c56d917b1adb30e98ff6d6b33"
files=(
"https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz dialog-${version}.tgz 858c9a625b20fde19fb7b19949ee9e9efcade23c56d917b1adb30e98ff6d6b33"
)
useconfigure='true'
use_fresh_config_sub='true'
configopts=("--prefix=/usr/local" "--with-ncurses" "--with-curses-dir=${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses")

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=diffutils
version=3.8
files="https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz diffutils-${version}.tar.xz a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec"
files=(
"https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz diffutils-${version}.tar.xz a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec"
)
useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("build-aux/config.sub")

View file

@ -1,4 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='dmidecode'
version='3.5'
files="https://download-mirror.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz 79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073"
files=(
"https://download-mirror.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz 79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073"
)

View file

@ -3,7 +3,9 @@ port='doom'
commit_hash='613f870b6fa83ede448a247de5a2571092fa729d'
workdir="doomgeneric-${commit_hash}"
version='git'
files="https://github.com/ozkl/doomgeneric/archive/${commit_hash}.tar.gz doom-git.tar.gz fabc3e41aca92f58dfdd284754891c17875ec8c995948b49396ead6bc05b8676"
files=(
"https://github.com/ozkl/doomgeneric/archive/${commit_hash}.tar.gz doom-git.tar.gz fabc3e41aca92f58dfdd284754891c17875ec8c995948b49396ead6bc05b8676"
)
depends=(
'SDL2'
'SDL2_mixer'

View file

@ -2,5 +2,7 @@
port=dos2unix
version=7.5.0
workdir="${port}-${version}"
files="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af"
files=(
"https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af"
)
depends=("gettext")

View file

@ -12,7 +12,9 @@ configopts=(
'-Duse_opengl=false'
'-Duse_png=false'
)
files="https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 85359efb7cd5c5c0336d88bdf023b7b462a8233490e00274fef0b85cca2f5f3c"
files=(
"https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 85359efb7cd5c5c0336d88bdf023b7b462a8233490e00274fef0b85cca2f5f3c"
)
depends=(
'libslirp'
'libpng'

View file

@ -4,7 +4,9 @@ version='4.2'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('config.sub')
files="https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
files=(
"https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
)
configopts=(
"--enable-compat-symlinks"
)

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='double-conversion'
version='3.2.1'
files="https://github.com/google/double-conversion/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35"
files=(
"https://github.com/google/double-conversion/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35"
)
useconfigure='true'
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=drascula
version="1.0"
files="https://downloads.scummvm.org/frs/extras/Drascula_%20The%20Vampire%20Strikes%20Back/drascula-1.0.zip ${port}-${version}.zip b731f6cb5a22ba8b4c3b3362f570b9a10a67b6cb0b395394b19a94b36e4e42de"
files=(
"https://downloads.scummvm.org/frs/extras/Drascula_%20The%20Vampire%20Strikes%20Back/drascula-1.0.zip ${port}-${version}.zip b731f6cb5a22ba8b4c3b3362f570b9a10a67b6cb0b395394b19a94b36e4e42de"
)
depends=("scummvm")
resource_path="/usr/local/share/games/${port}-${version}"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=dreamweb
version="1.1"
files="https://downloads.scummvm.org/frs/extras/Dreamweb/dreamweb-cd-uk-1.1.zip ${port}-${version}.zip 4a6f13911ce67d62c526e41048ec067b279f1b378c9210f39e0ce8d3f2b80142"
files=(
"https://downloads.scummvm.org/frs/extras/Dreamweb/dreamweb-cd-uk-1.1.zip ${port}-${version}.zip 4a6f13911ce67d62c526e41048ec067b279f1b378c9210f39e0ce8d3f2b80142"
)
depends=("scummvm")
resource_path="/usr/local/share/games/${port}-${version}"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=dropbear
version=2022.82
files="https://mirror.dropbear.nl/mirror/releases/dropbear-${version}.tar.bz2 dropbear-${version}.tar.bz2 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1"
files=(
"https://mirror.dropbear.nl/mirror/releases/dropbear-${version}.tar.bz2 dropbear-${version}.tar.bz2 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1"
)
useconfigure=true
use_fresh_config_sub=true
# don't care about zlib, less deps is better

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='dtc'
version='1.7.0'
files="https://github.com/dgibson/dtc/archive/refs/tags/v${version}.tar.gz dtc-${version}.tar.gz 70d9c156ec86d63de0f7bdae50540ffa492b25ec1d69491c7520845c860b9a62"
files=(
"https://github.com/dgibson/dtc/archive/refs/tags/v${version}.tar.gz dtc-${version}.tar.gz 70d9c156ec86d63de0f7bdae50540ffa492b25ec1d69491c7520845c860b9a62"
)
depends=('bash')

View file

@ -3,7 +3,9 @@ port=dungeonrush
version=1.1-beta
useconfigure=true
workdir="DungeonRush-${version}"
files="https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda"
files=(
"https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda"
)
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_net")
launcher_name="DungeonRush"

View file

@ -1,5 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='e2fsprogs'
version='1.46.5'
files="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz e2fsprogs-${version}.tar.xz 2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e"
files=(
"https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz e2fsprogs-${version}.tar.xz 2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e"
)
useconfigure='true'

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ed
version=1.18
files="https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f"
files=(
"https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f"
)
useconfigure=true
depends=("pcre2")

View file

@ -2,4 +2,6 @@
port='edid-decode'
version='20220315.cb74358c2896'
workdir="${port}-0.1~git${version}"
files="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/edid-decode/0.1~git${version}-1/edid-decode_0.1~git${version}.orig.tar.xz edid-decode_0.1~git${version}.orig.tar.xz 3cb9903663d71b571480ec5cfd88c4c8dd3e77d352b3e2533c3426d61ae296b2"
files=(
"https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/edid-decode/0.1~git${version}-1/edid-decode_0.1~git${version}.orig.tar.xz edid-decode_0.1~git${version}.orig.tar.xz 3cb9903663d71b571480ec5cfd88c4c8dd3e77d352b3e2533c3426d61ae296b2"
)

View file

@ -5,4 +5,6 @@ version='1.17.1'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('aux/config.sub')
files="https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.gz editline-${version}.tar.gz 781e03b6a935df75d99fb963551e2e9f09a714a8c49fc53280c716c90bf44d26"
files=(
"https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.gz editline-${version}.tar.gz 781e03b6a935df75d99fb963551e2e9f09a714a8c49fc53280c716c90bf44d26"
)

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=emu2
version="2021.01"
files="https://github.com/dmsc/emu2/archive/refs/tags/v${version}.tar.gz emu2-${version}.tar.gz 32ea656ad9b034d2c91a20f1a9ac1779cb6905a019c5bdeda9338cfd673bbd72"
files=(
"https://github.com/dmsc/emu2/archive/refs/tags/v${version}.tar.gz emu2-${version}.tar.gz 32ea656ad9b034d2c91a20f1a9ac1779cb6905a019c5bdeda9338cfd673bbd72"
)
build() {
export CC="${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=epsilon
version=15.5.0
files="https://github.com/numworks/epsilon/archive/refs/tags/${version}.tar.gz ${port}-${version}.tar.gz 38c3b6baaf00863bbd179bce5e9cc42bbdbd0cd485b5bf3bbf4473383591bf83"
files=(
"https://github.com/numworks/epsilon/archive/refs/tags/${version}.tar.gz ${port}-${version}.tar.gz 38c3b6baaf00863bbd179bce5e9cc42bbdbd0cd485b5bf3bbf4473383591bf83"
)
makeopts=("PLATFORM=simulator" "TARGET=serenity" "SERENITY_INSTALL_ROOT=${SERENITY_INSTALL_ROOT}")
depends=("SDL2" "libpng" "libjpeg" "freetype")
launcher_name=Epsilon

View file

@ -3,4 +3,6 @@ port='expat'
version='2.5.0'
versionpath='2_5_0'
useconfigure='true'
files="https://github.com/libexpat/libexpat/releases/download/R_${versionpath}/expat-${version}.tar.xz expat-${version}.tar.xz ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe"
files=(
"https://github.com/libexpat/libexpat/releases/download/R_${versionpath}/expat-${version}.tar.xz expat-${version}.tar.xz ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe"
)

View file

@ -3,7 +3,9 @@ port=ffmpeg
version=5.0
useconfigure=true
depends=("libiconv" "libtiff" "xz" "bzip2" "SDL2" "x264" "x265")
files="https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz 7bf52bc242b5db8df67c62cb826df134d917dedcf6abf1289e15e4057bcc1750"
files=(
"https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz 7bf52bc242b5db8df67c62cb826df134d917dedcf6abf1289e15e4057bcc1750"
)
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")
configopts=("SRC_PATH=.")

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=figlet
version=2.2.5
files="http://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz figlet-${version}.tar.gz bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d"
files=(
"http://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz figlet-${version}.tar.gz bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d"
)
build() {
run make CC="${CC}" LD="${CC}" "${makeopts[@]}"

View file

@ -4,4 +4,6 @@ version='5.44'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('config.sub')
files="http://ftp.astron.com/pub/file/file-${version}.tar.gz file-${version}.tar.gz 3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b"
files=(
"http://ftp.astron.com/pub/file/file-${version}.tar.gz file-${version}.tar.gz 3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b"
)

View file

@ -4,4 +4,6 @@ version='4.9.0'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('build-aux/config.sub')
files="https://ftpmirror.gnu.org/gnu/findutils/findutils-${version}.tar.xz findutils-${version}.tar.xz a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe"
files=(
"https://ftpmirror.gnu.org/gnu/findutils/findutils-${version}.tar.xz findutils-${version}.tar.xz a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe"
)

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='fio'
version='3.33'
files="https://brick.kernel.dk/snaps/${port}-${version}.tar.gz ${port}-${version}.tar.gz d2410e13e0f379d061d077cc5ae325835bb7c6186aa7bafc1df954cbc9b014fc"
files=(
"https://brick.kernel.dk/snaps/${port}-${version}.tar.gz ${port}-${version}.tar.gz d2410e13e0f379d061d077cc5ae325835bb7c6186aa7bafc1df954cbc9b014fc"
)
depends=("zlib")
export LDFLAGS='-ldl'

View file

@ -3,4 +3,6 @@ port='flac'
version='1.4.2'
useconfigure='true'
depends=('libogg')
files="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz flac-${version}.tar.xz e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4"
files=(
"https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz flac-${version}.tar.xz e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4"
)

View file

@ -2,7 +2,9 @@
port=flatbuffers
version=2.0.0
files="https://github.com/google/flatbuffers/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4"
files=(
"https://github.com/google/flatbuffers/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4"
)
useconfigure=true
# Since we are cross-compiling, we cannot build the tests, because we need
# the flatbuffers compiler to build them

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=flex
version=2.6.4
files="https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
files=(
"https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
)
useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("build-aux/config.sub")

View file

@ -4,7 +4,9 @@ version=2.14.0
useconfigure="true"
use_fresh_config_sub="true"
depends=("libxml2" "freetype")
files="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac"
files=(
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac"
)
configopts=(
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
"--prefix=/usr/local"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=fotaq
version="1.0"
files="https://downloads.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/FOTAQ_Talkie-original.zip ${port}-${version}.zip a298e68243f18a741d4816ef636a5a77a1593816fb2c9e23a09124c35a95dfec"
files=(
"https://downloads.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/FOTAQ_Talkie-original.zip ${port}-${version}.zip a298e68243f18a741d4816ef636a5a77a1593816fb2c9e23a09124c35a95dfec"
)
depends=("scummvm")
resource_path="/usr/local/share/games/${port}-${version}"

View file

@ -5,7 +5,9 @@ useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("bootstrap/config.sub")
configopts=("--enable-client=sdl2" "--enable-fcmp=no")
files="http://files.freeciv.org/stable/freeciv-${version}.tar.xz freeciv-${version}.tar.xz 3b5aa32f628890be1741c3ac942cee82c79c065f8db6baff18d734a5c0e776d4"
files=(
"http://files.freeciv.org/stable/freeciv-${version}.tar.xz freeciv-${version}.tar.xz 3b5aa32f628890be1741c3ac942cee82c79c065f8db6baff18d734a5c0e776d4"
)
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_gfx" "zstd" "libicu" "xz" "gettext" "curl")
launcher_name=Freeciv
launcher_category=Games

View file

@ -6,8 +6,10 @@ use_fresh_config_sub="true"
config_sub_paths=("autotools/config.sub")
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_gfx" "gettext" "fontconfig" "glm")
freedink_data="freedink-data-1.08.20190120"
files="https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz freedink-${version}.tar.gz 5e0b35ac8f46d7bb87e656efd5f9c7c2ac1a6c519a908fc5b581e52657981002
https://ftpmirror.gnu.org/gnu/freedink/${freedink_data}.tar.gz ${freedink_data}.tar.gz 715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d"
files=(
"https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz freedink-${version}.tar.gz 5e0b35ac8f46d7bb87e656efd5f9c7c2ac1a6c519a908fc5b581e52657981002"
"https://ftpmirror.gnu.org/gnu/freedink/${freedink_data}.tar.gz ${freedink_data}.tar.gz 715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d"
)
configopts=("--prefix=/usr/local" "--disable-rpath" "--disable-tests" "LDFLAGS=-ldl -lfontconfig -lxml2")
resource_path="/usr/local/share/games/dink"

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='freetype'
version='2.13.0'
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz a7aca0e532a276ea8d85bd31149f0a74c33d19c8d287116ef8f5f8357b4f1f80"
files=(
"https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz a7aca0e532a276ea8d85bd31149f0a74c33d19c8d287116ef8f5f8357b4f1f80"
)
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=("builds/unix/config.sub")

View file

@ -1,7 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='frotz'
version='2.54'
files="https://gitlab.com/DavidGriffith/frotz/-/archive/${version}/frotz-${version}.tar.bz2 frotz-${version}.tar.bz2 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395"
files=(
"https://gitlab.com/DavidGriffith/frotz/-/archive/${version}/frotz-${version}.tar.bz2 frotz-${version}.tar.bz2 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395"
)
depends=("ncurses")
build() {

View file

@ -2,4 +2,6 @@
port=gawk
version=5.2.1
useconfigure="true"
files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz 529e7c8c6acf21ff3a6183f4d763c632810908989c24675c77995d51ac37b79c"
files=(
"https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz 529e7c8c6acf21ff3a6183f4d763c632810908989c24675c77995d51ac37b79c"
)

View file

@ -3,7 +3,9 @@ port=gcc
version=13.1.0
useconfigure=true
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-build-sysroot=${SERENITY_INSTALL_ROOT}" "--enable-languages=c,c++" "--disable-lto" "--disable-nls" "--enable-shared" "--enable-default-pie" "--enable-host-shared" "--enable-threads=posix" "--enable-initfini-array" "--with-linker-hash-style=gnu")
files="https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz 61d684f0aa5e76ac6585ad8898a2427aade8979ed5e7f85492286c4dfc13ee86"
files=(
"https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz 61d684f0aa5e76ac6585ad8898a2427aade8979ed5e7f85492286c4dfc13ee86"
)
makeopts=("all-gcc" "all-target-libgcc" "all-target-libstdc++-v3" "-j$(nproc)")
installopts=("DESTDIR=${SERENITY_INSTALL_ROOT}" "install-gcc" "install-target-libgcc" "install-target-libstdc++-v3")
depends=("binutils" "gmp" "mpfr" "mpc" "isl")

View file

@ -3,7 +3,9 @@ port=gdb
version=11.2
useconfigure=true
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-build-sysroot=${SERENITY_INSTALL_ROOT}" "--with-newlib" "--enable-languages=c,c++" "--disable-lto" "--disable-nls" "--enable-shared" "--enable-default-pie" "--enable-host-shared" "--enable-threads=posix")
files="https://ftpmirror.gnu.org/gnu/gdb/gdb-${version}.tar.xz gdb-${version}.tar.xz 1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32"
files=(
"https://ftpmirror.gnu.org/gnu/gdb/gdb-${version}.tar.xz gdb-${version}.tar.xz 1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32"
)
makeopts+=("all")
installopts=("DESTDIR=${SERENITY_INSTALL_ROOT}")
depends=("gmp" "binutils")

View file

@ -2,7 +2,9 @@
port='gemrb'
version='0.9.1'
useconfigure='true'
files="https://github.com/gemrb/gemrb/archive/refs/tags/v${version}.tar.gz gemrb-${version}.tar.gz 6e5dbcf7398d5566751f434b0d4647196bfbe9a813e3b65ad6a4ee2f1bbfb9ba"
files=(
"https://github.com/gemrb/gemrb/archive/refs/tags/v${version}.tar.gz gemrb-${version}.tar.gz 6e5dbcf7398d5566751f434b0d4647196bfbe9a813e3b65ad6a4ee2f1bbfb9ba"
)
depends=(
'freetype'
'libiconv'

Some files were not shown because too many files have changed in this diff Show more