From 00239978508d3dd2e7c4b8fc6b3dc6d853995e6d Mon Sep 17 00:00:00 2001 From: Abinash Senapati Date: Thu, 17 Sep 2026 17:21:22 +0530 Subject: [PATCH] graft: add new package Local-first composition workspace. Incremental compiler for video. Runtime ffmpeg via shell-out; rust/host for the build. https://github.com/eonik-ai/graft/releases/tag/v0.2.2 Signed-off-by: Abinash Senapati Co-authored-by: Cursor --- utils/graft/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 utils/graft/Makefile diff --git a/utils/graft/Makefile b/utils/graft/Makefile new file mode 100644 index 00000000000000..c5dad31d7198bd --- /dev/null +++ b/utils/graft/Makefile @@ -0,0 +1,41 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=graft +PKG_VERSION:=0.2.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/eonik-ai/graft/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=aa736b49bd825eaabcd0d713b3c0e502f794766c1c65cf061d18963daa69bf3b + +PKG_MAINTAINER:=Abinash Senapati +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DEPENDS:=rust/host +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk +include ../../lang/rust/rust-package.mk + +define Package/graft + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Change the hook. Keep the body + URL:=https://github.com/eonik-ai/graft + DEPENDS:=$(RUST_ARCH_DEPENDS) +ffmpeg +endef + +define Package/graft/description + Local-first composition workspace. Incremental compiler for video. + Git owns recipe history; graft owns scions, layers, and compile. + Runtime ffmpeg is not linked; graft shells out. +endef + +define Package/graft/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/graft $(1)/usr/bin +endef + +$(eval $(call RustBinPackage,graft)) +$(eval $(call BuildPackage,graft))