diff --git a/recipes/demos/cairo-demo/recipe.toml b/recipes/demos/cairo-demo/recipe.toml index 41b17176..9dfe7eb4 100644 --- a/recipes/demos/cairo-demo/recipe.toml +++ b/recipes/demos/cairo-demo/recipe.toml @@ -13,13 +13,12 @@ dependencies = [ ] template = "custom" script = """ -"${CXX}" \ - $("${PKG_CONFIG}" --cflags cairo) \ +DYNAMIC_INIT +${CXX} ${CPPFLAGS} ${LDFLAGS} \ "${COOKBOOK_RECIPE}/cairo-demo.c" \ -o cairo-demo \ - -static \ - $("${PKG_CONFIG}" --libs cairo) \ - -lorbital + -lorbital $("${PKG_CONFIG}" --libs cairo) + mkdir -pv "${COOKBOOK_STAGE}/bin" cp -v "cairo-demo" "${COOKBOOK_STAGE}/bin/cairo-demo" """ diff --git a/recipes/wip/games/other/wesnoth/recipe.toml b/recipes/wip/games/other/wesnoth/recipe.toml index 8b28a262..05a79fdf 100644 --- a/recipes/wip/games/other/wesnoth/recipe.toml +++ b/recipes/wip/games/other/wesnoth/recipe.toml @@ -1,13 +1,15 @@ #TODO not compiled or tested [source] git = "https://github.com/wesnoth/wesnoth" -branch = "1.14.6" +rev = "1.19.23" +shallow_clone = true + [build] template = "cmake" cmakeflags = [ "-DCMAKE_TRY_COMPILE_TARGET_TYPE=DYNAMIC_LIBRARY", "-DENABLE_SERVER=OFF", - "-DENABLE_TESTS=OFF" + "-DENABLE_TESTS=OFF", "-DCRYPTO_LIBRARY=openssl", "-DSDL2_LIBRARY=sdl2", "-DSDL2_IMAGE_LIBRARY=SDL2_image",