diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-05 01:18:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-05 01:18:42 +0100 |
commit | 5b84ef1b7530528af1eda8310641c6396df8143c (patch) | |
tree | 1dd8187ec16709816078d4b474e15257409a25db /media-libs/babl | |
parent | 07b0c0005f55e652101816d9f4cfe73403bf0906 (diff) |
gentoo auto-resync : 05:10:2022 - 01:18:42
Diffstat (limited to 'media-libs/babl')
-rw-r--r-- | media-libs/babl/Manifest | 1 | ||||
-rw-r--r-- | media-libs/babl/babl-0.1.96-r1.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest index 9c65ea9f1ba1..28d3bd7e14f5 100644 --- a/media-libs/babl/Manifest +++ b/media-libs/babl/Manifest @@ -3,6 +3,7 @@ DIST babl-0.1.92.tar.xz 309784 BLAKE2B c3c716ba1b54082743ba6ea33da99fb458dc971ab DIST babl-0.1.96.tar.xz 312184 BLAKE2B 6ee307054cf4d1e0f434a6070189ed143c60056decb59184f880b26863c8177d0c69294254651923f7dfb897555939602e6f4384e7561a839a3cf80ae9468859 SHA512 771d68b80f1123baa38256e4b1d7946284cd88997b2ab7c7092a74120e91ea5ee7ab4c001686ae4b3e363b6465484f185a64f9c75515a55d3ffb81fecbeaca42 EBUILD babl-0.1.92-r1.ebuild 1923 BLAKE2B 6d1c10dee304bfd6c40d431ec1fc0db206668a38ac2fdcbea816cd6fa75889f773d781b85e87043f246a81d9b2c51625c8201b291c38c80474d7ed940b412d03 SHA512 45679b51b69ae403bda0753af41f4890702dff5b530daaf763c8fb95f634f56c9dd5c56bcc69b86c670dd4dc838539ade13597616ed6c84423463e3af800b134 EBUILD babl-0.1.92.ebuild 1829 BLAKE2B 6b63020df7b902a92183e79000d342c13821ad3e87f005159cae04071750abe2f82f7fa7fd09a0cec6f94a65d6481522f08703ed6d1049133de3fbd2984ac2a4 SHA512 cad47bf1d01849165c502789f232d46c23c0d9bebec5725881ec1bc7cf0f1086f5f7bca804e0833bc06ab7a177e8ae754fe75670e0e8b602ee16932125480606 +EBUILD babl-0.1.96-r1.ebuild 1910 BLAKE2B 332b3e7e754593c6a012d0c370ff2e77e876a7be9ec3d1825d603c6c201c1b6e9c5cdaa281680a8526741be34154e087ac57bc68e4c6a7f0e3c57c887cf1bd34 SHA512 d3d6b11ca0e465b657015a7e36eef6566611fd18e98d0163e2383d32d8f75dce629e8eeff8f08e16650cffb741cab6a95a48a453f6de69bfb5c02d405036af29 EBUILD babl-0.1.96.ebuild 1765 BLAKE2B ec23a9899c545e20f64a56f5d3b73be99790c449a2ff4e6ae7bd2cd084a5f7a11a9c099958db0bcd74691b87ab81e2b2197c4a4cfbc59f93f4bde1300c885db3 SHA512 2f25c45d9c5b06f8e6e4d51d20df1a466177087a2fe89eae3b14ca58df68a64206eb3ec131604e5bea90c0c87afeb6cf9ba4467df5c3c15a54bf43245c5dfaf7 EBUILD babl-9999.ebuild 1765 BLAKE2B ec23a9899c545e20f64a56f5d3b73be99790c449a2ff4e6ae7bd2cd084a5f7a11a9c099958db0bcd74691b87ab81e2b2197c4a4cfbc59f93f4bde1300c885db3 SHA512 2f25c45d9c5b06f8e6e4d51d20df1a466177087a2fe89eae3b14ca58df68a64206eb3ec131604e5bea90c0c87afeb6cf9ba4467df5c3c15a54bf43245c5dfaf7 MISC metadata.xml 401 BLAKE2B a80bbfba7d3e6e613ecc32c54ccad9f6b92e945feab3567fb0491b3cf83f5fb51d90372b6954b1127bce5c1d2028bfb2ed6518a9dde72c2adfc8286884f9efc7 SHA512 5f30ae63c4b82933c885a60d010dd1bb7d92355478aae874ec2aaef647ca3ecdb9f85311280a31d31ed4068e028049d3e54aeac84ff6528f3174db14c938b62c diff --git a/media-libs/babl/babl-0.1.96-r1.ebuild b/media-libs/babl/babl-0.1.96-r1.ebuild new file mode 100644 index 000000000000..c313961dff14 --- /dev/null +++ b/media-libs/babl/babl-0.1.96-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 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 ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-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.32:= ) + lcms? ( >=media-libs/lcms-2.8: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 + + # Bug 871690 + dosym -r /usr/"$(get_libdir)"/pkgconfig/babl.pc /usr/"$(get_libdir)"/pkgconfig/babl-0.1.pc +} |