From c2f6aeed6a266741617074049b180e566a077526 Mon Sep 17 00:00:00 2001 From: David Guglielmi Date: Sat, 13 Jan 2024 18:08:30 +0100 Subject: [PATCH] gui-libs/glycin-loaders: re-add heif use flag --- gui-libs/glycin-loaders/Manifest | 2 +- .../glycin-loaders-0.1.2-r1.ebuild | 354 +++++++ .../glycin-loaders-0.1.2.ebuild | 968 ------------------ 3 files changed, 355 insertions(+), 969 deletions(-) create mode 100644 gui-libs/glycin-loaders/glycin-loaders-0.1.2-r1.ebuild delete mode 100644 gui-libs/glycin-loaders/glycin-loaders-0.1.2.ebuild diff --git a/gui-libs/glycin-loaders/Manifest b/gui-libs/glycin-loaders/Manifest index 39a774a..240157e 100644 --- a/gui-libs/glycin-loaders/Manifest +++ b/gui-libs/glycin-loaders/Manifest @@ -305,4 +305,4 @@ DIST zune-inflate-0.2.54.crate 37973 BLAKE2B 8bdb532fae0da1d61fc9fc72ea72a933911 DIST zvariant-3.15.0.crate 72221 BLAKE2B d2bea9c05edfda4a3c27a813a2d5274d3e7e35fa56d17bee91958c641e45b8c9bc7eb4f7787e099d712585e770012f364e244c4c1c30cc918886a688f666d642 SHA512 7acbeff6f717530ad771a415b5fd59804e6cff862c36ff4a7adee715d988a5ced8bcd47d3b41636a716239af8c0ac5b9dedaa663acc6f9f725b4a6072088341c DIST zvariant_derive-3.15.0.crate 10943 BLAKE2B e75d5feb9a76b74c7b77d0be8552c06a2323337884c5cae60827bf7c470d0875d2c3d40c393fc84c63789206650100b6726da7e57446958ae07d5c20605905c6 SHA512 262009179f7c5d6b559709be69c89697eccc0202fbe52575f116894390b4443986edf6bf51ad83177423d5713217ec8f0fb9ecd3382960120055666124afabf8 DIST zvariant_utils-1.0.1.crate 6223 BLAKE2B ea304bac65493168f1be268192829d5a666a267b1f69533a9d2da2b2d2447d7a9f0f70164d60ab02afd90134e37060f86706bc7047c23aedb198d0834f987d15 SHA512 3cf364d53f1169d5274998c3f06ef1a9371071644b256223441deb004553d4eccbb564305ddc0693cf1b7a595e8c1b989df0f8b4eb8447a72782d7d200120f36 -EBUILD glycin-loaders-0.1.2.ebuild 18097 BLAKE2B cd35c1d229cb132b778eaa5019e3383f297b405595fe378f52ddb9eda1efebc41074dc5b9750503f7ef38cb32a018c2ad9399ff3e1bf8572e1e51f52974cdf73 SHA512 996828bb23b6da9269e31e9c3282b8a255e3bec6b688229e91caf6b99eaf480602403d90bf6fa134f5eca3c36bd08355f7c947e562e00ae2a2dd8f47267f1683 +EBUILD glycin-loaders-0.1.2-r1.ebuild 6714 BLAKE2B 7edc69f67ceebba01bc15e8a0b7fe3f2db07faa499983f47cc4d959b28a38ace2219c0e39b709adfd751eb3a97f5d88f30b85148aa6f950f017939ca449d3b4e SHA512 0208adc3c8a1dcf9253ca21af5d6464a4f60958d6834a7def046c7867555a6de30942062527d247ca2ff7bc8463585ed0706a95e6f08a6d91e92f3ad35710ac9 diff --git a/gui-libs/glycin-loaders/glycin-loaders-0.1.2-r1.ebuild b/gui-libs/glycin-loaders/glycin-loaders-0.1.2-r1.ebuild new file mode 100644 index 0000000..b5fd538 --- /dev/null +++ b/gui-libs/glycin-loaders/glycin-loaders-0.1.2-r1.ebuild @@ -0,0 +1,354 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Autogenerated by pycargoebuild 0.12.1 +CRATES=" + addr2line@0.21.0 + adler@1.0.2 + aho-corasick@1.0.5 + anyhow@1.0.75 + approx@0.5.1 + async-broadcast@0.5.1 + async-channel@1.9.0 + async-executor@1.5.1 + async-fs@1.6.0 + async-global-executor@2.3.1 + async-io@1.13.0 + async-lock@2.8.0 + async-process@1.7.0 + async-recursion@1.0.5 + async-std@1.12.0 + async-task@4.4.0 + async-trait@0.1.73 + atomic-waker@1.1.1 + autocfg@1.1.0 + backtrace@0.3.69 + bit_field@0.10.2 + bitflags@1.3.2 + bitflags@2.4.0 + block-buffer@0.10.4 + block@0.1.6 + blocking@1.3.1 + bumpalo@3.13.0 + bytemuck@1.13.1 + byteorder@1.4.3 + cairo-rs@0.18.0 + cairo-sys-rs@0.18.0 + cast@0.3.0 + cc@1.0.83 + cfg-expr@0.15.4 + cfg-if@1.0.0 + color_quant@1.1.0 + concurrent-queue@2.2.0 + cpufeatures@0.2.9 + crc32fast@1.3.2 + crossbeam-channel@0.5.8 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.15 + crossbeam-utils@0.8.16 + crunchy@0.2.2 + crypto-common@0.1.6 + cssparser-macros@0.6.1 + cssparser@0.31.2 + data-url@0.3.0 + derivative@2.2.0 + derive_more@0.99.17 + digest@0.10.7 + dtoa-short@0.3.4 + dtoa@1.0.9 + dunce@1.0.4 + either@1.9.0 + encoding_rs@0.8.33 + enumflags2@0.7.7 + enumflags2_derive@0.7.7 + enumn@0.1.12 + equivalent@1.0.1 + errno-dragonfly@0.1.2 + errno@0.3.3 + event-listener@2.5.3 + exr@1.7.0 + fastrand@1.9.0 + fastrand@2.0.0 + fdeflate@0.3.0 + flate2@1.0.27 + float-cmp@0.9.0 + flume@0.10.14 + foreign-types-macros@0.2.3 + foreign-types-shared@0.3.1 + foreign-types@0.5.0 + form_urlencoded@1.2.0 + four-cc@0.3.0 + futf@0.1.5 + futures-channel@0.3.28 + futures-core@0.3.28 + futures-executor@0.3.28 + futures-io@0.3.28 + futures-lite@1.13.0 + futures-macro@0.3.28 + futures-sink@0.3.28 + futures-task@0.3.28 + futures-util@0.3.28 + futures@0.3.28 + fxhash@0.2.1 + gdk-pixbuf-sys@0.18.0 + gdk-pixbuf@0.18.0 + gdk4-sys@0.7.2 + gdk4@0.7.2 + generic-array@0.14.7 + getrandom@0.2.10 + gettext-rs@0.7.0 + gettext-sys@0.21.3 + gif@0.12.0 + gimli@0.28.0 + gio-sys@0.18.1 + gio@0.18.1 + glib-macros@0.18.0 + glib-sys@0.18.1 + glib@0.18.1 + gloo-timers@0.2.6 + glycin-utils@0.1.0 + glycin@0.1.0 + gobject-sys@0.18.0 + half@2.2.1 + hashbrown@0.14.0 + heck@0.4.1 + hermit-abi@0.3.2 + hex@0.4.3 + idna@0.4.0 + image@0.24.7 + indexmap@2.0.0 + instant@0.1.12 + io-lifetimes@1.0.11 + itertools@0.11.0 + itoa@1.0.9 + jobserver@0.1.26 + jpeg-decoder@0.3.0 + js-sys@0.3.64 + jxl-bitstream@0.2.3 + jxl-coding@0.2.3 + jxl-color@0.3.2 + jxl-frame@0.4.0 + jxl-grid@0.1.1 + jxl-image@0.4.1 + jxl-modular@0.2.2 + jxl-oxide@0.3.0 + jxl-render@0.3.0 + jxl-vardct@0.2.1 + kamadak-exif@0.5.5 + kv-log-macro@1.0.7 + language-tags@0.3.2 + lazy_static@1.4.0 + lcms2-sys@4.0.3 + lcms2@5.6.0 + lebe@0.5.2 + libc@0.2.147 + libheif-rs@0.20.0 + libheif-sys@1.16.1 + librsvg@2.57.0 + linux-raw-sys@0.3.8 + linux-raw-sys@0.4.5 + locale_config@0.3.0 + lock_api@0.4.10 + log@0.4.20 + mac@0.1.1 + malloc_buf@0.0.6 + markup5ever@0.11.0 + matrixmultiply@0.3.7 + memchr@2.6.3 + memfd@0.6.3 + memmap2@0.7.1 + memoffset@0.7.1 + memoffset@0.9.0 + miniz_oxide@0.7.1 + mutate_once@0.1.1 + nalgebra-macros@0.2.1 + nalgebra@0.32.3 + nanorand@0.7.0 + new_debug_unreachable@1.0.4 + nix@0.26.4 + num-complex@0.4.4 + num-integer@0.1.45 + num-rational@0.4.1 + num-traits@0.2.16 + num_cpus@1.16.0 + objc-foundation@0.1.1 + objc@0.2.7 + objc_id@0.1.1 + object@0.32.1 + once_cell@1.18.0 + ordered-stream@0.2.0 + pango-sys@0.18.0 + pango@0.18.0 + pangocairo-sys@0.18.0 + pangocairo@0.18.0 + parking@2.1.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + paste@1.0.14 + percent-encoding@2.3.0 + phf@0.10.1 + phf@0.11.2 + phf_codegen@0.10.0 + phf_generator@0.10.0 + phf_generator@0.11.2 + phf_macros@0.11.2 + phf_shared@0.10.0 + phf_shared@0.11.2 + pin-project-internal@1.1.3 + pin-project-lite@0.2.13 + pin-project@1.1.3 + pin-utils@0.1.0 + pkg-config@0.3.27 + png@0.17.10 + polling@2.8.0 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + proc-macro-crate@1.3.1 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.66 + qoi@0.4.1 + quote@1.0.33 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rawpointer@0.2.1 + rayon-core@1.11.0 + rayon@1.7.0 + rctree@0.5.0 + redox_syscall@0.3.5 + regex-automata@0.3.8 + regex-syntax@0.7.5 + regex@1.9.5 + rgb@0.8.36 + rustc-demangle@0.1.23 + rustix@0.37.23 + rustix@0.38.11 + safe-transmute@0.11.2 + safe_arch@0.7.1 + scopeguard@1.2.0 + selectors@0.25.0 + serde@1.0.188 + serde_derive@1.0.188 + serde_repr@0.1.16 + serde_spanned@0.6.3 + servo_arc@0.3.0 + sha1@0.10.5 + signal-hook-registry@1.4.1 + signal-hook@0.3.17 + simba@0.8.1 + simd-adler32@0.3.7 + siphasher@0.3.11 + slab@0.4.9 + smallvec@1.11.0 + socket2@0.4.9 + spin@0.9.8 + stable_deref_trait@1.2.0 + static_assertions@1.1.0 + string_cache@0.8.7 + string_cache_codegen@0.5.2 + syn@1.0.109 + syn@2.0.30 + system-deps@6.1.1 + target-lexicon@0.12.11 + temp-dir@0.1.11 + tempfile@3.8.0 + tendril@0.4.3 + thiserror-impl@1.0.48 + thiserror@1.0.48 + tiff@0.9.0 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.7.6 + toml_datetime@0.6.3 + toml_edit@0.19.14 + tracing-attributes@0.1.26 + tracing-core@0.1.31 + tracing@0.1.37 + typenum@1.16.0 + uds_windows@1.0.2 + unicode-bidi@0.3.13 + unicode-ident@1.0.11 + unicode-normalization@0.1.22 + url@2.4.1 + utf-8@0.7.6 + value-bag@1.4.1 + vcpkg@0.2.15 + version-compare@0.1.1 + version_check@0.9.4 + waker-fn@1.1.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.87 + wasm-bindgen-futures@0.4.37 + wasm-bindgen-macro-support@0.2.87 + wasm-bindgen-macro@0.2.87 + wasm-bindgen-shared@0.2.87 + wasm-bindgen@0.2.87 + web-sys@0.3.64 + weezl@0.1.7 + wide@0.7.11 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + winnow@0.5.15 + xdg-home@1.0.0 + xml5ever@0.17.0 + zbus@3.14.1 + zbus_macros@3.14.1 + zbus_names@2.6.0 + zune-inflate@0.2.54 + zvariant@3.15.0 + zvariant_derive@3.15.0 + zvariant_utils@1.0.1 +" + +inherit cargo gnome.org meson xdg + +DESCRIPTION="Sandboxed and extendable image decoding" +HOMEPAGE="https://gitlab.gnome.org/sophie-h/glycin" + +SRC_URI+=" $(cargo_crate_uris ${CRATES})" + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD LGPL-2.1+ MIT + MPL-2.0 Unicode-DFS-2016 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="+heif" + +DEPEND=" + >=gui-libs/gtk-4.12.0:4 + >=x11-libs/cairo-1.17.0 + heif? ( >=media-libs/libheif-1.14.2 ) + " +RDEPEND="${DEPEND}" +BDEPEND=">=virtual/rust-1.70" + +src_configure() { + local GLYCIN_LOADERS="glycin-image-rs,glycin-jxl,glycin-svg" + if use heif; then + GLYCIN_LOADERS+=",glycin-heif" + fi + + local emesonargs=( + -Dloaders=${GLYCIN_LOADERS} + -Dtest_skip_install=true + ) + meson_src_configure + ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo" || die +} diff --git a/gui-libs/glycin-loaders/glycin-loaders-0.1.2.ebuild b/gui-libs/glycin-loaders/glycin-loaders-0.1.2.ebuild deleted file mode 100644 index 06220dd..0000000 --- a/gui-libs/glycin-loaders/glycin-loaders-0.1.2.ebuild +++ /dev/null @@ -1,968 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Autogenerated by pycargoebuild 0.12.1 - -# glycin-image-rs-0.1.0 -CRATES=" - addr2line@0.21.0 - adler@1.0.2 - aho-corasick@1.0.5 - anyhow@1.0.75 - approx@0.5.1 - async-broadcast@0.5.1 - async-channel@1.9.0 - async-executor@1.5.1 - async-fs@1.6.0 - async-global-executor@2.3.1 - async-io@1.13.0 - async-lock@2.8.0 - async-process@1.7.0 - async-recursion@1.0.5 - async-std@1.12.0 - async-task@4.4.0 - async-trait@0.1.73 - atomic-waker@1.1.1 - autocfg@1.1.0 - backtrace@0.3.69 - bit_field@0.10.2 - bitflags@1.3.2 - bitflags@2.4.0 - block-buffer@0.10.4 - block@0.1.6 - blocking@1.3.1 - bumpalo@3.13.0 - bytemuck@1.13.1 - byteorder@1.4.3 - cairo-rs@0.18.0 - cairo-sys-rs@0.18.0 - cast@0.3.0 - cc@1.0.83 - cfg-expr@0.15.4 - cfg-if@1.0.0 - color_quant@1.1.0 - concurrent-queue@2.2.0 - cpufeatures@0.2.9 - crc32fast@1.3.2 - crossbeam-channel@0.5.8 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - crunchy@0.2.2 - crypto-common@0.1.6 - cssparser-macros@0.6.1 - cssparser@0.31.2 - data-url@0.3.0 - derivative@2.2.0 - derive_more@0.99.17 - digest@0.10.7 - dtoa-short@0.3.4 - dtoa@1.0.9 - dunce@1.0.4 - either@1.9.0 - encoding_rs@0.8.33 - enumflags2@0.7.7 - enumflags2_derive@0.7.7 - enumn@0.1.12 - equivalent@1.0.1 - errno-dragonfly@0.1.2 - errno@0.3.3 - event-listener@2.5.3 - exr@1.7.0 - fastrand@1.9.0 - fastrand@2.0.0 - fdeflate@0.3.0 - flate2@1.0.27 - float-cmp@0.9.0 - flume@0.10.14 - foreign-types-macros@0.2.3 - foreign-types-shared@0.3.1 - foreign-types@0.5.0 - form_urlencoded@1.2.0 - four-cc@0.3.0 - futf@0.1.5 - futures-channel@0.3.28 - futures-core@0.3.28 - futures-executor@0.3.28 - futures-io@0.3.28 - futures-lite@1.13.0 - futures-macro@0.3.28 - futures-sink@0.3.28 - futures-task@0.3.28 - futures-util@0.3.28 - futures@0.3.28 - fxhash@0.2.1 - gdk-pixbuf-sys@0.18.0 - gdk-pixbuf@0.18.0 - gdk4-sys@0.7.2 - gdk4@0.7.2 - generic-array@0.14.7 - getrandom@0.2.10 - gettext-rs@0.7.0 - gettext-sys@0.21.3 - gif@0.12.0 - gimli@0.28.0 - gio-sys@0.18.1 - gio@0.18.1 - glib-macros@0.18.0 - glib-sys@0.18.1 - glib@0.18.1 - gloo-timers@0.2.6 - glycin-utils@0.1.0 - glycin@0.1.0 - gobject-sys@0.18.0 - half@2.2.1 - hashbrown@0.14.0 - heck@0.4.1 - hermit-abi@0.3.2 - hex@0.4.3 - idna@0.4.0 - image@0.24.7 - indexmap@2.0.0 - instant@0.1.12 - io-lifetimes@1.0.11 - itertools@0.11.0 - itoa@1.0.9 - jobserver@0.1.26 - jpeg-decoder@0.3.0 - js-sys@0.3.64 - jxl-bitstream@0.2.3 - jxl-coding@0.2.3 - jxl-color@0.3.2 - jxl-frame@0.4.0 - jxl-grid@0.1.1 - jxl-image@0.4.1 - jxl-modular@0.2.2 - jxl-oxide@0.3.0 - jxl-render@0.3.0 - jxl-vardct@0.2.1 - kamadak-exif@0.5.5 - kv-log-macro@1.0.7 - language-tags@0.3.2 - lazy_static@1.4.0 - lcms2-sys@4.0.3 - lcms2@5.6.0 - lebe@0.5.2 - libc@0.2.147 - libheif-rs@0.20.0 - libheif-sys@1.16.1 - librsvg@2.57.0 - linux-raw-sys@0.3.8 - linux-raw-sys@0.4.5 - locale_config@0.3.0 - lock_api@0.4.10 - log@0.4.20 - mac@0.1.1 - malloc_buf@0.0.6 - markup5ever@0.11.0 - matrixmultiply@0.3.7 - memchr@2.6.3 - memfd@0.6.3 - memmap2@0.7.1 - memoffset@0.7.1 - memoffset@0.9.0 - miniz_oxide@0.7.1 - mutate_once@0.1.1 - nalgebra-macros@0.2.1 - nalgebra@0.32.3 - nanorand@0.7.0 - new_debug_unreachable@1.0.4 - nix@0.26.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-rational@0.4.1 - num-traits@0.2.16 - num_cpus@1.16.0 - objc-foundation@0.1.1 - objc@0.2.7 - objc_id@0.1.1 - object@0.32.1 - once_cell@1.18.0 - ordered-stream@0.2.0 - pango-sys@0.18.0 - pango@0.18.0 - pangocairo-sys@0.18.0 - pangocairo@0.18.0 - parking@2.1.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - paste@1.0.14 - percent-encoding@2.3.0 - phf@0.10.1 - phf@0.11.2 - phf_codegen@0.10.0 - phf_generator@0.10.0 - phf_generator@0.11.2 - phf_macros@0.11.2 - phf_shared@0.10.0 - phf_shared@0.11.2 - pin-project-internal@1.1.3 - pin-project-lite@0.2.13 - pin-project@1.1.3 - pin-utils@0.1.0 - pkg-config@0.3.27 - png@0.17.10 - polling@2.8.0 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - proc-macro-crate@1.3.1 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.66 - qoi@0.4.1 - quote@1.0.33 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rawpointer@0.2.1 - rayon-core@1.11.0 - rayon@1.7.0 - rctree@0.5.0 - redox_syscall@0.3.5 - regex-automata@0.3.8 - regex-syntax@0.7.5 - regex@1.9.5 - rgb@0.8.36 - rustc-demangle@0.1.23 - rustix@0.37.23 - rustix@0.38.11 - safe-transmute@0.11.2 - safe_arch@0.7.1 - scopeguard@1.2.0 - selectors@0.25.0 - serde@1.0.188 - serde_derive@1.0.188 - serde_repr@0.1.16 - serde_spanned@0.6.3 - servo_arc@0.3.0 - sha1@0.10.5 - signal-hook-registry@1.4.1 - signal-hook@0.3.17 - simba@0.8.1 - simd-adler32@0.3.7 - siphasher@0.3.11 - slab@0.4.9 - smallvec@1.11.0 - socket2@0.4.9 - spin@0.9.8 - stable_deref_trait@1.2.0 - static_assertions@1.1.0 - string_cache@0.8.7 - string_cache_codegen@0.5.2 - syn@1.0.109 - syn@2.0.30 - system-deps@6.1.1 - target-lexicon@0.12.11 - temp-dir@0.1.11 - tempfile@3.8.0 - tendril@0.4.3 - thiserror-impl@1.0.48 - thiserror@1.0.48 - tiff@0.9.0 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - toml@0.7.6 - toml_datetime@0.6.3 - toml_edit@0.19.14 - tracing-attributes@0.1.26 - tracing-core@0.1.31 - tracing@0.1.37 - typenum@1.16.0 - uds_windows@1.0.2 - unicode-bidi@0.3.13 - unicode-ident@1.0.11 - unicode-normalization@0.1.22 - url@2.4.1 - utf-8@0.7.6 - value-bag@1.4.1 - vcpkg@0.2.15 - version-compare@0.1.1 - version_check@0.9.4 - waker-fn@1.1.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.87 - wasm-bindgen-futures@0.4.37 - wasm-bindgen-macro-support@0.2.87 - wasm-bindgen-macro@0.2.87 - wasm-bindgen-shared@0.2.87 - wasm-bindgen@0.2.87 - web-sys@0.3.64 - weezl@0.1.7 - wide@0.7.11 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.48.0 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - winnow@0.5.15 - xdg-home@1.0.0 - xml5ever@0.17.0 - zbus@3.14.1 - zbus_macros@3.14.1 - zbus_names@2.6.0 - zune-inflate@0.2.54 - zvariant@3.15.0 - zvariant_derive@3.15.0 - zvariant_utils@1.0.1 -" - -# glycin-jxl-0.1.0 -CRATES+=" - addr2line@0.21.0 - adler@1.0.2 - aho-corasick@1.0.5 - anyhow@1.0.75 - approx@0.5.1 - async-broadcast@0.5.1 - async-channel@1.9.0 - async-executor@1.5.1 - async-fs@1.6.0 - async-global-executor@2.3.1 - async-io@1.13.0 - async-lock@2.8.0 - async-process@1.7.0 - async-recursion@1.0.5 - async-std@1.12.0 - async-task@4.4.0 - async-trait@0.1.73 - atomic-waker@1.1.1 - autocfg@1.1.0 - backtrace@0.3.69 - bit_field@0.10.2 - bitflags@1.3.2 - bitflags@2.4.0 - block-buffer@0.10.4 - block@0.1.6 - blocking@1.3.1 - bumpalo@3.13.0 - bytemuck@1.13.1 - byteorder@1.4.3 - cairo-rs@0.18.0 - cairo-sys-rs@0.18.0 - cast@0.3.0 - cc@1.0.83 - cfg-expr@0.15.4 - cfg-if@1.0.0 - color_quant@1.1.0 - concurrent-queue@2.2.0 - cpufeatures@0.2.9 - crc32fast@1.3.2 - crossbeam-channel@0.5.8 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - crunchy@0.2.2 - crypto-common@0.1.6 - cssparser-macros@0.6.1 - cssparser@0.31.2 - data-url@0.3.0 - derivative@2.2.0 - derive_more@0.99.17 - digest@0.10.7 - dtoa-short@0.3.4 - dtoa@1.0.9 - dunce@1.0.4 - either@1.9.0 - encoding_rs@0.8.33 - enumflags2@0.7.7 - enumflags2_derive@0.7.7 - enumn@0.1.12 - equivalent@1.0.1 - errno-dragonfly@0.1.2 - errno@0.3.3 - event-listener@2.5.3 - exr@1.7.0 - fastrand@1.9.0 - fastrand@2.0.0 - fdeflate@0.3.0 - flate2@1.0.27 - float-cmp@0.9.0 - flume@0.10.14 - foreign-types-macros@0.2.3 - foreign-types-shared@0.3.1 - foreign-types@0.5.0 - form_urlencoded@1.2.0 - four-cc@0.3.0 - futf@0.1.5 - futures-channel@0.3.28 - futures-core@0.3.28 - futures-executor@0.3.28 - futures-io@0.3.28 - futures-lite@1.13.0 - futures-macro@0.3.28 - futures-sink@0.3.28 - futures-task@0.3.28 - futures-util@0.3.28 - futures@0.3.28 - fxhash@0.2.1 - gdk-pixbuf-sys@0.18.0 - gdk-pixbuf@0.18.0 - gdk4-sys@0.7.2 - gdk4@0.7.2 - generic-array@0.14.7 - getrandom@0.2.10 - gettext-rs@0.7.0 - gettext-sys@0.21.3 - gif@0.12.0 - gimli@0.28.0 - gio-sys@0.18.1 - gio@0.18.1 - glib-macros@0.18.0 - glib-sys@0.18.1 - glib@0.18.1 - gloo-timers@0.2.6 - glycin-utils@0.1.0 - glycin@0.1.0 - gobject-sys@0.18.0 - half@2.2.1 - hashbrown@0.14.0 - heck@0.4.1 - hermit-abi@0.3.2 - hex@0.4.3 - idna@0.4.0 - image@0.24.7 - indexmap@2.0.0 - instant@0.1.12 - io-lifetimes@1.0.11 - itertools@0.11.0 - itoa@1.0.9 - jobserver@0.1.26 - jpeg-decoder@0.3.0 - js-sys@0.3.64 - jxl-bitstream@0.2.3 - jxl-coding@0.2.3 - jxl-color@0.3.2 - jxl-frame@0.4.0 - jxl-grid@0.1.1 - jxl-image@0.4.1 - jxl-modular@0.2.2 - jxl-oxide@0.3.0 - jxl-render@0.3.0 - jxl-vardct@0.2.1 - kamadak-exif@0.5.5 - kv-log-macro@1.0.7 - language-tags@0.3.2 - lazy_static@1.4.0 - lcms2-sys@4.0.3 - lcms2@5.6.0 - lebe@0.5.2 - libc@0.2.147 - libheif-rs@0.20.0 - libheif-sys@1.16.1 - librsvg@2.57.0 - linux-raw-sys@0.3.8 - linux-raw-sys@0.4.5 - locale_config@0.3.0 - lock_api@0.4.10 - log@0.4.20 - mac@0.1.1 - malloc_buf@0.0.6 - markup5ever@0.11.0 - matrixmultiply@0.3.7 - memchr@2.6.3 - memfd@0.6.3 - memmap2@0.7.1 - memoffset@0.7.1 - memoffset@0.9.0 - miniz_oxide@0.7.1 - mutate_once@0.1.1 - nalgebra-macros@0.2.1 - nalgebra@0.32.3 - nanorand@0.7.0 - new_debug_unreachable@1.0.4 - nix@0.26.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-rational@0.4.1 - num-traits@0.2.16 - num_cpus@1.16.0 - objc-foundation@0.1.1 - objc@0.2.7 - objc_id@0.1.1 - object@0.32.1 - once_cell@1.18.0 - ordered-stream@0.2.0 - pango-sys@0.18.0 - pango@0.18.0 - pangocairo-sys@0.18.0 - pangocairo@0.18.0 - parking@2.1.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - paste@1.0.14 - percent-encoding@2.3.0 - phf@0.10.1 - phf@0.11.2 - phf_codegen@0.10.0 - phf_generator@0.10.0 - phf_generator@0.11.2 - phf_macros@0.11.2 - phf_shared@0.10.0 - phf_shared@0.11.2 - pin-project-internal@1.1.3 - pin-project-lite@0.2.13 - pin-project@1.1.3 - pin-utils@0.1.0 - pkg-config@0.3.27 - png@0.17.10 - polling@2.8.0 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - proc-macro-crate@1.3.1 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.66 - qoi@0.4.1 - quote@1.0.33 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rawpointer@0.2.1 - rayon-core@1.11.0 - rayon@1.7.0 - rctree@0.5.0 - redox_syscall@0.3.5 - regex-automata@0.3.8 - regex-syntax@0.7.5 - regex@1.9.5 - rgb@0.8.36 - rustc-demangle@0.1.23 - rustix@0.37.23 - rustix@0.38.11 - safe-transmute@0.11.2 - safe_arch@0.7.1 - scopeguard@1.2.0 - selectors@0.25.0 - serde@1.0.188 - serde_derive@1.0.188 - serde_repr@0.1.16 - serde_spanned@0.6.3 - servo_arc@0.3.0 - sha1@0.10.5 - signal-hook-registry@1.4.1 - signal-hook@0.3.17 - simba@0.8.1 - simd-adler32@0.3.7 - siphasher@0.3.11 - slab@0.4.9 - smallvec@1.11.0 - socket2@0.4.9 - spin@0.9.8 - stable_deref_trait@1.2.0 - static_assertions@1.1.0 - string_cache@0.8.7 - string_cache_codegen@0.5.2 - syn@1.0.109 - syn@2.0.30 - system-deps@6.1.1 - target-lexicon@0.12.11 - temp-dir@0.1.11 - tempfile@3.8.0 - tendril@0.4.3 - thiserror-impl@1.0.48 - thiserror@1.0.48 - tiff@0.9.0 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - toml@0.7.6 - toml_datetime@0.6.3 - toml_edit@0.19.14 - tracing-attributes@0.1.26 - tracing-core@0.1.31 - tracing@0.1.37 - typenum@1.16.0 - uds_windows@1.0.2 - unicode-bidi@0.3.13 - unicode-ident@1.0.11 - unicode-normalization@0.1.22 - url@2.4.1 - utf-8@0.7.6 - value-bag@1.4.1 - vcpkg@0.2.15 - version-compare@0.1.1 - version_check@0.9.4 - waker-fn@1.1.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.87 - wasm-bindgen-futures@0.4.37 - wasm-bindgen-macro-support@0.2.87 - wasm-bindgen-macro@0.2.87 - wasm-bindgen-shared@0.2.87 - wasm-bindgen@0.2.87 - web-sys@0.3.64 - weezl@0.1.7 - wide@0.7.11 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.48.0 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - winnow@0.5.15 - xdg-home@1.0.0 - xml5ever@0.17.0 - zbus@3.14.1 - zbus_macros@3.14.1 - zbus_names@2.6.0 - zune-inflate@0.2.54 - zvariant@3.15.0 - zvariant_derive@3.15.0 - zvariant_utils@1.0.1 -" - -# glycin-svg-0.1.0 -CRATES+=" - addr2line@0.21.0 - adler@1.0.2 - aho-corasick@1.0.5 - anyhow@1.0.75 - approx@0.5.1 - async-broadcast@0.5.1 - async-channel@1.9.0 - async-executor@1.5.1 - async-fs@1.6.0 - async-global-executor@2.3.1 - async-io@1.13.0 - async-lock@2.8.0 - async-process@1.7.0 - async-recursion@1.0.5 - async-std@1.12.0 - async-task@4.4.0 - async-trait@0.1.73 - atomic-waker@1.1.1 - autocfg@1.1.0 - backtrace@0.3.69 - bit_field@0.10.2 - bitflags@1.3.2 - bitflags@2.4.0 - block-buffer@0.10.4 - block@0.1.6 - blocking@1.3.1 - bumpalo@3.13.0 - bytemuck@1.13.1 - byteorder@1.4.3 - cairo-rs@0.18.0 - cairo-sys-rs@0.18.0 - cast@0.3.0 - cc@1.0.83 - cfg-expr@0.15.4 - cfg-if@1.0.0 - color_quant@1.1.0 - concurrent-queue@2.2.0 - cpufeatures@0.2.9 - crc32fast@1.3.2 - crossbeam-channel@0.5.8 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - crunchy@0.2.2 - crypto-common@0.1.6 - cssparser-macros@0.6.1 - cssparser@0.31.2 - data-url@0.3.0 - derivative@2.2.0 - derive_more@0.99.17 - digest@0.10.7 - dtoa-short@0.3.4 - dtoa@1.0.9 - dunce@1.0.4 - either@1.9.0 - encoding_rs@0.8.33 - enumflags2@0.7.7 - enumflags2_derive@0.7.7 - enumn@0.1.12 - equivalent@1.0.1 - errno-dragonfly@0.1.2 - errno@0.3.3 - event-listener@2.5.3 - exr@1.7.0 - fastrand@1.9.0 - fastrand@2.0.0 - fdeflate@0.3.0 - flate2@1.0.27 - float-cmp@0.9.0 - flume@0.10.14 - foreign-types-macros@0.2.3 - foreign-types-shared@0.3.1 - foreign-types@0.5.0 - form_urlencoded@1.2.0 - four-cc@0.3.0 - futf@0.1.5 - futures-channel@0.3.28 - futures-core@0.3.28 - futures-executor@0.3.28 - futures-io@0.3.28 - futures-lite@1.13.0 - futures-macro@0.3.28 - futures-sink@0.3.28 - futures-task@0.3.28 - futures-util@0.3.28 - futures@0.3.28 - fxhash@0.2.1 - gdk-pixbuf-sys@0.18.0 - gdk-pixbuf@0.18.0 - gdk4-sys@0.7.2 - gdk4@0.7.2 - generic-array@0.14.7 - getrandom@0.2.10 - gettext-rs@0.7.0 - gettext-sys@0.21.3 - gif@0.12.0 - gimli@0.28.0 - gio-sys@0.18.1 - gio@0.18.1 - glib-macros@0.18.0 - glib-sys@0.18.1 - glib@0.18.1 - gloo-timers@0.2.6 - glycin-utils@0.1.0 - glycin@0.1.0 - gobject-sys@0.18.0 - half@2.2.1 - hashbrown@0.14.0 - heck@0.4.1 - hermit-abi@0.3.2 - hex@0.4.3 - idna@0.4.0 - image@0.24.7 - indexmap@2.0.0 - instant@0.1.12 - io-lifetimes@1.0.11 - itertools@0.11.0 - itoa@1.0.9 - jobserver@0.1.26 - jpeg-decoder@0.3.0 - js-sys@0.3.64 - jxl-bitstream@0.2.3 - jxl-coding@0.2.3 - jxl-color@0.3.2 - jxl-frame@0.4.0 - jxl-grid@0.1.1 - jxl-image@0.4.1 - jxl-modular@0.2.2 - jxl-oxide@0.3.0 - jxl-render@0.3.0 - jxl-vardct@0.2.1 - kamadak-exif@0.5.5 - kv-log-macro@1.0.7 - language-tags@0.3.2 - lazy_static@1.4.0 - lcms2-sys@4.0.3 - lcms2@5.6.0 - lebe@0.5.2 - libc@0.2.147 - libheif-rs@0.20.0 - libheif-sys@1.16.1 - librsvg@2.57.0 - linux-raw-sys@0.3.8 - linux-raw-sys@0.4.5 - locale_config@0.3.0 - lock_api@0.4.10 - log@0.4.20 - mac@0.1.1 - malloc_buf@0.0.6 - markup5ever@0.11.0 - matrixmultiply@0.3.7 - memchr@2.6.3 - memfd@0.6.3 - memmap2@0.7.1 - memoffset@0.7.1 - memoffset@0.9.0 - miniz_oxide@0.7.1 - mutate_once@0.1.1 - nalgebra-macros@0.2.1 - nalgebra@0.32.3 - nanorand@0.7.0 - new_debug_unreachable@1.0.4 - nix@0.26.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-rational@0.4.1 - num-traits@0.2.16 - num_cpus@1.16.0 - objc-foundation@0.1.1 - objc@0.2.7 - objc_id@0.1.1 - object@0.32.1 - once_cell@1.18.0 - ordered-stream@0.2.0 - pango-sys@0.18.0 - pango@0.18.0 - pangocairo-sys@0.18.0 - pangocairo@0.18.0 - parking@2.1.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - paste@1.0.14 - percent-encoding@2.3.0 - phf@0.10.1 - phf@0.11.2 - phf_codegen@0.10.0 - phf_generator@0.10.0 - phf_generator@0.11.2 - phf_macros@0.11.2 - phf_shared@0.10.0 - phf_shared@0.11.2 - pin-project-internal@1.1.3 - pin-project-lite@0.2.13 - pin-project@1.1.3 - pin-utils@0.1.0 - pkg-config@0.3.27 - png@0.17.10 - polling@2.8.0 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - proc-macro-crate@1.3.1 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.66 - qoi@0.4.1 - quote@1.0.33 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rawpointer@0.2.1 - rayon-core@1.11.0 - rayon@1.7.0 - rctree@0.5.0 - redox_syscall@0.3.5 - regex-automata@0.3.8 - regex-syntax@0.7.5 - regex@1.9.5 - rgb@0.8.36 - rustc-demangle@0.1.23 - rustix@0.37.23 - rustix@0.38.11 - safe-transmute@0.11.2 - safe_arch@0.7.1 - scopeguard@1.2.0 - selectors@0.25.0 - serde@1.0.188 - serde_derive@1.0.188 - serde_repr@0.1.16 - serde_spanned@0.6.3 - servo_arc@0.3.0 - sha1@0.10.5 - signal-hook-registry@1.4.1 - signal-hook@0.3.17 - simba@0.8.1 - simd-adler32@0.3.7 - siphasher@0.3.11 - slab@0.4.9 - smallvec@1.11.0 - socket2@0.4.9 - spin@0.9.8 - stable_deref_trait@1.2.0 - static_assertions@1.1.0 - string_cache@0.8.7 - string_cache_codegen@0.5.2 - syn@1.0.109 - syn@2.0.30 - system-deps@6.1.1 - target-lexicon@0.12.11 - temp-dir@0.1.11 - tempfile@3.8.0 - tendril@0.4.3 - thiserror-impl@1.0.48 - thiserror@1.0.48 - tiff@0.9.0 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - toml@0.7.6 - toml_datetime@0.6.3 - toml_edit@0.19.14 - tracing-attributes@0.1.26 - tracing-core@0.1.31 - tracing@0.1.37 - typenum@1.16.0 - uds_windows@1.0.2 - unicode-bidi@0.3.13 - unicode-ident@1.0.11 - unicode-normalization@0.1.22 - url@2.4.1 - utf-8@0.7.6 - value-bag@1.4.1 - vcpkg@0.2.15 - version-compare@0.1.1 - version_check@0.9.4 - waker-fn@1.1.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.87 - wasm-bindgen-futures@0.4.37 - wasm-bindgen-macro-support@0.2.87 - wasm-bindgen-macro@0.2.87 - wasm-bindgen-shared@0.2.87 - wasm-bindgen@0.2.87 - web-sys@0.3.64 - weezl@0.1.7 - wide@0.7.11 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.48.0 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - winnow@0.5.15 - xdg-home@1.0.0 - xml5ever@0.17.0 - zbus@3.14.1 - zbus_macros@3.14.1 - zbus_names@2.6.0 - zune-inflate@0.2.54 - zvariant@3.15.0 - zvariant_derive@3.15.0 - zvariant_utils@1.0.1 -" - -inherit cargo gnome.org meson xdg - -DESCRIPTION="Sandboxed and extendable image decoding" -HOMEPAGE="https://gitlab.gnome.org/sophie-h/glycin" - -SRC_URI+=" $(cargo_crate_uris ${CRATES})" - -LICENSE="GPL-3+" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD LGPL-2.1+ MIT - MPL-2.0 Unicode-DFS-2016 ZLIB -" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - >=gui-libs/gtk-4.12.0:4 - >=x11-libs/cairo-1.17.0 - " -RDEPEND="${DEPEND}" -BDEPEND=">=virtual/rust-1.70" - -src_configure() { - local emesonargs=( - -Dloaders=glycin-image-rs,glycin-jxl,glycin-svg - -Dtest_skip_install=true - ) - meson_src_configure - ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo" || die -}