diff --git a/recipes/groups/sys/recipe.toml b/recipes/groups/sys/recipe.toml index f04d92c27..52d380681 100644 --- a/recipes/groups/sys/recipe.toml +++ b/recipes/groups/sys/recipe.toml @@ -1,9 +1,8 @@ [package] dependencies = [ + "base", "bootloader", + "coreutils", "kernel", "relibc", - "base", - "coreutils", - "base-initfs", ] diff --git a/recipes/tools/cosmic-sync/recipe.toml b/recipes/tools/cosmic-sync/recipe.toml new file mode 100644 index 000000000..8c5083952 --- /dev/null +++ b/recipes/tools/cosmic-sync/recipe.toml @@ -0,0 +1,22 @@ +[source] +git = "https://github.com/pop-os/cosmic-sync.git" +branch = "master" + +[build] +template = "custom" +dependencies = [ + #"gettext", + #"libxkbcommon", + "openssl3", +] +script = """ +DYNAMIC_INIT +#export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr" +#export ZSTD_SYS_USE_PKG_CONFIG=1 +cookbook_cargo_packages cosmic-sync-daemon cosmic-sync-gui --no-default-features + +#TODO: install with just? +APPID="com.system76.CosmicSync" +mkdir -pv "${COOKBOOK_STAGE}/usr/share/applications/" +cp -v "${COOKBOOK_SOURCE}/res/${APPID}.desktop" "${COOKBOOK_STAGE}/usr/share/applications/" +"""