Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/babl/
Date: Tue, 17 May 2022 01:18:20
Message-Id: 1652750280.1831ff8c4a88e16be77248556d969d21ef785c83.sam@gentoo
1 commit: 1831ff8c4a88e16be77248556d969d21ef785c83
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Sun May 15 20:45:23 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 01:18:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1831ff8c
7
8 media-libs/babl: 0.1.92 version bump
9
10 Closes: https://bugs.gentoo.org/843266
11
12 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
13 Closes: https://github.com/gentoo/gentoo/pull/25506
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 media-libs/babl/Manifest | 1 +
17 media-libs/babl/babl-0.1.92.ebuild | 64 ++++++++++++++++++++++++++++++++++++++
18 2 files changed, 65 insertions(+)
19
20 diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
21 index 0f0b012413ae..f676bcb26b94 100644
22 --- a/media-libs/babl/Manifest
23 +++ b/media-libs/babl/Manifest
24 @@ -1,2 +1,3 @@
25 DIST babl-0.1.88.tar.xz 299972 BLAKE2B a22811196e306e3b846da63f361ecf792715d461cd8af85017af8dd353a406a38130f3e675214edc261557b6a0f6d3ed5586bfe7ecdf9b08ed5b8e7bc4aeb7f7 SHA512 1260133e44aa1878e13e2c64387e8540ca93edd7a905e2f8eebc58679444ba8815b9b6801b538a759c9b7b60294d7d7c33418bb1feee1879dcb8381450fe1742
26 DIST babl-0.1.90.tar.xz 309324 BLAKE2B 9fbbbe06539fd85007875e697529aa071d32a2d9e65f9750ceeb4a1f1ec1a3ac4a74dc40f932f7ff669bafdb1e9506df05414c7765f57b7d818901bffc55ccc2 SHA512 c0eac3c7d5eb328de2f97ccc9743bc2f78d79c23dc4d3465e979d98827b1643a0f2a257f0445e4acd09f15a9f95c79f67d09cb18c2c94b4f3d290944a0341e3c
27 +DIST babl-0.1.92.tar.xz 309784 BLAKE2B c3c716ba1b54082743ba6ea33da99fb458dc971ab78ae72170af9840eadbc7f2aeb0a26d3270ede2a6e0d7b55489fc8f700b1c69731a4612ba4106f9672762d0 SHA512 c2baf39f576bf7f57786c59f2de0818257f4d1d62cadf44fdd802c9a534ed94390dd1616e7e72fcc9de1fb85a24a10fbacdbbabbe376a45ae598be46817e3bc0
28
29 diff --git a/media-libs/babl/babl-0.1.92.ebuild b/media-libs/babl/babl-0.1.92.ebuild
30 new file mode 100644
31 index 000000000000..bd0399f8e4cf
32 --- /dev/null
33 +++ b/media-libs/babl/babl-0.1.92.ebuild
34 @@ -0,0 +1,64 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +VALA_USE_DEPEND=vapigen
41 +
42 +inherit meson gnome2-utils vala
43 +
44 +if [[ ${PV} == *9999* ]]; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git"
47 + SRC_URI=""
48 +else
49 + SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
50 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
51 +fi
52 +
53 +DESCRIPTION="A dynamic, any to any, pixel format conversion library"
54 +HOMEPAGE="https://gegl.org/babl/"
55 +
56 +LICENSE="LGPL-3"
57 +SLOT="0"
58 +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"
59 +REQUIRED_USE="vala? ( introspection )"
60 +
61 +BDEPEND="
62 + virtual/pkgconfig
63 + vala? ( $(vala_depend) )
64 +"
65 +RDEPEND="
66 + introspection? ( >=dev-libs/gobject-introspection-1.32:= )
67 + lcms? ( >=media-libs/lcms-2.8:2 )
68 +"
69 +DEPEND="${RDEPEND}"
70 +
71 +src_prepare() {
72 + default
73 + gnome2_environment_reset
74 +
75 + sed -i -e 's/Description/description/' meson.build || die # bug 843266
76 +}
77 +
78 +src_configure() {
79 + use vala && vala_setup
80 +
81 + # Automagic rsvg support is just for website generation we do not call,
82 + # so we don't need to fix it
83 + # w3m is used for dist target thus no issue for us that it is automagically
84 + # detected
85 + local emesonargs=(
86 + -Dwith-docs=false
87 + $(meson_use introspection enable-gir)
88 + $(meson_use lcms with-lcms)
89 + $(meson_use vala enable-vapi)
90 + $(meson_use cpu_flags_x86_avx2 enable-avx2)
91 + $(meson_use cpu_flags_x86_f16c enable-f16c)
92 + $(meson_use cpu_flags_x86_mmx enable-mmx)
93 + $(meson_use cpu_flags_x86_sse enable-sse)
94 + $(meson_use cpu_flags_x86_sse2 enable-sse2)
95 + $(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
96 + )
97 + meson_src_configure
98 +}