mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/babl: add 0.1.126
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/571 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
f9278a1bbd
commit
eba53d0fec
@@ -1,2 +1,3 @@
|
||||
DIST babl-0.1.122.tar.xz 325824 BLAKE2B 37a0286b6979c3f3835d0f3febefdc97d1e8ae324bad6e17fde892b513b7640de4cc67553cee59b81b86f2a6d80d08ac5699b7378e1c042d2c989d616cc782b1 SHA512 061b8d62a618129c9f08fc04ca1e86145873cf15fcde643be60b52393316275ca6d98bb44ac86b7b26264bc3a9b2fd54db39d78b2b56fe069daf678b28ded59f
|
||||
DIST babl-0.1.124.tar.xz 326268 BLAKE2B e36f12fb313683693a89b813390d9e60d8a57546bee9537a3ac09c79876ae057e58243cf59177742cf7aa0727af397ccc4ea3801d498661a21938444da9345b7 SHA512 8e0199444e375c54e6723a5414a0e75874d11ba778d2c9c833f16b79f0634e900f82c2cf8d01b7e33ca609b6273873acf138d84778ba181b88ca50e1368c5ace
|
||||
DIST babl-0.1.126.tar.xz 326996 BLAKE2B d569df2d6bfe742473634fa4f4039f9f0edd866a0ef27e1bd59688e853cc5fb9029058f2a3dc46ec51366cc0bd1386cb0e1716dd5ce799da043fa5b286d2ffb7 SHA512 953037386e1763b28385f0f1802a657e2b918b5db3932cc62e75aa32c36b36b0513258f1b5548dfebedb51fb6de47412503ea8f8aff4ce79c314e33a28d27166
|
||||
|
||||
63
media-libs/babl/babl-0.1.126.ebuild
Normal file
63
media-libs/babl/babl-0.1.126.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson gnome2-utils toolchain-funcs 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 ~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.82.0-r2:= )
|
||||
lcms? ( >=media-libs/lcms-2.13.1:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
gnome2_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export READELF NM
|
||||
|
||||
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_feature 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
|
||||
}
|
||||
Reference in New Issue
Block a user