diff --git a/recipes/wip/games/other/vvvvvv/recipe.toml b/recipes/wip/games/other/vvvvvv/recipe.toml new file mode 100644 index 000000000..92f51c390 --- /dev/null +++ b/recipes/wip/games/other/vvvvvv/recipe.toml @@ -0,0 +1,24 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/xTibor/VVVVVV" +upstream = "https://github.com/TerryCavanagh/VVVVVV" +branch = "redox" +script = "COOKBOOK_SOURCE=${COOKBOOK_SOURCE}/desktop_version" +[build] +template = "cmake" +cmakeflags = [ + "-DSDL2_INCLUDE_DIRS=${COOKBOOK_SYSROOT}/include/SDL2", + "-DSDL2_LIBRARIES="-lSDL2main -lSDL2_mixer -lSDL2 $(${TARGET}-pkg-config --libs glu) -lorbital -lz -lvorbisfile -lvorbis -logg" .", +] +dependencies = [ + "sdl2-image", + "sdl2-mixer", + "sdl2", + "liborbital", + "llvm18", + "mesa", + "mesa-glu", + "zlib", + "libogg", + "libvorbis", +] diff --git a/recipes/wip/games/other/wesnoth/recipe.toml b/recipes/wip/games/other/wesnoth/recipe.toml new file mode 100644 index 000000000..890ee7ffe --- /dev/null +++ b/recipes/wip/games/other/wesnoth/recipe.toml @@ -0,0 +1,37 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/wesnoth/wesnoth" +branch = "1.14.6" +[build] +template = "cmake" +cmakeflags = [ + "-DCMAKE_TRY_COMPILE_TARGET_TYPE=DYNAMIC_LIBRARY", + "-DENABLE_SERVER=OFF", + "-DENABLE_TESTS=OFF" + "-DCRYPTO_LIBRARY=openssl", + "-DSDL2_LIBRARY=sdl2", + "-DSDL2_IMAGE_LIBRARY=SDL2_image", + "-DSDL2_MIXER_LIBRARY=SDL2_mixer", + "-DSDL2_TTF_LIBRARY=SDL2_ttf", + "-DVORBISFILE_INCLUDE_DIR=${COOKBOOK_SYSROOT}/include", + "-DVORBISFILE_LIBRARY=vorbisfile ..", +] +dependencies = [ + "cairo", + "freetype2", + "glib", + "libjpeg", + "liborbital", + "libpng", + "libvorbis", + "llvm18", + "mesa", + "mesa-glu", + "pcre", + "pixman", + "sdl2", + "sdl2-image", + "sdl2-mixer", + "sdl2-ttf", + "zlib", +] diff --git a/recipes/wip/games/vvvvvv/recipe.sh b/recipes/wip/games/vvvvvv/recipe.sh deleted file mode 100644 index 7964cafb3..000000000 --- a/recipes/wip/games/vvvvvv/recipe.sh +++ /dev/null @@ -1,38 +0,0 @@ -VERSION=2.0 -GIT=https://github.com/xTibor/VVVVVV -BRANCH=redox -GIT_UPSTREAM=https://github.com/TerryCavanagh/VVVVVV -BUILD_DEPENDS=(sdl2-image sdl2-mixer sdl2 liborbital llvm18 mesa mesa-glu zlib libogg libvorbis) - -function recipe_version { - printf "1.0.0" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - cd desktop_version - - cmake \ - -DCMAKE_INSTALL_PREFIX:PATH=/ \ - -DBUILD_STATIC=ON \ - -DBUILD_SHARED=OFF \ - -DSDL2_INCLUDE_DIRS="$sysroot/include/SDL2" \ - -DSDL2_LIBRARIES="-static -lSDL2main -lSDL2_mixer -lSDL2 $("${PKG_CONFIG}" --libs glu) -lorbital -lz -lvorbisfile -lvorbis -logg" \ - . - - "$REDOX_MAKE" -j"$($NPROC)" - skip=1 -} - -function recipe_clean { - echo "skipping clean" - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - mkdir -pv "$1/usr/games/vvvvvv" - cp ./desktop_version/VVVVVV "$1/usr/games/vvvvvv" - skip=1 -} diff --git a/recipes/wip/games/wesnoth/recipe.sh b/recipes/wip/games/wesnoth/recipe.sh deleted file mode 100644 index 26fc0739a..000000000 --- a/recipes/wip/games/wesnoth/recipe.sh +++ /dev/null @@ -1,62 +0,0 @@ -VERSION=1.14.6 -GIT=https://github.com/wesnoth/wesnoth.git -BRANCH=$VERSION -BUILD_DEPENDS=( - cairo - freetype2 - glib - libjpeg - liborbital - libpng - libvorbis - llvm18 - mesa mesa-glu - pcre - pixman - sdl2 sdl2-image sdl2-mixer sdl2-ttf - zlib -) - -function recipe_version { - printf "$VERSION" - skip=1 -} - -function recipe_build { - sysroot="$(realpath ../sysroot)" - export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib" - - rm -rf build - mkdir -p build - cd build - set -x - cmake \ - -DCMAKE_INSTALL_PREFIX:PATH=/ \ - -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY \ - -DENABLE_SERVER=OFF \ - -DENABLE_TESTS=OFF \ - -DCRYPTO_LIBRARY=openssl \ - -DSDL2_LIBRARY=sdl2 \ - -DSDL2_IMAGE_LIBRARY=SDL2_image \ - -DSDL2_MIXER_LIBRARY=SDL2_mixer \ - -DSDL2_TTF_LIBRARY=SDL2_ttf \ - -DVORBISFILE_INCLUDE_DIR="${sysroot}/include" \ - -DVORBISFILE_LIBRARY=vorbisfile \ - .. - VERBOSE=1 "$REDOX_MAKE" all -j"$($NPROC)" - set +x - skip=1 -} - -function recipe_clean { - rm -rf build - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - mkdir -pv "$dest/bin" - cp "build/wesnoth" "$dest/bin/wesnoth" - skip=1 -} diff --git a/recipes/wip/graphics/editors/blender-lts/recipe.toml b/recipes/wip/graphics/editors/blender-lts/recipe.toml index 45fbd2e25..52b4308c9 100644 --- a/recipes/wip/graphics/editors/blender-lts/recipe.toml +++ b/recipes/wip/graphics/editors/blender-lts/recipe.toml @@ -1,11 +1,11 @@ -#TODO probably wrong script, see https://wiki.blender.org/wiki/Building_Blender/Linux/Generic_Distro -#TODO probably missing dependencies -#TODO port to Orbital -#TODO customization - https://wiki.blender.org/wiki/Building_Blender/Options +#TODO not compiled or tested +# build instructions: https://wiki.blender.org/wiki/Building_Blender/Linux/Generic_Distro +# probably missing dependencies +# customization - https://wiki.blender.org/wiki/Building_Blender/Options [source] tar = "https://download.blender.org/source/blender-3.6.5.tar.xz" [build] -template = "custom" +template = "cmake" dependencies = [ "dbus", "libdecor", @@ -24,20 +24,3 @@ dependencies = [ "mesa-x11", "libxkbcommon", ] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/graphics/editors/blender/recipe.toml b/recipes/wip/graphics/editors/blender/recipe.toml index b50d7d6d0..0399b0e69 100644 --- a/recipes/wip/graphics/editors/blender/recipe.toml +++ b/recipes/wip/graphics/editors/blender/recipe.toml @@ -1,11 +1,11 @@ -#TODO probably wrong script, see https://wiki.blender.org/wiki/Building_Blender/Linux/Generic_Distro -#TODO probably missing dependencies -#TODO port to Orbital -#TODO customization - https://wiki.blender.org/wiki/Building_Blender/Options +#TODO not compiled or tested +# build instructions: https://wiki.blender.org/wiki/Building_Blender/Linux/Generic_Distro +# probably missing dependencies +# customization - https://wiki.blender.org/wiki/Building_Blender/Options [source] tar = "https://download.blender.org/source/blender-4.1.0.tar.xz" [build] -template = "custom" +template = "cmake" dependencies = [ "dbus", "libdecor", @@ -24,20 +24,3 @@ dependencies = [ "mesa-x11", "libxkbcommon", ] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/graphics/editors/opentoonz/recipe.toml b/recipes/wip/graphics/editors/opentoonz/recipe.toml index 029a3153d..32b9b08bf 100644 --- a/recipes/wip/graphics/editors/opentoonz/recipe.toml +++ b/recipes/wip/graphics/editors/opentoonz/recipe.toml @@ -1,10 +1,11 @@ -#TODO probably wrong script, see https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md +#TODO not compiled or tested #TODO missing dependencies +# build instructions: https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md [source] git = "https://github.com/opentoonz/opentoonz" rev = "dd4cb36142ebf65a2aa74ff8575002863d3e17fc" [build] -template = "custom" +template = "cmake" dependencies = [ "boost", "qt5-base", @@ -13,18 +14,3 @@ dependencies = [ "libmypaint", "opencv4", ] -script = """ -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/graphics/other/appleseed/recipe.toml b/recipes/wip/graphics/other/appleseed/recipe.toml index 45a947dfb..76def06ba 100644 --- a/recipes/wip/graphics/other/appleseed/recipe.toml +++ b/recipes/wip/graphics/other/appleseed/recipe.toml @@ -1,26 +1,12 @@ -#TODO maybe incomplete script, see https://github.com/appleseedhq/appleseed/wiki/Building-appleseed-on-Linux +#TODO not compiled or tested +# build instructions: https://github.com/appleseedhq/appleseed/wiki/Building-appleseed-on-Linux [source] git = "https://github.com/appleseedhq/appleseed" rev = "015adb503af58cb80103e0c3ddeefc20d99d204f" [build] -template = "custom" +template = "cmake" dependencies = [ "zlib", "qt5-base", "libnsl", ] -script = """ -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/graphics/other/cmark/recipe.toml b/recipes/wip/graphics/other/cmark/recipe.toml index 0bb76c0b5..8b616f4ac 100644 --- a/recipes/wip/graphics/other/cmark/recipe.toml +++ b/recipes/wip/graphics/other/cmark/recipe.toml @@ -1,21 +1,7 @@ -#TODO maybe incomplete script, see https://github.com/commonmark/cmark#installing +#TODO not compiled or tested +# build instructions: https://github.com/commonmark/cmark#installing [source] git = "https://github.com/commonmark/cmark" rev = "5ba25ff40eba44c811f79ab6a792baf945b8307c" [build] -template = "custom" -script = """ -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" +template = "cmake" diff --git a/recipes/wip/graphics/other/darktable/recipe.toml b/recipes/wip/graphics/other/darktable/recipe.toml index 9b0f4bbd0..6427794c0 100644 --- a/recipes/wip/graphics/other/darktable/recipe.toml +++ b/recipes/wip/graphics/other/darktable/recipe.toml @@ -1,9 +1,10 @@ -#TODO maybe incomplete script, see https://github.com/darktable-org/darktable?tab=readme-ov-file#linux -# dependencies - https://github.com/darktable-org/darktable?tab=readme-ov-file#dependencies +#TODO not compiled or tested +# build instructions: https://github.com/darktable-org/darktable#linux +# dependencies: https://github.com/darktable-org/darktable#dependencies [source] tar = "https://github.com/darktable-org/darktable/releases/download/release-4.8.0/darktable-4.8.0.tar.xz" [build] -template = "custom" +template = "cmake" dependencies = [ "gtk3", "glib", @@ -17,18 +18,3 @@ dependencies = [ "libwebp", "libgphoto2", ] -script = """ -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -"""