feat: build Cub CLI and TUI workflows
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -12,8 +12,30 @@ pub fn map_dependency(arch_name: &str) -> MappedDep {
|
||||
let (mapped, is_exact) = match base.as_str() {
|
||||
"glibc" => ("relibc".to_string(), false),
|
||||
"gcc" | "make" => ("build-base".to_string(), false),
|
||||
"gcc-libs" => ("gcc".to_string(), false),
|
||||
"pkg-config" => ("pkg-config".to_string(), true),
|
||||
"glib2" => ("glib".to_string(), true),
|
||||
"gtk3" => ("gtk".to_string(), false),
|
||||
"gtk4" => ("gtk".to_string(), false),
|
||||
"openssl" => ("openssl3".to_string(), false),
|
||||
"qt5-base" => ("qtbase".to_string(), false),
|
||||
"qt6-base" => ("qtbase".to_string(), false),
|
||||
"sdl2" => ("sdl2".to_string(), true),
|
||||
"freetype2" => ("freetype".to_string(), true),
|
||||
"fontconfig" => ("fontconfig".to_string(), true),
|
||||
"harfbuzz" => ("harfbuzz".to_string(), true),
|
||||
"libpng" => ("libpng".to_string(), true),
|
||||
"libjpeg-turbo" => ("libjpeg-turbo".to_string(), true),
|
||||
"libx11" => ("libx11".to_string(), false),
|
||||
"libxcb" => ("libxcb".to_string(), false),
|
||||
"wayland" => ("wayland".to_string(), true),
|
||||
"wayland-protocols" => ("wayland-protocols".to_string(), true),
|
||||
"xorg-server" => (String::new(), false),
|
||||
"xorgproto" => (String::new(), false),
|
||||
"llvm" => ("llvm".to_string(), true),
|
||||
"clang" => ("llvm".to_string(), false),
|
||||
"linux-api-headers" => (String::new(), false),
|
||||
"linux-firmware" => (String::new(), false),
|
||||
"zlib" => ("zlib".to_string(), true),
|
||||
"libffi" => ("libffi".to_string(), true),
|
||||
"pcre2" => ("pcre2".to_string(), true),
|
||||
|
||||
@@ -18,6 +18,12 @@ pub enum CubError {
|
||||
Conversion(String),
|
||||
#[error("Dependency resolution failed: {0}")]
|
||||
Dependency(String),
|
||||
#[error("AUR error: {0}")]
|
||||
Aur(String),
|
||||
#[error("Storage error: {0}")]
|
||||
Storage(String),
|
||||
#[error("Network error: {0}")]
|
||||
Network(String),
|
||||
#[error("Sandbox error: {0}")]
|
||||
Sandbox(String),
|
||||
}
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
pub mod rbpkgbuild;
|
||||
pub mod rbsrcinfo;
|
||||
pub mod cookbook;
|
||||
pub mod aur;
|
||||
pub mod converter;
|
||||
pub mod cook;
|
||||
pub mod cookbook;
|
||||
pub mod deps;
|
||||
pub mod sandbox;
|
||||
pub mod error;
|
||||
#[cfg(feature = "full")]
|
||||
pub mod package;
|
||||
pub mod error;
|
||||
pub mod pkgbuild;
|
||||
pub mod rbpkgbuild;
|
||||
pub mod recipe;
|
||||
pub mod rbsrcinfo;
|
||||
pub mod sandbox;
|
||||
pub mod storage;
|
||||
|
||||
pub use error::CubError;
|
||||
|
||||
Reference in New Issue
Block a user