mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Merge branch 'usr-all' into 'master'
Wholesale /usr tidyup See merge request redox-os/redox!2146
This commit is contained in:
commit
2cef3c833a
@ -1,20 +1,19 @@
|
|||||||
[source]
|
[source]
|
||||||
git = "https://gitlab.redox-os.org/redox-os/dash.git"
|
git = "https://gitlab.redox-os.org/redox-os/dash.git"
|
||||||
branch = "redox"
|
branch = "redox"
|
||||||
|
script = """
|
||||||
|
./autogen.sh
|
||||||
|
"""
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
DYNAMIC_INIT
|
DYNAMIC_INIT
|
||||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
${COOKBOOK_CONFIGURE} \
|
||||||
./autogen.sh
|
|
||||||
./configure \
|
|
||||||
--host="${TARGET}" \
|
--host="${TARGET}" \
|
||||||
--prefix="" \
|
--prefix="/usr" \
|
||||||
--enable-static \
|
|
||||||
cross_compiling=yes
|
cross_compiling=yes
|
||||||
# See https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux.
|
sed -i -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
|
||||||
sed -i'' -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
|
|
||||||
# Skip configure
|
# Skip configure
|
||||||
COOKBOOK_CONFIGURE="true"
|
COOKBOOK_CONFIGURE="true"
|
||||||
COOKBOOK_CONFIGURE_FLAGS=()
|
COOKBOOK_CONFIGURE_FLAGS=()
|
||||||
|
|||||||
@ -19,6 +19,6 @@ ${CXX} ${CPPFLAGS} ${LDFLAGS} \
|
|||||||
-o cairo-demo \
|
-o cairo-demo \
|
||||||
-lorbital $("${PKG_CONFIG}" --libs cairo)
|
-lorbital $("${PKG_CONFIG}" --libs cairo)
|
||||||
|
|
||||||
mkdir -pv "${COOKBOOK_STAGE}/bin"
|
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||||
cp -v "cairo-demo" "${COOKBOOK_STAGE}/bin/cairo-demo"
|
cp -v "cairo-demo" "${COOKBOOK_STAGE}/usr/bin/cairo-demo"
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -5,24 +5,12 @@ upstream = "https://github.com/rust-windowing/glutin.git"
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
|
cargopath = "glutin_examples"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mesa",
|
"mesa",
|
||||||
"zlib"
|
"zlib"
|
||||||
]
|
]
|
||||||
script = """
|
script = """
|
||||||
DYNAMIC_INIT
|
DYNAMIC_INIT
|
||||||
EXAMPLES=(
|
CARGOPATH="glutin_examples" cookbook_cargo_examples window
|
||||||
window
|
|
||||||
)
|
|
||||||
for example in "${EXAMPLES[@]}"
|
|
||||||
do
|
|
||||||
cargo rustc \
|
|
||||||
--target "$TARGET" \
|
|
||||||
--release \
|
|
||||||
--manifest-path "${COOKBOOK_SOURCE}/glutin_examples/Cargo.toml" \
|
|
||||||
--example "${example}" \
|
|
||||||
-- -C link-args="$LDFLAGS $("${TARGET}-pkg-config" --libs osmesa) -lz -lstdc++ -lc -lgcc"
|
|
||||||
mkdir -pv "${COOKBOOK_STAGE}/bin"
|
|
||||||
cp -v "target/${TARGET}/release/examples/${example}" "${COOKBOOK_STAGE}/bin/glutin_${example}"
|
|
||||||
done
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -5,5 +5,7 @@ branch = "winit-0.29"
|
|||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
|
COOKBOOK_CARGO_FLAGS=() # remove --locked
|
||||||
cookbook_cargo_examples cursor_grab drag_window window window_debug
|
cookbook_cargo_examples cursor_grab drag_window window window_debug
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -13,5 +13,5 @@ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|||||||
RANLIB="${RANLIB}" \
|
RANLIB="${RANLIB}" \
|
||||||
SYSLDFLAGS="$LDFLAGS"
|
SYSLDFLAGS="$LDFLAGS"
|
||||||
|
|
||||||
"${COOKBOOK_MAKE}" install INSTALL_TOP="${COOKBOOK_STAGE}"
|
"${COOKBOOK_MAKE}" install INSTALL_TOP="${COOKBOOK_STAGE}/usr"
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -16,7 +16,7 @@ case "${OS}" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
${COOKBOOK_MAKE} -j ${COOKBOOK_MAKE_JOBS} install \
|
${COOKBOOK_MAKE} -j ${COOKBOOK_MAKE_JOBS} install \
|
||||||
PREFIX="${COOKBOOK_STAGE}" \
|
PREFIX="${COOKBOOK_STAGE}/usr" \
|
||||||
TARGET_SYS="${SYS}" \
|
TARGET_SYS="${SYS}" \
|
||||||
CROSS="${GNU_TARGET}-"
|
CROSS="${GNU_TARGET}-"
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -12,17 +12,4 @@ autoreconf
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "configure"
|
||||||
script = """
|
|
||||||
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/configure"
|
|
||||||
COOKBOOK_CONFIGURE_FLAGS=(
|
|
||||||
--host="${TARGET}"
|
|
||||||
--prefix="/"
|
|
||||||
--build="$(gcc -dumpmachine)"
|
|
||||||
)
|
|
||||||
|
|
||||||
cookbook_configure
|
|
||||||
|
|
||||||
${TARGET}-strip "${COOKBOOK_STAGE}/bin/"*
|
|
||||||
rm -rf "${COOKBOOK_STAGE}/share" "${COOKBOOK_STAGE}/lib"
|
|
||||||
"""
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ tar = "https://github.com/diasurgical/devilutionX/archive/refs/tags/1.5.4.tar.gz
|
|||||||
blake3 = "d4a61ff3a7c69d86a29158918aad48ab9c4866c6a22a3e8da5feadbb7d23b3ca"
|
blake3 = "d4a61ff3a7c69d86a29158918aad48ab9c4866c6a22a3e8da5feadbb7d23b3ca"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "cmake"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bzip2",
|
"bzip2",
|
||||||
"libiconv",
|
"libiconv",
|
||||||
@ -11,27 +11,10 @@ dependencies = [
|
|||||||
"sdl1",
|
"sdl1",
|
||||||
"zlib",
|
"zlib",
|
||||||
]
|
]
|
||||||
script = """
|
cmakeflags = [
|
||||||
DYNAMIC_INIT
|
"-DDEVILUTIONX_SYSTEM_BZIP2=ON",
|
||||||
|
"-DDEVILUTIONX_SYSTEM_ZLIB=ON",
|
||||||
COOKBOOK_CONFIGURE="cmake"
|
"-DNONET=ON",
|
||||||
COOKBOOK_CONFIGURE_FLAGS=(
|
"-DSDL_LIBRARY=-lSDL -lorbital",
|
||||||
-DBUILD_TESTING=OFF
|
"-DUSE_SDL1=ON",
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
]
|
||||||
-DCMAKE_CROSSCOMPILING=ON
|
|
||||||
-DCMAKE_CXX_COMPILER="${TARGET}-g++"
|
|
||||||
-DCMAKE_C_COMPILER="${TARGET}-gcc"
|
|
||||||
-DCMAKE_INSTALL_PREFIX="/"
|
|
||||||
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
|
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
|
||||||
-DDEVILUTIONX_SYSTEM_BZIP2=ON
|
|
||||||
-DDEVILUTIONX_SYSTEM_ZLIB=ON
|
|
||||||
-DNONET=ON
|
|
||||||
-DSDL_LIBRARY="-lSDL -lorbital"
|
|
||||||
-DUSE_SDL1=ON
|
|
||||||
"${COOKBOOK_SOURCE}"
|
|
||||||
)
|
|
||||||
cookbook_configure
|
|
||||||
mkdir -v "${COOKBOOK_STAGE}/bin"
|
|
||||||
cp -v devilutionx "${COOKBOOK_STAGE}/bin"
|
|
||||||
"""
|
|
||||||
|
|||||||
@ -4,12 +4,12 @@ git = "https://gitlab.redox-os.org/redox-os/freedoom.git"
|
|||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
mkdir -pv "${COOKBOOK_STAGE}/usr/games" "${COOKBOOK_STAGE}/share/games/doom" "${COOKBOOK_STAGE}/usr/share/ui/apps" "${COOKBOOK_STAGE}/usr/share/icons/apps"
|
mkdir -pv "${COOKBOOK_STAGE}/usr/games" "${COOKBOOK_STAGE}/usr/share/games/doom" "${COOKBOOK_STAGE}/usr/share/ui/apps" "${COOKBOOK_STAGE}/usr/share/icons/apps"
|
||||||
for file in "${COOKBOOK_SOURCE}/"*.wad
|
for file in "${COOKBOOK_SOURCE}/"*.wad
|
||||||
do
|
do
|
||||||
game="$(basename "$file" .wad)"
|
game="$(basename "$file" .wad)"
|
||||||
|
|
||||||
wad="/share/games/doom/$game.wad"
|
wad="/usr/share/games/doom/$game.wad"
|
||||||
cp -v "$file" "${COOKBOOK_STAGE}$wad"
|
cp -v "$file" "${COOKBOOK_STAGE}$wad"
|
||||||
|
|
||||||
bin="/usr/games/$game"
|
bin="/usr/games/$game"
|
||||||
@ -20,7 +20,7 @@ do
|
|||||||
echo "name=$game" | sed 's/freedoom/FreeDOOM: Phase /' | sed 's/doom1/DOOM (Shareware)/' > "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
echo "name=$game" | sed 's/freedoom/FreeDOOM: Phase /' | sed 's/doom1/DOOM (Shareware)/' > "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
||||||
echo "category=Games" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
echo "category=Games" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
||||||
echo "binary=/usr/games/$game" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
echo "binary=/usr/games/$game" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
||||||
echo "icon=/ui/icons/apps/$game.png" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
echo "icon=/usr/share/ui/icons/apps/$game.png" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
||||||
|
|
||||||
cp -v "${COOKBOOK_SOURCE}/$game.png" "${COOKBOOK_STAGE}/usr/share/icons/apps/$game.png"
|
cp -v "${COOKBOOK_SOURCE}/$game.png" "${COOKBOOK_STAGE}/usr/share/icons/apps/$game.png"
|
||||||
done
|
done
|
||||||
|
|||||||
@ -1,6 +1,9 @@
|
|||||||
[source]
|
[source]
|
||||||
tar = "https://github.com/fragglet/sdl-sopwith/releases/download/sdl-sopwith-1.8.4/sopwith-1.8.4.tar.gz"
|
tar = "https://github.com/fragglet/sdl-sopwith/releases/download/sdl-sopwith-2.9.0/sdl-sopwith-2.9.0.tar.gz"
|
||||||
blake3 = "44e1404a9c4bea257d7778d2a4b1512231603a74b0a7b18eac5d18f36730ed3e"
|
blake3 = "44e1404a9c4bea257d7778d2a4b1512231603a74b0a7b18eac5d18f36730ed3e"
|
||||||
|
script = """
|
||||||
|
./autogen.sh
|
||||||
|
"""
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
@ -10,22 +13,16 @@ dependencies = [
|
|||||||
"libiconv",
|
"libiconv",
|
||||||
]
|
]
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL"
|
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL"
|
||||||
export LIBS="-lSDL -lorbital" # TODO: Uses sdl-config instead of pkg-config
|
export LIBS="-lSDL -lorbital" # TODO: Uses sdl-config instead of pkg-config
|
||||||
|
|
||||||
# For some reason, cook_configure breaks spectacularly on this
|
# For some reason, cook_configure breaks spectacularly on this
|
||||||
# We will just copy instead
|
# We will just copy instead
|
||||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||||
|
COOKBOOK_CONFIGURE="./configure"
|
||||||
wget -O autotools/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||||
|
|
||||||
./configure \\
|
|
||||||
--build="$(gcc -dumpmachine)" \\
|
|
||||||
--host="${TARGET}" \\
|
|
||||||
--prefix="" \\
|
|
||||||
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
|
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
|
||||||
|
)
|
||||||
make -j"$(nproc)"
|
cookbook_configure
|
||||||
|
"""
|
||||||
make DESTDIR="${COOKBOOK_STAGE}" install
|
|
||||||
"""
|
|
||||||
|
|||||||
@ -6,5 +6,5 @@ shallow_clone = true
|
|||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
cd "${COOKBOOK_SOURCE}"
|
cd "${COOKBOOK_SOURCE}"
|
||||||
just rootdir="${COOKBOOK_STAGE}" prefix="" install
|
just rootdir="${COOKBOOK_STAGE}" prefix="/usr" install
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -4,9 +4,9 @@ git = "https://gitlab.redox-os.org/redox-os/freepats.git"
|
|||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
mkdir -pv "${COOKBOOK_STAGE}/share/freepats"
|
mkdir -pv "${COOKBOOK_STAGE}/usr/share/freepats"
|
||||||
cp -Rv "${COOKBOOK_SOURCE}/"* "${COOKBOOK_STAGE}/share/freepats"
|
cp -Rv "${COOKBOOK_SOURCE}/"* "${COOKBOOK_STAGE}/usr/share/freepats"
|
||||||
mkdir -pv "${COOKBOOK_STAGE}/etc/timidity"
|
mkdir -pv "${COOKBOOK_STAGE}/etc/timidity"
|
||||||
echo "dir /share/freepats" > "${COOKBOOK_STAGE}/etc/timidity/freepats.cfg"
|
echo "dir /usr/share/freepats" > "${COOKBOOK_STAGE}/etc/timidity/freepats.cfg"
|
||||||
echo "source /share/freepats/freepats.cfg" >> "${COOKBOOK_STAGE}/etc/timidity/freepats.cfg"
|
echo "source /usr/share/freepats/freepats.cfg" >> "${COOKBOOK_STAGE}/etc/timidity/freepats.cfg"
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -3,22 +3,16 @@ git = "https://gitlab.redox-os.org/redox-os/timidity.git"
|
|||||||
branch = "redox"
|
branch = "redox"
|
||||||
script = """
|
script = """
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
wget -O autoconf/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
|
wget -O autoconf/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
export LDFLAGS="-static"
|
DYNAMIC_INIT
|
||||||
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||||
COOKBOOK_CONFIGURE_FLAGS=(
|
|
||||||
--build="$(gcc -dumpmachine)"
|
|
||||||
--host="${TARGET}"
|
|
||||||
--prefix=""
|
|
||||||
--enable-vt100
|
--enable-vt100
|
||||||
)
|
)
|
||||||
|
|
||||||
cookbook_configure
|
cookbook_configure
|
||||||
|
|
||||||
# Create configuration files
|
# Create configuration files
|
||||||
|
|||||||
@ -7,15 +7,4 @@ GNU_CONFIG_GET config.sub
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "configure"
|
||||||
script = """
|
|
||||||
export LDFLAGS="-static"
|
|
||||||
|
|
||||||
COOKBOOK_CONFIGURE_FLAGS=(
|
|
||||||
--build="$(gcc -dumpmachine)"
|
|
||||||
--host="${TARGET}"
|
|
||||||
--prefix=""
|
|
||||||
)
|
|
||||||
|
|
||||||
cookbook_configure
|
|
||||||
"""
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|||||||
AR="${AR}" \
|
AR="${AR}" \
|
||||||
CC="${CC}" \
|
CC="${CC}" \
|
||||||
RANLIB="${RANLIB}" \
|
RANLIB="${RANLIB}" \
|
||||||
PREFIX="${COOKBOOK_STAGE}" \
|
PREFIX="${COOKBOOK_STAGE}/usr" \
|
||||||
install
|
install
|
||||||
|
|
||||||
# However, distros distribute libbz2 as well so we'll support it too
|
# However, distros distribute libbz2 as well so we'll support it too
|
||||||
@ -27,12 +27,12 @@ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|||||||
AR="${AR}" \
|
AR="${AR}" \
|
||||||
CC="${CC}" \
|
CC="${CC}" \
|
||||||
RANLIB="${RANLIB}" \
|
RANLIB="${RANLIB}" \
|
||||||
PREFIX="${COOKBOOK_STAGE}"
|
PREFIX="${COOKBOOK_STAGE}/usr"
|
||||||
|
|
||||||
cp -av libbz2.so* "${COOKBOOK_STAGE}/lib"
|
cp -av libbz2.so* "${COOKBOOK_STAGE}/usr/lib"
|
||||||
ln -sr "${COOKBOOK_STAGE}/lib/libbz2.so.1.0" "${COOKBOOK_STAGE}/lib/libbz2.so.1"
|
ln -s "libbz2.so.1.0" "${COOKBOOK_STAGE}/usr/lib/libbz2.so.1"
|
||||||
ln -sr "${COOKBOOK_STAGE}/lib/libbz2.so.1.0" "${COOKBOOK_STAGE}/lib/libbz2.so"
|
ln -s "libbz2.so.1.0" "${COOKBOOK_STAGE}/usr/lib/libbz2.so"
|
||||||
|
|
||||||
mkdir -p "${COOKBOOK_STAGE}/lib/pkgconfig"
|
mkdir -p "${COOKBOOK_STAGE}/usr/lib/pkgconfig"
|
||||||
cp "${COOKBOOK_RECIPE}/pkgconfig" "${COOKBOOK_STAGE}/lib/pkgconfig/bzip2.pc"
|
cp "${COOKBOOK_RECIPE}/pkgconfig" "${COOKBOOK_STAGE}/usr/lib/pkgconfig/bzip2.pc"
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -4,12 +4,4 @@ blake3 = "46b6e24dfa1b0f309f4eae3c450d612396c8faa6510b53a55f629e4f4c70b4a3"
|
|||||||
patches = ["grep.patch"]
|
patches = ["grep.patch"]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "configure"
|
||||||
script = """
|
|
||||||
DYNAMIC_INIT
|
|
||||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
||||||
--prefix=/
|
|
||||||
)
|
|
||||||
cookbook_configure
|
|
||||||
rm -rf "${COOKBOOK_STAGE}"/{lib,share}
|
|
||||||
"""
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
name=Netsurf
|
name=Netsurf
|
||||||
binary=/usr/bin/netsurf-fb
|
binary=/usr/bin/netsurf-fb
|
||||||
icon=/ui/icons/apps/internet-web-browser.png
|
icon=/usr/share/ui/icons/apps/internet-web-browser.png
|
||||||
accept=*.html
|
accept=*.html
|
||||||
author=The Netsurf Developers
|
author=The Netsurf Developers
|
||||||
description=Browser for Redox
|
description=Browser for Redox
|
||||||
|
|||||||
@ -42,8 +42,8 @@ export CC="${CC} ${CPPFLAGS}"
|
|||||||
|
|
||||||
"$COOKBOOK_MAKE" PREFIX=/usr V=1 -j"$COOKBOOK_MAKE_JOBS"
|
"$COOKBOOK_MAKE" PREFIX=/usr V=1 -j"$COOKBOOK_MAKE_JOBS"
|
||||||
"$COOKBOOK_MAKE" DESTDIR="$COOKBOOK_STAGE" PREFIX=/usr install -j"$COOKBOOK_MAKE_JOBS"
|
"$COOKBOOK_MAKE" DESTDIR="$COOKBOOK_STAGE" PREFIX=/usr install -j"$COOKBOOK_MAKE_JOBS"
|
||||||
mkdir -pv "$COOKBOOK_STAGE/ui/apps"
|
mkdir -pv "$COOKBOOK_STAGE/usr/share/ui/apps"
|
||||||
cp -v "${COOKBOOK_RECIPE}/manifest" "$COOKBOOK_STAGE/ui/apps/00_netsurf"
|
cp -v "${COOKBOOK_RECIPE}/manifest" "$COOKBOOK_STAGE/usr/share/ui/apps/00_netsurf"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
|
|||||||
@ -3,8 +3,7 @@
|
|||||||
git = "https://github.com/sohzm/jasonisnthappy"
|
git = "https://github.com/sohzm/jasonisnthappy"
|
||||||
shallow_clone = true
|
shallow_clone = true
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "cargo"
|
||||||
script = """
|
cargoexamples = [
|
||||||
DYNAMIC_INIT
|
"bench_all"
|
||||||
cookbook_cargo_examples bench_all
|
]
|
||||||
"""
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
[source]
|
[source]
|
||||||
git = "https://github.com/kyren/piccolo"
|
git = "https://github.com/kyren/piccolo"
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "cargo"
|
||||||
script = """
|
cargoexamples = [
|
||||||
cookbook_cargo_examples interpreter
|
"interpreter"
|
||||||
"""
|
]
|
||||||
|
|||||||
@ -4,6 +4,8 @@ git = "https://github.com/adam-mcdaniel/chess-engine"
|
|||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
|
COOKBOOK_CARGO_FLAGS=() # remove --locked
|
||||||
cookbook_cargo_packages chess-gui
|
cookbook_cargo_packages chess-gui
|
||||||
cookbook_cargo_examples terminal
|
cookbook_cargo_examples terminal
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
git = "https://github.com/jackpot51/sysinfo"
|
git = "https://github.com/jackpot51/sysinfo"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "cargo"
|
||||||
script = """
|
cargoexamples = [
|
||||||
cookbook_cargo_examples simple
|
"simple"
|
||||||
"""
|
]
|
||||||
|
|||||||
@ -1,14 +1,15 @@
|
|||||||
#TODO: fails to link libcrypto.so
|
#TODO: fails to link libcrypto.so
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/jackpot51/pavao.git"
|
git = "https://github.com/veeso/pavao.git"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "cargo"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"openssl3"
|
"openssl3"
|
||||||
]
|
]
|
||||||
script = """
|
cargoflags = [
|
||||||
DYNAMIC_INIT
|
"--features vendored"
|
||||||
build_flags="${build_flags} --features vendored"
|
]
|
||||||
cookbook_cargo_examples tree
|
cargoexamples = [
|
||||||
"""
|
"tree"
|
||||||
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user