diff options
Diffstat (limited to 'gnome-base/librsvg')
-rw-r--r-- | gnome-base/librsvg/Manifest | 2 | ||||
-rw-r--r-- | gnome-base/librsvg/librsvg-2.57.3.ebuild | 389 |
2 files changed, 391 insertions, 0 deletions
diff --git a/gnome-base/librsvg/Manifest b/gnome-base/librsvg/Manifest index 636e8c0f6bf0..edeb7a1aa94a 100644 --- a/gnome-base/librsvg/Manifest +++ b/gnome-base/librsvg/Manifest @@ -159,6 +159,7 @@ DIST libm-0.2.8.crate 113450 BLAKE2B fc4a55ecc0d4a558b9014b58861341887679c696af6 DIST librsvg-2.40.21.tar.xz 1655860 BLAKE2B a3fd7915d39984057e860da90115d9d95cef97e61d3f5e4c3aaaf399c4b3bfe781e6a7b969958ae84a3b7f2c788576fe26f56b037ca0a6a2e059b53f2bd1b9fc SHA512 db0563d8e0edaae642a6b2bcd239cf54191495058ac8c7ff614ebaf88c0e30bd58dbcd41f58d82a9d5ed200ced45fc5bae22f2ed3cf3826e9348a497009e1280 DIST librsvg-2.57.0.tar.xz 5679056 BLAKE2B 02737f07c8f767a8d916691cda8e27742a591462349c8c122901525cf1a13566d278fa61d7e0e99e0182d257f5ecd7fdd0a06744dbb31329d73848ce389ac8f4 SHA512 a80ac5e9207b50d35d9114ccd39cffbe1194a496b8375efba874b440b03b1312c5a660b4e423b48321ad5f94d581569ee2633786f1ae32aeaa7a4b213d3a27fa DIST librsvg-2.57.2.tar.xz 5688148 BLAKE2B 4692e42835c06458fabdca903ecf35aeb813d592eed525906140697e86031a55b68646d61e0146ca13f8ba3e0fc3c5f9b48a4a2556b340d44d795a1a86c1c088 SHA512 cee79ee7e7e44a5b77870db4d6e03a4e435260f52da1c8649f2b27fa6f18c1ad7ae1c62ffe03a80342ec151ffa5704d6fe3ee8b3dc46d7163a57f555afd0c6d4 +DIST librsvg-2.57.3.tar.xz 5688408 BLAKE2B cf7a56874c235fed8ddd32cb49573bd73ca5f875891b37a7ba029e92133eb698d896a18e62b66f8f56cb62840302a78a27977c95b3809853399e418c6973340b SHA512 d85e085fe7546812aaa58670fa9690aad81736394b69c8c3050bd2f215727430b29055204fc721b4514c000cf8dad0e7785d6d5b57623ce0528900b8ad0cdde7 DIST linked-hash-map-0.5.6.crate 15049 BLAKE2B 0f30e388633c60433dcbee353507f1c6857bd210f0b61a4d166a9b95067bdadaebe49d5fca4fa6ce13072e26037c6f75d46cc30cf8dc3c9cfcb3f33b33630093 SHA512 031a87645381c96beff33572e4bac1a9877e52fd2f99d39918fbede17d72291b35e2eb69e07edec20c3058554c35cc38fe85b8f175c2a3c69366136fcc71f707 DIST linux-raw-sys-0.4.12.crate 1465800 BLAKE2B 2f70a344c427093fd55732b68239f771cf6563edfe2db4b2f50cdbc904dfc7565b30bf06454b91482eaeea787b9cd4214979665bfa32f3c1c586551333cf4d2e SHA512 d9564d02d5f41356478066592e438629adb3275df0e5a1a44030cc99bf8856b8af64f18f27371f84122a828b34712aae16495a1a16050fbdbece6d95e9cdace9 DIST linux-raw-sys-0.4.7.crate 1350647 BLAKE2B 7489b530d59c2b1c32dfa77b260fa9892ec3ce9b15bbac90b0b7565806798d7580145321e0a2206d7a1f50b6cb7684dcd85f30a11dc330f071aa2f6042f941bc SHA512 df36f3f188767080f118aac32138233209a1f0cd11682425fc101cb054e138cf0582ad044d0f326a20ce517f425665ea1ad9ac5eda147712a994884101974d48 @@ -382,4 +383,5 @@ DIST yeslogic-fontconfig-sys-4.0.1.crate 6694 BLAKE2B a78e56725245af764e31dbfc7e EBUILD librsvg-2.40.21.ebuild 2544 BLAKE2B 0e6e8f0698dba9b8d11f56c87d2dff67c2fdd2d0f51de5bccbadf5e8cd6df6e85db8bb92c1c9771ecc5677a83a5afefeb7d54e17304b6c81fdf90db5fedd725f SHA512 e22f0c54731bd79c14ad377676554455581ca5f3f93845b442aaf71d9137013823351d71f0fd03d463f6d696950d61dd5ba45d6ee1a4411d3e50d6bb28738a64 EBUILD librsvg-2.57.0.ebuild 7808 BLAKE2B 89751ba0188864de554cb1469ea9b59de31f1c9a2271aa788ccf6d423eb58e5198b635de108339910d6a3db5e459b2a686524478ebc2bd8bf5673156b65c637a SHA512 5457922c90abe25dfbf5f2fae1fed215fdedc927004c8f80f184d61012afeba9d4e4318e207651fa66c0569ddd6017a958c220c722d1440f1914872c10c85bcc EBUILD librsvg-2.57.2.ebuild 7996 BLAKE2B 622cb36e236f6aa211b564ccb3a1ff376d02a38b2cadb530ccdd4ae6853b93f442e2c315e20afa71073df3e4379145ede4d56a0c43ffc6d09c6b6c4e92793964 SHA512 5a70bfcae6099dcfa0858f859e22c783a2385a5d0836ef143d8fe362fe2151ac5e2e44b6d5a467c57d5969ea48c6d623050722a580f58bd486029353d672b1ac +EBUILD librsvg-2.57.3.ebuild 7996 BLAKE2B 622cb36e236f6aa211b564ccb3a1ff376d02a38b2cadb530ccdd4ae6853b93f442e2c315e20afa71073df3e4379145ede4d56a0c43ffc6d09c6b6c4e92793964 SHA512 5a70bfcae6099dcfa0858f859e22c783a2385a5d0836ef143d8fe362fe2151ac5e2e44b6d5a467c57d5969ea48c6d623050722a580f58bd486029353d672b1ac MISC metadata.xml 417 BLAKE2B 00dfd8b977411ede7a975386836fe9290ea89265528038d4204d800ae04bb1aed6ba6b7427e0eeef05136f2f24b0c9e14dd0690c7db37c75ca2d7f41d997486c SHA512 937c31f4a264f7095d25fbf6e9d3f78e5f2558bc69d5e3308529db301108c8b47078967e85a4fc5163fbf840a34e4e15bf6621c6b3fefe5e858cc90ce82a61c2 diff --git a/gnome-base/librsvg/librsvg-2.57.3.ebuild b/gnome-base/librsvg/librsvg-2.57.3.ebuild new file mode 100644 index 000000000000..11f104971fd2 --- /dev/null +++ b/gnome-base/librsvg/librsvg-2.57.3.ebuild @@ -0,0 +1,389 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +CRATES=" + adler@1.0.2 + aho-corasick@1.1.2 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + anstream@0.6.5 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.4 + anyhow@1.0.75 + approx@0.5.1 + assert_cmd@2.0.12 + autocfg@1.1.0 + bit-set@0.5.3 + bit-vec@0.6.3 + bitflags@1.3.2 + bitflags@2.4.1 + block@0.1.6 + bstr@1.8.0 + bumpalo@3.14.0 + bytemuck@1.14.0 + byteorder@1.5.0 + cairo-rs@0.18.3 + cairo-sys-rs@0.18.2 + cast@0.3.0 + cc@1.0.83 + cfg-expr@0.15.5 + cfg-if@1.0.0 + chrono@0.4.31 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.11 + clap_builder@4.4.11 + clap_complete@4.4.4 + clap_derive@4.4.7 + clap_lex@0.6.0 + colorchoice@1.0.0 + const-cstr@0.3.0 + core-foundation-sys@0.8.6 + crc32fast@1.3.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.4 + crossbeam-epoch@0.9.16 + crossbeam-utils@0.8.17 + cssparser-macros@0.6.1 + cssparser@0.31.2 + cstr@0.2.11 + data-url@0.3.1 + deranged@0.3.10 + derive_more@0.99.17 + difflib@0.4.0 + dlib@0.5.2 + doc-comment@0.3.3 + dtoa-short@0.3.4 + dtoa@1.0.9 + either@1.9.0 + encoding_rs@0.8.33 + equivalent@1.0.1 + errno@0.3.8 + fastrand@2.0.1 + fdeflate@0.3.1 + flate2@1.0.28 + float-cmp@0.9.0 + fnv@1.0.7 + form_urlencoded@1.2.1 + futf@0.1.5 + futures-channel@0.3.29 + futures-core@0.3.29 + futures-executor@0.3.29 + futures-io@0.3.29 + futures-macro@0.3.29 + futures-task@0.3.29 + futures-util@0.3.29 + fxhash@0.2.1 + gdk-pixbuf-sys@0.18.0 + gdk-pixbuf@0.18.3 + getrandom@0.2.11 + gio-sys@0.18.1 + gio@0.18.4 + glib-macros@0.18.3 + glib-sys@0.18.1 + glib@0.18.4 + gobject-sys@0.18.0 + half@1.8.2 + hashbrown@0.14.3 + heck@0.4.1 + hermit-abi@0.3.3 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.58 + idna@0.5.0 + indexmap@2.1.0 + is-terminal@0.4.9 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.10 + js-sys@0.3.66 + language-tags@0.3.2 + lazy_static@1.4.0 + libc@0.2.151 + libloading@0.8.1 + libm@0.2.8 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.12 + locale_config@0.3.0 + lock_api@0.4.11 + log@0.4.20 + lopdf@0.31.0 + mac@0.1.1 + malloc_buf@0.0.6 + markup5ever@0.11.0 + matches@0.1.10 + matrixmultiply@0.3.8 + md5@0.7.0 + memchr@2.6.4 + memoffset@0.9.0 + minimal-lexical@0.2.1 + miniz_oxide@0.7.1 + nalgebra-macros@0.2.1 + nalgebra@0.32.3 + new_debug_unreachable@1.0.4 + nom@7.1.3 + normalize-line-endings@0.3.0 + num-complex@0.4.4 + num-integer@0.1.45 + num-rational@0.4.1 + num-traits@0.2.17 + objc-foundation@0.1.1 + objc@0.2.7 + objc_id@0.1.1 + once_cell@1.19.0 + oorandom@11.1.3 + pango-sys@0.18.0 + pango@0.18.3 + pangocairo-sys@0.18.0 + pangocairo@0.18.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + paste@1.0.14 + percent-encoding@2.3.1 + 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-lite@0.2.13 + pin-utils@0.1.0 + pkg-config@0.3.27 + plotters-backend@0.3.5 + plotters-svg@0.3.5 + plotters@0.3.5 + png@0.17.10 + powerfmt@0.2.0 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@3.0.4 + proc-macro-crate@2.0.1 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.70 + proptest@1.4.0 + quick-error@1.2.3 + quick-error@2.0.1 + quote@1.0.33 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_xorshift@0.3.0 + rawpointer@0.2.1 + rayon-core@1.12.0 + rayon@1.8.0 + rctree@0.5.0 + redox_syscall@0.4.1 + regex-automata@0.4.3 + regex-syntax@0.8.2 + regex@1.10.2 + rgb@0.8.37 + rustix@0.38.28 + rusty-fork@0.3.0 + ryu@1.0.16 + safe_arch@0.7.1 + same-file@1.0.6 + scopeguard@1.2.0 + selectors@0.25.0 + serde@1.0.193 + serde_derive@1.0.193 + serde_json@1.0.108 + serde_spanned@0.6.4 + servo_arc@0.3.0 + simba@0.8.1 + simd-adler32@0.3.7 + siphasher@0.3.11 + slab@0.4.9 + smallvec@1.11.2 + stable_deref_trait@1.2.0 + string_cache@0.8.7 + string_cache_codegen@0.5.2 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.41 + system-deps@6.2.0 + target-lexicon@0.12.12 + tempfile@3.8.1 + tendril@0.4.3 + termtree@0.4.1 + thiserror-impl@1.0.50 + thiserror@1.0.50 + time-core@0.1.2 + time-macros@0.2.15 + time@0.3.30 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.8.2 + toml_datetime@0.6.3 + toml_edit@0.20.2 + typenum@1.17.0 + unarray@0.1.4 + unicode-bidi@0.3.14 + unicode-ident@1.0.12 + unicode-normalization@0.1.22 + url@2.5.0 + utf-8@0.7.6 + utf8parse@0.2.1 + version-compare@0.1.1 + version_check@0.9.4 + wait-timeout@0.2.0 + walkdir@2.4.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.89 + wasm-bindgen-macro-support@0.2.89 + wasm-bindgen-macro@0.2.89 + wasm-bindgen-shared@0.2.89 + wasm-bindgen@0.2.89 + web-sys@0.3.66 + weezl@0.1.7 + wide@0.7.13 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.51.1 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.0 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.0 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.0 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.0 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.0 + winnow@0.5.28 + xml5ever@0.17.0 + yeslogic-fontconfig-sys@4.0.1 +" + +inherit cargo gnome2 multilib-minimal python-any-r1 rust-toolchain vala + +DESCRIPTION="Scalable Vector Graphics (SVG) rendering library" +HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg https://gitlab.gnome.org/GNOME/librsvg" +SRC_URI+=" ${CARGO_CRATE_URIS}" + +LICENSE="LGPL-2.1+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-DFS-2016 +" + +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="gtk-doc +introspection +vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" + +RDEPEND=" + >=x11-libs/cairo-1.17.0[glib,svg(+),${MULTILIB_USEDEP}] + >=media-libs/freetype-2.9:2[${MULTILIB_USEDEP}] + >=x11-libs/gdk-pixbuf-2.20:2[introspection?,${MULTILIB_USEDEP}] + >=dev-libs/glib-2.50.0:2[${MULTILIB_USEDEP}] + >=media-libs/harfbuzz-2.0.0:=[${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] + >=x11-libs/pango-1.50.0[${MULTILIB_USEDEP}] + + introspection? ( >=dev-libs/gobject-introspection-0.10.8:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=virtual/rust-1.70.0[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]') + gtk-doc? ( dev-util/gi-docgen ) + virtual/pkgconfig + vala? ( $(vala_depend) ) + + dev-libs/gobject-introspection-common + dev-libs/vala-common +" +# dev-libs/gobject-introspection-common, dev-libs/vala-common needed by eautoreconf + +QA_FLAGS_IGNORED=" + usr/bin/rsvg-convert + usr/lib.*/librsvg.* +" + +src_prepare() { + use vala && vala_setup + gnome2_src_prepare +} + +multilib_src_configure() { + local myconf=( + --disable-static + --disable-debug + $(multilib_native_use_enable gtk-doc) + $(multilib_native_use_enable introspection) + $(multilib_native_use_enable vala) + --enable-pixbuf-loader + ) + + if ! multilib_is_native_abi; then + myconf+=( + # Set the rust target, which can differ from CHOST + RUST_TARGET="$(rust_abi)" + # RUST_TARGET is only honored if cross_compiling, but non-native ABIs aren't cross as + # far as C parts and configure auto-detection are concerned as CHOST equals CBUILD + cross_compiling=yes + ) + fi + + ECONF_SOURCE=${S} \ + gnome2_src_configure "${myconf[@]}" + + if multilib_is_native_abi; then + ln -s "${S}"/doc/html doc/html || die + fi +} + +multilib_src_compile() { + gnome2_src_compile +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/Rsvg-2.0 "${ED}"/usr/share/gtk-doc/html/ || die + fi +} + +pkg_postinst() { + multilib_foreach_abi gnome2_pkg_postinst +} + +pkg_postrm() { + multilib_foreach_abi gnome2_pkg_postrm +} |