From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07DAC1582EF for ; Fri, 28 Feb 2025 04:42:57 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E69663431E3 for ; Fri, 28 Feb 2025 04:42:56 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 90803110472; Fri, 28 Feb 2025 04:42:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 83C56110472 for ; Fri, 28 Feb 2025 04:42:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DDAA34318E for ; Fri, 28 Feb 2025 04:42:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 849AE27FF for ; Fri, 28 Feb 2025 04:42:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1740717744.4c0b31edcfd452698b575d1522fd080351ac9b94.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glycin-loaders/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/glycin-loaders/Manifest media-libs/glycin-loaders/glycin-loaders-1.1.6.ebuild X-VCS-Directories: media-libs/glycin-loaders/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4c0b31edcfd452698b575d1522fd080351ac9b94 X-VCS-Branch: master Date: Fri, 28 Feb 2025 04:42:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 69db0caa-839f-41f6-888d-64e8c05cdebf X-Archives-Hash: 8240c4f652497754c8f87c34e4121f0e commit: 4c0b31edcfd452698b575d1522fd080351ac9b94 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 28 04:12:01 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 28 04:42:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0b31ed media-libs/glycin-loaders: Bump to 1.1.6 Signed-off-by: Michał Górny gentoo.org> media-libs/glycin-loaders/Manifest | 1 + .../glycin-loaders/glycin-loaders-1.1.6.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/media-libs/glycin-loaders/Manifest b/media-libs/glycin-loaders/Manifest index 53a5a6ac3496..cff2cd4ec82d 100644 --- a/media-libs/glycin-loaders/Manifest +++ b/media-libs/glycin-loaders/Manifest @@ -1,3 +1,4 @@ DIST glycin-1.1.4.tar.xz 28352904 BLAKE2B 0623a05462fb8a59d9d7e7f49968b4b68a26bd4f2088702d857048f206e9bc466907dfe2b979fdd4f80ee08e9daa888e4210cc177ca8ca5cc87fc9c10bd86e03 SHA512 8bfeefbbc36794d8b57ac86a0166038372c93aeec65a335db91a098f7442f9d33838c7f657f6a98b5528f62f89cc24b6d52e0e45738e333a3fe0179d0b02ee8c DIST glycin-1.1.5.tar.xz 28348220 BLAKE2B 79ddbe2d68246200f0026ff418abeaadd8779091925c83a8e253f2598aacce48e6ed3ddd557444a2f6ad3bb27e50fef3d5365ebd03ce2a38b2df3f1af8a0a69b SHA512 fcc2856eeaf10708ebd876186405330544ca83a262d1fccfe8d338e565657579142a8b496d993233755a21b82e96eab7b73457eacaca756ef3f8795b1cbd254f +DIST glycin-1.1.6.tar.xz 28420376 BLAKE2B 78ab434d27d1688723d061adae9ecd17500167b71c223e665fd74f5ed170d9793d5d404e753047ee7ed9061225f3da8f10ecee163dc112a170a74447b4f88efd SHA512 a6f913c776160a78870209e90f365c0321e65ae73e1903b92051c2439b4ba50e7e6645600ff050927a2f81447f08e2bed749364db8ded03d21b961046460c4b5 DIST glycin-1.2.beta.1.tar.xz 36989732 BLAKE2B 47e9d07f5487767fa0625fda352e6cb686227474addc38d2bc8acde1cb81689d62bd834949a82302153bdbe6dc3a08bb42f7fd1ba85ea67c61f62a7ba08d1b2a SHA512 2479f8044745e9203e2733359248d78e01cf1407eda770478936101dc7cbf32218c6c6cb21583b6e2444eecb8645c81cb8b9c73c6986593908cf6b11e4a5a25d diff --git a/media-libs/glycin-loaders/glycin-loaders-1.1.6.ebuild b/media-libs/glycin-loaders/glycin-loaders-1.1.6.ebuild new file mode 100644 index 000000000000..217ae3663814 --- /dev/null +++ b/media-libs/glycin-loaders/glycin-loaders-1.1.6.ebuild @@ -0,0 +1,91 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo meson + +MY_P=glycin-${PV/_/.} +DESCRIPTION="Loaders for glycin clients (glycin crate or libglycin)" +HOMEPAGE="https://gitlab.gnome.org/GNOME/glycin/" +SRC_URI=" + https://download.gnome.org/sources/glycin/$(ver_cut 1-2)/${MY_P}.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="|| ( LGPL-2.1+ MPL-2.0 )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD GPL-3+ ISC MIT + Unicode-DFS-2016 + || ( LGPL-2.1+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="heif jpegxl svg test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.60:2 + >=sys-libs/libseccomp-2.5.0 + heif? ( >=media-libs/libheif-1.17.0:= ) + jpegxl? ( >=media-libs/libjxl-0.10.0:= ) + svg? ( + >=gnome-base/librsvg-2.52.0:2 + >=x11-libs/cairo-1.17.0 + ) +" +DEPEND=" + ${RDEPEND} + test? ( + >=gui-libs/gtk-4.12.0:4 + >=media-libs/lcms-2.14:2 + ) +" +BDEPEND=" + test? ( + sys-apps/bubblewrap + sys-apps/dbus + ) +" + +ECARGO_VENDOR=${S}/vendor + +QA_FLAGS_IGNORED="usr/libexec/glycin-loaders/.*" + +src_prepare() { + default + + # https://gitlab.gnome.org/GNOME/glycin/-/issues/81 + sed -i -e '\|/fonts|d' tests/tests.rs || die + # avoid depending on git + # https://gitlab.gnome.org/GNOME/glycin/-/issues/110 + sed -i -e 's/git/false/' loaders/meson.build || die +} + +src_configure() { + local formats=( + $(usev heif glycin-heif) + $(usev jpegxl glycin-jxl) + $(usev svg glycin-svg) + glycin-image-rs + ) + local formats_s=${formats[*]} + local emesonargs=( + -Dprofile=$(usex debug dev release) + -Dglycin-loaders=true + -Dloaders="${formats_s// /,}" + -Dtests=$(usex test true false) + -Dlibglycin=false + ) + + meson_src_configure + ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die +} + +src_test() { + # tests write to /proc/*/uid_map + # apparently, "addpredict /" in Portage breaks it + local -x SANDBOX_ON=0 + meson_src_test +}