diff options
Diffstat (limited to 'media-libs/babl')
-rw-r--r-- | media-libs/babl/Manifest | 2 | ||||
-rw-r--r-- | media-libs/babl/babl-0.1.106.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest index 4426859d7fbc..6c5323d9edfe 100644 --- a/media-libs/babl/Manifest +++ b/media-libs/babl/Manifest @@ -1,6 +1,8 @@ DIST babl-0.1.102.tar.xz 313872 BLAKE2B b5720b256368c0d1cba5f6da98185bcad3770390e38e0a495b19a51ef3adeb9ab25e9ada8c085fc685261ca5722ee0dd6876091bf366a0a9ef876e096b8cdba9 SHA512 7a4cbf011bdac3dbb41e76fbb7fe389b3bfc2c844b58b2f743c0805fac47ea8d8f94997ed3e8f0744d7ed8d9b7d14b807fddddb959d809cff8f729462fe1b601 +DIST babl-0.1.106.tar.xz 315068 BLAKE2B 560518beab77ec2f3fc50062bda80839f749992e4c61bef3badd4acfbc2a7bba6dce332ffabe65dcf18e4ba450d0ae1d261b5e34724a1309ea74e50ce3e452c7 SHA512 97dc57141754ff64a961f77df50dcd91b32d3cf26efa8ba9f3dd5fcfae41e96f986178a04ba7a8940effb6e6e33ac98b163551f377dc781308c750222efb4943 DIST babl-0.1.98.tar.xz 312516 BLAKE2B c12626e4b8127a5b2e17507e20cf6ce324834a58d64fa54b80fbe00ef2468d3d29c870d44a22f08f7e74404cf6f47321084c854a4ba017cf0c8c199d8210849f SHA512 33b2e3f8fbcd6602bb82d6242dd2911bb2232e69350f7a0e70e14b1472052e27b0e2a1fa6a2b6d0449fc9796353336e311c8d4007c532447cd61f95b684a3120 EBUILD babl-0.1.102.ebuild 1955 BLAKE2B 01813815a660c909c44be1deef9d569a6d42d31ed1f3a73d75607be1d575767b6229d0aeca9fefcdd428eb07f49ab822005fe19709a7d864dce5eefffb45183c SHA512 555fdfed03406d877a8144c808db6fcc80d4478b26fd6da9478df4f45bb7a204a4a4ae536e1189415e470ff2dab0b57c6cb765f95995757e326173c75e5a1cde +EBUILD babl-0.1.106.ebuild 1959 BLAKE2B 7fcbf59266e112437c2da8475464745d93edcdef6b04cd21a8edd4a8388c0ec3acbc8e3d5ecdbe8fa4f678e601c6fea6fe2468f715eac3dfa05b43536f525c5b SHA512 a504ccc90609f589b9877280bf17a222ea60a07c6f7b606295f3437f2c44ba3b38c974db9f258689a30b855924f12b12b67af3c68e15f8e458ccbe24072abd74 EBUILD babl-0.1.98.ebuild 1903 BLAKE2B 85416421a0d21c565b8f80bbb8bcaee03c2f274a3e69e4c3d93b7b3755aa6af5ace07bf25a4df01a52422a8fdc74ef7de92cc5d8854559a667c6ce5ed7bb46da SHA512 cff863eaf3813c35e610fdeadc5970cadbb4c27c7f7002e1a48646589e728f71bfd9e018b182c5357c8d077a2f02e5f4b76288cb50b5eda9af43dd1f4f757492 EBUILD babl-9999.ebuild 1755 BLAKE2B 7a18f2904e9df87d69729b98ac8a3d64b26823310d009d058d58ea2c42500e3b9072718839dd29b050b96dfad0d257268afd3bfdc2ab6073f1ad6a92b762a417 SHA512 b5f31d5f02a6f8f48f658d3d4286150d36aa4e1f3a63ed9a0bf6383d379f0073914ae0b684c08f407d095670a889128dda33fbf9801ab2a83055c4b5f46840d1 MISC metadata.xml 482 BLAKE2B b87a2ff4b72fc2aeed91042dd7b6a65032aa4608c7079fbc94c1d1f85e681bc446aa1fcad5f14cba510febe1430b290417cd498ff09c797ec8b28c84e6451e4e SHA512 3345414f92106c39f8364c1554e0325cfd45cbf94f84315d809bb305faf4093b3b971c79f7c32ea998a8fd0c6c9369c249ce10063a1521690a624860e20de995 diff --git a/media-libs/babl/babl-0.1.106.ebuild b/media-libs/babl/babl-0.1.106.ebuild new file mode 100644 index 000000000000..8ee17745cb62 --- /dev/null +++ b/media-libs/babl/babl-0.1.106.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 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 ~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 +} |