Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions srcpkgs/Hieroglyphic/patches/statically-embed-onnx.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff --git a/Cargo.toml b/Cargo.toml
index 90121a2..1766ccc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,6 +29,8 @@ ort = { version = "2.0.0-rc.12", default-features = false, features = [
"std",
"ndarray",
"api-24",
+ "download-binaries",
+ "tls-rustls"
] }
ndarray = "0.17"
base64 = "0.22"
diff --git a/meson.build b/meson.build
index 9d45175..96f3150 100644
--- a/meson.build
+++ b/meson.build
@@ -14,7 +14,6 @@ dependency('glib-2.0', version: '>= 2.70')
dependency('gio-2.0', version: '>= 2.70')
dependency('gtk4', version: '>= 4.20.0')
dependency('libadwaita-1', version: '>= 1.8')
-dependency('libonnxruntime', version: '>= 1.23')

find_program('glib-compile-resources', required: true)
glib_compile_schemas = find_program('glib-compile-schemas', required: true)
22 changes: 22 additions & 0 deletions srcpkgs/Hieroglyphic/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Template file for 'Hieroglyphic'
pkgname=Hieroglyphic
version=2.3.0
revision=1
archs="~i686*"
build_style=meson
build_helper=rust
hostmakedepends="pkg-config cmake cargo rust gettext desktop-file-utils glib-devel
gtk-update-icon-cache gtk4-update-icon-cache"
makedepends="gtk4-devel libadwaita-devel rust-std openssl-devel"
short_desc="Find LaTeX and Typst symbols"
maintainer="Bnyro <bnyro@tutanota.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/FineFindus/Hieroglyphic"
distfiles="https://github.com/FineFindus/Hieroglyphic/archive/refs/tags/v${version}.tar.gz"
checksum=5efec292930f81e8821884c7f4ac9acfc3e1844518318767f0ad6a0e91ca7409

pre_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build -e "s%rust_target /%'${RUST_TARGET}' / 'release' /%"
fi
}
20 changes: 20 additions & 0 deletions srcpkgs/onnx/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'onnx'
pkgname=onnx
version=1.24.4
revision=1
build_style=cmake
#configure_args=""
#make_build_args=""
#make_install_args=""
#conf_files=""
#make_dirs="/var/log/dir 0755 root root"
hostmakedepends=""

Check failure on line 11 in srcpkgs/onnx/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

variable set to empty string: hostmakedepends=""
makedepends=""

Check failure on line 12 in srcpkgs/onnx/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

variable set to empty string: makedepends=""
depends=""

Check failure on line 13 in srcpkgs/onnx/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

variable set to empty string: depends=""
short_desc="ML inferencing accelerator"
maintainer="Bnyro <bnyro@tutanota.com>"
license="MIT"

Check failure on line 16 in srcpkgs/onnx/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

license 'MIT', but no use of vlicense
homepage="https://onnxruntime.ai/"
changelog="https://github.com/microsoft/onnxruntime/releases"
distfiles="https://github.com/microsoft/onnxruntime/archive/refs/tags/v${version}.tar.gz"
checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb
Loading