summaryrefslogtreecommitdiff
path: root/media-libs/babl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
commit2be329ae14bbf99f0fc4de7567e2386bbb529fdc (patch)
tree99e1d21f40429392d5eb255ec008fdd96e4fa284 /media-libs/babl
parent2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (diff)
gentoo auto-resync : 09:11:2024 - 03:03:12
Diffstat (limited to 'media-libs/babl')
-rw-r--r--media-libs/babl/Manifest2
-rw-r--r--media-libs/babl/babl-0.1.110.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
index 5fcb6df67d91..c143c85433e9 100644
--- a/media-libs/babl/Manifest
+++ b/media-libs/babl/Manifest
@@ -1,6 +1,8 @@
DIST babl-0.1.106.tar.xz 315068 BLAKE2B 560518beab77ec2f3fc50062bda80839f749992e4c61bef3badd4acfbc2a7bba6dce332ffabe65dcf18e4ba450d0ae1d261b5e34724a1309ea74e50ce3e452c7 SHA512 97dc57141754ff64a961f77df50dcd91b32d3cf26efa8ba9f3dd5fcfae41e96f986178a04ba7a8940effb6e6e33ac98b163551f377dc781308c750222efb4943
DIST babl-0.1.108.tar.xz 317036 BLAKE2B a2ece95d7cad33aa70e41ee9c01bd11b7fb1730cb0e0d64df42c4c933a1ac1955b103d75d2ade613ebee0362ade8aaf8ed1257a3cbe307d623243869244f67c1 SHA512 3ebdd18b32505e3009ba8f4957ffe892226d83012fbf3217b1761645fdcae943a19bda1a1f93adde78a5dd83fa11b0ba23014118228ca4eab4fd18001f1f4970
+DIST babl-0.1.110.tar.xz 319256 BLAKE2B 545b15152123e6d470976d8d3279a77ad13c0434379b6e055ce4f6b8f637387fef28e477d04857f570b7b3d1711868cc0dc9c2616b83dc75fe49684589f69e27 SHA512 20e40baa6654785d69642e6e85542968db3c5d08da630adc590ff066a52c5938f4ce8a77c0097e00010a905c8c31d8f131eb0308a3f8b6439ab6be4133eae246
EBUILD babl-0.1.106.ebuild 1949 BLAKE2B dce3a6dc468602f5485eda654ccdb1c6dfe92035ff94bf1a8bdd8e2f265c89a07a071f2abdd816aa35676137aa718ed50843cbae78a891d11d86ae76566a923b SHA512 3dac8c4ca2ac21e64bde0b60ab4a92ce49a649c5d52d6f557c141874b514ead985f89e59c86a758f78adf2acbaad6f78b948456267debc43bd624c44805b4e91
EBUILD babl-0.1.108.ebuild 1951 BLAKE2B 17f36711f36a249cb9ebbdb90abbdcb13acb6e95bf7fb410a5f7149d44b0c352acf9a3fef2b381eb1a8c2bace111e3b9d7e7fe558b4b73530814001bf494d66a SHA512 9438161acf4c0e31b9c77ababa4c60c8f02f1ae8c0f4f95f48c38eea7192abdab931af3b2708de5058f90247adc87409a5ab054291f4de40dc49ddf7fd743aa9
+EBUILD babl-0.1.110.ebuild 1953 BLAKE2B 03c14cbc7c9a8a704597d0e5cd4eca567edb3afd33a8cb098adffd06e17371afae079a2d9816cc9f08552ce2c5da9cd8971ed0e9d4ad0fda2769bc19a17389e5 SHA512 e42085f20b79b3942772f12eff8b060e8d4f507117632dda816b849838c0d3585fafa9ba8e621a5016cba87886a046521bae3b1bd430b2cf9b8e64d744b75f30
EBUILD babl-9999.ebuild 1749 BLAKE2B 97f3583da84a236c7835ae140d3f79a1de27a571e54667451223dd5e7d170e9dae6bfdd71593e0eb8fd3cd45a14dd548a0404d19c97ee692576cfdc7edb55cc5 SHA512 8772fa9d4cec0d144032ea4774846f643f5d42139c2d230ea0b08fd4056f22a2f103ae05a8189e2de0be60ee3d9ed1dba1be19a56639d4ebd293196fe4aaac5f
MISC metadata.xml 482 BLAKE2B b87a2ff4b72fc2aeed91042dd7b6a65032aa4608c7079fbc94c1d1f85e681bc446aa1fcad5f14cba510febe1430b290417cd498ff09c797ec8b28c84e6451e4e SHA512 3345414f92106c39f8364c1554e0325cfd45cbf94f84315d809bb305faf4093b3b971c79f7c32ea998a8fd0c6c9369c249ce10063a1521690a624860e20de995
diff --git a/media-libs/babl/babl-0.1.110.ebuild b/media-libs/babl/babl-0.1.110.ebuild
new file mode 100644
index 000000000000..17c114a7df2f
--- /dev/null
+++ b/media-libs/babl/babl-0.1.110.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 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"
+ SRC_URI=""
+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
+}