media-libs/babl: 0.1.114 version bump

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Part-of: https://github.com/gentoo/gentoo/pull/42157
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sergey Torokhov 2025-05-19 20:52:38 +03:00 committed by Sam James
parent 5843588a1a
commit f1f892551f
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST babl-0.1.108.tar.xz 317036 BLAKE2B a2ece95d7cad33aa70e41ee9c01bd11b7fb1730cb0e0d64df42c4c933a1ac1955b103d75d2ade613ebee0362ade8aaf8ed1257a3cbe307d623243869244f67c1 SHA512 3ebdd18b32505e3009ba8f4957ffe892226d83012fbf3217b1761645fdcae943a19bda1a1f93adde78a5dd83fa11b0ba23014118228ca4eab4fd18001f1f4970
DIST babl-0.1.112.tar.xz 318924 BLAKE2B 3eeacf6acd970a51a0ae47b548bc18ded33ecc9da7f7b34e041f70b45725b932a35a9a17cd114cdf0416928eb77e09ff4aeb20a20c5fd487b645dfe10a481a2f SHA512 18aef6baffbe978a6cdb05cf62fb8f14a81ba48ccb7dfc29a5581c9d46d8e34e2a8601bcea40ac5700661fe16bbc1bf72684f9f17e5c825c8fd7fec27c2c872b
DIST babl-0.1.114.tar.xz 321456 BLAKE2B 5a13a5f7947cdf6d7978a8d7c35bfdf5e9f9414b0f7cd428508d6184c97d5aaa06dadc9419501a00c42f9cce487de008cb78a1843c4de708cfe7e8a2f56d53df SHA512 ff410c9839f4fe4d6afd4dec7e4d02af34b1c8a4edbc05483784ed82f91045b1102414fc1c58357866044b7f1ab499eda24fe744f5dd692af5804020c76b2382

View File

@ -0,0 +1,68 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
VALA_USE_DEPEND=vapigen
inherit meson gnome2-utils vala
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git"
else
SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
DESCRIPTION="A dynamic, any to any, pixel format conversion library"
HOMEPAGE="https://gegl.org/babl/"
LICENSE="LGPL-3"
SLOT="0"
IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
REQUIRED_USE="vala? ( introspection )"
BDEPEND="
virtual/pkgconfig
vala? ( $(vala_depend) )
"
RDEPEND="
introspection? ( >=dev-libs/gobject-introspection-1.72:= )
lcms? ( >=media-libs/lcms-2.13.1:2 )
"
DEPEND="${RDEPEND}"
src_prepare() {
default
gnome2_environment_reset
}
src_configure() {
use vala && vala_setup
# Automagic rsvg support is just for website generation we do not call,
# so we don't need to fix it
# w3m is used for dist target thus no issue for us that it is automagically
# detected
local emesonargs=(
-Dwith-docs=false
$(meson_use introspection enable-gir)
$(meson_use lcms with-lcms)
$(meson_use vala enable-vapi)
$(meson_use cpu_flags_x86_avx2 enable-avx2)
$(meson_use cpu_flags_x86_f16c enable-f16c)
$(meson_use cpu_flags_x86_mmx enable-mmx)
$(meson_use cpu_flags_x86_sse enable-sse)
$(meson_use cpu_flags_x86_sse2 enable-sse2)
$(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
)
meson_src_configure
}
src_install() {
meson_src_install
# Create symlink for backward compatibility. See also bug 871690
dosym -r /usr/"$(get_libdir)"/pkgconfig/babl-0.1.pc /usr/"$(get_libdir)"/pkgconfig/babl.pc
}