Repository navigation
graft: add new package #30553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
graft: add new package #30553
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -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 <abinashsena@gmail.com> | ||||||
| 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 | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Generated by Claude Code |
||||||
| 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)) | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build fails on all 10 target arches because the tarball root is a cargo workspace, and
Build/Compile/Cargorunscargo install --path $(PKG_BUILD_DIR)/$(MAKE_PATH)with the defaultMAKE_PATH ?= .:Set
MAKE_PATHto the subdirectory holding thegraftbinary crate'sCargo.toml(e.g.MAKE_PATH:=crates/graft) so cargo gets a package manifest rather than the workspace root.Generated by Claude Code