diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-03 03:04:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-03 03:04:34 -0500 |
| commit | b7c761e367074b6c8a81e0c7f64c72564299812c (patch) | |
| tree | 846a2f2c2ba5accc70f31aa6f9edb624b33f68db /media-libs | |
| parent | db7f283451256f94921bd723861f0e82ed7157f2 (diff) | |
| download | baldeagleos-repo-b7c761e367074b6c8a81e0c7f64c72564299812c.tar.gz baldeagleos-repo-b7c761e367074b6c8a81e0c7f64c72564299812c.tar.xz baldeagleos-repo-b7c761e367074b6c8a81e0c7f64c72564299812c.zip | |
Adding metadata
Diffstat (limited to 'media-libs')
| -rw-r--r-- | media-libs/libsdl2/Manifest | 1 | ||||
| -rw-r--r-- | media-libs/libsdl2/libsdl2-2.32.72.ebuild | 66 | ||||
| -rw-r--r-- | media-libs/libsdl3/Manifest | 1 | ||||
| -rw-r--r-- | media-libs/libsdl3/libsdl3-3.4.16.ebuild | 196 | ||||
| -rw-r--r-- | media-libs/vips/Manifest | 2 | ||||
| -rw-r--r-- | media-libs/vips/vips-8.18.6.ebuild (renamed from media-libs/vips/vips-8.18.3.ebuild) | 2 |
6 files changed, 266 insertions, 2 deletions
diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index cdb3100b7761..f427bd8ff8ab 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -7,3 +7,4 @@ DIST SDL2-2.32.4.tar.gz 7627336 BLAKE2B 55a24c75c90d77358b647d44c05525ee00bc69f6 DIST SDL2-2.32.6.tar.gz 7627447 BLAKE2B d08c733d87af036e8a015a4ef313bbdf4049d7ddc3968693a820ea69e473f2df486eda02303d8fd6b33c2d166dcb7dee7ac0cba19e0b8198c80db7d996fe4702 SHA512 2dae8ae9f10e160a50f625daddad891d25e782130e5a5e3f02079d94ab8858aca92ab8871ab19fdf5be6aca83ffeb9c1ea03949841c2506066f12d2bf2332d47 DIST SDL2-2.32.8.tar.gz 7627356 BLAKE2B 01cbe46513cffac1bb43e82353448288359d957910e40c96d83cb4993c00a3ed409e95221a42563a3abf720468744c46da54fe889755f212260cc7c2f57b3830 SHA512 484c33638e7bd1002815bb1f6a47a292d1eaf0b963598dde65f4a3e077dfe75ee35b9ea4b3b767365b3ef4f613c4d69ce55b5e96675de562994344e83a978272 DIST sdl2-compat-2.32.68.tar.gz 2823569 BLAKE2B b659037d8d397a4f90516635e21a50df1d19c6103486ba43e54aa188515d1aece25d8f897e5662012c1c8ec466c6e27ee55fcf0389a4576c275e3c0ad77baa47 SHA512 fb0e8976dd5d04e206496259bb40f9e1271c6af02b37b467827b42dbc0e1af60f361781a376b7fbec773d7d952993bbfb18906a85066b32fbb0ac8ebf76745d8 +DIST sdl2-compat-2.32.72.tar.gz 2824763 BLAKE2B 1068200843565c498f498e364bfd1ee72b479e190981da81b5c655cc4f59326098fa24f38441e7a5b54acd6dda318b379648cd456303c4595dcf7708103b40f6 SHA512 0d5d8b26bbb92e25a102e734daeed8b2345957eec95c01ccfcb1461030c8e12300e19488a1eec45d217c56b64cefe8722d84f3e5c5d013efea9128161174b785 diff --git a/media-libs/libsdl2/libsdl2-2.32.72.ebuild b/media-libs/libsdl2/libsdl2-2.32.72.ebuild new file mode 100644 index 000000000000..da0e31639504 --- /dev/null +++ b/media-libs/libsdl2/libsdl2-2.32.72.ebuild @@ -0,0 +1,66 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib dot-a + +# TODO: switch to new description when non-compat is gone, this is so it is +# not displayed on packages.gentoo.org which may be confusing for users +DESCRIPTION="Simple Direct Media Layer" +#DESCRIPTION="Simple Direct Media Layer 2 compatibility wrapper around SDL3" +HOMEPAGE="https://www.libsdl.org/" +SRC_URI="https://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" +S=${WORKDIR}/sdl2-compat-${PV} + +LICENSE="ZLIB" +SLOT="0" +# unkeyworded for testing +#KEYWORDS="~amd64" +# this skips most non-compat libsdl2 former IUSE that are not used by revdeps, +# albeit it is questionable that some depend on audio alsa/pipewire (note that +# static-libs is left out because it is useless for static-only builds given +# it will dlopen the shared libsdl3 anyway) +# +# TODO: either update revdeps to have (+) on no-op IUSE (haptic, joystick, +# sound, and video) then cleanup, or don't for less overlay issues and instead +# force in profiles to avoid unnecessary rebuilds -- not forced right now given +# a >=2.32.50 in profile would force for a potential future non-compat 2.34.0 +IUSE=" + X alsa gles2 +haptic +joystick kms opengl pipewire pulseaudio + +sound test +video vulkan wayland +" +REQUIRED_USE="gles2? ( opengl )" +RESTRICT="!test? ( test )" + +# libsdl3 is dlopen'ed and USE at build time should not matter except X, it +# enables everything else but will not work without libsdl3 support at runtime +RDEPEND=" + >=media-libs/libsdl3-3.2.12[X?,alsa?,opengl?,pipewire?,pulseaudio?,vulkan?,wayland?,${MULTILIB_USEDEP}] +" +DEPEND=" + ${RDEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libX11 + ) +" + +src_configure() { + lto-guarantee-fat + + local mycmakeargs=( + -DSDL2COMPAT_TESTS=$(usex test) + -DSDL2COMPAT_X11=$(usex X) + ) + + cmake-multilib_src_configure +} + +src_install() { + cmake-multilib_src_install + + strip-lto-bytecode + + rm -r -- "${ED}"/usr/share/licenses || die +} diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest index 4c31274de13b..d90bc77bfb33 100644 --- a/media-libs/libsdl3/Manifest +++ b/media-libs/libsdl3/Manifest @@ -1,3 +1,4 @@ DIST SDL3-3.2.30.tar.gz 15908113 BLAKE2B 3c0c1435662ce7a5891d28f476c92c4113b3967a9c3a0e36f8fd46069c8352c9b8f518122a761af4e64c374f3afc8476e57b19b7cb02ba282911f304ee21782a SHA512 ccb24c98095013404a7b470591aab6f7d45511580d895d6ce393df669a91d8faa1bf987a52b948fdf2c114ac41805cf6fa20eddacd470172029e1ebb7405e317 DIST SDL3-3.4.12.tar.gz 15629574 BLAKE2B 5c11979ae2a0640e43a953f7d4a49c1ce37f0e3b4bca47041705162cbf50f6d818f152861e150293b9b288769f3f6def66d4629c1eb9cf175338b2a6f88fce82 SHA512 c53cb5d82f6a9b7221bfd4f64d5352fd0c91837b7cb88ccf4898657b241189e25b7d405aa0c5c42ee25bad9a19c1da5c2daca6f8fde493ae26cb3e5f2883c0f5 DIST SDL3-3.4.14.tar.gz 15636700 BLAKE2B 34467023af7f178c57bc13e2c9c3522e9c4edb15acf9dbef91f52c1deb5bc2223b63ccf5f87f402541be2dacc1f3fdc008713ac9c94b44be05b1ddcccbc87902 SHA512 4105d57b3581d9d1e98c0bbd38d69cc5015b2b3d358fff0a617f9a89b37f5dd3e32e95b6ffc01cb865b9c599956cffa5cfcb96812fe7ed4afad632872c617e87 +DIST SDL3-3.4.16.tar.gz 15640667 BLAKE2B d6ab108a4226bafa02ef350e475d78584b4de7083db7f2f412b4138c7680bd3e797a33631669c380ab0d770380e317d5d160de712ade2407ed617f64145a4c19 SHA512 74a5ee1e5bba138a8daa710e200ac3585c60f696311c46252d86bc685c55e8271cd0d68439f8e13ca515b702d46ef58914d0f7b2352019870a5763ed79739e9a diff --git a/media-libs/libsdl3/libsdl3-3.4.16.ebuild b/media-libs/libsdl3/libsdl3-3.4.16.ebuild new file mode 100644 index 000000000000..f264513b65e9 --- /dev/null +++ b/media-libs/libsdl3/libsdl3-3.4.16.ebuild @@ -0,0 +1,196 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib dot-a + +DESCRIPTION="Simple Direct Media Layer" +HOMEPAGE="https://www.libsdl.org/" +SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz" +S=${WORKDIR}/SDL3-${PV} + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE=" + X alsa aqua bidi dbus doc ibus io-uring jack kms opengl oss + pipewire pulseaudio sndio test udev usb vulkan wayland + cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2 + cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse + cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 + cpu_flags_x86_sse4_2 +" +REQUIRED_USE=" + ibus? ( dbus ) + kms? ( opengl ) + wayland? ( opengl ) +" +RESTRICT="!test? ( test )" + +# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader +RDEPEND=" + virtual/libiconv[${MULTILIB_USEDEP}] + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXtst[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + bidi? ( dev-libs/fribidi[${MULTILIB_USEDEP}] ) + dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + ibus? ( app-i18n/ibus ) + io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + kms? ( + media-libs/mesa[gbm(+),${MULTILIB_USEDEP}] + x11-libs/libdrm[${MULTILIB_USEDEP}] + ) + opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] ) + pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] ) + wayland? ( + dev-libs/wayland[${MULTILIB_USEDEP}] + gui-libs/libdecor[${MULTILIB_USEDEP}] + x11-libs/libxkbcommon[${MULTILIB_USEDEP}] + ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + X? ( x11-base/xorg-proto ) + test? ( + dev-util/vulkan-headers + media-libs/libglvnd + ) + vulkan? ( dev-util/vulkan-headers ) +" +BDEPEND=" + doc? ( + app-text/doxygen + media-gfx/graphviz + ) + wayland? ( dev-util/wayland-scanner ) +" + +CMAKE_QA_COMPAT_SKIP=1 #964577 + +src_prepare() { + cmake_src_prepare + + # unbundle libglvnd and vulkan headers + rm -r src/video/khronos || die + ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die +} + +src_configure() { + lto-guarantee-fat + + local mycmakeargs=( + -DSDL_ASSERTIONS=disabled + -DSDL_DEPS_SHARED=no # link rather than dlopen() where possible + -DSDL_RPATH=no + -DSDL_STATIC=no + -DSDL_TESTS=$(usex test) + + # audio + -DSDL_ALSA=$(usex alsa) + -DSDL_JACK=$(usex jack) + -DSDL_OSS=$(usex oss) + -DSDL_PIPEWIRE=$(usex pipewire) + -DSDL_PULSEAUDIO=$(usex pulseaudio) + -DSDL_SNDIO=$(usex sndio) + + # input + -DSDL_HIDAPI_LIBUSB=$(usex usb) + -DSDL_IBUS=$(use ibus) + -DSDL_LIBUDEV=$(usex udev) + + # video + -DSDL_COCOA=$(usex aqua) + -DSDL_DIRECTX=no + -DSDL_KMSDRM=$(usex kms) + -DSDL_LIBTHAI=no # not packaged + -DSDL_OPENGL=$(usex opengl) + -DSDL_OPENGLES=$(usex opengl) + -DSDL_OPENVR=no # not packaged, note needs opengl REQUIRED_USE if added + -DSDL_ROCKCHIP=no + -DSDL_RPI=no + -DSDL_VIVANTE=no + -DSDL_VULKAN=$(usex vulkan) + -DSDL_WAYLAND=$(usex wayland) + -DSDL_X11=$(usex X) + # SDL disallows this by default, allow it but warn in pkg_postinst + $(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes) + + # misc + -DSDL_DBUS=$(usex dbus) + -DSDL_FRIBIDI=$(usex bidi) + -DSDL_LIBURING=$(usex io-uring) + + # cpu instruction sets + -DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec) + -DSDL_AVX=$(usex cpu_flags_x86_avx) + -DSDL_AVX2=$(usex cpu_flags_x86_avx2) + -DSDL_AVX512F=$(usex cpu_flags_x86_avx512f) + -DSDL_MMX=$(usex cpu_flags_x86_mmx) + -DSDL_SSE=$(usex cpu_flags_x86_sse) + -DSDL_SSE2=$(usex cpu_flags_x86_sse2) + -DSDL_SSE3=$(usex cpu_flags_x86_sse3) + -DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1) + -DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2) + ) + + cmake-multilib_src_configure +} + +src_compile() { + cmake-multilib_src_compile + + if use doc; then + cd docs && doxygen || die + fi +} + +src_test() { + unset "${!SDL_@}" # ignore users' preferences for tests + + cmake-multilib_src_test +} + +src_install() { + local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md ) + cmake-multilib_src_install + + strip-lto-bytecode + + rm -r -- "${ED}"/usr/share/licenses || die + + use doc && dodoc -r docs/output/html/ +} + +pkg_postinst() { + # skipping audio/video can make sense given many packages only use SDL + # for input, but still warn given off-by-default and may be unexpected + if use !X && use !aqua && use !kms && use !wayland; then + ewarn + ewarn "All typical display drivers (e.g. USE=wayland) are disabled," + ewarn "applications using SDL for display may not function properly." + fi + + if use !alsa && use !jack && use !oss && use !pipewire && + use !pulseaudio && use !sndio; then + ewarn + ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled," + ewarn "applications using SDL for audio may not function properly." + fi +} diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest index 45a4e0f2b9ec..241c5492742d 100644 --- a/media-libs/vips/Manifest +++ b/media-libs/vips/Manifest @@ -1,2 +1,2 @@ -DIST vips-8.18.3.tar.xz 25422084 BLAKE2B 878640ce65ccdbda2b0979ee915968cb961bff681a6835dc1f55effd33eb5bc0f47d32adb2b24ffa77581f9e192308e9f9e9310fadc12eea320ed27aa13da298 SHA512 02090b6d7ff277d553f8576a6238194dd42339d055e274c2229861f13a4703469a36575c58fd4ef4f3f603bb466313b5e8b55fc011d46e8a210d297797715eb0 DIST vips-8.18.5.tar.xz 25388332 BLAKE2B 60ec0ed4ab9fc520e52f72915049e278d83bb246c7483babba55366a4f80a4e812074dc4d769bae7b153be2a3b4715e2c08d7dcec40668daf61dd52cd14aa073 SHA512 0351887a74f530a8c1f46093e305cff245bd90473f3016e83de550d102f3631da3d2351d055f9ade8b440e636c4aa20b42ed0bc9eec952a440ef668d2ecdd45d +DIST vips-8.18.6.tar.xz 25431000 BLAKE2B 0edf53112cdb8d661ef2de404bc02840bc3474b683c685775f3b458d1ed50b4a5a7b57d938260b0f3bcb2efac3cc809c2c7cd9f5f45233f48e3870b753acdb2d SHA512 0a0127aa941eb8d3ce72d80c43287e402059532ba4f241962fd22ccdb2d525997f5bba6bb4bc89eb28710403cbcff2b6d24df904aaa61639ea5b14742fee91e4 diff --git a/media-libs/vips/vips-8.18.3.ebuild b/media-libs/vips/vips-8.18.6.ebuild index 6b9b743de9d8..d5deb973e169 100644 --- a/media-libs/vips/vips-8.18.3.ebuild +++ b/media-libs/vips/vips-8.18.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/libvips/libvips/releases/download/v${PV}/${P}.tar.xz LICENSE="LGPL-2.1+ MIT" SLOT="0/42" # soname -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" IUSE=" archive deprecated doc exif fftw fits fontconfig graphicsmagick heif +highway imagemagick imagequant +introspection +jpeg jpeg2k |
