summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Field3D/Field3D-1.7.2.ebuild39
-rw-r--r--media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch142
-rw-r--r--media-libs/a52dec/a52dec-0.7.4-r8.ebuild4
-rw-r--r--media-libs/aalib/aalib-1.4_rc5-r9.ebuild4
-rw-r--r--media-libs/allegro/allegro-4.4.3.1.ebuild2
-rw-r--r--media-libs/allegro/allegro-5.2.7.0-r1.ebuild2
-rw-r--r--media-libs/allegro/metadata.xml16
-rw-r--r--media-libs/alsa-lib/Manifest1
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.2.7.2-r1.ebuild4
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.2.7.2.ebuild4
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.2.8-r1.ebuild97
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch31
-rw-r--r--media-libs/alsa-lib/metadata.xml1
-rw-r--r--media-libs/alsa-ucm-conf/Manifest1
-rw-r--r--media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.8.ebuild21
-rw-r--r--media-libs/alsa-ucm-conf/metadata.xml1
-rw-r--r--media-libs/amdgpu-pro-vulkan/Manifest2
-rw-r--r--media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild138
-rw-r--r--media-libs/aribb24/aribb24-1.0.3-r2.ebuild4
-rw-r--r--media-libs/assimp/Manifest1
-rw-r--r--media-libs/assimp/assimp-5.2.5-r1.ebuild (renamed from media-libs/assimp/assimp-5.2.4.ebuild)19
-rw-r--r--media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch28
-rw-r--r--media-libs/assimp/files/assimp-5.2.5-disable-failing-tests.patch95
-rw-r--r--media-libs/assimp/files/assimp-5.2.5-drop-failing-tests-for-abi_x86_32.patch143
-rw-r--r--media-libs/assimp/files/assimp-5.2.5-fix-version.patch33
-rw-r--r--media-libs/aubio/aubio-0.4.9-r2.ebuild4
-rw-r--r--media-libs/audiofile/audiofile-0.3.6-r4.ebuild55
-rw-r--r--media-libs/audiofile/audiofile-0.3.6-r5.ebuild1
-rw-r--r--media-libs/audiofile/files/audiofile-0.3.6-strict-prototypes.patch82
-rw-r--r--media-libs/avidemux-core/Manifest2
-rw-r--r--media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild (renamed from media-libs/avidemux-core/avidemux-core-2.7.8.ebuild)23
-rw-r--r--media-libs/avidemux-plugins/Manifest2
-rw-r--r--media-libs/avidemux-plugins/avidemux-plugins-2.8.1-r1.ebuild (renamed from media-libs/avidemux-plugins/avidemux-plugins-2.7.8.ebuild)31
-rw-r--r--media-libs/avidemux-plugins/files/avidemux-plugins-2.6.20-optional-pulse.patch20
-rw-r--r--media-libs/avidemux-plugins/files/avidemux-plugins-2.8.1-optional-pulse.patch20
-rw-r--r--media-libs/avidemux-plugins/metadata.xml1
-rw-r--r--media-libs/babl/Manifest3
-rw-r--r--media-libs/babl/babl-0.1.92-r1.ebuild68
-rw-r--r--media-libs/babl/babl-0.1.92.ebuild64
-rw-r--r--media-libs/babl/babl-0.1.98.ebuild (renamed from media-libs/babl/babl-0.1.96.ebuild)15
-rw-r--r--media-libs/babl/babl-9999.ebuild4
-rw-r--r--media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch18
-rw-r--r--media-libs/babl/metadata.xml3
-rw-r--r--media-libs/blib/blib-1.1.7-r2.ebuild45
-rw-r--r--media-libs/blib/blib-1.1.7-r3.ebuild57
-rw-r--r--media-libs/blib/files/blib-1.1.7-deprecated.patch14
-rw-r--r--media-libs/clutter-gst/metadata.xml11
-rw-r--r--media-libs/clutter-gtk/clutter-gtk-1.8.4-r1.ebuild4
-rw-r--r--media-libs/clutter-gtk/metadata.xml11
-rw-r--r--media-libs/clutter/clutter-1.26.4-r1.ebuild4
-rw-r--r--media-libs/clutter/metadata.xml19
-rw-r--r--media-libs/codec2/codec2-1.0.5.ebuild2
-rw-r--r--media-libs/cogl/cogl-1.22.8-r2.ebuild4
-rw-r--r--media-libs/cogl/metadata.xml21
-rw-r--r--media-libs/coin/coin-4.0.0.ebuild3
-rw-r--r--media-libs/coin/files/coin-4.0.0-0007-Locate-slotted-qhelpgenerator.patch13
-rw-r--r--media-libs/ctl/Manifest2
-rw-r--r--media-libs/ctl/ctl-1.5.2-r2.ebuild41
-rw-r--r--media-libs/ctl/ctl-1.5.2_p20221224.ebuild39
-rw-r--r--media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch399
-rw-r--r--media-libs/ctl/files/ctl-1.5.2-fix-installation-directories.patch53
-rw-r--r--media-libs/ctl/files/ctl-1.5.2-fix-to-build-with-gcc-11.patch25
-rw-r--r--media-libs/ctl/files/ctl-1.5.2-fix-unit-tests.patch65
-rw-r--r--media-libs/ctl/files/ctl-1.5.2-install-dpx-library.patch21
-rw-r--r--media-libs/ctl/files/ctl-1.5.2-openexr-2.3.patch13
-rw-r--r--media-libs/cubeb/Manifest12
-rw-r--r--media-libs/cubeb/cubeb-0.2_p20211213.ebuild110
-rw-r--r--media-libs/cubeb/cubeb-0.2_p20220922.ebuild7
-rw-r--r--media-libs/devil/devil-1.7.8-r6.ebuild (renamed from media-libs/devil/devil-1.7.8-r4.ebuild)6
-rw-r--r--media-libs/dssi/dssi-1.1.1-r2.ebuild (renamed from media-libs/dssi/dssi-1.1.1-r1.ebuild)21
-rw-r--r--media-libs/dumb/dumb-2.0.3.ebuild2
-rw-r--r--media-libs/embree/Manifest3
-rw-r--r--media-libs/embree/embree-3.13.0-r2.ebuild113
-rw-r--r--media-libs/embree/embree-3.13.2.ebuild132
-rw-r--r--media-libs/embree/embree-3.13.3.ebuild132
-rw-r--r--media-libs/embree/embree-3.13.4.ebuild2
-rw-r--r--media-libs/esdl/metadata.xml12
-rw-r--r--media-libs/exempi/Manifest2
-rw-r--r--media-libs/exempi/exempi-2.6.2.ebuild68
-rw-r--r--media-libs/exempi/exempi-2.6.3.ebuild67
-rw-r--r--media-libs/exempi/files/exempi-2.6.2-arm-static-build.patch35
-rw-r--r--media-libs/exempi/metadata.xml9
-rw-r--r--media-libs/exiftool/Manifest2
-rw-r--r--media-libs/exiftool/exiftool-12.30.ebuild27
-rw-r--r--media-libs/exiftool/exiftool-12.33.ebuild26
-rw-r--r--media-libs/exiftool/exiftool-12.42.ebuild2
-rw-r--r--media-libs/faac/faac-1.30.ebuild4
-rw-r--r--media-libs/faad2/Manifest2
-rw-r--r--media-libs/faad2/faad2-2.10.1.ebuild (renamed from media-libs/faad2/faad2-2.10.0.ebuild)16
-rw-r--r--media-libs/fcft/fcft-3.1.2-r1.ebuild4
-rw-r--r--media-libs/fcft/fcft-3.1.3.ebuild4
-rw-r--r--media-libs/fcft/fcft-3.1.5.ebuild4
-rw-r--r--media-libs/fcft/metadata.xml8
-rw-r--r--media-libs/fdk-aac/fdk-aac-2.0.2.ebuild10
-rw-r--r--media-libs/flac-compat/flac-compat-1.3.4.ebuild2
-rw-r--r--media-libs/flac/Manifest3
-rw-r--r--media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch31
-rw-r--r--media-libs/flac/flac-1.4.1.ebuild65
-rw-r--r--media-libs/flac/flac-1.4.2-r1.ebuild (renamed from media-libs/flac/flac-1.4.0-r1.ebuild)13
-rw-r--r--media-libs/fontconfig/Manifest3
-rw-r--r--media-libs/fontconfig/files/fontconfig-2.10.2-docbook.patch16
-rw-r--r--media-libs/fontconfig/files/fontconfig-2.13.93-latin-update.patch62
-rw-r--r--media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson-debugging.patch23
-rw-r--r--media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson.patch79
-rw-r--r--media-libs/fontconfig/fontconfig-2.13.93.ebuild198
-rw-r--r--media-libs/fontconfig/fontconfig-2.14.1-r1.ebuild218
-rw-r--r--media-libs/fontconfig/fontconfig-2.14.2.ebuild216
-rw-r--r--media-libs/freealut/freealut-1.1.0-r5.ebuild (renamed from media-libs/freealut/freealut-1.1.0-r4.ebuild)21
-rw-r--r--media-libs/freeglut/Manifest2
-rw-r--r--media-libs/freeglut/files/3.2.2-Fix-aliasing-violation.patch65
-rw-r--r--media-libs/freeglut/freeglut-3.4.0.ebuild (renamed from media-libs/freeglut/freeglut-3.2.2.ebuild)10
-rw-r--r--media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.0.patch11
-rw-r--r--media-libs/freeimage/freeimage-3.18.0-r10.ebuild (renamed from media-libs/freeimage/freeimage-3.18.0-r8.ebuild)3
-rw-r--r--media-libs/freetype/files/freetype-2.12.1-strict-prototypes-clang16.patch36
-rw-r--r--media-libs/freetype/freetype-2.12.1-r2.ebuild261
-rw-r--r--media-libs/freetype/freetype-9999.ebuild33
-rw-r--r--media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch22
-rw-r--r--media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild48
-rw-r--r--media-libs/freeverb3/metadata.xml1
-rw-r--r--media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild (renamed from media-libs/ftgl/ftgl-2.1.3_rc5.ebuild)27
-rw-r--r--media-libs/game-music-emu/game-music-emu-0.6.3.ebuild2
-rw-r--r--media-libs/ganv/Manifest2
-rw-r--r--media-libs/ganv/files/ganv-1.8.2-make-intl-check-non-required.patch13
-rw-r--r--media-libs/ganv/ganv-1.8.2.ebuild (renamed from media-libs/ganv/ganv-1.8.0-r1.ebuild)33
-rw-r--r--media-libs/gavl/gavl-1.4.0-r2.ebuild2
-rw-r--r--media-libs/gd/gd-2.3.2-r3.ebuild (renamed from media-libs/gd/gd-2.3.2-r1.ebuild)6
-rw-r--r--media-libs/gd/gd-2.3.3-r3.ebuild (renamed from media-libs/gd/gd-2.3.3-r1.ebuild)4
-rw-r--r--media-libs/gd/metadata.xml1
-rw-r--r--media-libs/gegl/Manifest3
-rw-r--r--media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch26
-rw-r--r--media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch79
-rw-r--r--media-libs/gegl/gegl-0.4.36-r1.ebuild152
-rw-r--r--media-libs/gegl/gegl-0.4.40-r1.ebuild (renamed from media-libs/gegl/gegl-0.4.38.ebuild)31
-rw-r--r--media-libs/gegl/gegl-9999.ebuild24
-rw-r--r--media-libs/gegl/metadata.xml3
-rw-r--r--media-libs/gexiv2/gexiv2-0.14.0.ebuild6
-rw-r--r--media-libs/gexiv2/metadata.xml21
-rw-r--r--media-libs/giblib/metadata.xml14
-rw-r--r--media-libs/glu/metadata.xml3
-rw-r--r--media-libs/gmmlib/Manifest5
-rw-r--r--media-libs/gmmlib/gmmlib-22.1.8.ebuild35
-rw-r--r--media-libs/gmmlib/gmmlib-22.3.0.ebuild (renamed from media-libs/gmmlib/gmmlib-22.1.7.ebuild)2
-rw-r--r--media-libs/gmmlib/gmmlib-22.3.3.ebuild (renamed from media-libs/gmmlib/gmmlib-22.2.0.ebuild)4
-rw-r--r--media-libs/gmmlib/gmmlib-9999.ebuild2
-rw-r--r--media-libs/gmmlib/metadata.xml14
-rw-r--r--media-libs/graphene/graphene-1.10.8.ebuild4
-rw-r--r--media-libs/grilo/Manifest1
-rw-r--r--media-libs/grilo/grilo-0.3.14.ebuild77
-rw-r--r--media-libs/grilo/grilo-0.3.15.ebuild4
-rw-r--r--media-libs/grilo/metadata.xml27
-rw-r--r--media-libs/gsound/metadata.xml3
-rw-r--r--media-libs/gst-plugins-bad/Manifest3
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-1.20.3.ebuild6
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild (renamed from media-libs/gst-plugins-bad/gst-plugins-bad-1.20.2.ebuild)22
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5.ebuild100
-rw-r--r--media-libs/gst-plugins-bad/metadata.xml1
-rw-r--r--media-libs/gst-plugins-base/Manifest3
-rw-r--r--media-libs/gst-plugins-base/gst-plugins-base-1.20.3.ebuild2
-rw-r--r--media-libs/gst-plugins-base/gst-plugins-base-1.20.4.ebuild (renamed from media-libs/gst-plugins-base/gst-plugins-base-1.20.2.ebuild)2
-rw-r--r--media-libs/gst-plugins-base/gst-plugins-base-1.20.5.ebuild151
-rw-r--r--media-libs/gst-plugins-good/Manifest3
-rw-r--r--media-libs/gst-plugins-good/gst-plugins-good-1.20.3.ebuild2
-rw-r--r--media-libs/gst-plugins-good/gst-plugins-good-1.20.4.ebuild (renamed from media-libs/gst-plugins-good/gst-plugins-good-1.20.2.ebuild)2
-rw-r--r--media-libs/gst-plugins-good/gst-plugins-good-1.20.5.ebuild53
-rw-r--r--media-libs/gst-plugins-ugly/Manifest3
-rw-r--r--media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.3.ebuild6
-rw-r--r--media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.4.ebuild (renamed from media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.2.ebuild)8
-rw-r--r--media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.5.ebuild28
-rw-r--r--media-libs/gst-rtsp-server/Manifest4
-rw-r--r--media-libs/gst-rtsp-server/gst-rtsp-server-1.16.3.ebuild69
-rw-r--r--media-libs/gst-rtsp-server/gst-rtsp-server-1.20.4.ebuild (renamed from media-libs/gst-rtsp-server/gst-rtsp-server-1.20.2.ebuild)0
-rw-r--r--media-libs/gst-rtsp-server/gst-rtsp-server-1.20.5.ebuild43
-rw-r--r--media-libs/gstreamer-editing-services/Manifest4
-rw-r--r--media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild67
-rw-r--r--media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.3.ebuild4
-rw-r--r--media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.4.ebuild (renamed from media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.2.ebuild)6
-rw-r--r--media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.5.ebuild56
-rw-r--r--media-libs/gstreamer/Manifest3
-rw-r--r--media-libs/gstreamer/files/gstreamer-1.20-loong.patch28
-rw-r--r--media-libs/gstreamer/files/gstreamer-1.20.5-tests-race.patch293
-rw-r--r--media-libs/gstreamer/gstreamer-1.20.3.ebuild2
-rw-r--r--media-libs/gstreamer/gstreamer-1.20.4.ebuild (renamed from media-libs/gstreamer/gstreamer-1.20.2.ebuild)1
-rw-r--r--media-libs/gstreamer/gstreamer-1.20.5.ebuild76
-rw-r--r--media-libs/guilib/Manifest1
-rw-r--r--media-libs/guilib/guilib-1.2.1-r1.ebuild43
-rw-r--r--media-libs/gupnp-dlna/metadata.xml11
-rw-r--r--media-libs/hamlib/Manifest3
-rw-r--r--media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch191
-rw-r--r--media-libs/hamlib/hamlib-4.4.ebuild5
-rw-r--r--media-libs/hamlib/hamlib-4.5.3.ebuild (renamed from media-libs/hamlib/hamlib-4.3.1.ebuild)10
-rw-r--r--media-libs/hamlib/hamlib-4.5.4.ebuild97
-rw-r--r--media-libs/harfbuzz/Manifest6
-rw-r--r--media-libs/harfbuzz/files/harfbuzz-5.3.1-meson-freetype-icu.patch120
-rw-r--r--media-libs/harfbuzz/files/harfbuzz-6.0.0-gcc-13.patch26
-rw-r--r--media-libs/harfbuzz/harfbuzz-5.0.1.ebuild100
-rw-r--r--media-libs/harfbuzz/harfbuzz-5.2.0.ebuild100
-rw-r--r--media-libs/harfbuzz/harfbuzz-5.3.1-r1.ebuild (renamed from media-libs/harfbuzz/harfbuzz-5.1.0.ebuild)10
-rw-r--r--media-libs/harfbuzz/harfbuzz-6.0.0.ebuild (renamed from media-libs/harfbuzz/harfbuzz-4.4.1.ebuild)24
-rw-r--r--media-libs/harfbuzz/harfbuzz-9999.ebuild10
-rw-r--r--media-libs/harfbuzz/metadata.xml4
-rw-r--r--media-libs/id3lib/files/id3lib-3.8.3-vbr-stack-smashing.patch19
-rw-r--r--media-libs/id3lib/id3lib-3.8.3-r9.ebuild (renamed from media-libs/id3lib/id3lib-3.8.3-r8.ebuild)3
-rw-r--r--media-libs/iir1/Manifest1
-rw-r--r--media-libs/iir1/iir1-1.9.4.ebuild27
-rw-r--r--media-libs/imlib/imlib-1.9.15-r7.ebuild (renamed from media-libs/imlib/imlib-1.9.15-r5.ebuild)8
-rw-r--r--media-libs/imlib2/Manifest1
-rw-r--r--media-libs/imlib2/files/7d60151ba9.patch37
-rw-r--r--media-libs/imlib2/imlib2-1.7.1-r4.ebuild (renamed from media-libs/imlib2/imlib2-1.7.1-r2.ebuild)6
-rw-r--r--media-libs/imlib2/imlib2-1.7.5-r1.ebuild (renamed from media-libs/imlib2/imlib2-1.7.5.ebuild)9
-rw-r--r--media-libs/imlib2/imlib2-1.9.0.ebuild89
-rw-r--r--media-libs/imlib2/imlib2-1.9.1-r1.ebuild (renamed from media-libs/imlib2/imlib2-1.9.1.ebuild)4
-rw-r--r--media-libs/intel-hybrid-codec-driver/Manifest1
-rw-r--r--media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-gcc10-fix.patch11
-rw-r--r--media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-invalid-read-fix.patch39
-rw-r--r--media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-nullptr-fix.patch21
-rw-r--r--media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-vadriverinit-fix.patch13
-rw-r--r--media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-x11-fix.patch54
-rw-r--r--media-libs/intel-hybrid-codec-driver/intel-hybrid-codec-driver-2.0.0.ebuild53
-rw-r--r--media-libs/intel-hybrid-codec-driver/metadata.xml18
-rw-r--r--media-libs/intel-mediasdk/Manifest3
-rw-r--r--media-libs/intel-mediasdk/files/intel-mediasdk-20.3.0-missing-limits-include.patch26
-rw-r--r--media-libs/intel-mediasdk/intel-mediasdk-20.3.0-r1.ebuild47
-rw-r--r--media-libs/intel-mediasdk/intel-mediasdk-22.6.3.ebuild82
-rw-r--r--media-libs/intel-mediasdk/intel-mediasdk-22.6.4.ebuild82
-rw-r--r--media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild49
-rw-r--r--media-libs/intel-mediasdk/metadata.xml16
-rw-r--r--media-libs/jbig2dec/jbig2dec-0.19.ebuild4
-rw-r--r--media-libs/jg/Manifest1
-rw-r--r--media-libs/jg/jg-1.0.0.ebuild28
-rw-r--r--media-libs/jg/jg-9999.ebuild28
-rw-r--r--media-libs/jg/metadata.xml23
-rw-r--r--media-libs/kcolorpicker/kcolorpicker-0.2.0.ebuild2
-rw-r--r--media-libs/kimageannotator/kimageannotator-0.6.0.ebuild2
-rw-r--r--media-libs/kodi-platform/kodi-platform-9999.ebuild32
-rw-r--r--media-libs/kodi-platform/metadata.xml15
-rw-r--r--media-libs/ksanecore/Manifest3
-rw-r--r--media-libs/ksanecore/ksanecore-22.08.3.ebuild (renamed from media-libs/ksanecore/ksanecore-22.08.1.ebuild)2
-rw-r--r--media-libs/ksanecore/ksanecore-22.12.2.ebuild23
-rw-r--r--media-libs/kvazaar/Manifest2
-rw-r--r--media-libs/kvazaar/files/kvazaar-2.0.0-fix-avx2-flags.patch33
-rw-r--r--media-libs/kvazaar/kvazaar-1.2.0-r1.ebuild64
-rw-r--r--media-libs/kvazaar/kvazaar-2.0.0.ebuild64
-rw-r--r--media-libs/kvazaar/kvazaar-2.1.0.ebuild8
-rw-r--r--media-libs/kvazaar/kvazaar-9999.ebuild2
-rw-r--r--media-libs/ladspa-sdk/ladspa-sdk-1.17-r1.ebuild4
-rw-r--r--media-libs/lasi/metadata.xml2
-rw-r--r--media-libs/lcms/Manifest1
-rw-r--r--media-libs/lcms/lcms-2.13.1-r3.ebuild (renamed from media-libs/lcms/lcms-2.13.1.ebuild)5
-rw-r--r--media-libs/lcms/lcms-2.14-r4.ebuild (renamed from media-libs/lcms/lcms-2.13.1-r1.ebuild)14
-rw-r--r--media-libs/lensfun/Manifest1
-rw-r--r--media-libs/lensfun/lensfun-0.3.2-r1.ebuild65
-rw-r--r--media-libs/lensfun/lensfun-0.3.3.ebuild6
-rw-r--r--media-libs/lensfun/metadata.xml4
-rw-r--r--media-libs/leptonica/Manifest1
-rw-r--r--media-libs/leptonica/leptonica-1.82.0-r1.ebuild (renamed from media-libs/leptonica/leptonica-1.82.0.ebuild)4
-rw-r--r--media-libs/leptonica/leptonica-1.83.1.ebuild77
-rw-r--r--media-libs/libaacs/Manifest1
-rw-r--r--media-libs/libaacs/libaacs-0.11.0.ebuild44
-rw-r--r--media-libs/libaacs/libaacs-0.11.1-r1.ebuild21
-rw-r--r--media-libs/libaacs/libaacs-0.11.1.ebuild43
-rw-r--r--media-libs/libafterimage/libafterimage-1.20-r6.ebuild (renamed from media-libs/libafterimage/libafterimage-1.20-r4.ebuild)6
-rw-r--r--media-libs/libao/libao-1.2.2-r2.ebuild4
-rw-r--r--media-libs/libaom/Manifest1
-rw-r--r--media-libs/libaom/libaom-3.3.0.ebuild108
-rw-r--r--media-libs/libaom/libaom-3.4.0-r1.ebuild113
-rw-r--r--media-libs/libaom/libaom-3.4.0.ebuild6
-rw-r--r--media-libs/libaom/libaom-3.5.0.ebuild4
-rw-r--r--media-libs/libaom/libaom-9999.ebuild4
-rw-r--r--media-libs/libart_lgpl/libart_lgpl-2.3.21-r3.ebuild4
-rw-r--r--media-libs/libart_lgpl/metadata.xml11
-rw-r--r--media-libs/libass/Manifest1
-rw-r--r--media-libs/libass/libass-0.15.2.ebuild43
-rw-r--r--media-libs/libass/libass-0.16.0.ebuild2
-rw-r--r--media-libs/libavif/Manifest2
-rw-r--r--media-libs/libavif/files/libavif-0.9.3-dav1d-1.0.0.patch32
-rw-r--r--media-libs/libavif/libavif-0.10.1.ebuild2
-rw-r--r--media-libs/libavif/libavif-0.11.1.ebuild (renamed from media-libs/libavif/libavif-0.9.3-r3.ebuild)21
-rw-r--r--media-libs/libavif/libavif-0.9.3-r2.ebuild104
-rw-r--r--media-libs/libavif/libavif-9999.ebuild9
-rw-r--r--media-libs/libbdplus/Manifest1
-rw-r--r--media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild47
-rw-r--r--media-libs/libbluray/Manifest4
-rw-r--r--media-libs/libbluray/files/libbluray-1.3.1-Fix-build-failure-after-Oracle-Java-CPU-for-April-2022.patch28
-rw-r--r--media-libs/libbluray/libbluray-1.3.0-r1.ebuild83
-rw-r--r--media-libs/libbluray/libbluray-1.3.1.ebuild86
-rw-r--r--media-libs/libbluray/libbluray-1.3.3.ebuild (renamed from media-libs/libbluray/libbluray-1.3.2.ebuild)8
-rw-r--r--media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild4
-rw-r--r--media-libs/libbsb/libbsb-0.0.7-r1.ebuild (renamed from media-libs/libbsb/libbsb-0.0.7.ebuild)4
-rw-r--r--media-libs/libcaca/libcaca-0.99_beta19-r11.ebuild (renamed from media-libs/libcaca/libcaca-0.99_beta19-r9.ebuild)7
-rw-r--r--media-libs/libcaca/libcaca-0.99_beta19-r8.ebuild182
-rw-r--r--media-libs/libcanberra/libcanberra-0.30-r6.ebuild83
-rw-r--r--media-libs/libcanberra/libcanberra-0.30-r7.ebuild2
-rw-r--r--media-libs/libcdaudio/libcdaudio-0.99.12-r3.ebuild28
-rw-r--r--media-libs/libcdaudio/libcdaudio-0.99.12-r4.ebuild2
-rw-r--r--media-libs/libcddb/libcddb-1.3.2-r1.ebuild4
-rw-r--r--media-libs/libchamplain/Manifest1
-rw-r--r--media-libs/libchamplain/libchamplain-0.12.20.ebuild4
-rw-r--r--media-libs/libchamplain/libchamplain-0.12.21.ebuild63
-rw-r--r--media-libs/libchamplain/metadata.xml23
-rw-r--r--media-libs/libcue/libcue-2.2.1.ebuild4
-rw-r--r--media-libs/libcuefile/libcuefile-477-r2.ebuild2
-rw-r--r--media-libs/libdc1394/libdc1394-2.2.6.ebuild2
-rw-r--r--media-libs/libdca/libdca-0.0.7.ebuild4
-rw-r--r--media-libs/libde265/Manifest1
-rw-r--r--media-libs/libde265/libde265-1.0.9.ebuild96
-rw-r--r--media-libs/libde265/libde265-9999.ebuild2
-rw-r--r--media-libs/libdv/libdv-1.0.0-r4.ebuild4
-rw-r--r--media-libs/libdvdread/Manifest1
-rw-r--r--media-libs/libdvdread/libdvdread-6.1.2.ebuild44
-rw-r--r--media-libs/libdvdread/libdvdread-6.1.3.ebuild2
-rw-r--r--media-libs/libepoxy/libepoxy-1.5.10-r1.ebuild4
-rw-r--r--media-libs/libepoxy/libepoxy-9999.ebuild4
-rw-r--r--media-libs/libexif/libexif-0.6.24.ebuild4
-rw-r--r--media-libs/libextractor/libextractor-1.9-r5.ebuild (renamed from media-libs/libextractor/libextractor-1.9-r3.ebuild)2
-rw-r--r--media-libs/libextractor/metadata.xml3
-rw-r--r--media-libs/libffado/Manifest2
-rw-r--r--media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch13
-rw-r--r--media-libs/libffado/libffado-2.4.7.ebuild (renamed from media-libs/libffado/libffado-2.4.6.ebuild)14
-rw-r--r--media-libs/libfreeaptx/libfreeaptx-0.1.1-r1.ebuild2
-rw-r--r--media-libs/libggi/libggi-2.2.2-r1.ebuild2
-rw-r--r--media-libs/libgii/libgii-1.0.2-r3.ebuild2
-rw-r--r--media-libs/libglvnd/Manifest3
-rw-r--r--media-libs/libglvnd/libglvnd-1.5.0.ebuild65
-rw-r--r--media-libs/libglvnd/libglvnd-1.6.0.ebuild (renamed from media-libs/libglvnd/libglvnd-1.4.0.ebuild)6
-rw-r--r--media-libs/libglvnd/libglvnd-9999.ebuild4
-rw-r--r--media-libs/libglvnd/metadata.xml14
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.5.30.ebuild2
-rw-r--r--media-libs/libgphoto2/metadata.xml1
-rw-r--r--media-libs/libgpod/files/libgpod-0.8.3-implicit-int.patch19
-rw-r--r--media-libs/libgpod/libgpod-0.8.3-r6.ebuild78
-rw-r--r--media-libs/libharu/Manifest2
-rw-r--r--media-libs/libharu/files/libharu-2.3.0-2-Avoid-issue-with-libtiff-duplicate-symbols.patch89
-rw-r--r--media-libs/libharu/files/libharu-2.3.0-3-cmake-fixes.patch177
-rw-r--r--media-libs/libharu/files/libharu-2.3.0-4-Add-support-for-free-form-triangle-Shading-objects.patch530
-rw-r--r--media-libs/libharu/libharu-2.3.0-r2.ebuild39
-rw-r--r--media-libs/libharu/libharu-2.4.2-r1.ebuild32
-rw-r--r--media-libs/libharu/metadata.xml2
-rw-r--r--media-libs/libhdhomerun/files/20190621-use_shared_library.patch4
-rw-r--r--media-libs/libheif/Manifest1
-rw-r--r--media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch45
-rw-r--r--media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch37
-rw-r--r--media-libs/libheif/libheif-1.12.0-r2.ebuild78
-rw-r--r--media-libs/libheif/libheif-1.12.0-r3.ebuild89
-rw-r--r--media-libs/libheif/libheif-1.13.0.ebuild2
-rw-r--r--media-libs/libid3tag/libid3tag-0.16.2.ebuild2
-rw-r--r--media-libs/libiptcdata/libiptcdata-1.0.5.ebuild6
-rw-r--r--media-libs/libjpeg-turbo/Manifest1
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-2.1.4.ebuild2
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-2.1.5.ebuild130
-rw-r--r--media-libs/libjsw/libjsw-1.5.8.ebuild4
-rw-r--r--media-libs/libjxl/Manifest4
-rw-r--r--media-libs/libjxl/libjxl-0.7.0.ebuild (renamed from media-libs/libjxl/libjxl-0.7.0_pre20220511.ebuild)16
-rw-r--r--media-libs/libjxl/libjxl-0.7.0_pre20220825.ebuild2
-rw-r--r--media-libs/libjxl/libjxl-0.8.0.ebuild (renamed from media-libs/libjxl/libjxl-0.7.0_pre20220329.ebuild)34
-rw-r--r--media-libs/libjxl/libjxl-9999.ebuild16
-rw-r--r--media-libs/libjxl/metadata.xml4
-rw-r--r--media-libs/libkate/libkate-0.4.1-r4.ebuild4
-rw-r--r--media-libs/liblastfm/liblastfm-1.1.0_pre20190625.ebuild4
-rw-r--r--media-libs/libldac/libldac-2.0.2.3-r1.ebuild2
-rw-r--r--media-libs/liblscp/Manifest2
-rw-r--r--media-libs/liblscp/liblscp-0.9.8.ebuild (renamed from media-libs/liblscp/liblscp-0.9.6.ebuild)2
-rw-r--r--media-libs/libltc/Manifest1
-rw-r--r--media-libs/libltc/libltc-1.3.1-r1.ebuild28
-rw-r--r--media-libs/libltc/libltc-1.3.2.ebuild2
-rw-r--r--media-libs/libmad/libmad-0.15.1b-r10.ebuild4
-rw-r--r--media-libs/libmatemixer/Manifest1
-rw-r--r--media-libs/libmatemixer/libmatemixer-1.24.1-r1.ebuild42
-rw-r--r--media-libs/libmatemixer/libmatemixer-1.26.0.ebuild2
-rw-r--r--media-libs/libmatroska/Manifest2
-rw-r--r--media-libs/libmatroska/libmatroska-1.7.1.ebuild (renamed from media-libs/libmatroska/libmatroska-1.6.3.ebuild)13
-rw-r--r--media-libs/libmediaart/libmediaart-1.9.6-r1.ebuild (renamed from media-libs/libmediaart/libmediaart-1.9.6.ebuild)5
-rw-r--r--media-libs/libmediaart/metadata.xml11
-rw-r--r--media-libs/libmediainfo/Manifest3
-rw-r--r--media-libs/libmediainfo/files/libmediainfo-21.09-link-fix.patch29
-rw-r--r--media-libs/libmediainfo/libmediainfo-21.09.ebuild88
-rw-r--r--media-libs/libmediainfo/libmediainfo-22.09.ebuild (renamed from media-libs/libmediainfo/libmediainfo-22.03.ebuild)2
-rw-r--r--media-libs/libmetalink/libmetalink-0.1.3-r2.ebuild (renamed from media-libs/libmetalink/libmetalink-0.1.3-r1.ebuild)18
-rw-r--r--media-libs/libmikmod/files/libmikmod-3.3.11.1-macro-strict-prototypes.patch14
-rw-r--r--media-libs/libmikmod/libmikmod-3.3.11.1-r1.ebuild (renamed from media-libs/libmikmod/libmikmod-3.3.11.1.ebuild)27
-rw-r--r--media-libs/libmms/libmms-0.6.4-r1.ebuild4
-rw-r--r--media-libs/libmng/libmng-2.0.3-r1.ebuild4
-rw-r--r--media-libs/libmodplug/libmodplug-0.8.9.0-r1.ebuild4
-rw-r--r--media-libs/libmp3splt/metadata.xml1
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.5.1-r3.ebuild4
-rw-r--r--media-libs/libmtp/libmtp-1.1.20.ebuild2
-rw-r--r--media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild6
-rw-r--r--media-libs/libnsgif/libnsgif-0.2.1-r3.ebuild4
-rw-r--r--media-libs/libofa/libofa-0.9.3-r3.ebuild (renamed from media-libs/libofa/libofa-0.9.3-r2.ebuild)18
-rw-r--r--media-libs/libogg/files/libogg-1.3.5-macro-wstrict-prototypes.patch20
-rw-r--r--media-libs/libogg/libogg-1.3.5-r1.ebuild (renamed from media-libs/libogg/libogg-1.3.5.ebuild)3
-rw-r--r--media-libs/libopenmpt/Manifest1
-rw-r--r--media-libs/libopenmpt/libopenmpt-0.6.6.ebuild2
-rw-r--r--media-libs/libopenmpt/libopenmpt-0.6.8.ebuild61
-rw-r--r--media-libs/libopenraw/Manifest31
-rw-r--r--media-libs/libopenraw/libopenraw-0.1.3.ebuild2
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.2.ebuild101
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.3.ebuild101
-rw-r--r--media-libs/libopenraw/metadata.xml9
-rw-r--r--media-libs/libopenshot-audio/Manifest2
-rw-r--r--media-libs/libopenshot-audio/libopenshot-audio-0.2.0.ebuild26
-rw-r--r--media-libs/libopenshot-audio/libopenshot-audio-0.2.1.ebuild24
-rw-r--r--media-libs/libopenshot/Manifest2
-rw-r--r--media-libs/libopenshot/files/libopenshot-0.2.5-gcc10.patch58
-rw-r--r--media-libs/libopenshot/files/libopenshot-0.2.5-no-hwaccel-testfix.patch45
-rw-r--r--media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild92
-rw-r--r--media-libs/libopenshot/libopenshot-0.2.6.ebuild91
-rw-r--r--media-libs/libopenshot/libopenshot-0.2.7-r1.ebuild (renamed from media-libs/libopenshot/libopenshot-0.2.7.ebuild)5
-rw-r--r--media-libs/libopusenc/files/libopusenc-0.2.1-clang16.patch102
-rw-r--r--media-libs/libopusenc/libopusenc-0.2.1-r1.ebuild (renamed from media-libs/libopusenc/libopusenc-0.2.1.ebuild)27
-rw-r--r--media-libs/libpano13/libpano13-2.9.20-r3.ebuild (renamed from media-libs/libpano13/libpano13-2.9.20-r1.ebuild)8
-rw-r--r--media-libs/libpano13/libpano13-2.9.20.ebuild39
-rw-r--r--media-libs/libpano13/libpano13-2.9.21-r1.ebuild (renamed from media-libs/libpano13/libpano13-2.9.21.ebuild)8
-rw-r--r--media-libs/libpano13/libpano13-2.9.21-r2.ebuild41
-rw-r--r--media-libs/libpgf/libpgf-7.21.7-r1.ebuild (renamed from media-libs/libpgf/libpgf-7.21.7.ebuild)22
-rw-r--r--media-libs/libpgf/metadata.xml11
-rw-r--r--media-libs/libplacebo/Manifest6
-rw-r--r--media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch59
-rw-r--r--media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch33
-rw-r--r--media-libs/libplacebo/files/libplacebo-4.192.1-python-executable.patch8
-rw-r--r--media-libs/libplacebo/files/libplacebo-5.229.1-llvm-libunwind.patch9
-rw-r--r--media-libs/libplacebo/files/libplacebo-5.229.1-python-executable.patch11
-rw-r--r--media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch13
-rw-r--r--media-libs/libplacebo/libplacebo-2.43.0.ebuild56
-rw-r--r--media-libs/libplacebo/libplacebo-2.43.1.ebuild56
-rw-r--r--media-libs/libplacebo/libplacebo-2.72.2.ebuild74
-rw-r--r--media-libs/libplacebo/libplacebo-3.120.3.ebuild75
-rw-r--r--media-libs/libplacebo/libplacebo-4.192.1-r2.ebuild (renamed from media-libs/libplacebo/libplacebo-4.192.1-r1.ebuild)22
-rw-r--r--media-libs/libplacebo/libplacebo-5.229.2.ebuild100
-rw-r--r--media-libs/libplacebo/libplacebo-9999.ebuild107
-rw-r--r--media-libs/libplacebo/metadata.xml7
-rw-r--r--media-libs/libpng-compat/libpng-compat-1.2.59-r1.ebuild (renamed from media-libs/libpng-compat/libpng-compat-1.2.59.ebuild)25
-rw-r--r--media-libs/libpng-compat/libpng-compat-1.5.30-r1.ebuild (renamed from media-libs/libpng-compat/libpng-compat-1.5.30.ebuild)16
-rw-r--r--media-libs/libpng/Manifest4
-rw-r--r--media-libs/libpng/libpng-1.6.37-r2.ebuild46
-rw-r--r--media-libs/libpng/libpng-1.6.39.ebuild (renamed from media-libs/libpng/libpng-1.6.38.ebuild)5
-rw-r--r--media-libs/libprojectm/libprojectm-3.1.12.ebuild4
-rw-r--r--media-libs/libprojectm/libprojectm-9999.ebuild4
-rw-r--r--media-libs/libpulse/Manifest1
-rw-r--r--media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch28
-rw-r--r--media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch42
-rw-r--r--media-libs/libpulse/libpulse-16.1-r2.ebuild (renamed from media-libs/libpulse/libpulse-16.0-r1.ebuild)15
-rw-r--r--media-libs/libqaccessibilityclient/libqaccessibilityclient-0.4.1.ebuild12
-rw-r--r--media-libs/libquicktime/files/libquicktime-1.2.4-implicit-func-decl.patch11
-rw-r--r--media-libs/libquicktime/libquicktime-1.2.4-r4.ebuild (renamed from media-libs/libquicktime/libquicktime-1.2.4-r3.ebuild)7
-rw-r--r--media-libs/libquvi-scripts/libquvi-scripts-0.9.20131130-r101.ebuild38
-rw-r--r--media-libs/libquvi/files/libquvi-0.9.4-luaL_setfuncs_ver.patch70
-rw-r--r--media-libs/libquvi/files/libquvi-0.9.4-luajit.patch15
-rw-r--r--media-libs/libquvi/libquvi-0.9.4-r101.ebuild69
-rw-r--r--media-libs/libraw/Manifest2
-rw-r--r--media-libs/libraw/libraw-0.21.1.ebuild (renamed from media-libs/libraw/libraw-0.20.2.ebuild)28
-rw-r--r--media-libs/libraw/metadata.xml5
-rw-r--r--media-libs/libreplaygain/libreplaygain-477-r2.ebuild2
-rw-r--r--media-libs/librtprocess/librtprocess-0.12.0-r1.ebuild39
-rw-r--r--media-libs/librtprocess/librtprocess-0.12.0.ebuild14
-rw-r--r--media-libs/libsdl/Manifest3
-rw-r--r--media-libs/libsdl/files/libsdl-1.2.15-strict-prototypes.patch316
-rw-r--r--media-libs/libsdl/libsdl-1.2.15_p20210224.ebuild1
-rw-r--r--media-libs/libsdl/libsdl-1.2.15_p20221103.ebuild166
-rw-r--r--media-libs/libsdl/libsdl-1.2.15_p20221201.ebuild166
-rw-r--r--media-libs/libsdl/libsdl-1.2.60.ebuild38
-rw-r--r--media-libs/libsdl/metadata.xml3
-rw-r--r--media-libs/libsdl2/Manifest5
-rw-r--r--media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch2
-rw-r--r--media-libs/libsdl2/files/libsdl2-2.24.0-fix-build-without-joystick.patch32
-rw-r--r--media-libs/libsdl2/files/libsdl2-2.26.0-wayland.patch27
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild231
-rw-r--r--media-libs/libsdl2/libsdl2-2.24.0-r2.ebuild5
-rw-r--r--media-libs/libsdl2/libsdl2-2.24.2.ebuild (renamed from media-libs/libsdl2/libsdl2-2.24.0-r1.ebuild)6
-rw-r--r--media-libs/libsdl2/libsdl2-2.26.0.ebuild (renamed from media-libs/libsdl2/libsdl2-2.24.0.ebuild)6
-rw-r--r--media-libs/libsdl2/libsdl2-2.26.2.ebuild (renamed from media-libs/libsdl2/libsdl2-2.0.22.ebuild)20
-rw-r--r--media-libs/libsfml/libsfml-2.5.1-r1.ebuild2
-rw-r--r--media-libs/libshout/libshout-2.4.6.ebuild2
-rw-r--r--media-libs/libshumate/Manifest2
-rw-r--r--media-libs/libshumate/libshumate-1.0.3.ebuild (renamed from media-libs/libshumate/libshumate-1.0.1.ebuild)8
-rw-r--r--media-libs/libshumate/metadata.xml11
-rw-r--r--media-libs/libsidplay/libsidplay-2.1.1-r5.ebuild61
-rw-r--r--media-libs/libsidplay/libsidplay-2.1.1-r6.ebuild2
-rw-r--r--media-libs/libsidplayfp/Manifest3
-rw-r--r--media-libs/libsidplayfp/libsidplayfp-2.4.1.ebuild (renamed from media-libs/libsidplayfp/libsidplayfp-2.3.1.ebuild)0
-rw-r--r--media-libs/libsidplayfp/libsidplayfp-2.4.2.ebuild29
-rw-r--r--media-libs/libsixel/libsixel-1.10.3.ebuild6
-rw-r--r--media-libs/libsndfile/Manifest1
-rw-r--r--media-libs/libsndfile/libsndfile-1.1.0-r1.ebuild4
-rw-r--r--media-libs/libsndfile/libsndfile-1.2.0.ebuild77
-rw-r--r--media-libs/libsndfile/libsndfile-9999.ebuild4
-rw-r--r--media-libs/libsoundtouch/Manifest1
-rw-r--r--media-libs/libsoundtouch/libsoundtouch-2.3.2.ebuild60
-rw-r--r--media-libs/libtgvoip/Manifest2
-rw-r--r--media-libs/libtgvoip/libtgvoip-2.4.4_p20220503.ebuild4
-rw-r--r--media-libs/libtgvoip/libtgvoip-2.4.4_p20221208.ebuild (renamed from media-libs/libtgvoip/libtgvoip-2.4.4_p20220117.ebuild)4
-rw-r--r--media-libs/libtgvoip/metadata.xml3
-rw-r--r--media-libs/libtiger/libtiger-0.3.4-r1.ebuild2
-rw-r--r--media-libs/libuninameslist/Manifest1
-rw-r--r--media-libs/libuninameslist/libuninameslist-20221022.ebuild22
-rw-r--r--media-libs/libva-compat/Manifest1
-rw-r--r--media-libs/libva-compat/libva-compat-1.8.3-r2.ebuild66
-rw-r--r--media-libs/libva-compat/metadata.xml15
-rw-r--r--media-libs/libva-intel-driver/Manifest1
-rw-r--r--media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.ebuild60
-rw-r--r--media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild54
-rw-r--r--media-libs/libva-intel-driver/metadata.xml14
-rw-r--r--media-libs/libva-intel-media-driver/Manifest2
-rw-r--r--media-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.2.0_x11_optional.patch16
-rw-r--r--media-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_testing_in_src_test.patch46
-rw-r--r--media-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch43
-rw-r--r--media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild54
-rw-r--r--media-libs/libva-intel-media-driver/libva-intel-media-driver-22.6.6.ebuild54
-rw-r--r--media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild55
-rw-r--r--media-libs/libva-intel-media-driver/metadata.xml15
-rw-r--r--media-libs/libva/Manifest2
-rw-r--r--media-libs/libva/libva-2.16.0.ebuild68
-rw-r--r--media-libs/libva/libva-2.17.0.ebuild69
-rw-r--r--media-libs/libva/libva-9999.ebuild68
-rw-r--r--media-libs/libva/metadata.xml (renamed from media-libs/guilib/metadata.xml)6
-rw-r--r--media-libs/libvisual/Manifest2
-rw-r--r--media-libs/libvisual/files/libvisual-0.4.0-cond.patch15
-rw-r--r--media-libs/libvisual/files/libvisual-0.4.0-conditions.patch24
-rw-r--r--media-libs/libvisual/files/libvisual-0.4.0-detect_amd64.patch14
-rw-r--r--media-libs/libvisual/files/libvisual-0.4.0-format-security.patch16
-rw-r--r--media-libs/libvisual/files/libvisual-0.4.0-inlinedefineconflict.patch60
-rw-r--r--media-libs/libvisual/libvisual-0.4.1.ebuild (renamed from media-libs/libvisual/libvisual-0.4.0-r3.ebuild)20
-rw-r--r--media-libs/libvisual/metadata.xml5
-rw-r--r--media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild2
-rw-r--r--media-libs/libvorbis/files/libvorbis-1.3.7-macro-wstrict-prototypes.patch20
-rw-r--r--media-libs/libvorbis/libvorbis-1.3.7-r1.ebuild (renamed from media-libs/libvorbis/libvorbis-1.3.7.ebuild)10
-rw-r--r--media-libs/libvpx/Manifest4
-rw-r--r--media-libs/libvpx/files/libvpx-1.12.0-configure-clang16.patch37
-rw-r--r--media-libs/libvpx/libvpx-1.11.0.ebuild137
-rw-r--r--media-libs/libvpx/libvpx-1.12.0-r1.ebuild (renamed from media-libs/libvpx/libvpx-1.12.0.ebuild)5
-rw-r--r--media-libs/libvpx/libvpx-1.9.0.ebuild119
-rw-r--r--media-libs/libwebp/Manifest3
-rw-r--r--media-libs/libwebp/libwebp-1.1.0-r1.ebuild (renamed from media-libs/libwebp/libwebp-1.1.0.ebuild)8
-rw-r--r--media-libs/libwebp/libwebp-1.2.0.ebuild70
-rw-r--r--media-libs/libwebp/libwebp-1.2.1.ebuild70
-rw-r--r--media-libs/libwebp/libwebp-1.2.2-r1.ebuild (renamed from media-libs/libwebp/libwebp-1.2.2.ebuild)6
-rw-r--r--media-libs/libwebp/libwebp-1.2.3-r1.ebuild76
-rw-r--r--media-libs/libwebp/libwebp-1.2.4-r1.ebuild (renamed from media-libs/libwebp/libwebp-1.2.4.ebuild)0
-rw-r--r--media-libs/libxmi/metadata.xml26
-rw-r--r--media-libs/libzen/Manifest1
-rw-r--r--media-libs/libzen/libzen-0.4.38.ebuild66
-rw-r--r--media-libs/libzen/libzen-0.4.39.ebuild2
-rw-r--r--media-libs/lilv/Manifest2
-rw-r--r--media-libs/lilv/lilv-0.24.20-r1.ebuild (renamed from media-libs/lilv/lilv-0.24.18-r1.ebuild)19
-rw-r--r--media-libs/lilv/metadata.xml3
-rw-r--r--media-libs/lsp-plugins/Manifest3
-rw-r--r--media-libs/lsp-plugins/files/lsp-plugins-1.2.3-fix-double-buffering.patch34
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.1.22.ebuild52
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.1.24.ebuild55
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild92
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild88
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-9999.ebuild63
-rw-r--r--media-libs/lsp-plugins/metadata.xml6
-rw-r--r--media-libs/lv2/Manifest1
-rw-r--r--media-libs/lv2/lv2-1.18.10.ebuild73
-rw-r--r--media-libs/lv2/lv2-1.18.8-r1.ebuild4
-rw-r--r--media-libs/lvtk/lvtk-1.2.0-r2.ebuild4
-rw-r--r--media-libs/mesa-amber/mesa-amber-21.3.9.ebuild6
-rw-r--r--media-libs/mesa-amber/metadata.xml28
-rw-r--r--media-libs/mesa/Manifest7
-rw-r--r--media-libs/mesa/mesa-22.2.5.ebuild (renamed from media-libs/mesa/mesa-22.2.0.ebuild)11
-rw-r--r--media-libs/mesa/mesa-22.3.2.ebuild (renamed from media-libs/mesa/mesa-22.1.7.ebuild)91
-rw-r--r--media-libs/mesa/mesa-22.3.3.ebuild467
-rw-r--r--media-libs/mesa/mesa-23.0.0_rc3.ebuild465
-rw-r--r--media-libs/mesa/mesa-23.0.0_rc4.ebuild465
-rw-r--r--media-libs/mesa/mesa-9999.ebuild56
-rw-r--r--media-libs/mesa/metadata.xml52
-rw-r--r--media-libs/mlt/Manifest2
-rw-r--r--media-libs/mlt/files/mlt-7.8.0-linux_locale_h.patch37
-rw-r--r--media-libs/mlt/mlt-7.12.0.ebuild (renamed from media-libs/mlt/mlt-7.8.0.ebuild)8
-rw-r--r--media-libs/mutagen/Manifest2
-rw-r--r--media-libs/mutagen/files/mutagen-1.46.0-sphinx-6.patch41
-rw-r--r--media-libs/mutagen/metadata.xml4
-rw-r--r--media-libs/mutagen/mutagen-1.46.0.ebuild (renamed from media-libs/mutagen/mutagen-1.45.1.ebuild)29
-rw-r--r--media-libs/nas/nas-1.9.5.ebuild4
-rw-r--r--media-libs/netpbm/Manifest4
-rw-r--r--media-libs/netpbm/files/netpbm-11.0.0-misc-deps.patch69
-rw-r--r--media-libs/netpbm/files/netpbm-11.1.0-fix-clang-O2.patch26
-rw-r--r--media-libs/netpbm/metadata.xml8
-rw-r--r--media-libs/netpbm/netpbm-10.86.36.ebuild (renamed from media-libs/netpbm/netpbm-10.86.33.ebuild)162
-rw-r--r--media-libs/netpbm/netpbm-11.1.0-r2.ebuild (renamed from media-libs/netpbm/netpbm-10.86.34.ebuild)208
-rw-r--r--media-libs/noise-suppression-for-voice/Manifest1
-rw-r--r--media-libs/noise-suppression-for-voice/noise-suppression-for-voice-0.9_p20200705.ebuild38
-rw-r--r--media-libs/nv-codec-headers/Manifest1
-rw-r--r--media-libs/nv-codec-headers/nv-codec-headers-11.1.5.2.ebuild23
-rw-r--r--media-libs/oidn/Manifest3
-rw-r--r--media-libs/oidn/oidn-1.3.0-r1.ebuild40
-rw-r--r--media-libs/oidn/oidn-1.4.1-r1.ebuild37
-rw-r--r--media-libs/oidn/oidn-1.4.2.ebuild4
-rw-r--r--media-libs/oidn/oidn-1.4.3.ebuild4
-rw-r--r--media-libs/oneVPL-cpu/Manifest2
-rw-r--r--media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch13
-rw-r--r--media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch49
-rw-r--r--media-libs/oneVPL-cpu/metadata.xml18
-rw-r--r--media-libs/oneVPL-cpu/oneVPL-cpu-2022.2.5.ebuild57
-rw-r--r--media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild57
-rw-r--r--media-libs/oneVPL-intel-gpu/Manifest2
-rw-r--r--media-libs/oneVPL-intel-gpu/metadata.xml14
-rw-r--r--media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild46
-rw-r--r--media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.4.ebuild46
-rw-r--r--media-libs/oneVPL/Manifest2
-rw-r--r--media-libs/oneVPL/metadata.xml19
-rw-r--r--media-libs/oneVPL/oneVPL-2022.2.5.ebuild79
-rw-r--r--media-libs/oneVPL/oneVPL-2023.1.1.ebuild79
-rw-r--r--media-libs/openal/Manifest1
-rw-r--r--media-libs/openal/openal-1.22.2-r1.ebuild2
-rw-r--r--media-libs/openal/openal-1.23.0.ebuild87
-rw-r--r--media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild4
-rw-r--r--media-libs/opencolorio/opencolorio-2.1.2.ebuild6
-rw-r--r--media-libs/opencore-amr/opencore-amr-0.1.6.ebuild2
-rw-r--r--media-libs/opencv/files/opencv-4.6.0-fix-ffmpeg-5.patch19
-rw-r--r--media-libs/opencv/metadata.xml8
-rw-r--r--media-libs/opencv/opencv-4.6.0-r4.ebuild (renamed from media-libs/opencv/opencv-4.6.0-r2.ebuild)11
-rw-r--r--media-libs/openexr/Manifest1
-rw-r--r--media-libs/openexr/files/openexr-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch40
-rw-r--r--media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch13
-rw-r--r--media-libs/openexr/openexr-2.5.8.ebuild70
-rw-r--r--media-libs/openexr/openexr-3.1.5-r1.ebuild (renamed from media-libs/openexr/openexr-3.1.5.ebuild)4
-rw-r--r--media-libs/openh264/Manifest1
-rw-r--r--media-libs/openh264/openh264-2.3.0.ebuild121
-rw-r--r--media-libs/openh264/openh264-2.3.1-r1.ebuild4
-rw-r--r--media-libs/openimageio/Manifest10
-rw-r--r--media-libs/openimageio/openimageio-2.3.12.0-r3.ebuild175
-rw-r--r--media-libs/openimageio/openimageio-2.3.13.0.ebuild175
-rw-r--r--media-libs/openimageio/openimageio-2.3.15.0.ebuild175
-rw-r--r--media-libs/openimageio/openimageio-2.3.19.0.ebuild175
-rw-r--r--media-libs/openimageio/openimageio-2.3.21.0-r1.ebuild (renamed from media-libs/openimageio/openimageio-2.3.17.0.ebuild)18
-rw-r--r--media-libs/openimageio/openimageio-2.4.6.0-r1.ebuild (renamed from media-libs/openimageio/openimageio-2.3.16.0.ebuild)25
-rw-r--r--media-libs/openjpeg/openjpeg-2.5.0-r4.ebuild (renamed from media-libs/openjpeg/openjpeg-2.5.0-r2.ebuild)2
-rw-r--r--media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch20
-rw-r--r--media-libs/opus/metadata.xml3
-rw-r--r--media-libs/opus/opus-1.3.1-r4.ebuild (renamed from media-libs/opus/opus-1.3.1-r3.ebuild)3
-rw-r--r--media-libs/opusfile/files/opusfile-0.12-configure-clang16.patch77
-rw-r--r--media-libs/opusfile/metadata.xml3
-rw-r--r--media-libs/opusfile/opusfile-0.12-r1.ebuild (renamed from media-libs/opusfile/opusfile-0.12.ebuild)28
-rw-r--r--media-libs/osl/Manifest3
-rw-r--r--media-libs/osl/files/osl-1.11.16.0-no-imath.patch49
-rw-r--r--media-libs/osl/files/osl-1.11.17.0-llvm14.patch35
-rw-r--r--media-libs/osl/osl-1.11.17.0-r4.ebuild115
-rw-r--r--media-libs/osl/osl-1.12.7.0.ebuild (renamed from media-libs/osl/osl-1.12.4.1-r2.ebuild)41
-rw-r--r--media-libs/partio/Manifest1
-rw-r--r--media-libs/partio/partio-1.10.1.ebuild49
-rw-r--r--media-libs/partio/partio-1.14.6.ebuild4
-rw-r--r--media-libs/phonon-gstreamer/files/phonon-gstreamer-4.10.0-wayland.patch46
-rw-r--r--media-libs/phonon-gstreamer/phonon-gstreamer-4.10.0-r1.ebuild (renamed from media-libs/phonon-gstreamer/phonon-gstreamer-4.10.0.ebuild)13
-rw-r--r--media-libs/phonon-vlc/phonon-vlc-0.11.3-r1.ebuild15
-rw-r--r--media-libs/portsmf/Manifest1
-rw-r--r--media-libs/portsmf/files/portsmf-239-revert-extern-to-static-change.patch48
-rw-r--r--media-libs/portsmf/files/portsmf-239-set-correct-cmake-project-ver.patch26
-rw-r--r--media-libs/portsmf/files/portsmf-239-set-correct-pkg-config-ver.patch43
-rw-r--r--media-libs/portsmf/metadata.xml12
-rw-r--r--media-libs/portsmf/portsmf-239.ebuild40
-rw-r--r--media-libs/pulseaudio-qt/files/pulseaudio-qt-1.3-no-crash-if-no-server-response.patch44
-rw-r--r--media-libs/pulseaudio-qt/pulseaudio-qt-1.3-r3.ebuild36
-rw-r--r--media-libs/qhull/qhull-2020.2-r3.ebuild2
-rw-r--r--media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch28
-rw-r--r--media-libs/raptor/raptor-2.0.15-r4.ebuild76
-rw-r--r--media-libs/raptor/raptor-2.0.15-r6.ebuild83
-rw-r--r--media-libs/raptor/raptor-2.0.15-r7.ebuild (renamed from media-libs/raptor/raptor-2.0.15-r5.ebuild)2
-rw-r--r--media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild4
-rw-r--r--media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild4
-rw-r--r--media-libs/rlottie/rlottie-0.2_p20210405.ebuild4
-rw-r--r--media-libs/rnnoise/Manifest2
-rw-r--r--media-libs/rnnoise/files/rnnoise-0.4.1_p20210122-configure-clang16.patch127
-rw-r--r--media-libs/rnnoise/rnnoise-0.4.1_p20210122-r1.ebuild (renamed from media-libs/rnnoise/rnnoise-0.4.1_p20210122.ebuild)6
-rw-r--r--media-libs/rtmidi/rtmidi-5.0.0.ebuild4
-rw-r--r--media-libs/rubberband/Manifest2
-rw-r--r--media-libs/rubberband/files/rubberband-3.1.1-build.patch (renamed from media-libs/rubberband/files/rubberband-3.0.0-build.patch)82
-rw-r--r--media-libs/rubberband/rubberband-3.1.1-r1.ebuild (renamed from media-libs/rubberband/rubberband-3.0.0.ebuild)13
-rw-r--r--media-libs/sbc/sbc-2.0.ebuild2
-rw-r--r--media-libs/sdl-gfx/sdl-gfx-2.0.26-r1.ebuild4
-rw-r--r--media-libs/sdl-image/Manifest2
-rw-r--r--media-libs/sdl-image/metadata.xml4
-rw-r--r--media-libs/sdl-image/sdl-image-1.2.12_p20210314.ebuild63
-rw-r--r--media-libs/sdl-image/sdl-image-1.2.12_p20220527-r1.ebuild72
-rw-r--r--media-libs/sdl-mixer/Manifest2
-rw-r--r--media-libs/sdl-mixer/files/sdl-mixer-1.2.12-Fix-compiling-against-libmodplug-0.8.8.5.patch24
-rw-r--r--media-libs/sdl-mixer/files/sdl-mixer-1.2.12-clang.patch11
-rw-r--r--media-libs/sdl-mixer/files/sdl-mixer-1.2.12-mikmod-r587.patch55
-rw-r--r--media-libs/sdl-mixer/files/sdl-mixer-1.2.12-mikmod-r588.patch36
-rw-r--r--media-libs/sdl-mixer/files/sdl-mixer-1.2.12-parallel-build-slibtool.patch92
-rw-r--r--media-libs/sdl-mixer/files/sdl-mixer-1.2.12-wav.patch35
-rw-r--r--media-libs/sdl-mixer/metadata.xml28
-rw-r--r--media-libs/sdl-mixer/sdl-mixer-1.2.12_p20221010.ebuild (renamed from media-libs/sdl-mixer/sdl-mixer-1.2.12-r5.ebuild)39
-rw-r--r--media-libs/sdl-net/Manifest2
-rw-r--r--media-libs/sdl-net/metadata.xml11
-rw-r--r--media-libs/sdl-net/sdl-net-1.2.8_p20221010.ebuild (renamed from media-libs/sdl-net/sdl-net-1.2.8-r2.ebuild)13
-rw-r--r--media-libs/sdl-sound/Manifest2
-rw-r--r--media-libs/sdl-sound/files/sdl-sound-1.0.3-automake-1.13.patch11
-rw-r--r--media-libs/sdl-sound/files/sdl-sound-1.0.3-physfs-3.0.1.patch38
-rw-r--r--media-libs/sdl-sound/files/sdl-sound-1.0.3-underlinking.patch18
-rw-r--r--media-libs/sdl-sound/files/sdl-sound-1.0.3_p20220525-underlinking.patch45
-rw-r--r--media-libs/sdl-sound/metadata.xml5
-rw-r--r--media-libs/sdl-sound/sdl-sound-1.0.3_p20220525.ebuild (renamed from media-libs/sdl-sound/sdl-sound-1.0.3-r3.ebuild)33
-rw-r--r--media-libs/sdl-ttf/Manifest2
-rw-r--r--media-libs/sdl-ttf/files/sdl-ttf-2.0.11-freetype_pkgconfig.patch46
-rw-r--r--media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch10
-rw-r--r--media-libs/sdl-ttf/metadata.xml22
-rw-r--r--media-libs/sdl-ttf/sdl-ttf-2.0.11_p20220525.ebuild (renamed from media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild)42
-rw-r--r--media-libs/sdl2-image/sdl2-image-2.0.5_p20210328-r1.ebuild (renamed from media-libs/sdl2-image/sdl2-image-2.0.5_p20210328.ebuild)6
-rw-r--r--media-libs/sdl2-mixer/Manifest1
-rw-r--r--media-libs/sdl2-mixer/sdl2-mixer-2.6.2-r1.ebuild105
-rw-r--r--media-libs/sdl2-net/metadata.xml1
-rw-r--r--media-libs/sdl2-ttf/Manifest2
-rw-r--r--media-libs/sdl2-ttf/sdl2-ttf-2.0.15.ebuild39
-rw-r--r--media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild45
-rw-r--r--media-libs/sdl2-ttf/sdl2-ttf-2.20.0.ebuild4
-rw-r--r--media-libs/shaderc/Manifest3
-rw-r--r--media-libs/shaderc/shaderc-2022.2-r1.ebuild (renamed from media-libs/shaderc/shaderc-2022.2.ebuild)25
-rw-r--r--media-libs/shaderc/shaderc-2022.3.ebuild (renamed from media-libs/shaderc/shaderc-2022.1-r2.ebuild)26
-rw-r--r--media-libs/shaderc/shaderc-2023.2.ebuild79
-rw-r--r--media-libs/simage/Manifest1
-rw-r--r--media-libs/simage/files/simage-1.7.1-cmake-automagic-deps.patch85
-rw-r--r--media-libs/simage/files/simage-1.7.1-disable-examples.patch44
-rw-r--r--media-libs/simage/files/simage-1.7.1-disable-gif-quantize-buffer.patch31
-rw-r--r--media-libs/simage/files/simage-1.7.1-tests-conditional.patch52
-rw-r--r--media-libs/simage/files/simage-1.8.0-0001-CMakeLists.txt-comment-cpack.d-inclusion.patch25
-rw-r--r--media-libs/simage/simage-1.8.0-r1.ebuild82
-rw-r--r--media-libs/simage/simage-1.8.1-r3.ebuild (renamed from media-libs/simage/simage-1.8.1-r1.ebuild)2
-rw-r--r--media-libs/simage/simage-9999.ebuild2
-rw-r--r--media-libs/spandsp/spandsp-0.0.6-r3.ebuild (renamed from media-libs/spandsp/spandsp-0.0.6-r1.ebuild)4
-rw-r--r--media-libs/speex/metadata.xml1
-rw-r--r--media-libs/speexdsp/metadata.xml1
-rw-r--r--media-libs/sratom/Manifest1
-rw-r--r--media-libs/sratom/metadata.xml3
-rw-r--r--media-libs/sratom/sratom-0.6.14-r1.ebuild (renamed from media-libs/sratom/sratom-0.6.12-r1.ebuild)17
-rw-r--r--media-libs/sratom/sratom-0.6.14.ebuild56
-rw-r--r--media-libs/stops/Manifest1
-rw-r--r--media-libs/stops/stops-0.4.0.ebuild17
-rw-r--r--media-libs/suil/Manifest2
-rw-r--r--media-libs/suil/metadata.xml3
-rw-r--r--media-libs/suil/suil-0.10.18-r1.ebuild (renamed from media-libs/suil/suil-0.10.16-r1.ebuild)10
-rw-r--r--media-libs/svt-av1/Manifest3
-rw-r--r--media-libs/svt-av1/files/svt-av1-0.8.6-fix-c-only-build.patch123
-rw-r--r--media-libs/svt-av1/files/svt-av1-0.8.6-no-force-avx.patch18
-rw-r--r--media-libs/svt-av1/svt-av1-0.8.6.ebuild50
-rw-r--r--media-libs/svt-av1/svt-av1-0.8.7.ebuild40
-rw-r--r--media-libs/svt-av1/svt-av1-0.9.1.ebuild40
-rw-r--r--media-libs/svt-av1/svt-av1-1.1.0.ebuild2
-rw-r--r--media-libs/svt-hevc/Manifest1
-rw-r--r--media-libs/svt-hevc/metadata.xml18
-rw-r--r--media-libs/svt-hevc/svt-hevc-1.5.1.ebuild28
-rw-r--r--media-libs/svt-hevc/svt-hevc-9999.ebuild28
-rw-r--r--media-libs/t1lib/t1lib-5.1.2-r3.ebuild2
-rw-r--r--media-libs/taglib-extras/taglib-extras-1.0.1-r1.ebuild8
-rw-r--r--media-libs/taglib/Manifest2
-rw-r--r--media-libs/taglib/files/taglib-1.12-cmake.patch525
-rw-r--r--media-libs/taglib/files/taglib-1.13-cmake.patch37
-rw-r--r--media-libs/taglib/metadata.xml1
-rw-r--r--media-libs/taglib/taglib-1.13.ebuild (renamed from media-libs/taglib/taglib-1.12.ebuild)18
-rw-r--r--media-libs/tg_owt/Manifest3
-rw-r--r--media-libs/tg_owt/files/tg_owt-0_pre20211207-fix-dcsctp-references.patch17
-rw-r--r--media-libs/tg_owt/files/tg_owt-0_pre20220209-allow-disabling-X11.patch117
-rw-r--r--media-libs/tg_owt/files/tg_owt-0_pre20220209-gcc-12-cstddef.patch20
-rw-r--r--media-libs/tg_owt/metadata.xml3
-rw-r--r--media-libs/tg_owt/tg_owt-0_pre20220507.ebuild8
-rw-r--r--media-libs/tg_owt/tg_owt-0_pre20230105.ebuild (renamed from media-libs/tg_owt/tg_owt-0_pre20220209.ebuild)46
-rw-r--r--media-libs/tiff-compat/Manifest2
-rw-r--r--media-libs/tiff-compat/files/tiff-4.4.0-hylafaxplus-regression.patch34
-rw-r--r--media-libs/tiff-compat/files/tiff-4.4.0_rc1-skip-thumbnail-test.patch (renamed from media-libs/tiff/files/tiff-4.4.0_rc1-skip-thumbnail-test.patch)0
-rw-r--r--media-libs/tiff-compat/metadata.xml17
-rw-r--r--media-libs/tiff-compat/tiff-compat-4.4.0-r1.ebuild95
-rw-r--r--media-libs/tiff/Manifest5
-rw-r--r--media-libs/tiff/files/tiff-4.5.0_rc1-skip-tools-tests-multilib.patch52
-rw-r--r--media-libs/tiff/tiff-4.3.0.ebuild79
-rw-r--r--media-libs/tiff/tiff-4.5.0.ebuild (renamed from media-libs/tiff/tiff-4.4.0.ebuild)50
-rw-r--r--media-libs/tremor/files/tremor-0_pre20130223-pkgconfig.patch30
-rw-r--r--media-libs/tremor/tremor-0_pre20130223-r3.ebuild (renamed from media-libs/tremor/tremor-0_pre20130223-r2.ebuild)5
-rw-r--r--media-libs/tse3/tse3-0.3.1-r2.ebuild (renamed from media-libs/tse3/tse3-0.3.1-r1.ebuild)6
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.10.ebuild4
-rw-r--r--media-libs/vidstab/vidstab-1.1.0-r2.ebuild2
-rw-r--r--media-libs/vigra/vigra-1.11.1-r8.ebuild (renamed from media-libs/vigra/vigra-1.11.1-r6.ebuild)8
-rw-r--r--media-libs/vigra/vigra-9999.ebuild8
-rw-r--r--media-libs/virglrenderer/Manifest2
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.10.1.ebuild8
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.8.2.ebuild46
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.9.1.ebuild46
-rw-r--r--media-libs/virglrenderer/virglrenderer-9999.ebuild17
-rw-r--r--media-libs/vkroots/Manifest1
-rw-r--r--media-libs/vkroots/metadata.xml11
-rw-r--r--media-libs/vkroots/vkroots-0_p20221205.ebuild33
-rw-r--r--media-libs/vo-amrwbenc/metadata.xml12
-rw-r--r--media-libs/vo-amrwbenc/vo-amrwbenc-0.1.3.ebuild2
-rw-r--r--media-libs/volpack/files/volpack-1.0_p7-cbuild-env.patch15
-rw-r--r--media-libs/volpack/files/volpack-1.0_p7-clang16.patch8
-rw-r--r--media-libs/volpack/files/volpack-1.0_p7-skip-examples.patch4
-rw-r--r--media-libs/volpack/metadata.xml2
-rw-r--r--media-libs/volpack/volpack-1.0_p7-r2.ebuild11
-rw-r--r--media-libs/vulkan-layers/Manifest5
-rw-r--r--media-libs/vulkan-layers/files/vulkan-layers-1.3.231-Make-BUILD_WERROR-actually-work.patch19
-rw-r--r--media-libs/vulkan-layers/files/vulkan-layers-1.3.231-cmake-Cleanup-find_package-SPIRV-code.patch101
-rw-r--r--media-libs/vulkan-layers/files/vulkan-layers-1.3.236-Build-shared-libs.patch26
-rw-r--r--media-libs/vulkan-layers/files/vulkan-layers-1.3.239-Build-shared-libs.patch22
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.3.231.ebuild59
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.3.236-r1.ebuild (renamed from media-libs/vulkan-layers/vulkan-layers-1.3.216.ebuild)11
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.3.239.ebuild (renamed from media-libs/vulkan-layers/vulkan-layers-1.3.224.ebuild)8
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-9999.ebuild9
-rw-r--r--media-libs/vulkan-loader/Manifest5
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.3.231.ebuild (renamed from media-libs/vulkan-loader/vulkan-loader-1.3.216.ebuild)0
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.3.236.ebuild66
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.3.239.ebuild (renamed from media-libs/vulkan-loader/vulkan-loader-1.3.224.ebuild)3
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-9999.ebuild1
-rw-r--r--media-libs/waffle/metadata.xml21
-rw-r--r--media-libs/woff2/metadata.xml19
-rw-r--r--media-libs/x264/Manifest1
-rw-r--r--media-libs/x264/files/x264-0.0.20190903-STRINGS.patch37
-rw-r--r--media-libs/x264/x264-0.0.20190903-r1.ebuild68
-rw-r--r--media-libs/x264/x264-0.0.20220222.ebuild4
-rw-r--r--media-libs/x264/x264-9999.ebuild2
-rw-r--r--media-libs/x265/Manifest1
-rw-r--r--media-libs/x265/x265-3.4.ebuild219
-rw-r--r--media-libs/x265/x265-3.5-r2.ebuild4
-rw-r--r--media-libs/x265/x265-9999.ebuild2
-rw-r--r--media-libs/xine-lib/Manifest2
-rw-r--r--media-libs/xine-lib/xine-lib-1.2.12-r4.ebuild8
-rw-r--r--media-libs/xine-lib/xine-lib-1.2.13.ebuild (renamed from media-libs/xine-lib/xine-lib-1.2.11-r2.ebuild)52
-rw-r--r--media-libs/xine-lib/xine-lib-1.2.9999.ebuild44
-rw-r--r--media-libs/xvid/xvid-1.3.7-r1.ebuild69
-rw-r--r--media-libs/zimg/Manifest4
-rw-r--r--media-libs/zimg/files/zimg-2.9.2-gcc-10.patch18
-rw-r--r--media-libs/zimg/zimg-2.9.2.ebuild35
-rw-r--r--media-libs/zimg/zimg-3.0.1.ebuild32
-rw-r--r--media-libs/zimg/zimg-3.0.2.ebuild32
-rw-r--r--media-libs/zimg/zimg-3.0.4-r1.ebuild (renamed from media-libs/zimg/zimg-3.0.3.ebuild)23
-rw-r--r--media-libs/zimg/zimg-3.0.4.ebuild2
-rw-r--r--media-libs/zimg/zimg-9999.ebuild9
-rw-r--r--media-libs/zita-alsa-pcmi/Manifest2
-rw-r--r--media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.6.1.ebuild (renamed from media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.5.1.ebuild)4
-rw-r--r--media-libs/zita-resampler/zita-resampler-1.8.0.ebuild4
-rw-r--r--media-libs/zmusic/files/zmusic-1.1.4-gcc-13.patch166
-rw-r--r--media-libs/zmusic/zmusic-1.1.4.ebuild6
-rw-r--r--media-libs/zvbi/zvbi-0.2.35-r2.ebuild8
-rw-r--r--media-libs/zxing-cpp/Manifest2
-rw-r--r--media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch24
-rw-r--r--media-libs/zxing-cpp/zxing-cpp-1.4.0.ebuild2
-rw-r--r--media-libs/zxing-cpp/zxing-cpp-2.0.0.ebuild (renamed from media-libs/zxing-cpp/zxing-cpp-1.3.0.ebuild)6
835 files changed, 13615 insertions, 13072 deletions
diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
deleted file mode 100644
index 60cd9f8a5a4..00000000000
--- a/media-libs/Field3D/Field3D-1.7.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-DESCRIPTION="A library for storing voxel data"
-HOMEPAGE="http://opensource.imageworks.com/?p=field3d"
-SRC_URI="https://github.com/imageworks/Field3D/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="mpi"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
- dev-libs/boost:=
- >=media-libs/ilmbase-2.2.0:=
- sci-libs/hdf5:=
- mpi? ( virtual/mpi )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-Use-PkgConfig-for-IlmBase.patch" )
-
-src_configure() {
- # Needed for now ("fix" compatibility with >=sci-libs/hdf5-1.12)
- # bug #808731
- append-cppflags -DH5_USE_110_API
-
- local mycmakeargs=(
- -DINSTALL_DOCS=OFF # Docs are not finished yet.
- -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
- $(cmake_use_find_package mpi MPI)
- )
- cmake_src_configure
-}
diff --git a/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch b/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch
deleted file mode 100644
index e967d20244c..00000000000
--- a/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From 5656d8dc657f4702c67fbabfab8922c80e0cf778 Mon Sep 17 00:00:00 2001
-From: Jonathan Scruggs <j.scruggs@gmail.com>
-Date: Sat, 23 Sep 2017 16:08:48 +0100
-Subject: [PATCH] Use PkgConfig for IlmBase
-
----
- CMakeLists.txt | 15 +++++++-------
- cmake/FindILMBase.cmake | 54 -------------------------------------------------
- 2 files changed, 8 insertions(+), 61 deletions(-)
- delete mode 100644 cmake/FindILMBase.cmake
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e9ad44f..864f0d2 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -35,8 +35,9 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
-
- PROJECT ( field3d )
-
--set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake )
-+set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} )
-
-+FIND_PACKAGE ( PkgConfig )
- FIND_PACKAGE (Doxygen)
- FIND_PACKAGE (HDF5)
- IF ( CMAKE_HOST_WIN32 )
-@@ -49,7 +50,7 @@ FIND_PACKAGE (Boost COMPONENTS regex thread program_options system)
- FIND_PACKAGE (MPI)
- ENDIF ()
-
--FIND_PACKAGE (ILMBase)
-+PKG_CHECK_MODULES ( ILMBASE_LIBS REQUIRED IlmBase )
-
- # Allow the developer to select if Dynamic or Static libraries are built
- OPTION (BUILD_SHARED_LIBS "Build Shared Libraries" ON)
-@@ -65,14 +66,14 @@ INCLUDE_DIRECTORIES ( . )
- INCLUDE_DIRECTORIES ( src )
- INCLUDE_DIRECTORIES ( export )
- INCLUDE_DIRECTORIES ( include )
--INCLUDE_DIRECTORIES ( ${ILMBASE_INCLUDE_DIRS} )
-+INCLUDE_DIRECTORIES ( SYSTEM ${ILMBASE_LIBS_INCLUDE_DIRS} )
- INCLUDE_DIRECTORIES ( ${HDF5_INCLUDE_DIRS} )
- INCLUDE_DIRECTORIES ( ${Boost_INCLUDE_DIR} )
-
- # link directories
- LINK_DIRECTORIES ( ${Boost_LIBRARY_DIRS} )
- LINK_DIRECTORIES ( ${HDF5_LIBRARY_DIRS} )
--LINK_DIRECTORIES ( ${ILMBASE_LIBRARY_DIRS} )
-+LINK_DIRECTORIES ( ${ILMBASE_LIBS_LIBRARY_DIRS} )
-
- IF ( CMAKE_HOST_UNIX )
- ADD_DEFINITIONS ( -fPIC -DREQUIRE_IOSTREAM -Wno-invalid-offsetof )
-@@ -147,7 +148,7 @@ IF ( CMAKE_HOST_UNIX )
- ${MPI_LIBRARIES} )
- ENDIF ( MPI_FOUND )
- LIST ( APPEND Field3D_Libraries_Shared
-- Iex Half IlmThread Imath
-+ ${ILMBASE_LIBS_LIBRARIES}
- pthread dl z )
- SET ( Field3D_DSO_Libraries ${Field3D_Libraries_Shared} )
- SET ( Field3D_BIN_Libraries Field3D ${Field3D_Libraries_Shared}
-@@ -155,7 +156,7 @@ IF ( CMAKE_HOST_UNIX )
- ENDIF ( )
- IF ( CMAKE_HOST_WIN32 )
- # Add OpenEXR and zlib release/debug
-- FOREACH ( lib Iex Half IlmThread Imath zdll )
-+ FOREACH ( lib ${ILMBASE_LIBS_LIBRARIES} zdll )
- LIST ( APPEND Field3D_Libraries_Shared
- optimized ${lib}
- debug ${lib}_d )
-@@ -164,7 +165,7 @@ IF ( CMAKE_HOST_WIN32 )
- SET ( Field3D_BIN_Libraries Field3D ${Boost_LIBRARIES} )
- ENDIF ()
-
--TARGET_LINK_LIBRARIES ( Field3D ${Field3D_DSO_Libraries} ${Boost_LIBRARIES})
-+TARGET_LINK_LIBRARIES ( Field3D ${Field3D_DSO_Libraries} ${Boost_LIBRARIES} )
-
- # Parase version and soversion from export/ns.h
-
-diff --git a/cmake/FindILMBase.cmake b/cmake/FindILMBase.cmake
-deleted file mode 100644
-index c555100..0000000
---- a/cmake/FindILMBase.cmake
-+++ /dev/null
-@@ -1,54 +0,0 @@
--# Copyright (c) 2009 Sony Pictures Imageworks Inc. et al.
--#
--# All rights reserved.
--#
--# Redistribution and use in source and binary forms, with or without
--# modification, are permitted provided that the following conditions
--# are met:
--#
--# Redistributions of source code must retain the above copyright
--# notice, this list of conditions and the following disclaimer.
--# Redistributions in binary form must reproduce the above copyright
--# notice, this list of conditions and the following disclaimer in the
--# documentation and/or other materials provided with the
--# distribution. Neither the name of Sony Pictures Imageworks nor the
--# names of its contributors may be used to endorse or promote
--# products derived from this software without specific prior written
--# permission.
--#
--# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
--# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
--# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
--# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
--# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
--# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
--# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
--# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
--# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
--# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
--# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
--# OF THE POSSIBILITY OF SUCH DAMAGE.
--
--# Author : Nicholas Yue yue.nicholas@gmail.com
--
--# This module will define the following variables:
--# ILMBASE_INCLUDE_DIRS - Location of the ilmbase includes
--# ILMBASE_LIBRARIES - [TODO] Required libraries for all requested bindings
--# ILMBASE_FOUND - true if ILMBASE was found on the system
--# ILMBASE_LIBRARY_DIRS - the full set of library directories
--
--FIND_PATH ( Ilmbase_Base_Dir include/OpenEXR/IlmBaseConfig.h
-- ENV ILMBASE_ROOT
-- )
--
--IF ( Ilmbase_Base_Dir )
--
-- SET ( ILMBASE_INCLUDE_DIRS
-- ${Ilmbase_Base_Dir}/include
-- ${Ilmbase_Base_Dir}/include/OpenEXR
-- CACHE STRING "ILMBase include directories")
-- SET ( ILMBASE_LIBRARY_DIRS ${Ilmbase_Base_Dir}/lib
-- CACHE STRING "ILMBase library directories")
-- SET ( ILMBASE_FOUND TRUE )
--
--ENDIF ( Ilmbase_Base_Dir )
---
-2.14.1
-
diff --git a/media-libs/a52dec/a52dec-0.7.4-r8.ebuild b/media-libs/a52dec/a52dec-0.7.4-r8.ebuild
index c6f5593b79c..6546f599da4 100644
--- a/media-libs/a52dec/a52dec-0.7.4-r8.ebuild
+++ b/media-libs/a52dec/a52dec-0.7.4-r8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://liba52.sourceforge.net/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
IUSE="djbfft oss"
RDEPEND="djbfft? ( >=sci-libs/djbfft-0.76-r2[${MULTILIB_USEDEP}] )"
diff --git a/media-libs/aalib/aalib-1.4_rc5-r9.ebuild b/media-libs/aalib/aalib-1.4_rc5-r9.ebuild
index 6e678dbc6d5..53a76ebdff1 100644
--- a/media-libs/aalib/aalib-1.4_rc5-r9.ebuild
+++ b/media-libs/aalib/aalib-1.4_rc5-r9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="X slang gpm static-libs"
RDEPEND="
diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild b/media-libs/allegro/allegro-4.4.3.1.ebuild
index 9c7964cb66a..962b6267f1c 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
LICENSE="Allegro MIT GPL-2+ ZLIB"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~loong ~mips ppc ppc64 ~riscv x86"
IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
RDEPEND="
diff --git a/media-libs/allegro/allegro-5.2.7.0-r1.ebuild b/media-libs/allegro/allegro-5.2.7.0-r1.ebuild
index 07f038814d3..7e3449baf64 100644
--- a/media-libs/allegro/allegro-5.2.7.0-r1.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
LICENSE="BSD ZLIB"
SLOT="5"
-KEYWORDS="amd64 ~arm64 ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~loong ppc ppc64 ~riscv x86"
IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio test truetype vorbis webp X xinerama"
RESTRICT="!test? ( test )"
diff --git a/media-libs/allegro/metadata.xml b/media-libs/allegro/metadata.xml
index d39fc00b14b..a64777db72b 100644
--- a/media-libs/allegro/metadata.xml
+++ b/media-libs/allegro/metadata.xml
@@ -6,14 +6,14 @@
<name>Gentoo Games Project</name>
</maintainer>
<longdescription>
-Allegro is a game programming library for C/C++ developers distributed
-freely, supporting the following platforms: DOS, Unix (Linux, FreeBSD,
-Irix, Solaris, Darwin), Windows, QNX, BeOS and MacOS X. It provides many
-functions for graphics, sounds, player input (keyboard, mouse and joystick)
-and timers. It also provides fixed and floating point mathematical
-functions, 3d functions, file management functions, compressed datafile
-and a GUI.
-</longdescription>
+ Allegro is a game programming library for C/C++ developers distributed
+ freely, supporting the following platforms: DOS, Unix (Linux, FreeBSD,
+ Irix, Solaris, Darwin), Windows, QNX, BeOS and MacOS X. It provides many
+ functions for graphics, sounds, player input (keyboard, mouse and joystick)
+ and timers. It also provides fixed and floating point mathematical
+ functions, 3d functions, file management functions, compressed datafile
+ and a GUI.
+ </longdescription>
<use>
<flag name="dumb">Enable <pkg>media-libs/dumb</pkg> module library support</flag>
<flag name="physfs">Enable physfs support</flag>
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest
index 4ae6d0035c4..4302b90818e 100644
--- a/media-libs/alsa-lib/Manifest
+++ b/media-libs/alsa-lib/Manifest
@@ -1 +1,2 @@
DIST alsa-lib-1.2.7.2.tar.bz2 1085117 BLAKE2B 9ae3d4358d802970249e1b904faa7c4d646dec1d8c93e0de9c4b70065e912b910303d77e8f9f68c97b883ec270cf0dd8b97146b4a85f3aede4f290683c462fce SHA512 79e5920384e570a1acd8ecd1eb8812879333c3cedb1d15780080afc40125b97df893c33f4163d9dd863871b628bc6026265f8ace2c8634fc1af5b52b62ac9cfe
+DIST alsa-lib-1.2.8.tar.bz2 1091475 BLAKE2B e6171ac557db6265e3f02df7bd269eca62d09afaf2c04dc913d3bb217df23a8e66e808ad453fea5ed90d4d9226feb05065ad5d9b3575241b76675ccd27b9b4d4 SHA512 865ff05a8f589996f8d63d43a91c961f1b64144f3e1d17c7074b7ac16f25b3fd1c371d46ed63a8cc20fa01e63c76b75f1a9802b56889ae1073854dd050d27688
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.7.2-r1.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.7.2-r1.ebuild
index 79c92d0a5d8..fee1d148d90 100644
--- a/media-libs/alsa-lib/alsa-lib-1.2.7.2-r1.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.2.7.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit autotools multilib-minimal flag-o-matic python-single-r1
DESCRIPTION="Advanced Linux Sound Architecture Library"
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.7.2.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.7.2.ebuild
index 98ef78f51ef..87e46cf31a8 100644
--- a/media-libs/alsa-lib/alsa-lib-1.2.7.2.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.2.7.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit autotools multilib-minimal flag-o-matic python-single-r1
DESCRIPTION="Advanced Linux Sound Architecture Library"
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.8-r1.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.8-r1.ebuild
new file mode 100644
index 00000000000..1ed90c96e99
--- /dev/null
+++ b/media-libs/alsa-lib/alsa-lib-1.2.8-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit autotools multilib-minimal flag-o-matic python-single-r1
+
+DESCRIPTION="Advanced Linux Sound Architecture Library"
+HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
+if [[ ${PV} == *_p* ]] ; then
+ # Please set correct commit ID for a snapshot release!
+ COMMIT="abe805ed6c7f38e48002e575535afd1f673b9bcd"
+ SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT:0:7}
+else
+ # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;)
+ SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="alisp debug doc python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ media-libs/alsa-topology-conf
+ media-libs/alsa-ucm-conf
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( >=app-doc/doxygen-1.2.6 )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
+ "${FILESDIR}/${PN}-1.2.8-clang16-macro.patch"
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
+ # bug #545950
+ sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # Broken upstream. Could in theory work with -flto-partitions=none
+ # but it's a hack to workaround the real problem and not strictly safe.
+ # bug #616108, bug #669086, and https://github.com/alsa-project/alsa-lib/issues/6.
+ filter-lto
+
+ local myeconfargs=(
+ --disable-maintainer-mode
+ --disable-resmgr
+ --enable-aload
+ --enable-rawmidi
+ --enable-seq
+ --enable-shared
+ --enable-thread-safety
+
+ $(multilib_native_use_enable python)
+ $(use_enable alisp)
+ $(use_with debug)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+ emake
+
+ if multilib_is_native_abi && use doc; then
+ emake doc
+ grep -FZrl "${S}" doc/doxygen/html | \
+ xargs -0 sed -i -e "s:${S}::" || die
+ fi
+}
+
+multilib_src_install() {
+ multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. )
+
+ default
+}
+
+multilib_src_install_all() {
+ find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
+
+ dodoc ChangeLog doc/asoundrc.txt NOTES TODO
+}
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch
new file mode 100644
index 00000000000..c74a7cc73e2
--- /dev/null
+++ b/media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch
@@ -0,0 +1,31 @@
+https://github.com/alsa-project/alsa-lib/pull/278
+
+From 68a233404279366f7c7e34afb6197bcc70f4b7d7 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sun, 30 Oct 2022 18:06:37 +0000
+Subject: [PATCH] utils/alsa.m4: include <stdlib.h> for exit()
+
+Clang 16 makes -Wimplicit-function-declaration an error by default
+and it's easier to just explicitly include <stdlib.h> rather
+than hope the ALSA headers always have it.
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/utils/alsa.m4
++++ b/utils/alsa.m4
+@@ -85,6 +85,7 @@ AC_LANG_PUSH([C])
+ AC_MSG_CHECKING([for libasound headers version >= $alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version ($min_alsa_version)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include <alsa/asoundlib.h>
++#include <stdlib.h>
+ ]], [[
+ /* ensure backward compatibility */
+ #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
+@@ -130,6 +131,7 @@ AC_MSG_CHECKING([for libatopology (sound headers version > 1.1.9)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include <alsa/asoundlib.h>
+ #include <alsa/topology.h>
++#include <stdlib.h>
+ ]], [[
+ /* ensure backward compatibility */
+ #if !defined(SND_LIB_VERSION)
+
diff --git a/media-libs/alsa-lib/metadata.xml b/media-libs/alsa-lib/metadata.xml
index 296ff461672..46d73ada1b5 100644
--- a/media-libs/alsa-lib/metadata.xml
+++ b/media-libs/alsa-lib/metadata.xml
@@ -9,6 +9,7 @@
<flag name="thread-safety">thread-safe API functions</flag>
</use>
<upstream>
+ <changelog>https://www.alsa-project.org/wiki/Main_Page_News</changelog>
<remote-id type="cpe">cpe:/a:alsa-project:alsa-lib</remote-id>
<remote-id type="github">alsa-project/alsa-lib</remote-id>
</upstream>
diff --git a/media-libs/alsa-ucm-conf/Manifest b/media-libs/alsa-ucm-conf/Manifest
index caf62c20fba..519068544be 100644
--- a/media-libs/alsa-ucm-conf/Manifest
+++ b/media-libs/alsa-ucm-conf/Manifest
@@ -1 +1,2 @@
DIST alsa-ucm-conf-1.2.7.2.tar.bz2 33011 BLAKE2B af8ce94b5eebb84e2420e96f9052e9ed1055f3c37aca088add6f98d562bba67b856ac5ec16adb3f1893fd612eeadd9d342b83ea615b213ce7d9ac010a0f5d4cb SHA512 b6866f1ca6a3f4d69d7923bc1107a64b49944a3a8756f129f39034e5390e08db1c295669e54dfe1437ca934cc11abf407f60fc8319f5cba3f021966e8654c2db
+DIST alsa-ucm-conf-1.2.8.tar.bz2 37843 BLAKE2B f2281a3a5d8b4fcbc4c75ce99a911a4ce3230abfa6f6d0aff8e175fe1b870750f43c087339490ed9f4d5ab314fda391e06e41cbed79239a16326a8f2d02ac262 SHA512 a15a9ca52c108ee95a421b91f3fad4329f1e9fb1c004a40d5ff1a57d6701bad19a31d5a296426d26439be9b87d2d543ce51588a98402d24c17f0f92aaf1096ca
diff --git a/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.8.ebuild b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.8.ebuild
new file mode 100644
index 00000000000..69d00e46df6
--- /dev/null
+++ b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.8.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="ALSA ucm configuration files"
+HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
+SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+RDEPEND="!<media-libs/alsa-lib-1.2.1"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ insinto /usr/share/alsa
+ doins -r ucm{,2}
+}
diff --git a/media-libs/alsa-ucm-conf/metadata.xml b/media-libs/alsa-ucm-conf/metadata.xml
index ed795b5787e..f89266cd5c3 100644
--- a/media-libs/alsa-ucm-conf/metadata.xml
+++ b/media-libs/alsa-ucm-conf/metadata.xml
@@ -5,6 +5,7 @@
<email>alsa-bugs@gentoo.org</email>
</maintainer>
<upstream>
+ <changelog>https://www.alsa-project.org/wiki/Main_Page_News</changelog>
<remote-id type="cpe">cpe:/a:alsa-project:alsa-ucm-conf</remote-id>
<remote-id type="github">alsa-project/alsa-ucm-conf</remote-id>
</upstream>
diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest
index 91550f848c4..260bb4787bb 100644
--- a/media-libs/amdgpu-pro-vulkan/Manifest
+++ b/media-libs/amdgpu-pro-vulkan/Manifest
@@ -8,3 +8,5 @@ DIST amdgpu-pro-vulkan-22.10.3.1420322-amd64.deb 9225672 BLAKE2B ea0496d06ef793a
DIST amdgpu-pro-vulkan-22.10.3.1420322-i386.deb 8985660 BLAKE2B dc55f8b9b22269efdae0be7d7dcd67afe25390dc148fbc25b321ff901d764b988aec6465d2faa75a6d6d29256de33add37d9193b290bb717d63f8915e05ad78e SHA512 0bab89dea9b475efae99320f4836ed2ce132a9e04064cd64c2391fbf1f23a2726d3d255f8fae455ede113060a0aad057d028c24548df9a471c907c5dc6422d37
DIST amdgpu-pro-vulkan-22.20.0.1438747-amd64.deb 9225180 BLAKE2B 0567f16e7ffe0f7c2a46e54eb93d57001f870e9450d63587f9e1b0b74740a4ed43155b36abb155a0e614da36a4241f1b3b26ae06de5472207f7efd62a0823011 SHA512 0629652977190f61138b25daacb5ab13c27121cf674a43aef6023e0c9c5d5d29ae21f7e20cfdb3ca53e354c6409940d664a18df39cc43093a7929af8a84b8998
DIST amdgpu-pro-vulkan-22.20.0.1438747-i386.deb 8953448 BLAKE2B 4a004ce7fe93fef484e234ca25c1df7798d82e9ce77dba9c8316baebaa567a0a05564bfdcedb35f557ff72b45bd7bbf102bc2d376fb3c36e57dd831c3d768652 SHA512 8ec2b53a42c7c589a6471fd955cb69a3ad40d91551d60a1583bf7bf37927fd6936064a18392a81e123ab3765a3a6353b1cc1ca51632e5466602e460e2ed98891
+DIST amdgpu-pro-vulkan-22.20.3.1462318-amd64.deb 9222240 BLAKE2B 044b4b819573ff0038a531dc21cb1461313539d26665e9c6be93ccb6c9dfb4273ef24440c4fc077d799662d4be18fee81df0c4f63aa9b0674254229a1adb1633 SHA512 6d08256c67b3d7a1034019c263e7376866ddb5f8a8265b362bdd4f5c410c9e5dafe0e6c00e804357f1a70a3cbddd07826d11e646b5bd792afaa8ad9bdb6fd3fe
+DIST amdgpu-pro-vulkan-22.20.3.1462318-i386.deb 8944468 BLAKE2B af8ef51cd42d28a2202231cabc2c371dcf9c0bc16ef7a056e43abea65acd08fa71d31337de1309a700b6781d6f97e9c27d194a2069238843e82a504d013cfa28 SHA512 61256d5d828e18a44581eda6a40c0e86b42fbc777055b35a02f596ec463b89d47b6642cac8b5ff5d3e33d8b9901f633ffaf8e76d5e5a9434922e2564548dfa21
diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild
new file mode 100644
index 00000000000..7545f1b4d58
--- /dev/null
+++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-22.20.3.1462318.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker
+
+MY_PV_HIGH=$(ver_cut 1)
+MY_PV_MIDDLE=$(ver_cut 2)
+MY_PV_LOW=$(ver_cut 3)
+MY_PV_REV=$(ver_cut 4)
+
+MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}"
+
+MY_PV_LINK="$MY_PV"
+[[ $MY_PV_LOW != "0" ]] && MY_PV_LINK+=".$MY_PV_LOW"
+
+MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
+
+MY_PN="vulkan-amdgpu-pro"
+
+MY_LINK="https://repo.radeon.com/amdgpu/${MY_PV_LINK}/ubuntu/pool/proprietary/v/${MY_PN}"
+
+UBUNTU_VER="22.04"
+
+DESCRIPTION="AMD's closed source vulkan driver, from Radeon Software for Linux"
+HOMEPAGE="https://www.amd.com/en/support"
+SRC_URI="
+ abi_x86_64? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}~${UBUNTU_VER}_amd64.deb -> ${P}-amd64.deb )
+ abi_x86_32? ( ${MY_LINK}/${MY_PN}_${MY_PV_FULL}~${UBUNTU_VER}_i386.deb -> ${P}-i386.deb )
+"
+S="${WORKDIR}"
+
+RESTRICT="bindist mirror"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu"
+
+REQUIRED_USE="video_cards_amdgpu"
+
+BDEPEND="dev-util/patchelf"
+
+QA_PREBUILT="
+ usr/lib64/amdvlkpro64.so*
+ usr/lib/amdvlkpro32.so*
+"
+
+src_unpack() {
+ if use abi_x86_64 ; then
+ mkdir "${S}/${PN}-amd64" || die
+ cd "${S}/${PN}-amd64" || die
+ unpack_deb "${DISTDIR}/${P}-amd64.deb"
+ fi
+
+ if use abi_x86_32 ; then
+ mkdir "${S}/${PN}-i386" || die
+ cd "${S}/${PN}-i386" || die
+ unpack_deb "${DISTDIR}/${P}-i386.deb"
+ fi
+}
+
+src_prepare() {
+ if use abi_x86_64 ; then
+ cd "${S}/${PN}-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/" || die
+
+ # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
+ [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/x86_64-linux-gnu/"
+
+ # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk64.so.1"
+ mv amdvlk64.so* amdvlkpro64.so || die
+
+ # same with the SONAME
+ patchelf --set-soname amdvlkpro64.so "${PWD}"/amdvlkpro64.so || die
+
+ cd "${S}/${PN}-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
+ eapply "${FILESDIR}"/icd_amd64.patch
+ mv amd_icd64.json amd_pro_icd64.json || die
+ fi
+
+ if use abi_x86_32 ; then
+ cd "${S}/${PN}-i386/opt/amdgpu-pro/lib/i386-linux-gnu/" || die
+
+ # Make sure there's only one file in the folder, to prevent unexpected behavior of the next command
+ [[ "$(ls | wc -l)" = '1' ]] || die "more than one file in opt/amdgpu-pro/lib/i386-linux-gnu/"
+
+ # Add "pro" in the .so file's name, and remove any numeric extension "e.g. amdvlk32.so.1"
+ mv amdvlk32.so* amdvlkpro32.so || die
+
+ # same with the SONAME
+ patchelf --set-soname amdvlkpro32.so "${PWD}"/amdvlkpro32.so || die
+
+ cd "${S}/${PN}-i386/opt/amdgpu-pro/etc/vulkan/icd.d/" || die
+ eapply "${FILESDIR}"/icd_x86.patch
+ mv amd_icd32.json amd_pro_icd32.json || die
+ fi
+
+ default
+}
+
+src_install() {
+ if use abi_x86_64 ; then
+ # Vulkan driver
+ insinto /usr/lib64
+ doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlkpro64.so
+
+ # ICD loader
+ insinto /usr/share/vulkan/icd.d
+ doins "${S}"/"${PN}"-amd64/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd64.json
+ fi
+
+ if use abi_x86_32 ; then
+ # Vulkan driver
+ insinto /usr/lib
+ doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlkpro32.so
+
+ # ICD loader
+ insinto /usr/share/vulkan/icd.d
+ doins "${S}"/"${PN}"-i386/opt/amdgpu-pro/etc/vulkan/icd.d/amd_pro_icd32.json
+ fi
+}
+
+pkg_postinst() {
+
+ if use abi_x86_32; then
+ elog "To run a 32bit program using the amdgpu-pro vulkan driver, the environment variable"
+ elog " VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json"
+ elog "must be set beforehand"
+ elog
+ fi
+
+ if use abi_x86_64; then
+ elog "To run a 64bit program using the amdgpu-pro vulkan driver, the environment variable"
+ elog " VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json"
+ elog "must be set beforehand"
+ fi
+}
diff --git a/media-libs/aribb24/aribb24-1.0.3-r2.ebuild b/media-libs/aribb24/aribb24-1.0.3-r2.ebuild
index fc1918a443e..9a108ddf4ff 100644
--- a/media-libs/aribb24/aribb24-1.0.3-r2.ebuild
+++ b/media-libs/aribb24/aribb24-1.0.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/nkoriyama/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="LGPL-3"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
RDEPEND="media-libs/libpng:0=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
diff --git a/media-libs/assimp/Manifest b/media-libs/assimp/Manifest
index 34eb32db608..3810c5ca070 100644
--- a/media-libs/assimp/Manifest
+++ b/media-libs/assimp/Manifest
@@ -1 +1,2 @@
DIST assimp-5.2.4.tar.gz 49613683 BLAKE2B d99243ce84a76ea237becd0b0982619e8f948ebc75784d8ea35e3800b9ca5084291fa58484433e4f2a7c3cd7ec2869033cf458daf94ee0fc4fe3283592721e73 SHA512 ee988b1806b46c78f97bb5b25237a3f56a7028ed37898fb9b243e379e29e8bfd29e4dffc616566941ed9bdcf502bd30568904ad2ef2ef7d0f63b40daefdc66bf
+DIST assimp-5.2.5.tar.gz 49543936 BLAKE2B 77e0eecd1307646211a86244a371e24401dffd03dceb569acdd63751cdb38bd169c8b12c942efd2e77b5f541653f2775739150b9fe352b8c903dcc4fe7bccca8 SHA512 ac0dc4243f9d1ff077966f0037187b4374075ac97e75e1a3cd6bdc1caf5f8e4d40953d9a8a316480969c09524d87daa9d3ed75e6ac6f037dd5b1c5f25fce3afb
diff --git a/media-libs/assimp/assimp-5.2.4.ebuild b/media-libs/assimp/assimp-5.2.5-r1.ebuild
index 36b4ff88a3f..83391bc9adf 100644
--- a/media-libs/assimp/assimp-5.2.4.ebuild
+++ b/media-libs/assimp/assimp-5.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -10,8 +10,8 @@ HOMEPAGE="https://github.com/assimp/assimp"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
-SLOT="0/5.2.4"
-KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+SLOT="0/5.2.5"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="samples test"
RESTRICT="!test? ( test )"
@@ -28,15 +28,16 @@ RDEPEND="
DEPEND="${RDEPEND}"
PATCHES=(
- "${FILESDIR}"/${PN}-5.2.2-fix-usage-of-incompatible-minizip-data-structure.patch
- "${FILESDIR}"/${PN}-5.2.2-disable-failing-tests.patch
+ "${FILESDIR}"/${PN}-5.2.5-fix-version.patch
+ "${FILESDIR}"/${PN}-5.2.5-disable-failing-tests.patch
+ "${FILESDIR}"/${PN}-5.2.5-disable-collada-tests.patch
)
DOCS=( CodeConventions.md Readme.md )
src_prepare() {
if use x86 ; then
- eapply "${FILESDIR}"/${P}-drop-failing-tests-for-abi_x86_32.patch
+ eapply "${FILESDIR}"/${PN}-5.2.5-drop-failing-tests-for-abi_x86_32.patch
fi
cmake_src_prepare
@@ -45,13 +46,19 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DASSIMP_ASAN=OFF
+ -DASSIMP_BUILD_ASSIMP_TOOLS=ON
-DASSIMP_BUILD_DOCS=OFF
-DASSIMP_BUILD_SAMPLES=$(usex samples)
-DASSIMP_BUILD_TESTS=$(usex test)
+ -DASSIMP_BUILD_ZLIB=OFF
+ -DASSIMP_DOUBLE_PRECISION=OFF
-DASSIMP_INJECT_DEBUG_POSTFIX=OFF
-DASSIMP_IGNORE_GIT_HASH=ON
-DASSIMP_UBSAN=OFF
-DASSIMP_WARNINGS_AS_ERRORS=OFF
+ # bug #891787, intentionally not in alphabetic ordering
+ -DASSIMP_BUILD_COLLADA_IMPORTER=OFF
+ -DASSIMP_BUILD_COLLADA_EXPORTER=OFF
)
if use samples; then
diff --git a/media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch b/media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch
new file mode 100644
index 00000000000..971578f0016
--- /dev/null
+++ b/media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch
@@ -0,0 +1,28 @@
+From 3bd65679f7db2ec95abb22fef7a30a15dcc1c297 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Mon, 23 Jan 2023 19:54:23 +0100
+Subject: [PATCH] disable collada tests
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -63,7 +63,6 @@ SET( COMMON
+ unit/utSimd.cpp
+ unit/utIOSystem.cpp
+ unit/utIOStreamBuffer.cpp
+- unit/utIssues.cpp
+ unit/utAnim.cpp
+ unit/AssimpAPITest.cpp
+ unit/AssimpAPITest_aiMatrix3x3.cpp
+@@ -137,8 +136,6 @@ SET( IMPORTERS
+ unit/utBlendImportMaterials.cpp
+ unit/utBlenderWork.cpp
+ unit/utBVHImportExport.cpp
+- unit/utColladaExport.cpp
+- unit/utColladaImportExport.cpp
+ unit/utCSMImportExport.cpp
+ unit/utB3DImportExport.cpp
+ #unit/utM3DImportExport.cpp
+--
+2.39.1
+
diff --git a/media-libs/assimp/files/assimp-5.2.5-disable-failing-tests.patch b/media-libs/assimp/files/assimp-5.2.5-disable-failing-tests.patch
new file mode 100644
index 00000000000..92936e6442e
--- /dev/null
+++ b/media-libs/assimp/files/assimp-5.2.5-disable-failing-tests.patch
@@ -0,0 +1,95 @@
+From aaace4ca2e2d4f46b7dce0940af6e332563c5a21 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Sat, 24 Dec 2022 11:19:17 +0100
+Subject: [PATCH] disable failing tests
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/test/unit/AssimpAPITest_aiMatrix3x3.cpp
++++ b/test/unit/AssimpAPITest_aiMatrix3x3.cpp
+@@ -127,25 +127,9 @@ TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3RotationZTest) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3FromRotationAroundAxisTest) {
+- const float angle(RandPI.next());
+- const auto axis = random_unit_vec3();
+- aiMatrix3x3::Rotation(angle, axis, result_cpp);
+- aiMatrix3FromRotationAroundAxis(&result_c, &axis, angle);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3TranslationTest) {
+ const auto axis = random_vec2();
+ aiMatrix3x3::Translation(axis, result_cpp);
+ aiMatrix3Translation(&result_c, &axis);
+ EXPECT_EQ(result_cpp, result_c);
+ }
+-
+-TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3FromToTest) {
+- // Use predetermined vectors to prevent running into division by zero.
+- const auto from = aiVector3D(1,2,1).Normalize(), to = aiVector3D(-1,1,1).Normalize();
+- aiMatrix3x3::FromToMatrix(from, to, result_cpp);
+- aiMatrix3FromTo(&result_c, &from, &to);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+--- a/test/unit/AssimpAPITest_aiMatrix4x4.cpp
++++ b/test/unit/AssimpAPITest_aiMatrix4x4.cpp
+@@ -228,14 +228,6 @@ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4RotationZTest) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4FromRotationAroundAxisTest) {
+- const float angle(RandPI.next());
+- const auto axis = random_unit_vec3();
+- aiMatrix4x4::Rotation(angle, axis, result_cpp);
+- aiMatrix4FromRotationAroundAxis(&result_c, &axis, angle);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4TranslationTest) {
+ const auto axis = random_vec3();
+ aiMatrix4x4::Translation(axis, result_cpp);
+@@ -249,11 +241,3 @@ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4ScalingTest) {
+ aiMatrix4Scaling(&result_c, &scaling);
+ EXPECT_EQ(result_cpp, result_c);
+ }
+-
+-TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4FromToTest) {
+- // Use predetermined vectors to prevent running into division by zero.
+- const auto from = aiVector3D(1,2,1).Normalize(), to = aiVector3D(-1,1,1).Normalize();
+- aiMatrix4x4::FromToMatrix(from, to, result_cpp);
+- aiMatrix4FromTo(&result_c, &from, &to);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+--- a/test/unit/AssimpAPITest_aiQuaternion.cpp
++++ b/test/unit/AssimpAPITest_aiQuaternion.cpp
+@@ -84,13 +84,6 @@ TEST_F(AssimpAPITest_aiQuaternion, aiQuaternionFromAxisAngleTest) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiQuaternion, aiQuaternionFromNormalizedQuaternionTest) {
+- const auto qvec3 = random_unit_vec3();
+- result_cpp = aiQuaternion(qvec3);
+- aiQuaternionFromNormalizedQuaternion(&result_c, &qvec3);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiQuaternion, aiQuaternionAreEqualTest) {
+ result_c = result_cpp = random_quat();
+ EXPECT_EQ(result_cpp == result_c,
+--- a/test/unit/utVersion.cpp
++++ b/test/unit/utVersion.cpp
+@@ -68,10 +68,6 @@ TEST_F( utVersion, aiGetCompileFlagsTest ) {
+ EXPECT_NE( aiGetCompileFlags(), 0U );
+ }
+
+-TEST_F( utVersion, aiGetVersionRevisionTest ) {
+- EXPECT_NE( aiGetVersionRevision(), 0U );
+-}
+-
+ TEST_F( utVersion, aiGetBranchNameTest ) {
+ EXPECT_NE( nullptr, aiGetBranchName() );
+ }
+--
+2.39.0
+
diff --git a/media-libs/assimp/files/assimp-5.2.5-drop-failing-tests-for-abi_x86_32.patch b/media-libs/assimp/files/assimp-5.2.5-drop-failing-tests-for-abi_x86_32.patch
new file mode 100644
index 00000000000..1ee315ab28b
--- /dev/null
+++ b/media-libs/assimp/files/assimp-5.2.5-drop-failing-tests-for-abi_x86_32.patch
@@ -0,0 +1,143 @@
+From f3d40e0bd8b7134f963adc08b8c2bb043a385c6f Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Sun, 25 Dec 2022 09:46:58 +0100
+Subject: [PATCH] drop failing tests for abi_x86_32
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/test/unit/AssimpAPITest_aiMatrix3x3.cpp
++++ b/test/unit/AssimpAPITest_aiMatrix3x3.cpp
+@@ -68,13 +68,6 @@ TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3FromMatrix4Test) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3FromQuaternionTest) {
+- const auto q = random_quat();
+- result_cpp = q.GetMatrix();
+- aiMatrix3FromQuaternion(&result_c, &q);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3AreEqualTest) {
+ result_c = result_cpp = random_mat3();
+ EXPECT_EQ(result_cpp == result_c,
+@@ -102,18 +95,6 @@ TEST_F(AssimpAPITest_aiMatrix3x3, aiTransposeMatrix3Test) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3InverseTest) {
+- // Use a predetermined matrix to prevent arbitrary
+- // cases where it could have a null determinant.
+- result_c = result_cpp = aiMatrix3x3(
+- 5, 2, 7,
+- 4, 6, 9,
+- 1, 8, 3);
+- result_cpp.Inverse();
+- aiMatrix3Inverse(&result_c);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiMatrix3x3, aiMatrix3DeterminantTest) {
+ result_c = result_cpp = random_mat3();
+ EXPECT_EQ(result_cpp.Determinant(),
+--- a/test/unit/AssimpAPITest_aiMatrix4x4.cpp
++++ b/test/unit/AssimpAPITest_aiMatrix4x4.cpp
+@@ -78,15 +78,6 @@ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4FromMatrix3Test) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4FromScalingQuaternionPositionTest) {
+- const aiVector3D s = random_vec3();
+- const aiQuaternion q = random_quat();
+- const aiVector3D t = random_vec3();
+- result_cpp = aiMatrix4x4(s, q, t);
+- aiMatrix4FromScalingQuaternionPosition(&result_c, &s, &q, &t);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4AddTest) {
+ const aiMatrix4x4 temp = random_mat4();
+ result_c = result_cpp = random_mat4();
+@@ -135,12 +126,6 @@ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4InverseTest) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4DeterminantTest) {
+- result_c = result_cpp = random_mat4();
+- EXPECT_EQ(result_cpp.Determinant(),
+- aiMatrix4Determinant(&result_c));
+-}
+-
+ TEST_F(AssimpAPITest_aiMatrix4x4, aiMatrix4IsIdentityTest) {
+ EXPECT_EQ(result_cpp.IsIdentity(),
+ (bool)aiMatrix4IsIdentity(&result_c));
+--- a/test/unit/AssimpAPITest_aiQuaternion.cpp
++++ b/test/unit/AssimpAPITest_aiQuaternion.cpp
+@@ -54,19 +54,6 @@ protected:
+ aiQuaternion result_c, result_cpp;
+ };
+
+-TEST_F(AssimpAPITest_aiQuaternion, aiCreateQuaternionFromMatrixTest) {
+- // Use a predetermined transformation matrix
+- // to prevent running into division by zero.
+- aiMatrix3x3 m, r;
+- aiMatrix3x3::Translation(aiVector2D(14,-25), m);
+- aiMatrix3x3::RotationZ(Math::aiPi<float>() / 4.0f, r);
+- m = m * r;
+-
+- result_cpp = aiQuaternion(m);
+- aiCreateQuaternionFromMatrix(&result_c, &m);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiQuaternion, aiQuaternionFromEulerAnglesTest) {
+ const float x(RandPI.next()),
+ y(RandPI.next()),
+@@ -115,14 +102,3 @@ TEST_F(AssimpAPITest_aiQuaternion, aiQuaternionMultiplyTest) {
+ aiQuaternionMultiply(&result_c, &temp);
+ EXPECT_EQ(result_cpp, result_c);
+ }
+-
+-TEST_F(AssimpAPITest_aiQuaternion, aiQuaternionInterpolateTest) {
+- // Use predetermined quaternions to prevent division by zero
+- // during slerp calculations.
+- const float INTERPOLATION(0.5f);
+- const auto q1 = aiQuaternion(aiVector3D(-1,1,1).Normalize(), Math::aiPi<float>() / 4.0f);
+- const auto q2 = aiQuaternion(aiVector3D(1,2,1).Normalize(), Math::aiPi<float>() / 2.0f);
+- aiQuaternion::Interpolate(result_cpp, q1, q2, INTERPOLATION);
+- aiQuaternionInterpolate(&result_c, &q1, &q2, INTERPOLATION);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+--- a/test/unit/AssimpAPITest_aiVector2D.cpp
++++ b/test/unit/AssimpAPITest_aiVector2D.cpp
+@@ -74,28 +74,6 @@ TEST_F(AssimpAPITest_aiVector2D, aiVector2AddTest) {
+ EXPECT_EQ(result_cpp, result_c);
+ }
+
+-TEST_F(AssimpAPITest_aiVector2D, aiVector2SubtractTest) {
+- result_c = result_cpp = random_vec2();
+- result_cpp -= temp;
+- aiVector2Subtract(&result_c, &temp);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+-TEST_F(AssimpAPITest_aiVector2D, aiVector2ScaleTest) {
+- const float FACTOR = RandNonZero.next();
+- result_c = result_cpp = random_vec2();
+- result_cpp *= FACTOR;
+- aiVector2Scale(&result_c, FACTOR);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+-TEST_F(AssimpAPITest_aiVector2D, aiVector2SymMulTest) {
+- result_c = result_cpp = random_vec2();
+- result_cpp = result_cpp.SymMul(temp);
+- aiVector2SymMul(&result_c, &temp);
+- EXPECT_EQ(result_cpp, result_c);
+-}
+-
+ TEST_F(AssimpAPITest_aiVector2D, aiVector2DivideByScalarTest) {
+ const float DIVISOR = RandNonZero.next();
+ result_c = result_cpp = random_vec2();
+--
+2.39.0
+
diff --git a/media-libs/assimp/files/assimp-5.2.5-fix-version.patch b/media-libs/assimp/files/assimp-5.2.5-fix-version.patch
new file mode 100644
index 00000000000..71b58c4808d
--- /dev/null
+++ b/media-libs/assimp/files/assimp-5.2.5-fix-version.patch
@@ -0,0 +1,33 @@
+https://github.com/assimp/assimp/pull/4730
+
+From b526d7a4b82be6d8c1481459975350b94384e805 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Sat, 17 Sep 2022 15:15:58 +0200
+Subject: [PATCH] fix version
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -56,7 +56,7 @@ IF(ASSIMP_HUNTER_ENABLED)
+ add_definitions(-DASSIMP_USE_HUNTER)
+ ENDIF()
+
+-PROJECT(Assimp VERSION 5.2.4)
++PROJECT(Assimp VERSION 5.2.5)
+
+ # All supported options ###############################################
+
+--- a/test/unit/utVersion.cpp
++++ b/test/unit/utVersion.cpp
+@@ -61,7 +61,7 @@ TEST_F( utVersion, aiGetVersionMajorTest ) {
+ }
+
+ TEST_F( utVersion, aiGetVersionPatchTest ) {
+- EXPECT_EQ(aiGetVersionPatch(), 4U );
++ EXPECT_EQ(aiGetVersionPatch(), 5U );
+ }
+
+ TEST_F( utVersion, aiGetCompileFlagsTest ) {
+--
+2.37.3
+
diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild b/media-libs/aubio/aubio-0.4.9-r2.ebuild
index 437da41dbe3..d352834990c 100644
--- a/media-libs/aubio/aubio-0.4.9-r2.ebuild
+++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
PYTHON_REQ_USE='threads(+)'
inherit distutils-r1 waf-utils
diff --git a/media-libs/audiofile/audiofile-0.3.6-r4.ebuild b/media-libs/audiofile/audiofile-0.3.6-r4.ebuild
deleted file mode 100644
index 6c7e0419827..00000000000
--- a/media-libs/audiofile/audiofile-0.3.6-r4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools gnome.org multilib-minimal
-
-DESCRIPTION="An elegant API for accessing audio files"
-HOMEPAGE="https://audiofile.68k.org/"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/1" # subslot = soname major version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
-IUSE="flac"
-
-RDEPEND="flac? ( >=media-libs/flac-1.2.1[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.3.6-gcc6-build-fixes.patch
- "${FILESDIR}"/${PN}-0.3.6-CVE-2015-7747.patch
- "${FILESDIR}"/${PN}-0.3.6-mingw32.patch
- "${FILESDIR}"/${PN}-0.3.6-CVE-2017-68xx.patch
- "${FILESDIR}"/${PN}-0.3.6-CVE-2018-13440-CVE-2018-17095.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- # Tests depend on statically compiled binaries to work, so we'll have to
- # delete them later rather than not compile them at all
- local myconf=(
- --enable-largefile
- --disable-werror
- --disable-examples
- $(use_enable flac)
- )
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-}
-
-multilib_src_test() {
- emake check
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- # package provides .pc file
- find "${ED}" -name '*.la' -delete || die
- find "${ED}" -name '*.a' -delete || die
-}
diff --git a/media-libs/audiofile/audiofile-0.3.6-r5.ebuild b/media-libs/audiofile/audiofile-0.3.6-r5.ebuild
index 02f89e0f9b4..a759228901b 100644
--- a/media-libs/audiofile/audiofile-0.3.6-r5.ebuild
+++ b/media-libs/audiofile/audiofile-0.3.6-r5.ebuild
@@ -23,6 +23,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.3.6-mingw32.patch
"${FILESDIR}"/${PN}-0.3.6-CVE-2017-68xx.patch
"${FILESDIR}"/${PN}-0.3.6-CVE-2018-13440-CVE-2018-17095.patch
+ "${FILESDIR}"/${PN}-0.3.6-strict-prototypes.patch
)
src_prepare() {
diff --git a/media-libs/audiofile/files/audiofile-0.3.6-strict-prototypes.patch b/media-libs/audiofile/files/audiofile-0.3.6-strict-prototypes.patch
new file mode 100644
index 00000000000..6e78b773c93
--- /dev/null
+++ b/media-libs/audiofile/files/audiofile-0.3.6-strict-prototypes.patch
@@ -0,0 +1,82 @@
+https://github.com/mpruett/audiofile/pull/64
+
+From 519f6c19d3bcfa048fc468f0094ab4235e7c77b2 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Mon, 10 Oct 2022 11:13:10 -0700
+Subject: [PATCH] Fix -Werror=strict-prototypes
+
+This will be required for upcoming gcc and clang versions.
+
+Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
+
+diff --git a/libaudiofile/g711.c b/libaudiofile/g711.c
+index 8fb2323..392766c 100644
+--- a/libaudiofile/g711.c
++++ b/libaudiofile/g711.c
+@@ -74,8 +74,7 @@ static int search(int val, const short *table, int size)
+ * John Wiley & Sons, pps 98-111 and 472-476.
+ */
+ unsigned char
+-_af_linear2alaw(pcm_val)
+- int pcm_val; /* 2's complement (16-bit range) */
++_af_linear2alaw(int pcm_val) /* 2's complement (16-bit range) */
+ {
+ int mask;
+ int seg;
+@@ -110,8 +109,7 @@ _af_linear2alaw(pcm_val)
+ *
+ */
+ int
+-_af_alaw2linear(a_val)
+- unsigned char a_val;
++_af_alaw2linear(unsigned char a_val)
+ {
+ int t;
+ int seg;
+diff --git a/sfcommands/sfinfo.c b/sfcommands/sfinfo.c
+index c8fb913..91221a5 100644
+--- a/sfcommands/sfinfo.c
++++ b/sfcommands/sfinfo.c
+@@ -48,7 +48,7 @@ void errorHandler(long error, const char *message)
+ fprintf(stderr, "sfinfo: %s [error %ld]\n", message, error);
+ }
+
+-void printusage()
++void printusage(void)
+ {
+ printf("usage: sfinfo [options...] soundfiles...\n");
+ printf("options:\n");
+@@ -58,7 +58,7 @@ void printusage()
+ printf(" -v, --version Print version\n");
+ }
+
+-void printversion()
++void printversion(void)
+ {
+ printf("sfinfo: Audio File Library version %s\n", VERSION);
+ }
+https://github.com/mpruett/audiofile/commit/7227a65c9725a89f839d01826ea8427becee30be
+
+From 7227a65c9725a89f839d01826ea8427becee30be Mon Sep 17 00:00:00 2001
+From: Michael Pruett <michael@68k.org>
+Date: Thu, 7 Mar 2013 22:44:56 -0800
+Subject: [PATCH] Fix compiler warning regarding discarding const
+ qualification.
+
+diff --git a/libaudiofile/g711.c b/libaudiofile/g711.c
+index 394543e..8fb2323 100644
+--- a/libaudiofile/g711.c
++++ b/libaudiofile/g711.c
+@@ -43,11 +43,7 @@
+ static const short seg_end[8] = {0xFF, 0x1FF, 0x3FF, 0x7FF,
+ 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF};
+
+-static int
+-search(val, table, size)
+- int val;
+- short *table;
+- int size;
++static int search(int val, const short *table, int size)
+ {
+ int i;
+
diff --git a/media-libs/avidemux-core/Manifest b/media-libs/avidemux-core/Manifest
index f4c59a24eb9..49e9b54b3bb 100644
--- a/media-libs/avidemux-core/Manifest
+++ b/media-libs/avidemux-core/Manifest
@@ -1 +1 @@
-DIST avidemux-2.7.8.tar.gz 22080267 BLAKE2B a1e56856f44d56afac6ea4015f206a3f9301c025b3c8da1528165bd4c139ccc971074ac21aa05b9b3dfd6d514eabcbb375e671c8df9c9e5cae74a0a6597577c4 SHA512 6cd5527ab34517a07bf73e46d01f15b7ff023ff34ed70ee54f1d7dbfb6cf57364a323b4ecb89bb9aadeb9bc05473aacb40d8c4eecc522840a3c1c4b3a8756d82
+DIST avidemux-2.8.1.tar.gz 23207741 BLAKE2B 766ae9b159d2e48a3d14bdfccf9c665b95ed056831b515d53837bf2bae20baf9b01d15d551b62fb96f3c0cf50b0138448a133bc62e6202af744de558e0fbfe4f SHA512 e7105e555e04dd6768336bdb246037e91045de2e1f572ae362d985424def65499c7f25d92d376ea98af09b436d89e9eb4a5424e93b11df14f2d67ac35661a8a3
diff --git a/media-libs/avidemux-core/avidemux-core-2.7.8.ebuild b/media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild
index 7d5a2d52c24..bc742a9bb98 100644
--- a/media-libs/avidemux-core/avidemux-core-2.7.8.ebuild
+++ b/media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
CMAKE_MAKEFILE_GENERATOR="emake"
-
inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
@@ -12,25 +11,28 @@ HOMEPAGE="http://fixounet.free.fr/avidemux"
SRC_URI="https://github.com/mean00/avidemux2/archive/${PV}.tar.gz -> avidemux-${PV}.tar.gz"
# Multiple licenses because of all the bundled stuff.
-LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+# See License.txt.
+LICENSE="GPL-2 MIT PSF-2 LGPL-2 OFL-1.1"
SLOT="2.7"
KEYWORDS="~amd64 ~x86"
-IUSE="debug nls sdl system-ffmpeg vaapi vdpau xv"
+IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv"
# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
DEPEND="
dev-db/sqlite:3
- sdl? ( media-libs/libsdl:0 )
+ sys-libs/zlib
+ nvenc? ( amd64? ( media-libs/nv-codec-headers ) )
+ sdl? ( media-libs/libsdl )
system-ffmpeg? ( >=media-video/ffmpeg-9:0[mp3,theora] )
- vaapi? ( x11-libs/libva:0= )
- vdpau? ( x11-libs/libvdpau:0 )
- xv? ( x11-libs/libXv:0 )
+ vaapi? ( media-libs/libva:= )
+ vdpau? ( x11-libs/libvdpau )
+ xv? ( x11-libs/libXv )
"
RDEPEND="
${DEPEND}
!<media-libs/avidemux-core-${PV}
!<media-video/avidemux-${PV}
- nls? ( virtual/libintl:0 )
+ nls? ( virtual/libintl )
"
BDEPEND="
virtual/pkgconfig
@@ -80,6 +82,7 @@ src_configure() {
-DNVENC=no
-DSDL="$(usex sdl)"
-DLIBVA="$(usex vaapi)"
+ -DNVENC="$(usex nvenc)"
-DVDPAU="$(usex vdpau)"
-DXVIDEO="$(usex xv)"
)
diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest
index f4c59a24eb9..49e9b54b3bb 100644
--- a/media-libs/avidemux-plugins/Manifest
+++ b/media-libs/avidemux-plugins/Manifest
@@ -1 +1 @@
-DIST avidemux-2.7.8.tar.gz 22080267 BLAKE2B a1e56856f44d56afac6ea4015f206a3f9301c025b3c8da1528165bd4c139ccc971074ac21aa05b9b3dfd6d514eabcbb375e671c8df9c9e5cae74a0a6597577c4 SHA512 6cd5527ab34517a07bf73e46d01f15b7ff023ff34ed70ee54f1d7dbfb6cf57364a323b4ecb89bb9aadeb9bc05473aacb40d8c4eecc522840a3c1c4b3a8756d82
+DIST avidemux-2.8.1.tar.gz 23207741 BLAKE2B 766ae9b159d2e48a3d14bdfccf9c665b95ed056831b515d53837bf2bae20baf9b01d15d551b62fb96f3c0cf50b0138448a133bc62e6202af744de558e0fbfe4f SHA512 e7105e555e04dd6768336bdb246037e91045de2e1f572ae362d985424def65499c7f25d92d376ea98af09b436d89e9eb4a5424e93b11df14f2d67ac35661a8a3
diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.8.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.8.1-r1.ebuild
index 707fd5c5e56..4900a252448 100644
--- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.8.ebuild
+++ b/media-libs/avidemux-plugins/avidemux-plugins-2.8.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake flag-o-matic python-single-r1
@@ -13,9 +13,10 @@ HOMEPAGE="http://fixounet.free.fr/avidemux"
SRC_URI="https://github.com/mean00/avidemux2/archive/${PV}.tar.gz -> avidemux-${PV}.tar.gz"
# Multiple licenses because of all the bundled stuff.
-LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+# See License.txt.
+LICENSE="GPL-2 MIT PSF-2 LGPL-2 OFL-1.1"
SLOT="2.7"
-IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx opengl opus oss pulseaudio qt5 truetype twolame vdpau vorbis vpx x264 x265 xv xvid"
+IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx nvenc opengl opus oss pulseaudio gui truetype twolame vdpau vorbis vpx x264 x265 xv xvid"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -24,8 +25,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# see https://github.com/mean00/avidemux2/blob/master/avidemux_plugins/ADM_scriptEngines/CMakeLists.txt
COMMON_DEPEND="
${PYTHON_DEPS}
- ~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
- ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?]
+ ~media-libs/avidemux-core-${PV}:${SLOT}[nvenc?,vdpau?]
+ ~media-video/avidemux-${PV}:${SLOT}[opengl?,gui?]
dev-libs/libxml2:2
media-libs/a52dec
media-libs/libass:0=
@@ -50,9 +51,10 @@ COMMON_DEPEND="
libsamplerate? ( media-libs/libsamplerate )
)
lame? ( media-sound/lame )
+ nvenc? ( amd64? ( media-libs/nv-codec-headers ) )
opus? ( media-libs/opus )
pulseaudio? ( media-sound/pulseaudio )
- qt5? (
+ gui? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
@@ -81,7 +83,7 @@ RDEPEND="
S="${WORKDIR}/avidemux2-${PV}"
-PATCHES=( "${FILESDIR}/${PN}-2.6.20-optional-pulse.patch" )
+PATCHES=( "${FILESDIR}/${PN}-2.8.1-optional-pulse.patch" )
src_prepare() {
default
@@ -91,7 +93,7 @@ src_prepare() {
processes="buildPluginsCommon:avidemux_plugins
buildPluginsCLI:avidemux_plugins"
- use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
+ use gui && processes+=" buildPluginsQt4:avidemux_plugins"
for process in ${processes} ; do
CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
@@ -120,12 +122,13 @@ src_configure() {
-DFONTCONFIG="$(usex fontconfig)"
-DJACK="$(usex jack)"
-DLAME="$(usex lame)"
- -DNVENC=no
+ -DNVENC="$(usex nvenc)"
-DOPENGL="$(usex opengl)"
-DOPUS="$(usex opus)"
-DOSS="$(usex oss)"
- -DPULSEAUDIOSIMPLE="$(usex pulseaudio)"
- -DQT4=OFF
+ -DPULSEAUDIO="$(usex pulseaudio)"
+ -DENABLE_QT4=OFF
+ -DENABLE_QT6=OFF
-DFREETYPE2="$(usex truetype)"
-DTWOLAME="$(usex twolame)"
-DX264="$(usex x264)"
@@ -142,7 +145,7 @@ src_configure() {
-DUSE_EXTERNAL_LIBMP4V2=yes
)
- use qt5 && mycmakeargs+=( -DENABLE_QT5=True )
+ use gui && mycmakeargs+=( -DENABLE_QT5=True )
use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
diff --git a/media-libs/avidemux-plugins/files/avidemux-plugins-2.6.20-optional-pulse.patch b/media-libs/avidemux-plugins/files/avidemux-plugins-2.6.20-optional-pulse.patch
deleted file mode 100644
index a75f1295235..00000000000
--- a/media-libs/avidemux-plugins/files/avidemux-plugins-2.6.20-optional-pulse.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/cmake/admCheckAudioDeviceLibs.cmake
-+++ b/cmake/admCheckAudioDeviceLibs.cmake
-@@ -158,6 +158,7 @@
-
- MESSAGE(STATUS "Checking for PULSEAUDIOSIMPLE")
- MESSAGE(STATUS "*****************************")
-+ IF (PULSEAUDIOSIMPLE)
- IF (PULSEAUDIOSIMPLE_INCLUDE_DIR AND PULSEAUDIOSIMPLE_LIBRARIES)
- # in cache already
- SET(PULSEAUDIOSIMPLE_FIND_QUIETLY TRUE)
-@@ -191,6 +192,9 @@
- MARK_AS_ADVANCED(PULSEAUDIOSIMPLE_INCLUDE_DIR PULSEAUDIOSIMPLE_LIBRARIES)
-
- APPEND_SUMMARY_LIST("Audio Device" "PulseAudio" "${USE_PULSE_SIMPLE}")
-+ ELSE (PULSEAUDIOSIMPLE)
-+ MESSAGE("${MSG_DISABLE_OPTION}")
-+ ENDIF (PULSEAUDIOSIMPLE)
- ELSE (UNIX AND NOT APPLE)
- SET(PULSEAUDIOSIMPLE_CAPABLE FALSE)
- ENDIF (UNIX AND NOT APPLE)
diff --git a/media-libs/avidemux-plugins/files/avidemux-plugins-2.8.1-optional-pulse.patch b/media-libs/avidemux-plugins/files/avidemux-plugins-2.8.1-optional-pulse.patch
new file mode 100644
index 00000000000..29926c59efd
--- /dev/null
+++ b/media-libs/avidemux-plugins/files/avidemux-plugins-2.8.1-optional-pulse.patch
@@ -0,0 +1,20 @@
+--- a/cmake/admCheckAudioDeviceLibs.cmake
++++ b/cmake/admCheckAudioDeviceLibs.cmake
+@@ -194,6 +194,7 @@
+ APPEND_SUMMARY_LIST("Audio Device" "PulseAudioS" "${USE_PULSE_SIMPLE}")
+ ]]
+ OPTION(PULSEAUDIO "" ON)
++ IF (PULSEAUDIO)
+ MESSAGE(STATUS "Checking for PulseAudio")
+ include(FindPkgConfig)
+ pkg_check_modules(PULSEAUDIO libpulse)
+@@ -203,6 +204,9 @@
+ ELSE (PULSEAUDIO_FOUND)
+ MESSAGE(STATUS "Could not find PulseAudio")
+ ENDIF (PULSEAUDIO_FOUND)
++ ELSE (PULSEAUDIO)
++ MESSAGE("${MSG_DISABLE_OPTION}")
++ ENDIF (PULSEAUDIO)
+ APPEND_SUMMARY_LIST("Audio Device" "PulseAudio" "${USE_PULSE}")
+ ELSE (UNIX AND NOT APPLE)
+ SET(PULSEAUDIOSIMPLE_CAPABLE FALSE)
diff --git a/media-libs/avidemux-plugins/metadata.xml b/media-libs/avidemux-plugins/metadata.xml
index bfc77676349..7a85584cd7c 100644
--- a/media-libs/avidemux-plugins/metadata.xml
+++ b/media-libs/avidemux-plugins/metadata.xml
@@ -17,5 +17,6 @@
</use>
<upstream>
<remote-id type="sourceforge">avidemux</remote-id>
+ <remote-id type="github">mean00/avidemux2</remote-id>
</upstream>
</pkgmetadata>
diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
index 626612e6328..d8e6aba17b2 100644
--- a/media-libs/babl/Manifest
+++ b/media-libs/babl/Manifest
@@ -1,2 +1 @@
-DIST babl-0.1.92.tar.xz 309784 BLAKE2B c3c716ba1b54082743ba6ea33da99fb458dc971ab78ae72170af9840eadbc7f2aeb0a26d3270ede2a6e0d7b55489fc8f700b1c69731a4612ba4106f9672762d0 SHA512 c2baf39f576bf7f57786c59f2de0818257f4d1d62cadf44fdd802c9a534ed94390dd1616e7e72fcc9de1fb85a24a10fbacdbbabbe376a45ae598be46817e3bc0
-DIST babl-0.1.96.tar.xz 312184 BLAKE2B 6ee307054cf4d1e0f434a6070189ed143c60056decb59184f880b26863c8177d0c69294254651923f7dfb897555939602e6f4384e7561a839a3cf80ae9468859 SHA512 771d68b80f1123baa38256e4b1d7946284cd88997b2ab7c7092a74120e91ea5ee7ab4c001686ae4b3e363b6465484f185a64f9c75515a55d3ffb81fecbeaca42
+DIST babl-0.1.98.tar.xz 312516 BLAKE2B c12626e4b8127a5b2e17507e20cf6ce324834a58d64fa54b80fbe00ef2468d3d29c870d44a22f08f7e74404cf6f47321084c854a4ba017cf0c8c199d8210849f SHA512 33b2e3f8fbcd6602bb82d6242dd2911bb2232e69350f7a0e70e14b1472052e27b0e2a1fa6a2b6d0449fc9796353336e311c8d4007c532447cd61f95b684a3120
diff --git a/media-libs/babl/babl-0.1.92-r1.ebuild b/media-libs/babl/babl-0.1.92-r1.ebuild
deleted file mode 100644
index aaaefb6f1af..00000000000
--- a/media-libs/babl/babl-0.1.92-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# 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://ftp.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}"
-
-PATCHES=(
- "${FILESDIR}/${P}_universal_nonlinear_rgb_u8_converter_sse2.patch" # Bug 857708
-)
-
-src_prepare() {
- default
- gnome2_environment_reset
-
- sed -i -e 's/Description/description/' meson.build || die # bug 843266
-}
-
-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
-}
diff --git a/media-libs/babl/babl-0.1.92.ebuild b/media-libs/babl/babl-0.1.92.ebuild
deleted file mode 100644
index 45ebcbe8290..00000000000
--- a/media-libs/babl/babl-0.1.92.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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://ftp.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
-
- sed -i -e 's/Description/description/' meson.build || die # bug 843266
-}
-
-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
-}
diff --git a/media-libs/babl/babl-0.1.96.ebuild b/media-libs/babl/babl-0.1.98.ebuild
index d97d11c00c3..85087fe3967 100644
--- a/media-libs/babl/babl-0.1.96.ebuild
+++ b/media-libs/babl/babl-0.1.98.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then
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"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~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"
@@ -29,8 +29,8 @@ BDEPEND="
vala? ( $(vala_depend) )
"
RDEPEND="
- introspection? ( >=dev-libs/gobject-introspection-1.32:= )
- lcms? ( >=media-libs/lcms-2.8:2 )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ lcms? ( >=media-libs/lcms-2.13.1:2 )
"
DEPEND="${RDEPEND}"
@@ -60,3 +60,10 @@ src_configure() {
)
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
+}
diff --git a/media-libs/babl/babl-9999.ebuild b/media-libs/babl/babl-9999.ebuild
index d97d11c00c3..c2f6e632a59 100644
--- a/media-libs/babl/babl-9999.ebuild
+++ b/media-libs/babl/babl-9999.ebuild
@@ -29,8 +29,8 @@ BDEPEND="
vala? ( $(vala_depend) )
"
RDEPEND="
- introspection? ( >=dev-libs/gobject-introspection-1.32:= )
- lcms? ( >=media-libs/lcms-2.8:2 )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ lcms? ( >=media-libs/lcms-2.13.1:2 )
"
DEPEND="${RDEPEND}"
diff --git a/media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch b/media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch
deleted file mode 100644
index 57954b1b9f2..00000000000
--- a/media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix alignment of vector of floats in babl-rgb-converter.c
-Bug: https://bugs.gentoo.org/857708
-Upstream-Bug: https://gitlab.gnome.org/GNOME/babl/-/issues/76
-Signed-off-by: Alexander Bezrukov <phmagic@mail.ru>
-
-diff -ur a/babl/base/babl-rgb-converter.c b/babl/base/babl-rgb-converter.c
---- a/babl/base/babl-rgb-converter.c
-+++ b/babl/base/babl-rgb-converter.c
-@@ -306,7 +306,8 @@
- uint8_t *rgb_in_u8 = (void*)src_char;
- uint8_t *rgb_out_u8 = (void*)dst_char;
-
-- float rgba_out[4*samples];
-+ // The alignment is necessary for SIMD intrinsics in babl_matrix_mul_vectorff_buf4_sse2()
-+ float __attribute__ ((aligned (16))) rgba_out[4*samples];
-
- for (i = 0; i < samples; i++)
- {
diff --git a/media-libs/babl/metadata.xml b/media-libs/babl/metadata.xml
index c7d0b0f3a77..8a4071e8cef 100644
--- a/media-libs/babl/metadata.xml
+++ b/media-libs/babl/metadata.xml
@@ -9,4 +9,7 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/babl</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/blib/blib-1.1.7-r2.ebuild b/media-libs/blib/blib-1.1.7-r2.ebuild
deleted file mode 100644
index 972273ede56..00000000000
--- a/media-libs/blib/blib-1.1.7-r2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="blib is a library full of useful things to hack the Blinkenlights"
-HOMEPAGE="http://www.blinkenlights.de"
-SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aalib gtk"
-
-RDEPEND="
- >=dev-libs/glib-2:2
- aalib? ( >=media-libs/aalib-1.4_rc4-r2 )
- gtk? ( >=x11-libs/gtk+-2.4.4:2 )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-src_prepare() {
- default
- # Drop DEPRECATED flags, bug #391105
- sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
- blib/Makefile.am blib/Makefile.in \
- gfx/Makefile.am gfx/Makefile.in \
- modules/Makefile.am modules/Makefile.in \
- test/modules/Makefile.am test/modules/Makefile.in || die
-}
-
-src_configure() {
- econf \
- --disable-directfb \
- --disable-static \
- $(use_enable aalib) \
- $(use_enable gtk gtk2)
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/media-libs/blib/blib-1.1.7-r3.ebuild b/media-libs/blib/blib-1.1.7-r3.ebuild
new file mode 100644
index 00000000000..fd6cbbc9415
--- /dev/null
+++ b/media-libs/blib/blib-1.1.7-r3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library full of useful things to hack the Blinkenlights"
+HOMEPAGE="http://www.blinkenlights.de"
+SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="aalib gtk"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf:2
+ aalib? ( media-libs/aalib )
+ gtk? (
+ app-accessibility/at-spi2-core:2
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/harfbuzz:=
+ x11-libs/cairo
+ x11-libs/gtk+:2
+ x11-libs/pango
+ )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-deprecated.patch
+)
+
+src_prepare() {
+ default
+
+ # drop DEPRECATED flags, bug #391105
+ sed -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ -i {blib,gfx,{,test/}modules}/Makefile.{am,in} || die
+}
+
+src_configure() {
+ local econfargs=(
+ $(use_enable aalib aa)
+ --disable-directfb
+ $(use_enable gtk)
+ )
+
+ econf "${econfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
diff --git a/media-libs/blib/files/blib-1.1.7-deprecated.patch b/media-libs/blib/files/blib-1.1.7-deprecated.patch
new file mode 100644
index 00000000000..13e43aedadf
--- /dev/null
+++ b/media-libs/blib/files/blib-1.1.7-deprecated.patch
@@ -0,0 +1,14 @@
+This disables deprecated functions, then proceeds to use newly
+deprecated functions. Given GTK2 is now EOL and unchanging,
+there's no reason to avoid these without migration to newer GTK.
+
+https://bugs.gentoo.org/874642
+https://bugs.gentoo.org/391105 (see also)
+--- a/test/test-module.c
++++ b/test/test-module.c
+@@ -23,5 +23,4 @@
+ #include <string.h>
+
+-#define GTK_DISABLE_DEPRECATED
+
+ #include <gtk/gtk.h>
diff --git a/media-libs/clutter-gst/metadata.xml b/media-libs/clutter-gst/metadata.xml
index 7b343b06be8..f6c938ece11 100644
--- a/media-libs/clutter-gst/metadata.xml
+++ b/media-libs/clutter-gst/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">Archive/clutter-gst</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/clutter-gtk/clutter-gtk-1.8.4-r1.ebuild b/media-libs/clutter-gtk/clutter-gtk-1.8.4-r1.ebuild
index 3767bab25f3..4f456fe8e31 100644
--- a/media-libs/clutter-gtk/clutter-gtk-1.8.4-r1.ebuild
+++ b/media-libs/clutter-gtk/clutter-gtk-1.8.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Clutter"
LICENSE="LGPL-2.1+"
SLOT="1.0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
IUSE="X debug examples gtk +introspection wayland"
RDEPEND="
diff --git a/media-libs/clutter-gtk/metadata.xml b/media-libs/clutter-gtk/metadata.xml
index 7b343b06be8..882edb5f4b4 100644
--- a/media-libs/clutter-gtk/metadata.xml
+++ b/media-libs/clutter-gtk/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">Archive/clutter-gtk</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/clutter/clutter-1.26.4-r1.ebuild b/media-libs/clutter/clutter-1.26.4-r1.ebuild
index 7501ce0deb1..8e8ea9124aa 100644
--- a/media-libs/clutter/clutter-1.26.4-r1.ebuild
+++ b/media-libs/clutter/clutter-1.26.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Clutter"
LICENSE="LGPL-2.1+ FDL-1.1+"
SLOT="1.0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
IUSE="aqua debug doc egl gtk +introspection test wayland X"
RESTRICT="!test? ( test )"
REQUIRED_USE="
diff --git a/media-libs/clutter/metadata.xml b/media-libs/clutter/metadata.xml
index e73b3a99713..c945cf9a594 100644
--- a/media-libs/clutter/metadata.xml
+++ b/media-libs/clutter/metadata.xml
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-<use>
- <flag name="egl">Enable EGL backend.</flag>
- <flag name="gtk">Use gdk-pixbuf from <pkg>x11-libs/gtk+</pkg> as image rendering backend</flag>
-</use>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="egl">Enable EGL backend.</flag>
+ <flag name="gtk">Use gdk-pixbuf from <pkg>x11-libs/gtk+</pkg> as image rendering backend</flag>
+ </use>
+ <upstream>
+ <remote-id type="gnome-gitlab">Archive/clutter</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/codec2/codec2-1.0.5.ebuild b/media-libs/codec2/codec2-1.0.5.ebuild
index b094d9858bc..6bb8b64fb12 100644
--- a/media-libs/codec2/codec2-1.0.5.ebuild
+++ b/media-libs/codec2/codec2-1.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/drowe67/codec2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0/1.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
IUSE="examples test"
# Not yet passing, but infrastructure added to run
diff --git a/media-libs/cogl/cogl-1.22.8-r2.ebuild b/media-libs/cogl/cogl-1.22.8-r2.ebuild
index 89cfdd28232..6525ed88774 100644
--- a/media-libs/cogl/cogl-1.22.8-r2.ebuild
+++ b/media-libs/cogl/cogl-1.22.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.cogl3d.org/"
LICENSE="MIT BSD"
SLOT="1.0/20" # subslot = .so version
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
# doc and profile disable for now due to bugs #484750 and #483332
IUSE="debug examples gles2 gstreamer +introspection +kms +opengl +pango wayland" # doc profile
REQUIRED_USE="
diff --git a/media-libs/cogl/metadata.xml b/media-libs/cogl/metadata.xml
index 2bdd552eba0..9b65a27f8c1 100644
--- a/media-libs/cogl/metadata.xml
+++ b/media-libs/cogl/metadata.xml
@@ -1,13 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-<use>
- <flag name="gles2">Enable OpenGL ES 2.0 support</flag>
- <flag name="kms">Enable KMS support.</flag>
- <flag name="pango">Build cogl-pango library for <pkg>x11-libs/pango</pkg> integration</flag>
-</use>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="gles2">Enable OpenGL ES 2.0 support</flag>
+ <flag name="kms">Enable KMS support.</flag>
+ <flag name="pango">Build cogl-pango library for <pkg>x11-libs/pango</pkg> integration</flag>
+ </use>
+ <upstream>
+ <remote-id type="gnome-gitlab">Archive/cogl</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/coin/coin-4.0.0.ebuild b/media-libs/coin/coin-4.0.0.ebuild
index 90ef8396eb8..41f77c0f06e 100644
--- a/media-libs/coin/coin-4.0.0.ebuild
+++ b/media-libs/coin/coin-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -56,6 +56,7 @@ PATCHES=(
"${FILESDIR}"/${P}-0004-Added-coin-default.cfg.patch
"${FILESDIR}"/${P}-0005-Slightly-fix-coin.cfg.cmake.in.patch
"${FILESDIR}"/${P}-0006-Fix-underlinking-against-X11.patch
+ "${FILESDIR}"/${P}-0007-Locate-slotted-qhelpgenerator.patch
)
DOCS=(
diff --git a/media-libs/coin/files/coin-4.0.0-0007-Locate-slotted-qhelpgenerator.patch b/media-libs/coin/files/coin-4.0.0-0007-Locate-slotted-qhelpgenerator.patch
new file mode 100644
index 00000000000..7c53c4e1295
--- /dev/null
+++ b/media-libs/coin/files/coin-4.0.0-0007-Locate-slotted-qhelpgenerator.patch
@@ -0,0 +1,13 @@
+diff -ruN coin/src/doc/CMakeLists.txt my/src/doc/CMakeLists.txt
+--- coin/src/doc/CMakeLists.txt 2019-12-23 20:47:44.000000000 +0100
++++ my/src/doc/CMakeLists.txt 2022-10-17 21:02:17.868469249 +0200
+@@ -30,7 +30,8 @@
+ endif()
+ endif()
+ if(COIN_BUILD_DOCUMENTATION_QTHELP)
+- find_program(QHG_LOCATION NAMES qhelpgenerator qhelpgenerator-qt5 DOC "Qt qhelpgenerator")
++ find_package(Qt5Help REQUIRED)
++ get_target_property(QHG_LOCATION Qt5::qhelpgenerator LOCATION)
+ if(NOT QHG_LOCATION)
+ message(FATAL_ERROR "Missing program Qt qhelpgenerator")
+ else()
diff --git a/media-libs/ctl/Manifest b/media-libs/ctl/Manifest
index 1e6eb54355e..f10eda311db 100644
--- a/media-libs/ctl/Manifest
+++ b/media-libs/ctl/Manifest
@@ -1 +1 @@
-DIST ctl-1.5.2.tar.gz 1411871 BLAKE2B 223740aa8b68630f449b65e17470c76b2825a77eead040724b65e9e69752a696f642ae6755116046e188305a7d043c4def7cb8a773ad08d51fba35e9273b3a71 SHA512 c92af23e897f30f96ecb27b4b865e2fe1a1e33c8616797fc18f68e7fcc89210ce8ae70a003169b2f449bfd5f90d192734f1e8038b1d3e03c5f48c81587c871c6
+DIST ctl-1.5.2_p20221224.tar.gz 1418659 BLAKE2B 6798439b270b785974cfd45381f927f2005884b6a00878fa845cc1c36cd912eb6f3acb913f896389a67bff52103d3d52032e3f1f9f53e1a3d98b545428c1580b SHA512 9cc132100d3ea622d954e783fbab43c07cfa72e1930f4b9c55cb01709e88f09f956ac02e973a09bfc2842e769060e6f50f082d5491be03c1499a58e79b0f1ca3
diff --git a/media-libs/ctl/ctl-1.5.2-r2.ebuild b/media-libs/ctl/ctl-1.5.2-r2.ebuild
deleted file mode 100644
index f545786ec06..00000000000
--- a/media-libs/ctl/ctl-1.5.2-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="AMPAS' Color Transformation Language"
-HOMEPAGE="https://github.com/ampas/CTL"
-SRC_URI="https://github.com/ampas/CTL/archive/${P}.tar.gz"
-S="${WORKDIR}/CTL-ctl-${PV}"
-
-LICENSE="AMPAS"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ~ppc64 x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="media-libs/ilmbase:=
- media-libs/openexr:0=
- media-libs/tiff:=
- !media-libs/openexr_ctl"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${P}-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch"
- "${FILESDIR}/${P}-openexr-2.3.patch"
- "${FILESDIR}/${P}-fix-to-build-with-gcc-11.patch"
- "${FILESDIR}/${P}-install-dpx-library.patch"
- "${FILESDIR}/${P}-fix-unit-tests.patch"
-)
-
-mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" )
-
-src_test() {
- pushd "${BUILD_DIR}" >/dev/null || die
- eninja check
- popd >/dev/null || die
-}
diff --git a/media-libs/ctl/ctl-1.5.2_p20221224.ebuild b/media-libs/ctl/ctl-1.5.2_p20221224.ebuild
new file mode 100644
index 00000000000..fe8ff0e3918
--- /dev/null
+++ b/media-libs/ctl/ctl-1.5.2_p20221224.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_COMMIT=3fc4ae7a8af35d380654e573d895216fd5ba407e
+
+DESCRIPTION="AMPAS' Color Transformation Language"
+HOMEPAGE="https://github.com/ampas/CTL"
+SRC_URI="https://github.com/ampas/CTL/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/CTL-${MY_COMMIT}"
+
+LICENSE="AMPAS"
+SLOT="0"
+KEYWORDS="amd64 ~ia64 ~ppc64 x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/imath:=
+ >=media-libs/openexr-3:=[threads]
+ media-libs/tiff:=
+ !media-libs/openexr_ctl"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.2-fix-installation-directories.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
+ -DCTL_BUILD_TESTS=$(usex test)
+ -DCTL_BUILD_TOOLS=ON
+ )
+ cmake_src_configure
+}
diff --git a/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch b/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch
deleted file mode 100644
index e4fadf1aa05..00000000000
--- a/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch
+++ /dev/null
@@ -1,399 +0,0 @@
-From db1cccd9cee830f8822521f2c401ea74ad161360 Mon Sep 17 00:00:00 2001
-From: Jonathan Scruggs <j.scruggs@gmail.com>
-Date: Mon, 25 Sep 2017 17:41:26 +0100
-Subject: [PATCH] CTL: Use GNUInstallDirs and fix PkgConfig files
-
-* GNUInstallDirs are variables set by each distro and OS, so we
- don't need to define them manually. They can also be set manually
- during the configure phase. The code to define custom directories can
- be removed and replaced with the equivalent GNUInstallDirs variable.
-* Pkg-Config is used to find IlmBase and OpenEXR, but isn't fully
- utilized everywhere. This makes Pkg-Config a hard dependency so that
- the libraries and directories can be found easily. This will use the
- correct libraries no matter how they are named, so this is compatible
- with both pre-2.0 and post 2.0 naming schemes.
-* The Pkg-Config files had several errors that are now fixed.
-
-Upstream PR: https://github.com/ampas/CTL/pull/67
----
- CMakeLists.txt | 36 ++++++++---------------------
- OpenEXR_CTL/CMakeLists.txt | 2 +-
- OpenEXR_CTL/CtlModules/CMakeLists.txt | 2 +-
- OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt | 4 ++--
- OpenEXR_CTL/exrdpx/CMakeLists.txt | 4 ++--
- config/CTL.pc.in | 8 +++----
- config/OpenEXR_CTL.pc.in | 15 ++++++-------
- configure.cmake | 41 ++++++++++++++++------------------
- ctlrender/CMakeLists.txt | 20 ++++++++---------
- doc/CMakeLists.txt | 2 +-
- lib/IlmCtl/CMakeLists.txt | 4 ++--
- lib/IlmCtlMath/CMakeLists.txt | 4 ++--
- lib/IlmCtlSimd/CMakeLists.txt | 6 ++---
- lib/IlmImfCtl/CMakeLists.txt | 6 ++---
- lib/dpx/CMakeLists.txt | 1 +
- 15 files changed, 66 insertions(+), 89 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 01f622c..35e9a48 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,22 +1,14 @@
- cmake_minimum_required(VERSION 2.8)
- project( CTL )
-
-+INCLUDE ( GNUInstallDirs )
-+
- set( CTL_MAJOR_VERSION 1 )
- set( CTL_MINOR_VERSION 5 )
--set( CTL_PATCH_VERSION 0 )
-+set( CTL_PATCH_VERSION 2 )
- set( CTL_VERSION ${CTL_MAJOR_VERSION}.${CTL_MINOR_VERSION}.${CTL_PATCH_VERSION} )
-
--## Make install directories overrideable
--set( INSTALL_LIB_DIR lib CACHE PATH "Install directory for libraries" )
--set( INSTALL_BIN_DIR bin CACHE PATH "Install directory for executable binaries" )
--set( INSTALL_INCLUDE_DIR include CACHE PATH "Install directory for public header files" )
--set( INSTALL_DOC_DIR doc CACHE PATH "Install directory for documentation" )
--if( WIN32 AND NOT CYGWIN )
-- set(DEF_INSTALL_CMAKE_DIR CMake)
--else()
-- set(DEF_INSTALL_CMAKE_DIR lib/CMake/CTL)
--endif()
--set(INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Install directory for project CMake files" )
-+set(INSTALL_CMAKE_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/cmake/CTL CACHE PATH "Install directory for project CMake files" )
-
- # use, i.e. don't skip the full RPATH for the build tree
- SET(CMAKE_SKIP_BUILD_RPATH FALSE)
-@@ -28,20 +20,11 @@ SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
- # which point to directories outside the build tree to the install RPATH
- SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
- # the RPATH to be used when installing, but only if it's not a system directory
--LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir)
-+LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_FULL_LIBDIR}" isSystemDir)
- IF("${isSystemDir}" STREQUAL "-1")
-- SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
-+ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}")
- ENDIF("${isSystemDir}" STREQUAL "-1")
-
--
--## convert install paths to absolute
--foreach( p LIB BIN INCLUDE CMAKE DOC)
-- set( var INSTALL_${p}_DIR )
-- if( NOT IS_ABSOLUTE "${${var}}" )
-- set( ${var} "${CMAKE_INSTALL_PREFIX}/${${var}}" )
-- endif()
--endforeach()
--
- option(ENABLE_SHARED "Enable Shared Libraries" ON)
-
- if ( ENABLE_SHARED )
-@@ -70,20 +53,19 @@ export( TARGETS IlmCtl IlmCtlMath IlmCtlSimd FILE "${PROJECT_BINARY_DIR}/CTLLibr
- export(PACKAGE CTL)
-
- # Create a CTLBuildTreeSettings.cmake file for the use from the build tree
--file(RELATIVE_PATH CONF_REL_INCLUDE_DIR "${INSTALL_CMAKE_DIR}" "${INSTALL_INCLUDE_DIR}")
-+file(RELATIVE_PATH CONF_REL_INCLUDE_DIR "${INSTALL_CMAKE_DIR}" "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
- configure_file(config/CTLBuildTreeSettings.cmake.in "${PROJECT_BINARY_DIR}/CTLBuildTreeSettings.cmake" @ONLY)
- configure_file(config/CTLConfig.cmake.in "${PROJECT_BINARY_DIR}/CTLConfig.cmake" @ONLY)
- configure_file(config/CTLConfigVersion.cmake.in "${PROJECT_BINARY_DIR}/CTLConfigVersion.cmake" @ONLY)
-
- if ( PKG_CONFIG_FOUND )
- configure_file(config/CTL.pc.in "${PROJECT_BINARY_DIR}/CTL.pc" @ONLY)
--install( FILES "${PROJECT_BINARY_DIR}/CTL.pc" DESTINATION lib/pkgconfig COMPONENT dev )
-+install( FILES "${PROJECT_BINARY_DIR}/CTL.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT dev )
- endif()
-
- install( FILES
- "${PROJECT_BINARY_DIR}/CTLConfig.cmake"
- "${PROJECT_BINARY_DIR}/CTLConfigVersion.cmake"
-+ "${PROJECT_BINARY_DIR}/CTLLibraryDepends.cmake"
- DESTINATION "${INSTALL_CMAKE_DIR}" COMPONENT dev)
--install(FILES "${PROJECT_BINARY_DIR}/CTLLibraryDepends.cmake" DESTINATION
-- "${INSTALL_CMAKE_DIR}" COMPONENT dev)
-
-diff --git a/OpenEXR_CTL/CMakeLists.txt b/OpenEXR_CTL/CMakeLists.txt
-index c1ca53e..3f19dd4 100644
---- a/OpenEXR_CTL/CMakeLists.txt
-+++ b/OpenEXR_CTL/CMakeLists.txt
-@@ -13,7 +13,7 @@ add_custom_target( OpenEXR_CTL DEPENDS CtlModules exrdpx exr_ctl_exr )
-
- if ( PKG_CONFIG_FOUND )
- configure_file(../config/OpenEXR_CTL.pc.in "${PROJECT_BINARY_DIR}/OpenEXR_CTL.pc" @ONLY)
--install( FILES "${PROJECT_BINARY_DIR}/OpenEXR_CTL.pc" DESTINATION lib/pkgconfig COMPONENT dev )
-+install( FILES "${PROJECT_BINARY_DIR}/OpenEXR_CTL.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig COMPONENT dev )
- endif()
-
- # TODO CMake config
-diff --git a/OpenEXR_CTL/CtlModules/CMakeLists.txt b/OpenEXR_CTL/CtlModules/CMakeLists.txt
-index c63c22e..9c9e5b8 100644
---- a/OpenEXR_CTL/CtlModules/CMakeLists.txt
-+++ b/OpenEXR_CTL/CtlModules/CMakeLists.txt
-@@ -2,6 +2,6 @@ install(
- FILES
- utilities.ctl
- DESTINATION
-- ${INSTALL_LIB_DIR}/CTL
-+ ${CMAKE_INSTALL_LIBDIR}/CTL
- )
-
-diff --git a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt
-index e396ec5..1f0eea0 100644
---- a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt
-+++ b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt
-@@ -20,6 +20,6 @@ target_link_libraries( exr_ctl_exr IlmCtlSimd IlmCtlMath IlmCtl IlmImfCtl )
- target_link_libraries( exr_ctl_exr ${IlmBase_LIBRARIES} ${IlmBase_LDFLAGS_OTHER} )
- target_link_libraries( exr_ctl_exr ${OpenEXR_LIBRARIES} ${OpenEXR_LDFLAGS_OTHER} )
-
--install( TARGETS exr_ctl_exr DESTINATION ${INSTALL_BIN_DIR} )
-+install( TARGETS exr_ctl_exr DESTINATION ${CMAKE_INSTALL_BINDIR} )
-
--install( FILES change_saturation.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL )
-+install( FILES change_saturation.ctl DESTINATION ${CMAKE_INSTALL_LIBDIR}/CTL )
-diff --git a/OpenEXR_CTL/exrdpx/CMakeLists.txt b/OpenEXR_CTL/exrdpx/CMakeLists.txt
-index 50bd116..d9eadd8 100644
---- a/OpenEXR_CTL/exrdpx/CMakeLists.txt
-+++ b/OpenEXR_CTL/exrdpx/CMakeLists.txt
-@@ -20,8 +20,8 @@ target_link_libraries( exrdpx IlmCtlSimd IlmCtlMath IlmCtl IlmImfCtl )
- target_link_libraries( exrdpx ${IlmBase_LIBRARIES} ${IlmBase_LDFLAGS_OTHER} )
- target_link_libraries( exrdpx ${OpenEXR_LIBRARIES} ${OpenEXR_LDFLAGS_OTHER} )
-
--install( TARGETS exrdpx DESTINATION ${INSTALL_BIN_DIR} )
-+install( TARGETS exrdpx DESTINATION ${CMAKE_INSTALL_BINDIR} )
-
--install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL )
-+install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${CMAKE_INSTALL_LIBDIR}/CTL )
-
-
-diff --git a/config/CTL.pc.in b/config/CTL.pc.in
-index 6d6e732..9b212a4 100644
---- a/config/CTL.pc.in
-+++ b/config/CTL.pc.in
-@@ -1,8 +1,6 @@
--prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@INSTALL_BIN_DIR@
--libdir=@INSTALL_LIB_DIR@
--includedir=@INSTALL_INCLUDE_DIR@
--CTL_includedir=@INSTALL_INCLUDE_DIR@/CTL
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
-+CTL_includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/CTL
-
- Name: CTL
- Description: CTL interpreter library
-diff --git a/config/OpenEXR_CTL.pc.in b/config/OpenEXR_CTL.pc.in
-index 4cef5c6..39a1a3f 100644
---- a/config/OpenEXR_CTL.pc.in
-+++ b/config/OpenEXR_CTL.pc.in
-@@ -1,11 +1,10 @@
--prefix=@prefix@
--exec_prefix=@exec_prefix@
--libdir=@libdir@
--includedir=@includedir@
--OpenEXR_includedir=@includedir@/OpenEXR
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
-+OpenEXR_includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/OpenEXR
-
- Name: OpenEXR_CTL
- Description: Simplified OpenEXR interface to CTL
--Version: @OPENEXR_CTL_VERSION@
--Libs: -L${libdir} -lIlmImfCtl @OPENEXR_LDFLAGS@ @CTL_LDFLAGS@
--Cflags: @CTL_CXXFLAGS_PC@ @OPENEXR_CXXFLAGS@ -I${OpenEXR_includedir}
-+Version: @CTL_VERSION@
-+Libs: -L${libdir} -lIlmImfCtl
-+Cflags: -I${OpenEXR_includedir}
-+Requires: CTL,OpenEXR
-diff --git a/configure.cmake b/configure.cmake
-index 1817071..eb7e14e 100644
---- a/configure.cmake
-+++ b/configure.cmake
-@@ -1,10 +1,7 @@
--# Until we get some of these modules into the upstream packages, put them here
--set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
--set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_INSTALL_PREFIX}/share/CMake")
-+# Make Pkg-Config required.
-+find_package( PkgConfig )
-
--find_package( PkgConfig QUIET )
--
--find_package( IlmBase QUIET )
-+PKG_CHECK_MODULES ( IlmBase REQUIRED IlmBase )
- if(IlmBase_FOUND)
- message( STATUS "found IlmBase, version ${IlmBase_VERSION}" )
- ###
-@@ -13,11 +10,11 @@ if(IlmBase_FOUND)
- ###
- include_directories( ${IlmBase_INCLUDE_DIRS} )
- link_directories( ${IlmBase_LIBRARY_DIRS} )
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${IlmBase_CFLAGS}" )
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IlmBase_CFLAGS}" )
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${IlmBase_LDFLAGS}" )
-- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${IlmBase_LDFLAGS}" )
-- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${IlmBase_LDFLAGS}" )
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${IlmBase_CFLAGS_OTHER}" )
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IlmBase_CFLAGS_OTHER}" )
-+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${IlmBase_LDFLAGS_OTHER}" )
-+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${IlmBase_LDFLAGS_OTHER}" )
-+ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${IlmBase_LDFLAGS_OTHER}" )
- else()
- message( SEND_ERROR "IlmBase not found, please set the include and library paths manually" )
- endif()
-@@ -39,20 +36,20 @@ else()
- endif()
- endif()
-
--find_package( OpenEXR QUIET )
-+PKG_CHECK_MODULES ( OpenEXR REQUIRED OpenEXR )
- if (OpenEXR_FOUND)
- message( STATUS "Found OpenEXR, version ${OpenEXR_VERSION}" )
- else()
- message( WARNING "Unable to find OpenEXR libraries, disabling" )
- endif()
-
--find_package( AcesContainer )
--if (AcesContainer_FOUND)
-- message( STATUS "Found AcesContainer, version ${AcesContainer_VERSION}" )
--else()
-- if ( PKG_CONFIG_FOUND )
-- pkg_check_modules( AcesContainer AcesContainer )
-- else()
-- message( WARNING "Unable to find AcesContainer libraries, disabling" )
-- endif()
--endif()
-+find_package( AcesContainer )
-+ if (AcesContainer_FOUND)
-+ message( STATUS "Found AcesContainer, version ${AcesContainer_VERSION}" )
-+ else()
-+ if ( PKG_CONFIG_FOUND )
-+ pkg_check_modules( AcesContainer AcesContainer )
-+ else()
-+ message( WARNING "Unable to find AcesContainer libraries, disabling" )
-+ endif()
-+ endif()
-diff --git a/ctlrender/CMakeLists.txt b/ctlrender/CMakeLists.txt
-index 9fced14..d97093d 100644
---- a/ctlrender/CMakeLists.txt
-+++ b/ctlrender/CMakeLists.txt
-@@ -11,12 +11,12 @@ include_directories( ${OpenEXR_INCLUDE_DIRS} )
- link_directories( ${OpenEXR_LIBRARY_DIRS} )
- endif()
-
--if ( AcesContainer_FOUND )
--add_definitions( -DHAVE_ACESFILE=1 )
--include_directories( ${AcesContainer_INCLUDE_DIRS} )
--link_directories( ${AcesContainer_LIBRARY_DIRS} )
--endif()
--
-+if ( AcesContainer_FOUND )
-+add_definitions( -DHAVE_ACESFILE=1 )
-+include_directories( ${AcesContainer_INCLUDE_DIRS} )
-+link_directories( ${AcesContainer_LIBRARY_DIRS} )
-+endif()
-+
- include_directories( "${CMAKE_CURRENT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/lib/IlmCtl" "${PROJECT_SOURCE_DIR}/lib/IlmCtlMath" "${PROJECT_SOURCE_DIR}/lib/IlmCtlSimd" "${PROJECT_SOURCE_DIR}/lib/dpx" )
-
- add_executable( ctlrender
-@@ -41,9 +41,9 @@ if (OpenEXR_FOUND)
- target_link_libraries( ctlrender ${OpenEXR_LIBRARIES} )
- target_link_libraries( ctlrender ${OpenEXR_LDFLAGS_OTHER} )
- endif()
--if (AcesContainer_FOUND)
--target_link_libraries( ctlrender ${AcesContainer_LIBRARIES} )
--target_link_libraries( ctlrender ${AcesContainer_LDFLAGS_OTHER} )
-+if (AcesContainer_FOUND)
-+target_link_libraries( ctlrender ${AcesContainer_LIBRARIES} )
-+target_link_libraries( ctlrender ${AcesContainer_LDFLAGS_OTHER} )
- endif()
-
--install( TARGETS ctlrender DESTINATION bin )
-+install( TARGETS ctlrender DESTINATION ${CMAKE_INSTALL_BINDIR} )
-diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
-index 0b123d0..9776205 100644
---- a/doc/CMakeLists.txt
-+++ b/doc/CMakeLists.txt
-@@ -1 +1 @@
--install( FILES CtlManual.pdf CtlManual.doc DESTINATION doc/CTL )
-+install( FILES CtlManual.pdf CtlManual.doc DESTINATION ${CMAKE_INSTALL_DOCDIR} )
-diff --git a/lib/IlmCtl/CMakeLists.txt b/lib/IlmCtl/CMakeLists.txt
-index 3672a43..ef301bd 100644
---- a/lib/IlmCtl/CMakeLists.txt
-+++ b/lib/IlmCtl/CMakeLists.txt
-@@ -22,7 +22,7 @@ add_library( IlmCtl ${DO_SHARED}
- )
-
- target_link_libraries( IlmCtl ${IlmBase_LDFLAGS_OTHER} )
--target_link_libraries( IlmCtl Iex IlmThread Half )
-+target_link_libraries( IlmCtl ${IlmBase_LIBRARIES} )
-
- set_target_properties( IlmCtl PROPERTIES
- VERSION ${CTL_VERSION}
-@@ -50,4 +50,4 @@ install( FILES
- CtlVersion.h
- DESTINATION include/CTL )
-
--install( TARGETS IlmCtl DESTINATION lib )
-+install( TARGETS IlmCtl DESTINATION ${CMAKE_INSTALL_LIBDIR} )
-diff --git a/lib/IlmCtlMath/CMakeLists.txt b/lib/IlmCtlMath/CMakeLists.txt
-index 96738cf..6997c74 100644
---- a/lib/IlmCtlMath/CMakeLists.txt
-+++ b/lib/IlmCtlMath/CMakeLists.txt
-@@ -18,8 +18,8 @@ install( FILES
- CtlLookupTable.h
- CtlRbfInterpolator.h
- CtlSparseMatrix.h
-- DESTINATION include/CTL )
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/CTL )
-
--install( TARGETS IlmCtlMath DESTINATION lib )
-+install( TARGETS IlmCtlMath DESTINATION ${CMAKE_INSTALL_LIBDIR} )
-
- # TODO Add Imath and Iex libadd dependency and version info
-diff --git a/lib/IlmCtlSimd/CMakeLists.txt b/lib/IlmCtlSimd/CMakeLists.txt
-index 2ba792a..5eaf87d 100644
---- a/lib/IlmCtlSimd/CMakeLists.txt
-+++ b/lib/IlmCtlSimd/CMakeLists.txt
-@@ -1,7 +1,7 @@
- include_directories( "${CMAKE_CURRENT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/lib/IlmCtl" "${PROJECT_SOURCE_DIR}/lib/IlmCtlMath" )
-
- add_executable( halfExpLogTable halfExpLogTable.cpp )
--target_link_libraries( halfExpLogTable Half )
-+target_link_libraries( halfExpLogTable ${IlmBase_LIBRARIES} )
-
- add_custom_command( OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/halfExpLogTable.h"
- COMMAND halfExpLogTable "${CMAKE_CURRENT_BINARY_DIR}/halfExpLogTable.h" "${CMAKE_CURRENT_BINARY_DIR}/halfExpLog.h"
-@@ -40,6 +40,6 @@ set_target_properties( IlmCtlSimd PROPERTIES
- SOVERSION ${CTL_VERSION}
- )
-
--install( FILES CtlSimdInterpreter.h DESTINATION include/CTL )
-+install( FILES CtlSimdInterpreter.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/CTL )
-
--install( TARGETS IlmCtlSimd DESTINATION lib )
-+install( TARGETS IlmCtlSimd DESTINATION ${CMAKE_INSTALL_LIBDIR} )
-diff --git a/lib/IlmImfCtl/CMakeLists.txt b/lib/IlmImfCtl/CMakeLists.txt
-index 47563df..784e27f 100644
---- a/lib/IlmImfCtl/CMakeLists.txt
-+++ b/lib/IlmImfCtl/CMakeLists.txt
-@@ -7,10 +7,10 @@ add_library( IlmImfCtl ${DO_SHARED}
- ImfCtlCopyFunctionArg.cpp
- )
-
--target_link_libraries( IlmImfCtl IlmCtl IlmImf Iex IlmThread Half )
-+target_link_libraries( IlmImfCtl IlmCtl ${OpenEXR_LIBRARIES} ${IlmBase_LIBRARIES} )
-
--install( FILES ImfCtlApplyTransforms.h DESTINATION include/OpenEXR )
-+install( FILES ImfCtlApplyTransforms.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OpenEXR )
-
- export( TARGETS IlmImfCtl IlmCtl FILE "${PROJECT_BINARY_DIR}/CTLLibraryDepends.cmake" )
-
--install( TARGETS IlmImfCtl DESTINATION lib )
-+install( TARGETS IlmImfCtl DESTINATION ${CMAKE_INSTALL_LIBDIR} )
-diff --git a/lib/dpx/CMakeLists.txt b/lib/dpx/CMakeLists.txt
-index c8be26e..918890e 100644
---- a/lib/dpx/CMakeLists.txt
-+++ b/lib/dpx/CMakeLists.txt
-@@ -11,3 +11,4 @@ add_library( ctldpx
- dpx_rw.cc
- )
-
-+target_link_libraries( ctldpx ${IlmBase_LIBRARIES} )
diff --git a/media-libs/ctl/files/ctl-1.5.2-fix-installation-directories.patch b/media-libs/ctl/files/ctl-1.5.2-fix-installation-directories.patch
new file mode 100644
index 00000000000..42e2096d6fe
--- /dev/null
+++ b/media-libs/ctl/files/ctl-1.5.2-fix-installation-directories.patch
@@ -0,0 +1,53 @@
+From c23f126d06abd97e70010ad1e0df2f87ebf09c39 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Sat, 31 Dec 2022 12:19:17 +0100
+Subject: [PATCH] fix installation directories
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/OpenEXR_CTL/CtlModules/CMakeLists.txt
++++ b/OpenEXR_CTL/CtlModules/CMakeLists.txt
+@@ -2,6 +2,6 @@ install(
+ FILES
+ utilities.ctl
+ DESTINATION
+- ${INSTALL_LIB_DIR}/CTL
++ ${CMAKE_INSTALL_DATADIR}/CTL
+ )
+
+--- a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt
++++ b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt
+@@ -39,4 +39,4 @@ target_link_libraries (exr_ctl_exr
+
+ install( TARGETS exr_ctl_exr DESTINATION ${INSTALL_BIN_DIR} )
+
+-install( FILES change_saturation.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL )
++install( FILES change_saturation.ctl DESTINATION ${CMAKE_INSTALL_DATADIR}/CTL )
+--- a/OpenEXR_CTL/exrdpx/CMakeLists.txt
++++ b/OpenEXR_CTL/exrdpx/CMakeLists.txt
+@@ -39,6 +39,6 @@ target_link_libraries (exrdpx
+
+ install( TARGETS exrdpx DESTINATION ${INSTALL_BIN_DIR} )
+
+-install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL )
++install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${CMAKE_INSTALL_DATADIR}/CTL )
+
+
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -1 +1 @@
+-install( FILES CtlManual.pdf CtlManual.doc DESTINATION ${CMAKE_INSTALL_DOCDIR}/CTL )
++install( FILES CtlManual.pdf CtlManual.doc DESTINATION ${CMAKE_INSTALL_DOCDIR} )
+--- a/lib/IlmImfCtl/CMakeLists.txt
++++ b/lib/IlmImfCtl/CMakeLists.txt
+@@ -38,7 +38,7 @@ target_link_libraries (IlmImfCtl
+ install(FILES
+ ImfCtlApplyTransforms.h
+ DESTINATION
+- ${CMAKE_INSTALL_LIBDIR}/OpenEXR
++ ${CMAKE_INSTALL_INCLUDEDIR}/OpenEXR
+ )
+
+ install(TARGETS IlmImfCtl DESTINATION ${CMAKE_INSTALL_LIBDIR})
+--
+2.39.0
+
diff --git a/media-libs/ctl/files/ctl-1.5.2-fix-to-build-with-gcc-11.patch b/media-libs/ctl/files/ctl-1.5.2-fix-to-build-with-gcc-11.patch
deleted file mode 100644
index 47b4cb53867..00000000000
--- a/media-libs/ctl/files/ctl-1.5.2-fix-to-build-with-gcc-11.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Fri, 30 Jul 2021 17:33:47 +0200
-Subject: [PATCH] fix to build with gcc-11
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
----
- lib/dpx/dpx.hh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/dpx/dpx.hh b/lib/dpx/dpx.hh
-index 02ae833..5639aaa 100644
---- a/lib/dpx/dpx.hh
-+++ b/lib/dpx/dpx.hh
-@@ -297,7 +297,7 @@ struct dpx {
- compliance_e current_compliance;
- endian_mode_e current_endian_mode;
-
-- std::istream::streampos header_start;
-+ std::streampos header_start;
-
- public:
- virtual ~dpx();
---
-2.32.0
-
diff --git a/media-libs/ctl/files/ctl-1.5.2-fix-unit-tests.patch b/media-libs/ctl/files/ctl-1.5.2-fix-unit-tests.patch
deleted file mode 100644
index 56fa35de7a2..00000000000
--- a/media-libs/ctl/files/ctl-1.5.2-fix-unit-tests.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Fri, 30 Jul 2021 18:40:27 +0200
-Subject: [PATCH] fix unit tests
-
-Add cstring #include where necessary and drop segfaulting test
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
----
- unittest/CMakeLists.txt | 1 -
- unittest/IlmCtl/testExamples.cpp | 1 +
- unittest/IlmCtl/testVarying.cpp | 1 +
- unittest/IlmCtl/testVaryingReturn.cpp | 1 +
- 4 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt
-index 553b553..1cfbc9b 100644
---- a/unittest/CMakeLists.txt
-+++ b/unittest/CMakeLists.txt
-@@ -3,7 +3,6 @@ enable_testing()
-
- add_custom_target( check COMMAND ${CMAKE_CTEST_COMMAND} )
-
--add_subdirectory( IlmCtl )
- add_subdirectory( IlmCtlMath )
- add_subdirectory( IlmImfCtl )
- add_subdirectory( ctlrender )
-diff --git a/unittest/IlmCtl/testExamples.cpp b/unittest/IlmCtl/testExamples.cpp
-index ccd2183..180b7d3 100644
---- a/unittest/IlmCtl/testExamples.cpp
-+++ b/unittest/IlmCtl/testExamples.cpp
-@@ -56,6 +56,7 @@
- #include <CtlFunctionCall.h>
- #include <CtlType.h>
- #include <assert.h>
-+#include <cstring>
-
-
- using namespace Ctl;
-diff --git a/unittest/IlmCtl/testVarying.cpp b/unittest/IlmCtl/testVarying.cpp
-index 90ab05d..4079ca6 100755
---- a/unittest/IlmCtl/testVarying.cpp
-+++ b/unittest/IlmCtl/testVarying.cpp
-@@ -62,6 +62,7 @@
- #include <assert.h>
- #include <sstream>
- #include <limits>
-+#include <cstring>
- #include <half.h>
- #include <testVarying.h>
-
-diff --git a/unittest/IlmCtl/testVaryingReturn.cpp b/unittest/IlmCtl/testVaryingReturn.cpp
-index eb91d31..d7ab083 100644
---- a/unittest/IlmCtl/testVaryingReturn.cpp
-+++ b/unittest/IlmCtl/testVaryingReturn.cpp
-@@ -62,6 +62,7 @@
- #include <assert.h>
- #include <sstream>
- #include <limits>
-+#include <cstring>
- #include <half.h>
- #include <testVarying.h>
-
---
-2.32.0
-
diff --git a/media-libs/ctl/files/ctl-1.5.2-install-dpx-library.patch b/media-libs/ctl/files/ctl-1.5.2-install-dpx-library.patch
deleted file mode 100644
index 96e8b268f49..00000000000
--- a/media-libs/ctl/files/ctl-1.5.2-install-dpx-library.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Fri, 30 Jul 2021 17:54:15 +0200
-Subject: [PATCH] install dpx library
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
----
- lib/dpx/CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/lib/dpx/CMakeLists.txt b/lib/dpx/CMakeLists.txt
-index 918890e..2ed69d1 100644
---- a/lib/dpx/CMakeLists.txt
-+++ b/lib/dpx/CMakeLists.txt
-@@ -12,3 +12,4 @@ add_library( ctldpx
- )
-
- target_link_libraries( ctldpx ${IlmBase_LIBRARIES} )
-+install( TARGETS ctldpx DESTINATION ${CMAKE_INSTALL_LIBDIR} )
---
-2.32.0
-
diff --git a/media-libs/ctl/files/ctl-1.5.2-openexr-2.3.patch b/media-libs/ctl/files/ctl-1.5.2-openexr-2.3.patch
deleted file mode 100644
index ac4ceb3e548..00000000000
--- a/media-libs/ctl/files/ctl-1.5.2-openexr-2.3.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: CTL-ctl-1.5.2/lib/IlmCtlSimd/CtlSimdInst.cpp
-===================================================================
---- CTL-ctl-1.5.2.orig/lib/IlmCtlSimd/CtlSimdInst.cpp
-+++ CTL-ctl-1.5.2/lib/IlmCtlSimd/CtlSimdInst.cpp
-@@ -189,7 +189,7 @@ SimdInst::executePath (SimdBoolMask &mas
- REPLACE_EXC
- (e, "\n" <<
- xcontext.fileName() << ":" <<
-- inst->lineNumber() << ": " << e);
-+ inst->lineNumber() << ": " << e.what());
-
- throw e;
- }
diff --git a/media-libs/cubeb/Manifest b/media-libs/cubeb/Manifest
index 468e431f983..a1d9753ddd3 100644
--- a/media-libs/cubeb/Manifest
+++ b/media-libs/cubeb/Manifest
@@ -1,25 +1,13 @@
DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
DIST cache-padded-1.2.0.crate 9125 BLAKE2B d50b506aca9cfad3117be593c33bba4a5240034a838610925f9eac969155f22e0064c91f8d3588333880d1f5b6b936df87c0728530f80cd1062c73d570bfd1e4 SHA512 5b67d06908981d0e1ba01912a973cc5c90ce6612f227b306d12b13500594f5d2376d437a046e10b9cf959b609cb67fa6e24193fc651cb2d84e1f77338c6823fc
-DIST cc-1.0.72.crate 57495 BLAKE2B b2057ca53aacafa063a4eaa907bfb65aa32ce01a74a90b9085c8243a87723cee8ce79e4904f9d205f9d451598ee34495f8879d27c189477ca43bd39b88b5ea2e SHA512 e9a5b283b2a1fee1030009068c1f87291ec1dab7584a0892f27cc7e523c8fdfd5d986281d9aec1a00af706af1e61d7e64c245c74be7b39c8c022ae2d4f87de8d
DIST cc-1.0.73.crate 57880 BLAKE2B be8d7a25a54afdd759844e76aec61526fc2bd5ca09480e6cdd3bdcf27e5f9d3a88dc16cbcbf54cd021470a7cc521e1ad468116c112bbd30752bac0d5486939ac SHA512 980f012b90c6410144f6de4995048337e09214f19603076db6d4edb88e9ef9ac9e8c6e25569f66c2be3a47e99298f5886dafc102e1a9122316179aa26bc1c985
-DIST cmake-0.1.46.crate 15119 BLAKE2B 0889436835c16bc47cdc671615f421a50acf6c34a3ba3b6b8b4289e11bf1b803abd15d88a65ae9c1588586151f467524517e9c60d5dcc820e41ff21711f3a536 SHA512 e2749309055c85baa242cef8d0f4a91eb7e694664c5e42339df8ccc6644d1563337b835d3d931f5a0a75351efd299a21fe6eea497941802ea041916d665c7311
DIST cmake-0.1.48.crate 15142 BLAKE2B 5566d196c7ebcaa6b4d91e3361d7c92eb9c60c0a940b6d581d8cfc547606781f04f77d707ed128a6a391ec46fe801a4f65acac3c7c9bc90e0e43cd9e1bd6be03 SHA512 c836208d43f4a716be6ef043a6b5f526d3961b9414f1419171895903491176a2a8dc2f271062667a7568c7deb2bebfe96541b4e4fe73c31aa9aa760557b188b9
-DIST cubeb-0.2_p20211213.tar.gz 220413 BLAKE2B 65cf123351f1d465e15c3822f4ae2890cb62e7b5cec22beffd444ac452650b71c1bbc71e50836da6d0474ae6847fdf57c4ee85975f26a35f6db4e1f7a21fef76 SHA512 33abe2bc426b06c3c6cb557fe1be62725f1dc56776d02ec6651ef8710d3a5d302b1f730ceaefe516ff1974775cdabd3753f24436c705af3c6e98fd5dabb6b015
DIST cubeb-0.2_p20220922.tar.gz 223096 BLAKE2B 55e9bca6792a9e27e74ad29d0059b97997f15c58b04982a37e9afb0edeecfddf9ef41c40f934207883b46f3b669c5323ee9399fd4abd78b0bf91609ffda7d8ab SHA512 cbdaed8202649cd5ef6970457c412c94e3a7e12036017e551a2396d52ddd66061ed7cd9f5442418e5b410756836f1535bc957af92c2709c72a2a1c8e77f0678a
DIST cubeb-backend-0.10.1.crate 6359 BLAKE2B 5830be150dfa1dd2ece6dd1bbc3400c23d85867ca066107175f0da8e2cb2066e247f103f2cc4d523018f8ff98235b794fd68272798ee8e09c59a070bbb6b6ce2 SHA512 dd9d47af3f1b0a5af2e6bbccd42e8c8ea50cb995d82f0a090adb236a3759a5107c1b840da03701594181e63138e5d31ca3741262a7a4aa1ca1309e54c8aa50b2
-DIST cubeb-backend-0.9.0.crate 5871 BLAKE2B ac8cfd9a43eefa336fbad67c7183c3bd2375f7de36dfe17df55aef0003b950cd8eb45c823b51302f60773ebafbe6de8a80f276f5bc4c2fe250be6073fe95ae1c SHA512 e02c4703b630cbecfbe20bf3193fa88a130385885fecc18c2a8d6e464b13f0f395251afb35049cd1371532e372a6a5addc856e959fd2d6da63615f1cfdb20f14
DIST cubeb-core-0.10.1.crate 10915 BLAKE2B e428637a4d0946a630b9a33c9ac856a8a92d4a8e30e33abf375e592bdc061a95c33414345b18c8c447d7753a8b0a1c8fcaa7b0b3e3b15593908816e029182871 SHA512 2d3f6c904c966adaf9fb886b42d33776ff5ad57600e1057a9b35e7cd9e2de34a028b0e33602db69d6f0bc038391ebbe6b102bf3a883e1fa9104f55e2ec124a62
-DIST cubeb-core-0.9.0.crate 10782 BLAKE2B 60feec670c0d0d74f45a2c8ef4d0d564aae3e79f28087b7392f61baf3a0f31822929cdbbf1dd2506ea5d4249765eead516e6adb8d1867fbc2e77eeec9b06eb4a SHA512 2a7b660f6a1c36e6cbdaef4e26589240675d1e553f75d2093b39e4dfc4c82327ce080f68143e7c8383cb198796d7ab764cd4038532010847d9829b98f07f530e
-DIST cubeb-pulse-rs-0.2_p20211213.tar.gz 37658 BLAKE2B 82b137df7072a048b6115a17a8f973f1464470094468f19c0e56835db6d8d7355115e712b02f29be3055868435c21915423cfc48c8b55f856e0b008f14802e3b SHA512 1bee7bbeacccf31e51a420cb28c37fb6747ff4b364cbf633e18e507959bbf46d4b706b35c7a200421b68295244289a56b4e8193c63f87c5996ddcdfd7c527054
DIST cubeb-pulse-rs-f32b3ef708.tar.gz 37717 BLAKE2B f77cb42b32439025f4d1fbbd4558560b8420b24d8e13881f5280532860a495cc2ce95bd70d114de2777e3cacf785e55f6965b1a3aee9ba8fcca33d14e1a71956 SHA512 f801b24173f34b801b6e78fcec232736d353d78b4b8d3d690e69524c3b146aa0345e746dcb81aa8cf1fe17a85bf0e7f940f4b9c46d64de644e3b03d498af5f76
DIST cubeb-sys-0.10.1.crate 682811 BLAKE2B 1920bcafa0ca3350cf0df84c32e41c04a0fef79f9440b90fb1c5cbb269f2a9a71c7ec57dc5f605ec1c00cdff3fd833e630889d0acd4894c70280942afe9a59cf SHA512 eb3e4c64e1480f487a2ab3db8da61286eca05960972c7d11ba61dbb131a0d718681021d7cdd220569fc802a3a6bfbae237a9f162514d3e05d066f22e6cbcd353
-DIST cubeb-sys-0.9.1.crate 677935 BLAKE2B a6e10ee95e67ef03e2fa1915007a69227b28c0ade055cdff8e7941634690c6f34de8509e9b10b870097f3b17ca478794577a480232534aa1e593b6813eedbeee SHA512 594e7be07e2558ae81506ca52724bebaf51d2b99158af3808edee827f827dbfef24dc9f1a160bf23e3ac39043b17b920578164697f48a7e0fd544c0196b4f773
-DIST libc-0.2.112.crate 571445 BLAKE2B 3936f4fd08cda0ad5be7b1ff417b6dfc9abad14ea5cf647425d8a2e7306275e958fb5cab4de9eeaab95065176bc295065bafec3846ebadb6e15cba20de495280 SHA512 6c1a027eff21d3ef8078ad19b90b06d90790919a848e95a4c878e8c8b850d2e9be3fca36d8db39b24e472f15e5352ead1182d5491a0b382e06f8c3ead379c45f
DIST libc-0.2.133.crate 603256 BLAKE2B 00139eb8ec3921b961c20e9334e7b2fefe87d03df22c77b213491c07d93be193d991a814efa20c91cd5eab93fe392ef511ae4cec497bd5c41372d5aad1c31dde SHA512 526561652d77d5f61fa52dd9fe02a46a5f66289ec0aff5b2464311c3a90972c3ced0a84dbc901fa99a0fe35ef36af890bb7de40b9c6b7b7dce7fe8a1a738ed7b
-DIST pkg-config-0.3.24.crate 16489 BLAKE2B d0bd099bcc39928b6758c22b14291f2dc4f4452c0837aeed8c3ff6086cdcf29518806e4f3f379804c998d752b717a26d5c0054c071c5f4c224a3e03cc6a3ee51 SHA512 be22c609b3d5a9a38bab1d30792cff397cc908f1c53fb2da68a9a7d1258e53ef64c1c5b26d840b0ed1d35b307c98ffb499c82e5796e88be0a6ecc0c6f3b5dbfb
DIST pkg-config-0.3.25.crate 16838 BLAKE2B b6ebbcacdc0f440e24ce5730edd4b371387cf7f44e438216893f29c0f303ac7920791630d4a9bf13581da840c8888e18bdd78dc61458d3331e967b3dfa6d0597 SHA512 46658794f0a7446354041c1cc08cf637970f7651c0c506e2b90c9d4e284347cb82f05ce282cc55c8087bed58a5b961424a56574f4500de9f3ba9cb9e71667aa8
-DIST ringbuf-0.2.6.crate 18882 BLAKE2B 048402ee7e0fbe81597fa8450a50f89faaffac8dbe2cba1d1ddb870127e0a85f0e4f7553a806ea94530c00e113ee039a9c5df4d5e458bffdd3d483f09b39fc0a SHA512 e8a038342226f13c88137a91c27f14323b02dbafb8991c369c0332024a421edbb797db665e31ff9b35f40147fd1d71235a059930b574195add9a6613312472d6
DIST ringbuf-0.2.8.crate 19502 BLAKE2B e8f89e385c7bf6abca64861b7056327679cf6a969dbf2f2304c06fd1d67c99e246c647a58a13954cc8e0e16918fa544e8f25cc4610dfe5ba8879f22584356ea7 SHA512 8bf2d79c65451df9b22b696a6ddddd004768e8fd90920d624fccc77ff5c63067fb663b3cbff9e29e17b7d553f86e2016d754f3ff843f34dfd0a105ade2630f53
-DIST semver-0.9.0.crate 17344 BLAKE2B ae782bc78f29e45577de8574ee58959c70b54bb0b6f45a5a7b09cc4d358d9a0a80bbefc6e0f2a330e2b55adfbbe5c1f64f4ec9bb94c4adf7bb3e4fc9c142db6c SHA512 03a2ea563456f812c301721c3572370fe4934a22db60079da0dd6ffa33fa789e5e2436ef09e62fc35e0b742b06fabc290992c74eed80419a353c9de9449928dc
DIST semver-1.0.14.crate 29813 BLAKE2B a080f0a65127142a90bf033452241ffebfc7098b56a6a6b8bd818528df3b88fb48b3982125b405c1601e1bd55f3a0fdb4ffd9653e398295d8156651a04b2e903 SHA512 04db4c0a30141c2767d24d6d715b66ecd6355c1c88e572d4c473e0fa8c1fdd7197092b8286c973f25d201c5fcdc9105ba3e28c11ba1546a666167afc1fdf6728
-DIST semver-parser-0.7.0.crate 10268 BLAKE2B e46b7cf9d292f8fc54561fca4df8534dc96f6be920a5c869c405ddb31b9d1a18eab0799207113cf4910a52cc0df5017ab1bc1883a7c3787ebf2d60f09ac0ab4f SHA512 17320468ec6b9862d595f358d70c09ac6e09db7885fe0ead7a1e596f79350a6306e8bfde5bbd6512008a7c5454da1c7ae55fe1e3bc1c1ff02ac9df54c0a6121f
diff --git a/media-libs/cubeb/cubeb-0.2_p20211213.ebuild b/media-libs/cubeb/cubeb-0.2_p20211213.ebuild
deleted file mode 100644
index 9403998387f..00000000000
--- a/media-libs/cubeb/cubeb-0.2_p20211213.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CARGO_OPTIONAL=1
-CRATES="
- bitflags-1.3.2
- cache-padded-1.2.0
- cc-1.0.72
- cmake-0.1.46
- cubeb-backend-0.9.0
- cubeb-core-0.9.0
- cubeb-sys-0.9.1
- libc-0.2.112
- pkg-config-0.3.24
- ringbuf-0.2.6
- semver-0.9.0
- semver-parser-0.7.0"
-inherit cargo cmake
-
-CUBEB_COMMIT="773f16b7ea308392c05be3e290163d1f636e6024"
-PULSERS_COMMIT="f2456201dbfdc467b80f0ff6bbb1b8a6faf7df02"
-
-DESCRIPTION="Cross-platform audio library"
-HOMEPAGE="https://github.com/mozilla/cubeb/"
-SRC_URI="
- https://github.com/mozilla/cubeb/archive/${CUBEB_COMMIT}.tar.gz -> ${P}.tar.gz
- pulseaudio? ( rust? (
- https://github.com/mozilla/cubeb-pulse-rs/archive/${PULSERS_COMMIT}.tar.gz -> ${PN}-pulse-rs-${PV}.tar.gz
- $(cargo_crate_uris)
- ) )"
-S="${WORKDIR}/${PN}-${CUBEB_COMMIT}"
-
-LICENSE="ISC pulseaudio? ( rust? ( || ( Apache-2.0 MIT ) ) )"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="alsa doc jack pulseaudio +rust sndio test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- media-libs/speexdsp
- alsa? ( media-libs/alsa-lib )
- jack? ( virtual/jack )
- pulseaudio? ( media-sound/pulseaudio )
- sndio? ( media-sound/sndio:= )"
-DEPEND="
- ${RDEPEND}
- test? ( dev-cpp/gtest )"
-BDEPEND="
- doc? ( app-doc/doxygen )
- pulseaudio? ( rust? ( ${RUST_DEPEND} ) )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-automagic.patch
-)
-
-src_unpack() {
- use pulseaudio && use rust && cargo_src_unpack || default
-}
-
-src_prepare() {
- if use pulseaudio && use rust; then
- mv ../${PN}-pulse-rs-${PULSERS_COMMIT} src/${PN}-pulse-rs || die
- fi
-
- cmake_src_prepare
-
- use !debug || sed -i 's|/release/|/debug/|' CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_RUST_LIBS=$(usex rust)
- -DBUILD_TESTS=$(usex test)
- -DCHECK_ALSA=$(usex alsa)
- -DCHECK_JACK=$(usex jack)
- -DCHECK_PULSE=$(usex pulseaudio)
- -DCHECK_SNDIO=$(usex sndio)
- -DLAZY_LOAD_LIBS=no
- -DUSE_SANITIZERS=no
- $(cmake_use_find_package doc Doxygen)
- )
-
- use pulseaudio && use rust &&
- cargo_src_configure --manifest-path src/${PN}-pulse-rs/Cargo.toml
-
- cmake_src_configure
-}
-
-src_compile() {
- use pulseaudio && use rust && cargo_src_compile
-
- cmake_src_compile
-}
-
-src_test() {
- use pulseaudio && use rust && cargo_src_test
-
- # these tests need access to audio devices and no sandbox
- cmake_src_test -E '(audio|callback_ret|device_changed_callback|devices|duplex|latency|record|sanity|tone)'
-}
-
-src_install() {
- cmake_src_install
-
- use doc && dodoc -r "${BUILD_DIR}"/docs/html
-
- use !test || rm "${ED}"/usr/bin/test_* || die
-}
diff --git a/media-libs/cubeb/cubeb-0.2_p20220922.ebuild b/media-libs/cubeb/cubeb-0.2_p20220922.ebuild
index 7624610e5f4..527199948db 100644
--- a/media-libs/cubeb/cubeb-0.2_p20220922.ebuild
+++ b/media-libs/cubeb/cubeb-0.2_p20220922.ebuild
@@ -33,7 +33,7 @@ S="${WORKDIR}/${PN}-${HASH_CUBEB}"
LICENSE="ISC pulseaudio? ( rust? ( || ( Apache-2.0 MIT ) ) )"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
IUSE="alsa doc jack pulseaudio +rust sndio test"
RESTRICT="!test? ( test )"
@@ -72,6 +72,7 @@ src_configure() {
local mycmakeargs=(
-DBUILD_RUST_LIBS=$(usex rust)
-DBUILD_TESTS=$(usex test)
+ -DBUILD_TOOLS=no # semi-broken without most backends and not needed
-DCHECK_ALSA=$(usex alsa)
-DCHECK_JACK=$(usex jack)
-DCHECK_PULSE=$(usex pulseaudio)
@@ -108,8 +109,4 @@ src_install() {
cmake_src_install
use doc && dodoc -r "${BUILD_DIR}"/docs/html
-
- # the basic test tool users could use to check if audio works is rather
- # limited and has a tendency to segfault if some backends are disabled
- rm "${ED}"/usr/bin/cubeb-test || die
}
diff --git a/media-libs/devil/devil-1.7.8-r4.ebuild b/media-libs/devil/devil-1.7.8-r6.ebuild
index 4abab857c9b..312d235fe42 100644
--- a/media-libs/devil/devil-1.7.8-r4.ebuild
+++ b/media-libs/devil/devil-1.7.8-r6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/openil/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
IUSE="allegro cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 gif glut jpeg mng opengl png sdl static-libs tiff X xpm"
# OpenEXR support dropped b/c no support for OpenEXR 3
@@ -28,9 +28,9 @@ RDEPEND="
virtual/opengl
virtual/glu
)
- png? ( media-libs/libpng:0= )
+ png? ( media-libs/libpng:= )
sdl? ( media-libs/libsdl )
- tiff? ( media-libs/tiff:0 )
+ tiff? ( media-libs/tiff:= )
X? (
x11-libs/libXext
x11-libs/libX11
diff --git a/media-libs/dssi/dssi-1.1.1-r1.ebuild b/media-libs/dssi/dssi-1.1.1-r2.ebuild
index 8332b8f80e8..2cf087a5fb1 100644
--- a/media-libs/dssi/dssi-1.1.1-r1.ebuild
+++ b/media-libs/dssi/dssi-1.1.1-r2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
inherit autotools
DESCRIPTION="Plugin API for software instruments with user interfaces"
@@ -11,17 +12,17 @@ SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz"
LICENSE="BSD LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
-IUSE=""
-RDEPEND="media-libs/alsa-lib
+RDEPEND="
+ media-libs/alsa-lib
>=media-libs/liblo-0.12
- virtual/jack
>=media-libs/ladspa-sdk-1.12-r2
>=media-libs/libsndfile-1.0.11
- >=media-libs/libsamplerate-0.1.1-r1"
-DEPEND="${RDEPEND}
- sys-apps/sed
- virtual/pkgconfig"
+ >=media-libs/libsamplerate-0.1.1-r1
+ virtual/jack
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.1-no-werror.patch
@@ -41,6 +42,8 @@ src_prepare() {
src_install() {
DOCS=( README doc/TODO doc/*.txt )
+
default
- find "${D}" -name '*.la' -delete || die "Pruning failed"
+
+ find "${ED}" -name '*.la' -delete || die "Pruning failed"
}
diff --git a/media-libs/dumb/dumb-2.0.3.ebuild b/media-libs/dumb/dumb-2.0.3.ebuild
index 60271beffc6..f696240d6d8 100644
--- a/media-libs/dumb/dumb-2.0.3.ebuild
+++ b/media-libs/dumb/dumb-2.0.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/kode54/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="DUMB-0.9.3"
SLOT="0/2"
-KEYWORDS="~alpha amd64 ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
IUSE="allegro cpu_flags_x86_sse examples"
RDEPEND="
diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest
index cf510251420..a056b4c9a81 100644
--- a/media-libs/embree/Manifest
+++ b/media-libs/embree/Manifest
@@ -1,4 +1 @@
-DIST embree-3.13.0.tar.gz 13708421 BLAKE2B bace1866d9d6907308d38370347d23b4edb3fe287d093acf35367be1d4548d1df064ed9d46ef928f17af99e335d5fcd7b7285a2bd95707361440547544782080 SHA512 3fc4f00151cb9558810c643bf77f3135465d65c4523e08d5289a0fdcb18d4c63a8e805647e4ce208556c4679d44373d817761c1003b1e9dc65a39d5ebf17926f
-DIST embree-3.13.2.tar.gz 13716621 BLAKE2B 8fd770ea9984a9f5b532f114c7901a67105f95c98a1bad45ed9dc2e312062e22aee26d54bd54ac3c9593fed14d34b03903ac186516682890cfaf9e0714743cce SHA512 9e4912f52c503d8d1fe0c3c81bf8108f1af044bf08d76111e4c1ab434c6a38d33bae9aacfd60c874da76bcc2f909ad1f3f171d458adb7973644cdbfd3693dc0f
-DIST embree-3.13.3.tar.gz 13712462 BLAKE2B 02edef26b4c4f3676e792c06490e5947d3a2cedd4ce1bbf4731e60feea0b3714bf4bbf9d859d464f179674e4e0c9462d1565869713c5612705df273baa41923f SHA512 eef8d9101f0bf95d6706a495a9aa628c10749862aeb2baa6bba2f82fcc3a96467a28ca1f522d672eb5aa7b29824363674feda25832724da361b3334334a218cd
DIST embree-3.13.4.tar.gz 13733908 BLAKE2B 4c6c24f62ee88a09149bd930716c71e91d54563eea5cc103c0346d3808c693e8470fc7ea98651e0df9e4423bda565d7ab1a23e16c9d0441c79e9ec9c8571b0fa SHA512 685c3935fabe1bfa7260ef148df26b686b085b75011d72011461471cbcef786a5ce7a0e85c57b2df05798489a2d4e80a8d3ee5df986029edad7df7511d99c0ca
diff --git a/media-libs/embree/embree-3.13.0-r2.ebuild b/media-libs/embree/embree-3.13.0-r2.ebuild
deleted file mode 100644
index f72392a0812..00000000000
--- a/media-libs/embree/embree-3.13.0-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic linux-info toolchain-funcs
-
-DESCRIPTION="Collection of high-performance ray tracing kernels"
-HOMEPAGE="https://github.com/embree/embree"
-SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
-CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
-RESTRICT="mirror"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=media-libs/glfw-3.2.1
- virtual/opengl
- ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb:= )
- tutorial? (
- >=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7:0=
- virtual/jpeg:0
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md readme.pdf )
-
-pkg_setup() {
- CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
- WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
- linux-info_pkg_setup
-
- if ! ( cat /proc/cpuinfo | grep sse2 > /dev/null ) ; then
- die "You need a CPU with at least sse2 support"
- fi
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # disable RPM package building
- sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
- -i CMakeLists.txt || die
-}
-
-src_configure() {
- # NOTE: You can make embree accept custom CXXFLAGS by turning off
- # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
- # any "m*" compile flags. This is because embree builds modules for the
- # different supported ISAs and picks the correct one at runtime.
- # "m*" will pull in cpu instructions that shouldn't be in specific modules
- # and it fails to link properly.
- # https://github.com/embree/embree/issues/115
-
- filter-flags -m*
-
- local mycmakeargs=(
- # Currently Intel only host their test files on their internal network.
- # So it seems like users can't easily get a hold of these and do
- # regression testing on their own.
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
- -DEMBREE_BACKFACE_CULLING=OFF # default
- -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
- -DEMBREE_FILTER_FUNCTION=ON # default
- -DEMBREE_GEOMETRY_CURVE=ON # default
- -DEMBREE_GEOMETRY_GRID=ON # default
- -DEMBREE_GEOMETRY_INSTANCE=ON # default
- -DEMBREE_GEOMETRY_POINT=ON # default
- -DEMBREE_GEOMETRY_QUAD=ON # default
- -DEMBREE_GEOMETRY_SUBDIVISION=ON # default
- -DEMBREE_GEOMETRY_TRIANGLE=ON # default
- -DEMBREE_GEOMETRY_USER=ON # default
- -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
- -DEMBREE_IGNORE_INVALID_RAYS=OFF # default
- -DEMBREE_MAX_ISA:STRING="NONE" # Set to NONE so we can manually switch on ISAs below
- -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
- -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
- -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
- -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
- -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
- -DEMBREE_ISPC_SUPPORT=$(usex ispc)
- -DEMBREE_RAY_MASK=$(usex raymask)
- -DEMBREE_RAY_PACKETS=ON # default
- -DEMBREE_STACK_PROTECTOR=$(usex ssp)
- -DEMBREE_STATIC_LIB=OFF
- -DEMBREE_STAT_COUNTERS=OFF
- -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
- -DEMBREE_TUTORIALS=$(usex tutorial) )
-
- # Disable asserts
- append-cppflags -DNDEBUG
-
- if use tutorial; then
- mycmakeargs+=(
- -DEMBREE_ISPC_ADDRESSING:STRING="64"
- -DEMBREE_TUTORIALS_LIBJPEG=ON
- -DEMBREE_TUTORIALS_LIBPNG=ON
- -DEMBREE_TUTORIALS_OPENIMAGEIO=ON )
- fi
-
- cmake_src_configure
-}
diff --git a/media-libs/embree/embree-3.13.2.ebuild b/media-libs/embree/embree-3.13.2.ebuild
deleted file mode 100644
index 40002cff3ac..00000000000
--- a/media-libs/embree/embree-3.13.2.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic linux-info toolchain-funcs
-
-DESCRIPTION="Collection of high-performance ray tracing kernels"
-HOMEPAGE="https://github.com/embree/embree"
-SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
-CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
-# Let's be explicit here even though we could simplify it.
-REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
-
-RESTRICT="mirror"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=media-libs/glfw-3.2.1
- virtual/opengl
- ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb:= )
- tutorial? (
- >=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7:0=
- virtual/jpeg:0
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md readme.pdf )
-
-pkg_setup() {
- CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
- WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
-
- linux-info_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # disable RPM package building
- sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
- -i CMakeLists.txt || die
-}
-
-src_configure() {
- # NOTE: You can make embree accept custom CXXFLAGS by turning off
- # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
- # any "m*" compile flags. This is because embree builds modules for the
- # different supported ISAs and picks the correct one at runtime.
- # "m*" will pull in cpu instructions that shouldn't be in specific modules
- # and it fails to link properly.
- # https://github.com/embree/embree/issues/115
-
- filter-flags -m*
-
- local mycmakeargs=(
- # Currently Intel only host their test files on their internal network.
- # So it seems like users can't easily get a hold of these and do
- # regression testing on their own.
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-
- # default
- -DEMBREE_BACKFACE_CULLING=OFF
- -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
-
- # default
- -DEMBREE_FILTER_FUNCTION=ON
- # default
- -DEMBREE_GEOMETRY_CURVE=ON
- # default
- -DEMBREE_GEOMETRY_GRID=ON
- # default
- -DEMBREE_GEOMETRY_INSTANCE=ON
- # default
- -DEMBREE_GEOMETRY_POINT=ON
- # default
- -DEMBREE_GEOMETRY_QUAD=ON
- # default
- -DEMBREE_GEOMETRY_SUBDIVISION=ON
- # default
- -DEMBREE_GEOMETRY_TRIANGLE=ON
- # default
- -DEMBREE_GEOMETRY_USER=ON
- # default
- -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
- # default
- -DEMBREE_IGNORE_INVALID_RAYS=OFF
-
- # Set to NONE so we can manually switch on ISAs below
- -DEMBREE_MAX_ISA:STRING="NONE"
- -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
- -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
- -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
- -DEMBREE_ISA_NEON=$(usex cpu_flags_arm_neon)
- -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
- -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
- -DEMBREE_ISPC_SUPPORT=$(usex ispc)
- -DEMBREE_RAY_MASK=$(usex raymask)
- # default
- -DEMBREE_RAY_PACKETS=ON
- -DEMBREE_STACK_PROTECTOR=$(usex ssp)
- -DEMBREE_STATIC_LIB=OFF
- -DEMBREE_STAT_COUNTERS=OFF
- -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
- -DEMBREE_TUTORIALS=$(usex tutorial))
-
- # Disable asserts
- append-cppflags -DNDEBUG
-
- if use tutorial; then
- mycmakeargs+=(
- -DEMBREE_ISPC_ADDRESSING:STRING="64"
- -DEMBREE_TUTORIALS_LIBJPEG=ON
- -DEMBREE_TUTORIALS_LIBPNG=ON
- -DEMBREE_TUTORIALS_OPENIMAGEIO=ON
- )
- fi
-
- cmake_src_configure
-}
diff --git a/media-libs/embree/embree-3.13.3.ebuild b/media-libs/embree/embree-3.13.3.ebuild
deleted file mode 100644
index 40002cff3ac..00000000000
--- a/media-libs/embree/embree-3.13.3.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic linux-info toolchain-funcs
-
-DESCRIPTION="Collection of high-performance ray tracing kernels"
-HOMEPAGE="https://github.com/embree/embree"
-SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
-CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
-IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
-# Let's be explicit here even though we could simplify it.
-REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 ) x86? ( cpu_flags_x86_sse2 )"
-
-RESTRICT="mirror"
-
-BDEPEND="
- virtual/pkgconfig
-"
-RDEPEND="
- >=media-libs/glfw-3.2.1
- virtual/opengl
- ispc? ( dev-lang/ispc )
- tbb? ( dev-cpp/tbb:= )
- tutorial? (
- >=media-libs/libpng-1.6.34:0=
- >=media-libs/openimageio-1.8.7:0=
- virtual/jpeg:0
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md readme.pdf )
-
-pkg_setup() {
- CONFIG_CHECK="~TRANSPARENT_HUGEPAGE"
- WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance."
-
- linux-info_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # disable RPM package building
- sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \
- -i CMakeLists.txt || die
-}
-
-src_configure() {
- # NOTE: You can make embree accept custom CXXFLAGS by turning off
- # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use
- # any "m*" compile flags. This is because embree builds modules for the
- # different supported ISAs and picks the correct one at runtime.
- # "m*" will pull in cpu instructions that shouldn't be in specific modules
- # and it fails to link properly.
- # https://github.com/embree/embree/issues/115
-
- filter-flags -m*
-
- local mycmakeargs=(
- # Currently Intel only host their test files on their internal network.
- # So it seems like users can't easily get a hold of these and do
- # regression testing on their own.
- -DBUILD_TESTING:BOOL=OFF
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
-
- # default
- -DEMBREE_BACKFACE_CULLING=OFF
- -DEMBREE_COMPACT_POLYS=$(usex compact-polys)
-
- # default
- -DEMBREE_FILTER_FUNCTION=ON
- # default
- -DEMBREE_GEOMETRY_CURVE=ON
- # default
- -DEMBREE_GEOMETRY_GRID=ON
- # default
- -DEMBREE_GEOMETRY_INSTANCE=ON
- # default
- -DEMBREE_GEOMETRY_POINT=ON
- # default
- -DEMBREE_GEOMETRY_QUAD=ON
- # default
- -DEMBREE_GEOMETRY_SUBDIVISION=ON
- # default
- -DEMBREE_GEOMETRY_TRIANGLE=ON
- # default
- -DEMBREE_GEOMETRY_USER=ON
- # default
- -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
- # default
- -DEMBREE_IGNORE_INVALID_RAYS=OFF
-
- # Set to NONE so we can manually switch on ISAs below
- -DEMBREE_MAX_ISA:STRING="NONE"
- -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx)
- -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2)
- -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq)
- -DEMBREE_ISA_NEON=$(usex cpu_flags_arm_neon)
- -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2)
- -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2)
- -DEMBREE_ISPC_SUPPORT=$(usex ispc)
- -DEMBREE_RAY_MASK=$(usex raymask)
- # default
- -DEMBREE_RAY_PACKETS=ON
- -DEMBREE_STACK_PROTECTOR=$(usex ssp)
- -DEMBREE_STATIC_LIB=OFF
- -DEMBREE_STAT_COUNTERS=OFF
- -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL")
- -DEMBREE_TUTORIALS=$(usex tutorial))
-
- # Disable asserts
- append-cppflags -DNDEBUG
-
- if use tutorial; then
- mycmakeargs+=(
- -DEMBREE_ISPC_ADDRESSING:STRING="64"
- -DEMBREE_TUTORIALS_LIBJPEG=ON
- -DEMBREE_TUTORIALS_LIBPNG=ON
- -DEMBREE_TUTORIALS_OPENIMAGEIO=ON
- )
- fi
-
- cmake_src_configure
-}
diff --git a/media-libs/embree/embree-3.13.4.ebuild b/media-libs/embree/embree-3.13.4.ebuild
index 10b3cb8db86..3c9f945a7e8 100644
--- a/media-libs/embree/embree-3.13.4.ebuild
+++ b/media-libs/embree/embree-3.13.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
X86_CPU_FLAGS=( sse2:sse2 sse4_2:sse4_2 avx:avx avx2:avx2 avx512dq:avx512dq )
CPU_FLAGS=( cpu_flags_arm_neon ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} )
IUSE="+compact-polys ispc +raymask ssp +tbb tutorial ${CPU_FLAGS[@]%:*}"
diff --git a/media-libs/esdl/metadata.xml b/media-libs/esdl/metadata.xml
index 568413e1577..319cfbca8c8 100644
--- a/media-libs/esdl/metadata.xml
+++ b/media-libs/esdl/metadata.xml
@@ -3,13 +3,13 @@
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>
-ESDL - What is that?
+ ESDL - What is that?
-It is library that gives you access to SDL and Opengl
-functionality in your erlang program.
-SDL handles 2d graphics, user events and audio while
-Opengl handles 3d graphics. More information.
-</longdescription>
+ It is library that gives you access to SDL and Opengl
+ functionality in your erlang program.
+ SDL handles 2d graphics, user events and audio while
+ Opengl handles 3d graphics. More information.
+ </longdescription>
<use>
<flag name="image">Enable image support</flag>
</use>
diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest
index 18869996162..7094e24be0f 100644
--- a/media-libs/exempi/Manifest
+++ b/media-libs/exempi/Manifest
@@ -1 +1,3 @@
DIST exempi-2.4.5.tar.gz 3901474 BLAKE2B 7db80266847a18464ee5d75e2ffa38a05b2b23a30fb02a16c0a4a512f853a625f00db3ee0de3f177af584e12d65c8ecd2acc96cae96ef02d7b39129ab4b5274a SHA512 2b3dd8b2d1763fbbfed1995635f625a8e909a4c3119147385737f349002b2fa038cfaca72b2b877db8f28b9022230e49264b58766a68060b0b7c322cad99b22c
+DIST exempi-2.6.2.tar.bz2 3709476 BLAKE2B 3b65db1f9e7c2bf050af6e273b8327d70e23d3321d3c280ddf8b36b467e2822b12f93cb14d8d342e2a2974a9b745f13fd98c79d9b67e634da5bc9b5ae71e4918 SHA512 c81c7a5bad1a294ce253d1471c00740679b7fb489658ead68a6892b701cc02a031a5dc69d70045a8276e1e19c716df88e92014df4c2809266a71ff05de9ad57a
+DIST exempi-2.6.3.tar.xz 2842408 BLAKE2B a3deb86a12161f4a1b7c0bacc4e6b59a5e54df4e5c158b48c8d66dc968e5fb1e210a9fac73e85720b43e9090c38a7023e771054e63a57c618385bb02a525d89e SHA512 517dba7534ac6978083338d3c3bf184c9b0a56e625e714703da71b064b68a8872bdd66673be27a192e7e6a22b9acd8eb1ad447c2a807f564547e765c63fbd2b4
diff --git a/media-libs/exempi/exempi-2.6.2.ebuild b/media-libs/exempi/exempi-2.6.2.ebuild
new file mode 100644
index 00000000000..274d86ccb39
--- /dev/null
+++ b/media-libs/exempi/exempi-2.6.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Port of the Adobe XMP SDK to work on UNIX"
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/Exempi"
+# TODO: switch to xz for 2.6.3
+SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="2/8"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/expat-2:=
+ sys-libs/zlib
+ virtual/libiconv
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/boost )
+"
+BDEPEND="
+ sys-devel/autoconf-archive
+ sys-devel/gettext
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4.2-iconv.patch
+ "${FILESDIR}"/${PN}-2.6.2-arm-static-build.patch
+)
+
+src_prepare() {
+ default
+
+ config_rpath_update .
+ eautoreconf
+}
+
+src_configure() {
+ # - --enable-static as --disable-static breaks build
+ # - Valgrind detection is "disabled" due to bug #295875
+ econf \
+ --enable-static \
+ $(use_enable test unittest) \
+ VALGRIND=""
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ emake -C samples/source distclean
+ rm samples/{,source,testfiles}/Makefile* || die
+ docinto examples
+ dodoc -r samples/.
+ fi
+
+ # --disable-static breaks tests
+ rm -rf "${ED}/usr/$(get_libdir)/libexempi.a" || die
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/exempi/exempi-2.6.3.ebuild b/media-libs/exempi/exempi-2.6.3.ebuild
new file mode 100644
index 00000000000..316e3a5e8e3
--- /dev/null
+++ b/media-libs/exempi/exempi-2.6.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Port of the Adobe XMP SDK to work on UNIX"
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/Exempi"
+SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="2/8"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/expat-2:=
+ sys-libs/zlib
+ virtual/libiconv
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/boost )
+"
+BDEPEND="
+ sys-devel/autoconf-archive
+ sys-devel/gettext
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4.2-iconv.patch
+)
+
+src_prepare() {
+ default
+
+ # Needed for autoconf 2.71
+ config_rpath_update .
+ eautoreconf
+}
+
+src_configure() {
+ # - --enable-static as --disable-static breaks build
+ # - Valgrind detection is "disabled" due to bug #295875
+ econf \
+ --enable-static \
+ $(use_enable test unittest) \
+ VALGRIND=""
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ emake -C samples/source distclean
+ rm samples/{,source,testfiles}/Makefile* || die
+ docinto examples
+ dodoc -r samples/.
+ fi
+
+ # --disable-static breaks tests
+ rm -rf "${ED}/usr/$(get_libdir)/libexempi.a" || die
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/exempi/files/exempi-2.6.2-arm-static-build.patch b/media-libs/exempi/files/exempi-2.6.2-arm-static-build.patch
new file mode 100644
index 00000000000..7abd23a5a40
--- /dev/null
+++ b/media-libs/exempi/files/exempi-2.6.2-arm-static-build.patch
@@ -0,0 +1,35 @@
+https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/28
+
+From 269b68aaaaaa9af0caf50678e820181c0694ebf7 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 17 Mar 2022 17:27:28 +0100
+Subject: [PATCH] XMPFiles/source/XMPFiles_Impl.cpp: fix arm build with gcc 10
+
+Fix the following build failure with exempi on arm with gcc 10 raised
+since version 2.6.0 and
+https://gitlab.freedesktop.org/libopenraw/exempi/-/commit/0872e35a30457d2ecf746a1bebdb7d94636d0e2f
+https://github.com/adobe/XMP-Toolkit-SDK/commit/0872e35a30457d2ecf746a1bebdb7d94636d0e2f:
+
+/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../../XMPFiles/source/.libs/libXMPFiles.a(XMPFiles_Impl.o):(.rodata+0x5c): multiple definition of `typeinfo name for TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'; XMPFilesCoverage.o:(.rodata+0x0): first defined here
+
+More information can be found on a similar issue here:
+https://github.com/OpenKinect/libfreenect2/issues/157
+
+Fixes:
+ - http://autobuild.buildroot.org/results/c440719de02a154c6bdae11bda06ea30c131c71d
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+--- a/XMPFiles/source/XMPFiles_Impl.cpp
++++ b/XMPFiles/source/XMPFiles_Impl.cpp
+@@ -47,7 +47,9 @@ using namespace std;
+ /// This file ...
+ ///
+ // =================================================================================================
+-#include "public/include/XMP.incl_cpp"
++#if ! XMP_StaticBuild
++ #include "public/include/XMP.incl_cpp"
++#endif
+
+ #if XMP_WinBuild
+ #pragma warning ( disable : 4290 ) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
+
diff --git a/media-libs/exempi/metadata.xml b/media-libs/exempi/metadata.xml
index d0b58801b31..bb93177fcfa 100644
--- a/media-libs/exempi/metadata.xml
+++ b/media-libs/exempi/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>freedesktop-bugs@gentoo.org</email>
- </maintainer>
+ <maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="freedesktop-gitlab">libopenraw/exempi</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/exiftool/Manifest b/media-libs/exiftool/Manifest
index 6d617b8ca7f..e456c1341ee 100644
--- a/media-libs/exiftool/Manifest
+++ b/media-libs/exiftool/Manifest
@@ -1,3 +1 @@
-DIST Image-ExifTool-12.30.tar.gz 4948601 BLAKE2B 359c06dc5d4f71e186d7a265488cb16e47e40438d8a0e2d4e74f75b6aac7efd1c5b3271a158cb8b822eace5f6b437d5d39458c31ae8e6e886e93f2e643f8c9a9 SHA512 2966854d8fd163fd5aaaca5608eeab2a3f0681fe9e22e006840acacd2ff2aaecd6076bcec23989facb7baf64aa96425ad7eeceb4045da44004421b8f10050935
-DIST Image-ExifTool-12.33.tar.gz 4958375 BLAKE2B 699529e71e87cf2a5b4d1a69049f48b7b00ce8e720918cb25c2f2b35453fd44c580444bca2ff14d6cef76de99568b2e22b98ea87f45e550d69b40dda464831fe SHA512 7d6bb1942597535cc982e77397b4dc2edee3f361338f82cf2b5f24fd7fa94c148312b125d1d4f37c8dd303eed45173a805eb79ba61a6e74205e21c52f7561d90
DIST Image-ExifTool-12.42.tar.gz 5042086 BLAKE2B c518906dfc6c354a6bf834044322727ff0c6787f74c387fb24b2320072bb525fd8b0b55d74cc324ac6e2ad6e75de0f3c552db2f6a1e665ab4b1bed9117916c2b SHA512 f7d3dd98623f44473f67ccf740370fd7704b60274efe1272b5219599dba9fe312afe4107937c6d64c5ee11380914b6e97a5248a2abcf88820822f9947cae0f8f
diff --git a/media-libs/exiftool/exiftool-12.30.ebuild b/media-libs/exiftool/exiftool-12.30.ebuild
deleted file mode 100644
index c321168d12d..00000000000
--- a/media-libs/exiftool/exiftool-12.30.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Check https://exiftool.org/history.html for whether a release is 'production'
-# Ideally don't bump to non-production at all, but certainly don't stable.
-
-DIST_NAME=Image-ExifTool
-DIST_TEST="do"
-inherit perl-module
-
-DESCRIPTION="Read and write meta information in image, audio and video files"
-HOMEPAGE="https://exiftool.org/ http://exiftool.sourceforge.net/"
-SRC_URI="https://exiftool.org/${DIST_P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc ppc64 x86 ~x64-macos"
-IUSE="doc"
-
-src_install() {
- perl-module_src_install
- use doc && dodoc -r html/
-
- insinto /usr/share/${PN}
- doins -r fmt_files config_files arg_files
-}
diff --git a/media-libs/exiftool/exiftool-12.33.ebuild b/media-libs/exiftool/exiftool-12.33.ebuild
deleted file mode 100644
index cdbb44a589d..00000000000
--- a/media-libs/exiftool/exiftool-12.33.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Check https://exiftool.org/history.html for whether a release is 'production'
-# Ideally don't bump to non-production at all, but certainly don't stable.
-
-DIST_NAME=Image-ExifTool
-inherit perl-module
-
-DESCRIPTION="Read and write meta information in image, audio and video files"
-HOMEPAGE="https://exiftool.org/ http://exiftool.sourceforge.net"
-SRC_URI="https://exiftool.org/${DIST_P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos"
-IUSE="doc"
-
-src_install() {
- perl-module_src_install
- use doc && dodoc -r html/
-
- insinto /usr/share/${PN}
- doins -r fmt_files config_files arg_files
-}
diff --git a/media-libs/exiftool/exiftool-12.42.ebuild b/media-libs/exiftool/exiftool-12.42.ebuild
index 94747649065..b95a6773fa9 100644
--- a/media-libs/exiftool/exiftool-12.42.ebuild
+++ b/media-libs/exiftool/exiftool-12.42.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://exiftool.org/ http://exiftool.sourceforge.net"
SRC_URI="https://exiftool.org/${DIST_P}.tar.gz"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos"
+KEYWORDS="amd64 arm64 ppc ppc64 x86 ~x64-macos"
IUSE="doc"
src_install() {
diff --git a/media-libs/faac/faac-1.30.ebuild b/media-libs/faac/faac-1.30.ebuild
index 4711e15bc3e..316e9d7677b 100644
--- a/media-libs/faac/faac-1.30.ebuild
+++ b/media-libs/faac/faac-1.30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1 MPEG-4"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
S="${WORKDIR}/${MY_P}"
diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest
index d336c036ade..05527727aa5 100644
--- a/media-libs/faad2/Manifest
+++ b/media-libs/faad2/Manifest
@@ -1 +1 @@
-DIST faad2-2.10.0.tar.gz 803225 BLAKE2B 73ecbcbb3fce93e8ceb88f6f7669bb681d2329935018cc2a23929cf6672959a0678b47c830cfdcf8e716709ce5252a02178737a7af09de373f7c8b54f38f3d9d SHA512 92c8b5e79f85b7a7caac9e7954959c26d74ef148a658dcb37e2c1b303fc2fcc5a0d12f21e7bd476870498109bdd03916a56c13f578186a69d6eceb103222e771
+DIST faad2-2.10.1.tar.gz 803488 BLAKE2B f25bf9242675250b910bd5540487cf708d6e195e1ddca0b27588678e5fbf2bedf9d41e6bc607aa34bb2dbff95a8a4071e74e2f9bd9493ccb7ef040ce9bf81b4c SHA512 8df69278350c68dd770c4bc482e42bc95eb04cd784eeea3f3fc58d615833c8b07dc3c72029bb7e5bfed612b7c1b8daefc9cb57be9789befb587120ef115e55b3
diff --git a/media-libs/faad2/faad2-2.10.0.ebuild b/media-libs/faad2/faad2-2.10.1.ebuild
index d511da695c2..0c69da8f988 100644
--- a/media-libs/faad2/faad2-2.10.0.ebuild
+++ b/media-libs/faad2/faad2-2.10.1.ebuild
@@ -1,19 +1,17 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools multilib-minimal
-MY_PV="$(ver_rs 1- _)"
-
DESCRIPTION="AAC audio decoding library"
-HOMEPAGE="https://www.audiocoding.com/faad2.html"
-SRC_URI="https://github.com/knik0/faad2/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://www.audiocoding.com/faad2.html https://github.com/knik0/faad2/"
+SRC_URI="https://github.com/knik0/faad2/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
IUSE="digitalradio static-libs"
RDEPEND=""
@@ -21,14 +19,14 @@ DEPEND=""
DOCS=( AUTHORS ChangeLog NEWS README TODO )
-S="${WORKDIR}/${PN}-${MY_PV}"
-
src_prepare() {
default
sed -i -e 's:iquote :I:' libfaad/Makefile.am || die
eautoreconf
+
+ multilib_copy_sources
}
multilib_src_configure() {
@@ -38,7 +36,7 @@ multilib_src_configure() {
$(use_enable static-libs static)
)
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
+ econf "${myconf[@]}"
# do not build the frontend for non default abis
if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then
diff --git a/media-libs/fcft/fcft-3.1.2-r1.ebuild b/media-libs/fcft/fcft-3.1.2-r1.ebuild
index 035057d375f..39a674f519c 100644
--- a/media-libs/fcft/fcft-3.1.2-r1.ebuild
+++ b/media-libs/fcft/fcft-3.1.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit meson python-any-r1
DESCRIPTION="Simple library for font loading and glyph rasterization"
diff --git a/media-libs/fcft/fcft-3.1.3.ebuild b/media-libs/fcft/fcft-3.1.3.ebuild
index 9ecda1e5c4a..435d0ad9feb 100644
--- a/media-libs/fcft/fcft-3.1.3.ebuild
+++ b/media-libs/fcft/fcft-3.1.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit meson python-any-r1
DESCRIPTION="Simple library for font loading and glyph rasterization"
diff --git a/media-libs/fcft/fcft-3.1.5.ebuild b/media-libs/fcft/fcft-3.1.5.ebuild
index 9ecda1e5c4a..435d0ad9feb 100644
--- a/media-libs/fcft/fcft-3.1.5.ebuild
+++ b/media-libs/fcft/fcft-3.1.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit meson python-any-r1
DESCRIPTION="Simple library for font loading and glyph rasterization"
diff --git a/media-libs/fcft/metadata.xml b/media-libs/fcft/metadata.xml
index f209916337f..beecdca677d 100644
--- a/media-libs/fcft/metadata.xml
+++ b/media-libs/fcft/metadata.xml
@@ -1,14 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>arsen@aarsen.me</email>
+ <maintainer type="person">
+ <email>arsen@gentoo.org</email>
<name>Arsen Arsenović</name>
</maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<use>
<flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> for grapheme
and run shaping</flag>
diff --git a/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild b/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild
index 26e8b5978db..375b82c75a5 100644
--- a/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild
+++ b/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild
@@ -10,7 +10,8 @@ if [[ ${PV} == *9999* ]]; then
[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
inherit autotools git-r3
else
- KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~x64-macos"
+ inherit libtool
+ KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86 ~x64-macos"
if [[ ${PV%_p*} != ${PV} ]]; then # Gentoo snapshot
SRC_URI="mirror://gentoo/${P}.tar.xz"
else # Official release
@@ -30,7 +31,12 @@ PATCHES=( "${FILESDIR}"/${P}-always_inline.patch )
src_prepare() {
default
- [[ ${PV} == *9999* ]] && eautoreconf
+
+ if [[ ${PV} == *9999* ]] ; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
}
multilib_src_configure() {
diff --git a/media-libs/flac-compat/flac-compat-1.3.4.ebuild b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
index 90107a61cc6..074cf92d134 100644
--- a/media-libs/flac-compat/flac-compat-1.3.4.ebuild
+++ b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/-compat}"
LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
SLOT="8.3.0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 arm arm64 x86"
IUSE="+cxx ogg cpu_flags_x86_sse"
RDEPEND="
diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index b3bfc788478..01802aebd86 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,3 +1,2 @@
DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5 SHA512 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
-DIST flac-1.4.0.tar.xz 783372 BLAKE2B 69fd756ae6a41bdf84a1237cb24949ae24126a66432a0ecf1d9943a9ddd082629aa9ff480bf77ff60fcfc2401a4942bdc4549e22378841997e0d1a83f8f18f25 SHA512 b7310de7bcf49584c0a1fdc6d5ee7216a8ab3e2b1af85366fa0905752da13e1cbb9638e0d92f3b756568a69848abf4d5c2fe0d21a86c6fdb4840f2678daf0f8d
-DIST flac-1.4.1.tar.xz 1024160 BLAKE2B 9ed283a0e56e96667bb0c7d66ad9f9d932dc001bfe4c5a71b0302d393a829fdeae6cfa1b0fed5a1d243f32b73933cbbf29c7f7684314b60c2a05758925acde4d SHA512 72a5ced62e06407ddea3ed6dcd28bf8f56f3d45e0649ea38e1b778f7856041c68bf85c3cec0a55170c2fbc144626829fed132d386f7439f1d6e3d0b45f13dba7
+DIST flac-1.4.2.tar.xz 1013700 BLAKE2B 60a40806c6c54fe836235cea2c476051c6f82e6a50ac6d160b4ab783b8b0c33f1763ba2816e5e490acd6320de0764ea3c4b35708820a17f40ccada3f72bac687 SHA512 20bdf0990a7432ac765037764bc8733a0d5646866fe6cc6f4868152d2a051c89676e501012ae489c7f87b3aacb45a5b30265afaca164cf0cf53ac058644a74c5
diff --git a/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
new file mode 100644
index 00000000000..d836f6aa220
--- /dev/null
+++ b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
@@ -0,0 +1,31 @@
+https://github.com/xiph/flac/pull/521
+
+From afd9e9006d2c18d184db098bec0a0618cb4f0283 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Wed, 23 Nov 2022 03:31:30 +0000
+Subject: [PATCH] libFLAC.m4, libFLAC++.m4: fix -Wstrict-prototypes
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/src/libFLAC++/libFLAC++.m4
++++ b/src/libFLAC++/libFLAC++.m4
+@@ -57,7 +57,7 @@ dnl
+ #include <string.h>
+ #include <FLAC++/decoder.h>
+
+-int main ()
++int main (void)
+ {
+ system("touch conf.libFLAC++test");
+ return 0;
+--- a/src/libFLAC/libFLAC.m4
++++ b/src/libFLAC/libFLAC.m4
+@@ -58,7 +58,7 @@ dnl
+ #include <string.h>
+ #include <FLAC/format.h>
+
+-int main ()
++int main (void)
+ {
+ system("touch conf.libFLACtest");
+ return 0;
+
diff --git a/media-libs/flac/flac-1.4.1.ebuild b/media-libs/flac/flac-1.4.1.ebuild
deleted file mode 100644
index 8fd8883406b..00000000000
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal
-
-DESCRIPTION="Free lossless audio encoder and decoder"
-HOMEPAGE="https://xiph.org/flac/"
-SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
-
-LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
-# <libFLAC SONAME>-<libFLAC++ SONAME>
-SLOT="0/10-12"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_avx2 cpu_flags_x86_avx cpu_flags_x86_sse2 static-libs"
-
-# AVX configure switch is for both AVX & AVX2
-REQUIRED_USE="
- cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
-"
-
-RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-arch/xz-utils
- sys-devel/gettext
- virtual/pkgconfig
- abi_x86_32? ( dev-lang/nasm )"
-
-multilib_src_configure() {
- local myeconfargs=(
- --disable-doxygen-docs
- --disable-examples
- --disable-xmms-plugin
- $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
- $(use_enable cpu_flags_ppc_altivec altivec)
- $(use_enable cpu_flags_ppc_vsx vsx)
- $(use_enable cpu_flags_x86_avx avx)
- # SSE option is actually for SSE2, bug #677274
- $(use_enable cpu_flags_x86_sse2 sse)
- $(use_enable cxx cpplibs)
- $(use_enable debug)
- $(use_enable ogg)
- $(use_enable static-libs static)
-
- # cross-compile fix (bug #521446)
- # no effect if ogg support is disabled
- --with-ogg
- )
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
- if [[ ${UID} != 0 ]]; then
- emake -j1 check
- else
- ewarn "Tests will fail if ran as root, skipping."
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -type f -name '*.la' -delete || die
-}
diff --git a/media-libs/flac/flac-1.4.0-r1.ebuild b/media-libs/flac/flac-1.4.2-r1.ebuild
index 04c10bfb50c..4723fe2613b 100644
--- a/media-libs/flac/flac-1.4.0-r1.ebuild
+++ b/media-libs/flac/flac-1.4.2-r1.ebuild
@@ -12,8 +12,8 @@ SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
# <libFLAC SONAME>-<libFLAC++ SONAME>
SLOT="0/10-12"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_avx2 cpu_flags_x86_avx cpu_flags_x86_sse static-libs"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_avx2 cpu_flags_x86_avx static-libs"
# AVX configure switch is for both AVX & AVX2
REQUIRED_USE="
@@ -25,19 +25,20 @@ DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
sys-devel/gettext
- virtual/pkgconfig
- abi_x86_32? ( dev-lang/nasm )"
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.2-macro-wstrict-prototypes.patch
+)
multilib_src_configure() {
local myeconfargs=(
--disable-doxygen-docs
--disable-examples
- --disable-xmms-plugin
$([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
$(use_enable cpu_flags_ppc_altivec altivec)
$(use_enable cpu_flags_ppc_vsx vsx)
$(use_enable cpu_flags_x86_avx avx)
- $(use_enable cpu_flags_x86_sse sse)
$(use_enable cxx cpplibs)
$(use_enable debug)
$(use_enable ogg)
diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest
index 24cff4b4b53..1577f159cec 100644
--- a/media-libs/fontconfig/Manifest
+++ b/media-libs/fontconfig/Manifest
@@ -1,2 +1,3 @@
-DIST fontconfig-2.13.93.tar.xz 1418288 BLAKE2B 2be273c21c16f9bb2dfe618177eaf2de48610a145d402ba53becc1c4c2d0417a9cd0ce969d4521ff00c8c71e4b1d65e4bf945da56e140434244b81e7e24ecb7a SHA512 1ba119ea3faba662e108df6fce22f242eb2b7c5ec087159ca0cb76944991b19563f744c181263343941c50547bc0c73c6437d5380df09b5029facaab80465b58
DIST fontconfig-2.14.0.tar.xz 1431056 BLAKE2B 880f34d33ac30158ea61e922f6635900c5b244c2eb5d259f7947a364df86ee13f6190f651471b0a28bcd3c13f19c970783517903df374839e474921611dff1ff SHA512 a5257249d031b3cd1a7b1521cd58f48d235a970020da4136a727db5407ec98e74a3776bc467d7e39f30ec664f56ff9fe39068317744a5e737a65109f7a005bfc
+DIST fontconfig-2.14.1.tar.xz 1447044 BLAKE2B 4bee654f4196922fb07673f588b4bf8a651bbcc8b882b20712814ff253adf6457c3c4b4c2f5549bac37ed3f152e9993988f00d04e2516c911eb13747fc4a1c73 SHA512 ba42e6f90ec92914895d2157c872c373adfc17be791b92253bcc40e85674a84e43c08ab2b37c3ae85b53b2e7bd2a7847abb479043f303b732c08eeac3ee733db
+DIST fontconfig-2.14.2.tar.xz 1440844 BLAKE2B 4efeeb7f9a6705d493128d00b60e681a20a47556f4c0d7787a5c7a6d2cbbc22f150cad7988a9836a9e72aeb61e2b6a196c00a071c7042c62283c7720cdbb743d SHA512 23483e0ae6aa7589fd37f9949a4cf951c5bff981739dbb446881e4cea86a208c0ab31e2358666eac724af1dc6a689a42733a7ce91cd3e76d8d91eacedb318085
diff --git a/media-libs/fontconfig/files/fontconfig-2.10.2-docbook.patch b/media-libs/fontconfig/files/fontconfig-2.10.2-docbook.patch
deleted file mode 100644
index 94bea632714..00000000000
--- a/media-libs/fontconfig/files/fontconfig-2.10.2-docbook.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-https://bugs.gentoo.org/310157
---- fontconfig-2.10.2-orig/configure.ac
-+++ fontconfig-2.10.2/configure.ac
-@@ -570,7 +570,11 @@ AC_SUBST(XMLDIR)
- # Let people not build/install docs if they don't have docbook
- #
-
--AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no)
-+AC_ARG_ENABLE(docbook, [ --disable-docbook Don't build documentation],,)
-+
-+if test x$enable_docbook != xno; then
-+ AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no)
-+fi
-
- AM_CONDITIONAL(USEDOCBOOK, test "x$HASDOCBOOK" = xyes)
-
diff --git a/media-libs/fontconfig/files/fontconfig-2.13.93-latin-update.patch b/media-libs/fontconfig/files/fontconfig-2.13.93-latin-update.patch
deleted file mode 100644
index 910f0c7ef56..00000000000
--- a/media-libs/fontconfig/files/fontconfig-2.13.93-latin-update.patch
+++ /dev/null
@@ -1,62 +0,0 @@
---- fontconfig-2.13.93/conf.d/60-latin.conf
-+++ fontconfig-2.13.93/conf.d/60-latin.conf
-@@ -5,44 +5,47 @@
- <alias>
- <family>serif</family>
- <prefer>
-+ <family>Liberation Serif</family>
- <family>DejaVu Serif</family>
- <family>Times New Roman</family>
-- <family>Thorndale AMT</family>
- <family>Luxi Serif</family>
- <family>Nimbus Roman No9 L</family>
- <family>Nimbus Roman</family>
- <family>Times</family>
-+ <family>Thorndale AMT</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
-+ <family>Liberation Sans</family>
- <family>DejaVu Sans</family>
-- <family>Verdana</family>
- <family>Arial</family>
-- <family>Albany AMT</family>
- <family>Luxi Sans</family>
- <family>Nimbus Sans L</family>
- <family>Nimbus Sans</family>
- <family>Helvetica</family>
- <family>Lucida Sans Unicode</family>
- <family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
-+ <family>Verdana</family>
- <family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
-+ <family>Albany AMT</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
-+ <family>Liberation Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>Inconsolata</family>
- <family>Andale Mono</family>
- <family>Courier New</family>
-- <family>Cumberland AMT</family>
- <family>Luxi Mono</family>
- <family>Nimbus Mono L</family>
- <family>Nimbus Mono</family>
- <family>Nimbus Mono PS</family>
- <family>Courier</family>
-+ <family>Cumberland AMT</family>
- </prefer>
- </alias>
- <!--
-@@ -63,6 +66,7 @@
- <alias>
- <family>cursive</family>
- <prefer>
-+ <family>Comic Neue</family>
- <family>ITC Zapf Chancery Std</family>
- <family>Zapfino</family>
- <family>Comic Sans MS</family>
diff --git a/media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson-debugging.patch b/media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson-debugging.patch
new file mode 100644
index 00000000000..fb5e8a14f8b
--- /dev/null
+++ b/media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson-debugging.patch
@@ -0,0 +1,23 @@
+https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/240
+https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/335
+
+From c42eb5b503a44b0b062b041d2e8a0138ce21a0c7 Mon Sep 17 00:00:00 2001
+From: Akira TAGOH <akira@tagoh.org>
+Date: Thu, 27 Oct 2022 12:32:07 +0900
+Subject: [PATCH] Fix the build issue on meson when -g option is added to
+ c_args
+
+Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/335
+--- a/src/cutout.py
++++ b/src/cutout.py
+@@ -24,7 +24,8 @@ if __name__== '__main__':
+ break
+
+ cpp = args[1]
+- ret = subprocess.run(cpp + host_cargs + [args[0].input], stdout=subprocess.PIPE, check=True)
++ cpp_args = [i for i in host_cargs + [args[0].input] if not i.startswith('-g')]
++ ret = subprocess.run(cpp + cpp_args, stdout=subprocess.PIPE, check=True)
+
+ stdout = ret.stdout.decode('utf8')
+
+GitLab
diff --git a/media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson.patch b/media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson.patch
new file mode 100644
index 00000000000..5565012cad6
--- /dev/null
+++ b/media-libs/fontconfig/files/fontconfig-2.14.1-gperf-meson.patch
@@ -0,0 +1,79 @@
+https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/a07e2f1e8ad049772cd24b7daa0a4a168f33bfba.patch
+
+From a07e2f1e8ad049772cd24b7daa0a4a168f33bfba Mon Sep 17 00:00:00 2001
+From: Christopher Degawa <ccom@randomderp.com>
+Date: Tue, 25 Oct 2022 14:41:05 -0500
+Subject: [PATCH] meson: modify gperf test to remove sh dependency
+
+modifies the gperf test to instead rely on a file input
+rather than piping in using sh, as sh is often not reliable
+on Windows due to paths.
+
+Also changes the if else ladder into a foreach loop.
+
+Signed-off-by: Christopher Degawa <ccom@randomderp.com>
+--- /dev/null
++++ b/meson-cc-tests/gperf.txt
+@@ -0,0 +1 @@
++foo,bar
+--- a/meson.build
++++ b/meson.build
+@@ -315,39 +315,33 @@ if fc_configdir.startswith(fc_baseconfigdir + '/')
+ fonts_conf.set('CONFIGDIR', fc_configdir.split(fc_baseconfigdir + '/')[1])
+ endif
+
+-# It will automatically fallback to subproject if not found on system
+-gperf = find_program('gperf')
++gperf = find_program('gperf', required: false)
++gperf_len_type = ''
+
+-sh = find_program('sh', required : false)
+-
+-if not sh.found() # host_machine.system() == 'windows' or not sh.found()
+- # TODO: This is not always correct
+- if cc.get_id() == 'msvc'
+- gperf_len_type = 'size_t'
+- else
+- gperf_len_type = 'unsigned'
+- endif
+-else
++if gperf.found()
+ gperf_test_format = '''
+ #include <string.h>
+ const char * in_word_set(const char *, @0@);
+ @1@
+ '''
+- gperf_snippet_format = 'echo foo,bar | @0@ -L ANSI-C'
+- gperf_snippet = run_command(sh, '-c', gperf_snippet_format.format(gperf.full_path()),
+- check: true)
+- gperf_test = gperf_test_format.format('size_t', gperf_snippet.stdout())
++ gperf_snippet = run_command(gperf, '-L', 'ANSI-C', files('meson-cc-tests/gperf.txt'),
++ check: true).stdout()
+
+- if cc.compiles(gperf_test)
+- gperf_len_type = 'size_t'
+- else
+- gperf_test = gperf_test_format.format('unsigned', gperf_snippet.stdout())
+- if cc.compiles(gperf_test)
+- gperf_len_type = 'unsigned'
+- else
+- error('unable to determine gperf len type')
++ foreach type : ['size_t', 'unsigned']
++ if cc.compiles(gperf_test_format.format(type, gperf_snippet))
++ gperf_len_type = type
++ break
+ endif
++ endforeach
++
++ if gperf_len_type == ''
++ error('unable to determine gperf len type')
+ endif
++else
++ # Fallback to subproject
++ gperf = find_program('gperf')
++ # assume if we are compiling from the wrap, the size is just size_t
++ gperf_len_type = 'size_t'
+ endif
+
+ message('gperf len type is @0@'.format(gperf_len_type))
+GitLab
diff --git a/media-libs/fontconfig/fontconfig-2.13.93.ebuild b/media-libs/fontconfig/fontconfig-2.13.93.ebuild
deleted file mode 100644
index 1c12de903df..00000000000
--- a/media-libs/fontconfig/fontconfig-2.13.93.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib-minimal readme.gentoo-r1
-
-DESCRIPTION="A library for configuring and customizing font access"
-HOMEPAGE="https://fontconfig.org/"
-SRC_URI="https://fontconfig.org/release/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="1.0"
-[[ $(ver_cut 3) -ge 90 ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="doc static-libs"
-
-# Test test-bz106632 is known to be broken, see bug #751232
-# and would require several backports. It will be fixed in
-# next version.
-# check-missing-doc is known to be broken, see bug #733608
-# because fontconfig-2.13.1-static_build.patch introduces a
-# function FcStrBuildFilename which is lacking documentation.
-# However, backporting isn't worth it. Will be fixed in
-# next version.
-RESTRICT="test"
-
-BDEPEND="dev-util/gperf
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
- doc? (
- =app-text/docbook-sgml-dtd-3.1*
- app-text/docbook-sgml-utils[jadetex]
- )"
-# Purposefully dropped the xml USE flag and libxml2 support. Expat is the
-# default and used by every distro. See bug #283191.
-RDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
- >=media-libs/freetype-2.9[${MULTILIB_USEDEP}]
- !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux[${MULTILIB_USEDEP}] ) )
- elibc_Darwin? ( sys-libs/native-uuid )
- elibc_SunOS? ( sys-libs/libuuid )
- virtual/libintl[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}"
-PDEPEND="virtual/ttf-fonts"
-# Put the eselect module in BDEPEND until EAPI 8 is ready for IDEPEND, so that
-# it is natively usable in BROOT to update ROOT when cross-compiling.
-BDEPEND+=" !x86-winnt? ( app-eselect/eselect-fontconfig )"
-RDEPEND+=" !x86-winnt? ( app-eselect/eselect-fontconfig )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.10.2-docbook.patch # 310157
- "${FILESDIR}"/${PN}-2.13.93-latin-update.patch # 130466 + make liberation default
-
- # Patches from upstream (can usually be removed with next version bump)
-)
-
-pkg_setup() {
- DOC_CONTENTS="Please make fontconfig configuration changes using
- \`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be
- overwritten. If you need to reset your configuration to upstream defaults,
- delete the directory ${EROOT}/etc/fonts/conf.d/ and re-emerge fontconfig."
-}
-
-src_prepare() {
- default
- eautoreconf
-
- # https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/272
- # Please remove on next version bump!
- if [[ "${PV}" == 2.13.93 ]] ; then
- local sgmlfile
- for sgmlfile in doc/*.fncs ; do
- touch -r ${sgmlfile} ${sgmlfile//.fncs/.sgml} || die
- done
- else
- die "Forgot to clean up src_prepare()"
- fi
-}
-
-multilib_src_configure() {
- local addfonts
- # harvest some font locations, such that users can benefit from the
- # host OS's installed fonts
- case ${CHOST} in
- *-darwin*)
- addfonts=",/Library/Fonts,/System/Library/Fonts"
- ;;
- *-solaris*)
- [[ -d /usr/X/lib/X11/fonts/TrueType ]] && \
- addfonts=",/usr/X/lib/X11/fonts/TrueType"
- [[ -d /usr/X/lib/X11/fonts/Type1 ]] && \
- addfonts="${addfonts},/usr/X/lib/X11/fonts/Type1"
- ;;
- *-linux-gnu)
- use prefix && [[ -d /usr/share/fonts ]] && \
- addfonts=",/usr/share/fonts"
- ;;
- esac
-
- local myeconfargs=(
- $(multilib_native_use_enable doc docbook)
- $(use_enable static-libs static)
- $(multilib_native_enable docs)
- --localstatedir="${EPREFIX}"/var
- --with-default-fonts="${EPREFIX}"/usr/share/fonts
- --with-add-fonts="${EPREFIX}/usr/local/share/fonts${addfonts}"
- --with-templatedir="${EPREFIX}"/etc/fonts/conf.avail
- )
-
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install() {
- MULTILIB_CHOST_TOOLS=( /usr/bin/fc-cache$(get_exeext) )
-
- default
-
- # avoid calling this multiple times, bug #459210
- if multilib_is_native_abi; then
- # stuff installed from build-dir
- emake -C doc DESTDIR="${D}" install-man
-
- insinto /etc/fonts
- doins fonts.conf
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -name "*.la" -delete || die
-
- # fc-lang directory contains language coverage datafiles
- # which are needed to test the coverage of fonts.
- insinto /usr/share/fc-lang
- doins fc-lang/*.orth
-
- dodoc doc/fontconfig-user.{txt,pdf}
-
- if [[ -e ${ED}/usr/share/doc/fontconfig/ ]] ; then
- mv "${ED}"/usr/share/doc/fontconfig/* \
- "${ED}"/usr/share/doc/${P} || die
- rm -rf "${ED}"/usr/share/doc/fontconfig || die
- fi
-
- # Changes should be made to /etc/fonts/local.conf, and as we had
- # too much problems with broken fonts.conf we force update it ...
- echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' \
- > "${T}"/37fontconfig || die
- doenvd "${T}"/37fontconfig
-
- # As of fontconfig 2.7, everything sticks their noses in here.
- dodir /etc/sandbox.d
- echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' \
- > "${ED}"/etc/sandbox.d/37fontconfig || die
-
- readme.gentoo_create_doc
-
- keepdir /var/cache/${PN}
-}
-
-pkg_preinst() {
- # Bug #193476
- # /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
- # config files. If we install as-is, we'll blow away user settings.
- ebegin "Syncing fontconfig configuration to system"
- if [[ -e ${EROOT}/etc/fonts/conf.d ]] ; then
- local file f
- for file in "${EROOT}"/etc/fonts/conf.avail/* ; do
- f=${file##*/}
- if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]] ; then
- [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
- && ln -sf ../conf.avail/"${f}" \
- "${ED}"/etc/fonts/conf.d/ &>/dev/null
- else
- [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
- && rm "${ED}"/etc/fonts/conf.d/"${f}" &>/dev/null
- fi
- done
- fi
- eend $?
-}
-
-pkg_postinst() {
- einfo "Cleaning broken symlinks in ${EROOT}/etc/fonts/conf.d/"
- find -L "${EROOT}"/etc/fonts/conf.d/ -type l -delete
-
- readme.gentoo_print_elog
-
- if [[ -z ${ROOT} ]] ; then
- multilib_pkg_postinst() {
- ebegin "Creating global font cache for ${ABI}"
- "${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf
- eend $?
- }
-
- multilib_parallel_foreach_abi multilib_pkg_postinst
- fi
-}
diff --git a/media-libs/fontconfig/fontconfig-2.14.1-r1.ebuild b/media-libs/fontconfig/fontconfig-2.14.1-r1.ebuild
new file mode 100644
index 00000000000..4c9b9ac3d53
--- /dev/null
+++ b/media-libs/fontconfig/fontconfig-2.14.1-r1.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit multilib meson-multilib python-any-r1 readme.gentoo-r1
+
+DESCRIPTION="A library for configuring and customizing font access"
+HOMEPAGE="https://fontconfig.org/"
+SRC_URI="https://fontconfig.org/release/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="1.0"
+if ! [[ $(ver_cut 3) -ge 90 ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+fi
+IUSE="doc nls test"
+RESTRICT="!test? ( test )"
+
+# - Check minimum freetype & other deps on bumps. See
+# https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/configure.ac#L314.
+# Note that FT versioning is confusing, need to map it using
+# https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/VERSIONS.TXT
+# But sometimes it's actually greater than that, e.g. see Fedora's spec file
+# https://src.fedoraproject.org/rpms/fontconfig/blob/rawhide/f/fontconfig.spec#_1
+#
+# - Purposefully dropped the xml USE flag and libxml2 support. Expat is the
+# default and used by every distro. See bug #283191.
+#
+# - There's a test-only dep on json-c.
+# It might become an optional(?) runtime dep in future though. Who knows.
+# Keep an eye on it.
+RDEPEND="
+ >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+ >=media-libs/freetype-2.9.1[${MULTILIB_USEDEP}]
+ virtual/libintl[${MULTILIB_USEDEP}]
+ !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux[${MULTILIB_USEDEP}] ) )
+ elibc_Darwin? ( sys-libs/native-uuid )
+ elibc_SunOS? ( sys-libs/libuuid )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/json-c )
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/gperf
+ virtual/pkgconfig
+ doc? (
+ =app-text/docbook-sgml-dtd-3.1*
+ app-text/docbook-sgml-utils[jadetex]
+ )
+ nls? ( >=sys-devel/gettext-0.19.8 )
+"
+PDEPEND="virtual/ttf-fonts"
+# We need app-eselect/eselect-fontconfig in IDEPEND to update ROOT
+# when cross-compiling.
+IDEPEND="!x86-winnt? ( app-eselect/eselect-fontconfig )"
+
+PATCHES=(
+ # bug #130466 + make liberation default
+ "${FILESDIR}"/${PN}-2.14.0-latin-update.patch
+ # Avoid test failure (bubblewrap doesn't work within sandbox)
+ "${FILESDIR}"/${PN}-2.14.0-skip-bubblewrap-tests.patch
+
+ # Patches from upstream (can usually be removed with next version bump)
+ "${FILESDIR}"/${P}-gperf-meson.patch
+ "${FILESDIR}"/${P}-gperf-meson-debugging.patch
+)
+
+DOC_CONTENTS="Please make fontconfig configuration changes using
+\`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be
+overwritten. If you need to reset your configuration to upstream defaults,
+delete the directory ${EROOT}/etc/fonts/conf.d/ and re-emerge fontconfig."
+
+src_prepare() {
+ default
+
+ # Test needs network access
+ # https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/319
+ # On bumps, please check to see if this has been fixed
+ # to allow local access!
+ sed -i -e '/test-crbug1004254/d' test/meson.build || die
+}
+
+multilib_src_configure() {
+ local addfonts=(
+ "${EPREFIX}"/usr/local/share/fonts
+ )
+
+ # Harvest some font locations, such that users can benefit from the
+ # host OS's installed fonts
+ case ${CHOST} in
+ *-darwin*)
+ addfonts+=(
+ /Library/Fonts
+ /System/Library/Fonts
+ )
+ ;;
+
+ *-solaris*)
+ [[ -d /usr/X/lib/X11/fonts/TrueType ]] && \
+ addfonts+=( /usr/X/lib/X11/fonts/TrueType )
+ [[ -d /usr/X/lib/X11/fonts/Type1 ]] &&
+ addfonts+=( /usr/X/lib/X11/fonts/Type1 )
+ ;;
+
+ *-linux-gnu)
+ use prefix && [[ -d /usr/share/fonts ]] && \
+ addfonts+=( /usr/share/fonts )
+ ;;
+ esac
+
+ local emesonargs=(
+ # USE=doc only controls the additional bits like html/pdf
+ # and regeneration of man pages from source. We always install
+ # the prebuilt man pages.
+ $(meson_native_use_feature doc)
+ $(meson_native_use_feature doc doc-txt)
+ $(meson_native_use_feature doc doc-html)
+ $(meson_native_use_feature doc doc-man)
+ $(meson_native_use_feature doc doc-pdf)
+
+ $(meson_native_use_feature nls)
+ $(meson_feature test tests)
+
+ -Dcache-build=disabled
+ -Dcache-dir="${EPREFIX}"/var/cache/fontconfig
+ -Ddefault-fonts-dirs="${EPREFIX}"/usr/share/fonts
+ -Dadditional-fonts-dirs=$(IFS=, ; echo "${addfonts[*]}" )
+ -Dtemplate-dir="${EPREFIX}"/etc/fonts/conf.avail
+ )
+
+ meson_src_configure
+}
+
+multilib_src_install() {
+ MULTILIB_CHOST_TOOLS=( /usr/bin/fc-cache$(get_exeext) )
+
+ meson_src_install
+
+ # Avoid calling this multiple times, bug #459210
+ if multilib_is_native_abi; then
+ insinto /etc/fonts
+ doins fonts.conf
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # fc-lang directory contains language coverage datafiles
+ # which are needed to test the coverage of fonts.
+ insinto /usr/share/fc-lang
+ doins fc-lang/*.orth
+
+ dodoc doc/fontconfig-user.{txt,pdf}
+
+ if ! use doc ; then
+ find "${S}" -name "*.[[:digit:]]" -type f -exec doman '{}' + || die
+ fi
+
+ if [[ -e ${ED}/usr/share/doc/fontconfig/ ]] ; then
+ mv "${ED}"/usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${PF} || die
+ rm -rf "${ED}"/usr/share/doc/fontconfig || die
+ fi
+
+ # Changes should be made to /etc/fonts/local.conf, and as we had
+ # too much problems with broken fonts.conf we force update it ...
+ echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig || die
+ doenvd "${T}"/37fontconfig
+
+ # As of fontconfig 2.7, everything sticks their noses in here.
+ dodir /etc/sandbox.d
+ echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${ED}"/etc/sandbox.d/37fontconfig || die
+
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ # bug #193476
+ # /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
+ # config files. If we install as-is, we'll blow away user settings.
+ ebegin "Syncing fontconfig configuration to system"
+ if [[ -e ${EROOT}/etc/fonts/conf.d ]] ; then
+ local file f
+ for file in "${EROOT}"/etc/fonts/conf.avail/* ; do
+ f=${file##*/}
+ if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]] ; then
+ [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
+ && ln -sf ../conf.avail/"${f}" \
+ "${ED}"/etc/fonts/conf.d/ &>/dev/null
+ else
+ [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
+ && rm "${ED}"/etc/fonts/conf.d/"${f}" &>/dev/null
+ fi
+ done
+ fi
+ eend $?
+}
+
+pkg_postinst() {
+ einfo "Cleaning broken symlinks in ${EROOT}/etc/fonts/conf.d/"
+ find -L "${EROOT}"/etc/fonts/conf.d/ -type l -delete
+
+ readme.gentoo_print_elog
+
+ if [[ -z ${ROOT} ]] ; then
+ multilib_pkg_postinst() {
+ ebegin "Creating global font cache for ${ABI}"
+ "${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf
+ eend $?
+ }
+
+ multilib_parallel_foreach_abi multilib_pkg_postinst
+ fi
+}
diff --git a/media-libs/fontconfig/fontconfig-2.14.2.ebuild b/media-libs/fontconfig/fontconfig-2.14.2.ebuild
new file mode 100644
index 00000000000..a7eb1fcf0c0
--- /dev/null
+++ b/media-libs/fontconfig/fontconfig-2.14.2.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit multilib meson-multilib python-any-r1 readme.gentoo-r1
+
+DESCRIPTION="A library for configuring and customizing font access"
+HOMEPAGE="https://fontconfig.org/"
+SRC_URI="https://fontconfig.org/release/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="1.0"
+if ! [[ $(ver_cut 3) -ge 90 ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+fi
+IUSE="doc nls test"
+RESTRICT="!test? ( test )"
+
+# - Check minimum freetype & other deps on bumps. See
+# https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/configure.ac#L314.
+# Note that FT versioning is confusing, need to map it using
+# https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/VERSIONS.TXT
+# But sometimes it's actually greater than that, e.g. see Fedora's spec file
+# https://src.fedoraproject.org/rpms/fontconfig/blob/rawhide/f/fontconfig.spec#_1
+#
+# - Purposefully dropped the xml USE flag and libxml2 support. Expat is the
+# default and used by every distro. See bug #283191.
+#
+# - There's a test-only dep on json-c.
+# It might become an optional(?) runtime dep in future though. Who knows.
+# Keep an eye on it.
+RDEPEND="
+ >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+ >=media-libs/freetype-2.9.1[${MULTILIB_USEDEP}]
+ virtual/libintl[${MULTILIB_USEDEP}]
+ !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux[${MULTILIB_USEDEP}] ) )
+ elibc_Darwin? ( sys-libs/native-uuid )
+ elibc_SunOS? ( sys-libs/libuuid )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/json-c )
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/gperf
+ virtual/pkgconfig
+ doc? (
+ =app-text/docbook-sgml-dtd-3.1*
+ app-text/docbook-sgml-utils[jadetex]
+ )
+ nls? ( >=sys-devel/gettext-0.19.8 )
+"
+PDEPEND="virtual/ttf-fonts"
+# We need app-eselect/eselect-fontconfig in IDEPEND to update ROOT
+# when cross-compiling.
+IDEPEND="!x86-winnt? ( app-eselect/eselect-fontconfig )"
+
+PATCHES=(
+ # bug #130466 + make liberation default
+ "${FILESDIR}"/${PN}-2.14.0-latin-update.patch
+ # Avoid test failure (bubblewrap doesn't work within sandbox)
+ "${FILESDIR}"/${PN}-2.14.0-skip-bubblewrap-tests.patch
+
+ # Patches from upstream (can usually be removed with next version bump)
+)
+
+DOC_CONTENTS="Please make fontconfig configuration changes using
+\`eselect fontconfig\`. Any changes made to /etc/fonts/fonts.conf will be
+overwritten. If you need to reset your configuration to upstream defaults,
+delete the directory ${EROOT}/etc/fonts/conf.d/ and re-emerge fontconfig."
+
+src_prepare() {
+ default
+
+ # Test needs network access
+ # https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/319
+ # On bumps, please check to see if this has been fixed
+ # to allow local access!
+ sed -i -e '/test-crbug1004254/d' test/meson.build || die
+}
+
+multilib_src_configure() {
+ local addfonts=(
+ "${EPREFIX}"/usr/local/share/fonts
+ )
+
+ # Harvest some font locations, such that users can benefit from the
+ # host OS's installed fonts
+ case ${CHOST} in
+ *-darwin*)
+ addfonts+=(
+ /Library/Fonts
+ /System/Library/Fonts
+ )
+ ;;
+
+ *-solaris*)
+ [[ -d /usr/X/lib/X11/fonts/TrueType ]] && \
+ addfonts+=( /usr/X/lib/X11/fonts/TrueType )
+ [[ -d /usr/X/lib/X11/fonts/Type1 ]] &&
+ addfonts+=( /usr/X/lib/X11/fonts/Type1 )
+ ;;
+
+ *-linux-gnu)
+ use prefix && [[ -d /usr/share/fonts ]] && \
+ addfonts+=( /usr/share/fonts )
+ ;;
+ esac
+
+ local emesonargs=(
+ # USE=doc only controls the additional bits like html/pdf
+ # and regeneration of man pages from source. We always install
+ # the prebuilt man pages.
+ $(meson_native_use_feature doc)
+ $(meson_native_use_feature doc doc-txt)
+ $(meson_native_use_feature doc doc-html)
+ $(meson_native_use_feature doc doc-man)
+ $(meson_native_use_feature doc doc-pdf)
+
+ $(meson_native_use_feature nls)
+ $(meson_feature test tests)
+
+ -Dcache-build=disabled
+ -Dcache-dir="${EPREFIX}"/var/cache/fontconfig
+ -Ddefault-fonts-dirs="${EPREFIX}"/usr/share/fonts
+ -Dadditional-fonts-dirs=$(IFS=, ; echo "${addfonts[*]}" )
+ -Dtemplate-dir="${EPREFIX}"/etc/fonts/conf.avail
+ )
+
+ meson_src_configure
+}
+
+multilib_src_install() {
+ MULTILIB_CHOST_TOOLS=( /usr/bin/fc-cache$(get_exeext) )
+
+ meson_src_install
+
+ # Avoid calling this multiple times, bug #459210
+ if multilib_is_native_abi; then
+ insinto /etc/fonts
+ doins fonts.conf
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # fc-lang directory contains language coverage datafiles
+ # which are needed to test the coverage of fonts.
+ insinto /usr/share/fc-lang
+ doins fc-lang/*.orth
+
+ dodoc doc/fontconfig-user.{txt,pdf}
+
+ if ! use doc ; then
+ find "${S}" -name "*.[[:digit:]]" -type f -exec doman '{}' + || die
+ fi
+
+ if [[ -e ${ED}/usr/share/doc/fontconfig/ ]] ; then
+ mv "${ED}"/usr/share/doc/fontconfig/* "${ED}"/usr/share/doc/${PF} || die
+ rm -rf "${ED}"/usr/share/doc/fontconfig || die
+ fi
+
+ # Changes should be made to /etc/fonts/local.conf, and as we had
+ # too much problems with broken fonts.conf we force update it ...
+ echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig || die
+ doenvd "${T}"/37fontconfig
+
+ # As of fontconfig 2.7, everything sticks their noses in here.
+ dodir /etc/sandbox.d
+ echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${ED}"/etc/sandbox.d/37fontconfig || die
+
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ # bug #193476
+ # /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various
+ # config files. If we install as-is, we'll blow away user settings.
+ ebegin "Syncing fontconfig configuration to system"
+ if [[ -e ${EROOT}/etc/fonts/conf.d ]] ; then
+ local file f
+ for file in "${EROOT}"/etc/fonts/conf.avail/* ; do
+ f=${file##*/}
+ if [[ -L ${EROOT}/etc/fonts/conf.d/${f} ]] ; then
+ [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
+ && ln -sf ../conf.avail/"${f}" \
+ "${ED}"/etc/fonts/conf.d/ &>/dev/null
+ else
+ [[ -f ${ED}/etc/fonts/conf.avail/${f} ]] \
+ && rm "${ED}"/etc/fonts/conf.d/"${f}" &>/dev/null
+ fi
+ done
+ fi
+ eend $?
+}
+
+pkg_postinst() {
+ einfo "Cleaning broken symlinks in ${EROOT}/etc/fonts/conf.d/"
+ find -L "${EROOT}"/etc/fonts/conf.d/ -type l -delete
+
+ readme.gentoo_print_elog
+
+ if [[ -z ${ROOT} ]] ; then
+ multilib_pkg_postinst() {
+ ebegin "Creating global font cache for ${ABI}"
+ "${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf
+ eend $?
+ }
+
+ multilib_parallel_foreach_abi multilib_pkg_postinst
+ fi
+}
diff --git a/media-libs/freealut/freealut-1.1.0-r4.ebuild b/media-libs/freealut/freealut-1.1.0-r5.ebuild
index 65fca6895af..95f871e6688 100644
--- a/media-libs/freealut/freealut-1.1.0-r4.ebuild
+++ b/media-libs/freealut/freealut-1.1.0-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit autotools multilib-minimal
+inherit autotools
DESCRIPTION="The OpenAL Utility Toolkit"
HOMEPAGE="https://www.openal.org/"
@@ -12,10 +12,9 @@ SRC_URI="http://http.debian.net/debian/pool/main/f/${PN}/${PN}_${PV}.orig.tar.gz
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
RDEPEND="
- >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}]
+ >=media-libs/openal-1.15.1
"
DEPEND="${RDEPEND}"
@@ -28,12 +27,10 @@ src_prepare() {
AT_M4DIR="admin/autotools/m4" eautoreconf
}
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf --disable-static
-}
-
-multilib_src_install_all() {
+src_install() {
local HTML_DOCS=( doc/. )
- einstalldocs
- find "${D}" -name '*.la' -type f -delete || die
+
+ default
+
+ find "${ED}" -name '*.la' -type f -delete || die
}
diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest
index 24f821d4542..246f763179a 100644
--- a/media-libs/freeglut/Manifest
+++ b/media-libs/freeglut/Manifest
@@ -1 +1 @@
-DIST freeglut-3.2.2.tar.gz 397203 BLAKE2B e4151d9bd984504edb02fadf2983c750c1c81557f3467c01d4202d34e9e082a62f07d373908d3517f9b3fd3253b7b409f882cfe2187d4ff1787f3cdc09eecfe4 SHA512 190231951d314f854c244bd27f7c20488403bd0eecffc342097a2e3d1621cec87f6c209a77b4c153aabcf44697b4070227930e295ab74fb88953cbbf94fc81d9
+DIST freeglut-3.4.0.tar.gz 413389 BLAKE2B 47b073c4e81473417358452ede3891b6fc36e324f66eec42fcbbadebb2144680e3b52caded504135239e170fd8f30a1fe8b6666a746b06d48cd7226c98a8114e SHA512 4bb6d6c086bac7a9c0ec78062dce58987555785abe6375f462ee249f65210a964a28fb10ba7ee8a42d7fafb00eb8d196eb403d65d255f02f88467369c187228b
diff --git a/media-libs/freeglut/files/3.2.2-Fix-aliasing-violation.patch b/media-libs/freeglut/files/3.2.2-Fix-aliasing-violation.patch
deleted file mode 100644
index d6544578bcf..00000000000
--- a/media-libs/freeglut/files/3.2.2-Fix-aliasing-violation.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-https://bugs.gentoo.org/859847
-
-From 8c6f6bf3ad2fd33d15de6ee96175cd29bf804d9f Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Tue, 26 Jul 2022 15:47:02 -0400
-Subject: [PATCH] Fix aliasing violation
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Noticed when compiling with link-time optimizations.
-
-include/GL/freeglut_std.h:240:18: error: type of ‘glutBitmapHelvetica18’ does not match original declaration [-Werror=lto-type-mismatch]
- 240 | extern void* glutBitmapHelvetica18;
- | ^
-src/x11/fg_glutfont_definitions_x11.c:103:27: note: ‘glutBitmapHelvetica18’ was previously declared here
- 103 | struct freeglutBitmapFont glutBitmapHelvetica18 ;
- | ^
-src/x11/fg_glutfont_definitions_x11.c:103:27: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
----
- src/x11/fg_glutfont_definitions_x11.c | 29 ++++++++++++++++++---------
- 1 file changed, 20 insertions(+), 9 deletions(-)
-
-diff --git a/src/x11/fg_glutfont_definitions_x11.c b/src/x11/fg_glutfont_definitions_x11.c
-index bec20371..d086a990 100644
---- a/src/x11/fg_glutfont_definitions_x11.c
-+++ b/src/x11/fg_glutfont_definitions_x11.c
-@@ -91,14 +91,25 @@ struct freeglutBitmapFont
- };
-
-
--struct freeglutStrokeFont glutStrokeRoman ;
--struct freeglutStrokeFont glutStrokeMonoRoman ;
-+static struct freeglutStrokeFont glutStrokeRoman_ ;
-+static struct freeglutStrokeFont glutStrokeMonoRoman_ ;
-
--struct freeglutBitmapFont glutBitmap9By15 ;
--struct freeglutBitmapFont glutBitmap8By13 ;
--struct freeglutBitmapFont glutBitmapTimesRoman10 ;
--struct freeglutBitmapFont glutBitmapTimesRoman24 ;
--struct freeglutBitmapFont glutBitmapHelvetica10 ;
--struct freeglutBitmapFont glutBitmapHelvetica12 ;
--struct freeglutBitmapFont glutBitmapHelvetica18 ;
-+static struct freeglutBitmapFont glutBitmap9By15_ ;
-+static struct freeglutBitmapFont glutBitmap8By13_ ;
-+static struct freeglutBitmapFont glutBitmapTimesRoman10_ ;
-+static struct freeglutBitmapFont glutBitmapTimesRoman24_ ;
-+static struct freeglutBitmapFont glutBitmapHelvetica10_ ;
-+static struct freeglutBitmapFont glutBitmapHelvetica12_ ;
-+static struct freeglutBitmapFont glutBitmapHelvetica18_ ;
-
-+
-+void *glutStrokeRoman = &glutStrokeRoman_ ;
-+void *glutStrokeMonoRoman = &glutStrokeMonoRoman_ ;
-+
-+void *glutBitmap9By15 = &glutBitmap9By15_ ;
-+void *glutBitmap8By13 = &glutBitmap8By13_ ;
-+void *glutBitmapTimesRoman10 = &glutBitmapTimesRoman10_ ;
-+void *glutBitmapTimesRoman24 = &glutBitmapTimesRoman24_ ;
-+void *glutBitmapHelvetica10 = &glutBitmapHelvetica10_ ;
-+void *glutBitmapHelvetica12 = &glutBitmapHelvetica12_ ;
-+void *glutBitmapHelvetica18 = &glutBitmapHelvetica18_ ;
---
-2.35.1
-
diff --git a/media-libs/freeglut/freeglut-3.2.2.ebuild b/media-libs/freeglut/freeglut-3.4.0.ebuild
index 43218afa4d3..14a5266ed9d 100644
--- a/media-libs/freeglut/freeglut-3.2.2.ebuild
+++ b/media-libs/freeglut/freeglut-3.4.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake-multilib
@@ -12,13 +12,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="static-libs"
# enabling GLES support seems to cause build failures
RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
- >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
>=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
>=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]"
@@ -27,16 +25,12 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto"
BDEPEND="virtual/pkgconfig"
-PATCHES=(
- "${FILESDIR}"/${PV}-Fix-aliasing-violation.patch
-)
-
src_configure() {
local mycmakeargs=(
# "-DOpenGL_GL_PREFERENCE=GLVND" # bug 721006
"-DFREEGLUT_GLES=OFF"
"-DFREEGLUT_BUILD_DEMOS=OFF"
- "-DFREEGLUT_BUILD_STATIC_LIBS=$(usex static-libs ON OFF)"
+ "-DFREEGLUT_BUILD_STATIC_LIBS=OFF"
)
# $(cmake-utils_use gles FREEGLUT_GLES)
cmake-multilib_src_configure
diff --git a/media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.0.patch b/media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.0.patch
new file mode 100644
index 00000000000..906590bbd32
--- /dev/null
+++ b/media-libs/freeimage/files/freeimage-3.18.0-libraw-0.21.0.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/887467
+--- a/Source/FreeImage/PluginRAW.cpp
++++ b/Source/FreeImage/PluginRAW.cpp
+@@ -693,3 +693,7 @@
+ // (-s [0..N-1]) Select one raw image from input file
++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
++ RawProcessor->imgdata.rawparams.shot_select = 0;
++#else
+ RawProcessor->imgdata.params.shot_select = 0;
++#endif
+ // (-w) Use camera white balance, if possible (otherwise, fallback to auto_wb)
diff --git a/media-libs/freeimage/freeimage-3.18.0-r8.ebuild b/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
index 2616dbf53ee..502ee0298db 100644
--- a/media-libs/freeimage/freeimage-3.18.0-r8.ebuild
+++ b/media-libs/freeimage/freeimage-3.18.0-r10.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
tiff? (
>=dev-libs/imath-3.1.4-r2:=
>=media-libs/openexr-3:0=
- >=media-libs/tiff-4.4.0
+ >=media-libs/tiff-4.4.0:=
)
webp? ( media-libs/libwebp:= )"
DEPEND="${RDEPEND}"
@@ -57,6 +57,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.18.0-libraw-0.20.0.patch
"${FILESDIR}"/${PN}-3.18.0-tiff-4.4.0.patch
"${FILESDIR}"/${PN}-3.18.0-null-to-false.patch
+ "${FILESDIR}"/${PN}-3.18.0-libraw-0.21.0.patch
)
src_prepare() {
diff --git a/media-libs/freetype/files/freetype-2.12.1-strict-prototypes-clang16.patch b/media-libs/freetype/files/freetype-2.12.1-strict-prototypes-clang16.patch
new file mode 100644
index 00000000000..0526c27df40
--- /dev/null
+++ b/media-libs/freetype/files/freetype-2.12.1-strict-prototypes-clang16.patch
@@ -0,0 +1,36 @@
+https://gitlab.freedesktop.org/freetype/freetype/-/commit/e82371bf6ec2efdf79f9ed2d00e633ba0bbf7830
+
+From e82371bf6ec2efdf79f9ed2d00e633ba0bbf7830 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sun, 6 Nov 2022 05:18:59 +0000
+Subject: [PATCH] Fix `-Wstrict-prototypes`.
+
+* builds/unix/configure.raw: Fix `-Wstrict-prototypes`.
+Clang 16 warns on these and they will be dropped in C23.
+
+* builds/unix/freetype2.m4: Ditto.
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/builds/unix/configure.raw
++++ b/builds/unix/configure.raw
+@@ -50,7 +50,7 @@ if test ${cross_compiling} = yes; then
+
+ AC_MSG_CHECKING([for suffix of native executables])
+ rm -f a.* b.* a_out.exe conftest.*
+- echo > conftest.c "int main() { return 0;}"
++ echo > conftest.c "int main(void) { return 0;}"
+ ${CC_BUILD} conftest.c || AC_MSG_ERROR([native C compiler is not working])
+ rm -f conftest.c
+ if test -x a.out -o -x b.out -o -x conftest; then
+--- a/builds/unix/freetype2.m4
++++ b/builds/unix/freetype2.m4
+@@ -121,7 +121,7 @@ AC_DEFUN([AC_CHECK_FT2],
+ #include <stdlib.h>
+
+ int
+-main()
++main(void)
+ {
+ FT_Library library;
+ FT_Error error;
+GitLab
diff --git a/media-libs/freetype/freetype-2.12.1-r2.ebuild b/media-libs/freetype/freetype-2.12.1-r2.ebuild
new file mode 100644
index 00000000000..a42c32a2863
--- /dev/null
+++ b/media-libs/freetype/freetype-2.12.1-r2.ebuild
@@ -0,0 +1,261 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic libtool multilib-build multilib-minimal toolchain-funcs
+
+DESCRIPTION="High-quality and portable font engine"
+HOMEPAGE="https://www.freetype.org/"
+IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug fontforge harfbuzz infinality +png static-libs svg utils"
+
+if [[ "${PV}" != 9999 ]] ; then
+ SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.xz
+ mirror://nongnu/freetype/${P/_/}.tar.xz
+ utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.xz
+ mirror://nongnu/freetype/ft2demos-${PV}.tar.xz )
+ doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.xz
+ mirror://nongnu/freetype/${PN}-doc-${PV}.tar.xz )"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+ IUSE+=" doc"
+else
+ inherit git-r3
+fi
+
+LICENSE="|| ( FTL GPL-2+ )"
+SLOT="2"
+
+RDEPEND="
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ brotli? ( app-arch/brotli[${MULTILIB_USEDEP}] )
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
+ harfbuzz? ( >=media-libs/harfbuzz-1.3.0[truetype,${MULTILIB_USEDEP}] )
+ png? ( >=media-libs/libpng-1.2.51:0=[${MULTILIB_USEDEP}] )
+ utils? (
+ svg? ( >=gnome-base/librsvg-2.46.0[${MULTILIB_USEDEP}] )
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-strict-prototypes-clang16.patch
+)
+
+_egit_repo_handler() {
+ if [[ "${PV}" == 9999 ]] ; then
+ local phase="${1}"
+ case ${phase} in
+ fetch|unpack)
+ :;
+ ;;
+ *)
+ die "Please use this function with either \"fetch\" or \"unpack\""
+ ;;
+ esac
+
+ local EGIT_REPO_URI
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/freetype/freetype.git"
+ git-r3_src_${phase}
+ if use utils ; then
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/freetype/freetype-demos.git"
+ local EGIT_CHECKOUT_DIR="${WORKDIR}/ft2demos-${PV}"
+ git-r3_src_${phase}
+ fi
+ else
+ default
+ fi
+}
+
+pkg_pretend() {
+ if use svg && ! use utils ; then
+ einfo "The \"svg\" USE flag only has effect when the \"utils\" USE flag is also enabled."
+ fi
+}
+
+src_fetch() {
+ _egit_repo_handler ${EBUILD_PHASE}
+}
+
+src_unpack() {
+ _egit_repo_handler ${EBUILD_PHASE}
+
+ if [[ "${PV}" == 9999 ]] ; then
+ # Need to copy stuff from dlg subproject (#758902)
+ local dlg_inc_dir="${S}/subprojects/dlg/include/dlg"
+ local dlg_src_dir="${S}/subprojects/dlg/src/dlg"
+ local dlg_dest_dir="${S}/include"
+ mkdir -p "${dlg_dest_dir}/dlg" || die
+ cp "${dlg_inc_dir}"/{dlg,output}.h "${dlg_dest_dir}/dlg" || die
+ cp "${dlg_src_dir}"/* "${dlg_dest_dir}" || die
+ fi
+}
+
+src_prepare() {
+ if [[ "${PV}" == 9999 ]] ; then
+ # Do NOT automagically mess with submodules!!!
+ sed '/setup: copy_submodule/d' -i builds/toplevel.mk || die
+ # inspired by shipped autogen.sh script
+ eval $(sed -n \
+ -e 's/^#define *\(FREETYPE_MAJOR\) *\([0-9][0-9]*\).*/\1=\2/p' \
+ -e 's/^#define *\(FREETYPE_MINOR\) *\([0-9][0-9]*\).*/\1=\2/p' \
+ -e 's/^#define *\(FREETYPE_PATCH\) *\([0-9][0-9]*\).*/\1=\2/p' \
+ include/freetype/freetype.h || die)
+ FREETYPE="${FREETYPE_MAJOR}.${FREETYPE_MINOR}"
+ [[ "${FREETYPE_PATCH}" != 0 ]] && FREETYPE+=".${FREETYPE_PATCH}"
+ pushd builds/unix &>/dev/null || die
+ sed -e "s;@VERSION@;${FREETYPE};" \
+ < configure.raw > configure.ac || die
+ # eautoheader produces broken ftconfig.in
+ AT_NOEAUTOHEADER="yes" AT_M4DIR="." eautoreconf
+ unset FREETYPE_MAJOR FREETYPE_MINOR FREETYPE_PATCH FREETYPE
+ popd &>/dev/null || die
+ fi
+
+ default
+
+ pushd builds/unix &>/dev/null || die
+ # eautoheader produces broken ftconfig.in
+ AT_NOEAUTOHEADER="yes" AT_M4DIR="." eautoreconf
+ popd &>/dev/null || die
+
+ # This is the same as the 01 patch from infinality
+ sed '/AUX_MODULES += \(gx\|ot\)valid/s@^# @@' -i modules.cfg || die
+
+ enable_option() {
+ sed -i -e "/#define $1/ { s:/\* ::; s: \*/:: }" \
+ include/${PN}/config/ftoption.h \
+ || die "unable to enable option $1"
+ }
+
+ disable_option() {
+ sed -i -e "/#define $1/ { s:^:/* :; s:$: */: }" \
+ include/${PN}/config/ftoption.h \
+ || die "unable to disable option $1"
+ }
+
+ # Will be the new default for >=freetype-2.7.0
+ disable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2"
+
+ if use infinality && use cleartype-hinting ; then
+ enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )"
+ elif use infinality ; then
+ enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 1"
+ elif use cleartype-hinting ; then
+ enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2"
+ fi
+
+ # Can be disabled with FREETYPE_PROPERTIES="pcf:no-long-family-names=1"
+ # via environment (new since v2.8)
+ enable_option PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
+
+ # See https://freetype.org/patents.html (expired!)
+ enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+
+ if ! use adobe-cff ; then
+ enable_option CFF_CONFIG_OPTION_OLD_ENGINE
+ fi
+
+ if use debug ; then
+ enable_option FT_DEBUG_LEVEL_TRACE
+ enable_option FT_DEBUG_MEMORY
+ fi
+
+ if use utils ; then
+ cd "${WORKDIR}/ft2demos-${PV}" || die
+ # Disable tests needing X11 when USE="-X". (bug #177597)
+ if ! use X ; then
+ sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile || die
+ fi
+ cd "${S}" || die
+ fi
+
+ # bug #869803
+ rm docs/reference/sitemap.xml.gz || die
+
+ # we need non-/bin/sh to run configure
+ if [[ -n ${CONFIG_SHELL} ]] ; then
+ sed -i -e "1s:^#![[:space:]]*/bin/sh:#!${CONFIG_SHELL}:" \
+ "${S}"/builds/unix/configure || die
+ fi
+
+ elibtoolize --patch-only
+}
+
+multilib_src_configure() {
+ append-flags -fno-strict-aliasing
+ type -P gmake &> /dev/null && export GNUMAKE=gmake
+
+ local myeconfargs=(
+ --disable-freetype-config
+ --enable-shared
+ --with-zlib
+ $(use_with brotli)
+ $(use_with bzip2)
+ $(use_with harfbuzz)
+ $(use_with png)
+ $(use_enable static-libs static)
+ $(usex utils $(use_with svg librsvg) --without-librsvg)
+
+ # avoid using libpng-config
+ LIBPNG_CFLAGS="$($(tc-getPKG_CONFIG) --cflags libpng)"
+ LIBPNG_LDFLAGS="$($(tc-getPKG_CONFIG) --libs libpng)"
+ )
+
+ case ${CHOST} in
+ mingw*|*-mingw*) ;;
+ # Workaround windows mis-detection: bug #654712
+ # Have to do it for both ${CHOST}-windres and windres
+ *) myeconfargs+=( ac_cv_prog_RC= ac_cv_prog_ac_ct_RC= ) ;;
+ esac
+
+ export CC_BUILD="$(tc-getBUILD_CC)"
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+ default
+
+ if multilib_is_native_abi && use utils ; then
+ einfo "Building utils"
+ # fix for Prefix, bug #339334
+ emake \
+ X11_PATH="${EPREFIX}/usr/$(get_libdir)" \
+ FT2DEMOS=1 TOP_DIR_2="${WORKDIR}/ft2demos-${PV}"
+ fi
+}
+
+multilib_src_install() {
+ default
+
+ if multilib_is_native_abi && use utils ; then
+ einfo "Installing utils"
+ emake DESTDIR="${D}" FT2DEMOS=1 \
+ TOP_DIR_2="${WORKDIR}/ft2demos-${PV}" install
+ fi
+}
+
+multilib_src_install_all() {
+ if use fontforge ; then
+ # Probably fontforge needs less but this way makes things simplier...
+ einfo "Installing internal headers required for fontforge"
+ local header
+ find src/truetype include/freetype/internal -name '*.h' | \
+ while read header ; do
+ mkdir -p "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" || die
+ cp ${header} "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" || die
+ done
+ fi
+
+ dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,INSTALL.UNIX,*.txt,PROBLEMS,TODO}
+ if [[ "${PV}" != 9999 ]] && use doc ; then
+ docinto html
+ dodoc -r docs/*
+ fi
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
diff --git a/media-libs/freetype/freetype-9999.ebuild b/media-libs/freetype/freetype-9999.ebuild
index 011cc4310ab..4b80a7e3b43 100644
--- a/media-libs/freetype/freetype-9999.ebuild
+++ b/media-libs/freetype/freetype-9999.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-inherit flag-o-matic libtool multilib-build multilib-minimal toolchain-funcs
+inherit autotools flag-o-matic libtool multilib-build multilib-minimal toolchain-funcs
DESCRIPTION="High-quality and portable font engine"
HOMEPAGE="https://www.freetype.org/"
-IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug fontforge harfbuzz infinality +png static-libs utils"
+IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug fontforge harfbuzz infinality +png static-libs svg utils"
if [[ "${PV}" != 9999 ]] ; then
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.xz
@@ -16,10 +16,10 @@ if [[ "${PV}" != 9999 ]] ; then
mirror://nongnu/freetype/ft2demos-${PV}.tar.xz )
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.xz
mirror://nongnu/freetype/${PN}-doc-${PV}.tar.xz )"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE+=" doc"
else
- inherit autotools git-r3
+ inherit git-r3
fi
LICENSE="|| ( FTL GPL-2+ )"
@@ -32,17 +32,18 @@ RDEPEND="
harfbuzz? ( >=media-libs/harfbuzz-1.3.0[truetype,${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.2.51:0=[${MULTILIB_USEDEP}] )
utils? (
- X? (
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
- >=x11-libs/libXau-1.0.7-r1[${MULTILIB_USEDEP}]
- >=x11-libs/libXdmcp-1.1.1-r1[${MULTILIB_USEDEP}]
- )
- )"
+ svg? ( >=gnome-base/librsvg-2.46.0[${MULTILIB_USEDEP}] )
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )
+ )
+"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+)
+
_egit_repo_handler() {
if [[ "${PV}" == 9999 ]] ; then
local phase="${1}"
@@ -68,6 +69,12 @@ _egit_repo_handler() {
fi
}
+pkg_pretend() {
+ if use svg && ! use utils ; then
+ einfo "The \"svg\" USE flag only has effect when the \"utils\" USE flag is also enabled."
+ fi
+}
+
src_fetch() {
_egit_repo_handler ${EBUILD_PHASE}
}
@@ -109,6 +116,11 @@ src_prepare() {
default
+ pushd builds/unix &>/dev/null || die
+ # eautoheader produces broken ftconfig.in
+ AT_NOEAUTOHEADER="yes" AT_M4DIR="." eautoreconf
+ popd &>/dev/null || die
+
# This is the same as the 01 patch from infinality
sed '/AUX_MODULES += \(gx\|ot\)valid/s@^# @@' -i modules.cfg || die
@@ -185,6 +197,7 @@ multilib_src_configure() {
$(use_with harfbuzz)
$(use_with png)
$(use_enable static-libs static)
+ $(usex utils $(use_with svg librsvg) --without-librsvg)
# avoid using libpng-config
LIBPNG_CFLAGS="$($(tc-getPKG_CONFIG) --cflags libpng)"
diff --git a/media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch b/media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch
new file mode 100644
index 00000000000..43ddaf25a5f
--- /dev/null
+++ b/media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch
@@ -0,0 +1,22 @@
+From ecc07dc4f10c2b75e108d8fa7de31324d0e05659 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Wed, 4 Jan 2023 19:17:32 +0100
+Subject: [PATCH] pkg-config: Fix include directory
+
+---
+ freeverb3-3.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/freeverb3-3.pc.in b/freeverb3-3.pc.in
+index 8bbfda0..2403467 100644
+--- a/freeverb3-3.pc.in
++++ b/freeverb3-3.pc.in
+@@ -8,4 +8,4 @@ Description: A library for processing audio effect (reverb, impulse response ...
+ Requires:
+ Version: @VERSION@
+ Libs: @fftw3f_LIBS@ @fftw3_LIBS@ @fftw3l_LIBS@ -L${libdir} -lfreeverb3
+-Cflags: -I${includedir}/libfreeverb3-2 -I${includedir}/libsamplerate2 @fftw3f_CFLAGS@ @fftw3_CFLAGS@ @fftw3l_CFLAGS@
++Cflags: -I${includedir}/libfreeverb3-3 -I${includedir}/libsamplerate2 @fftw3f_CFLAGS@ @fftw3_CFLAGS@ @fftw3l_CFLAGS@
+--
+2.39.0
+
diff --git a/media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild b/media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild
new file mode 100644
index 00000000000..d90e59fbb68
--- /dev/null
+++ b/media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Reverb and Impulse Response Convolution plug-ins (Audacious/JACK)"
+HOMEPAGE="https://savannah.nongnu.org/projects/freeverb3"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE="forcefpu openmp plugdouble threads"
+
+RDEPEND="sci-libs/fftw:3.0="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-pc-file.patch # bug 889436
+)
+
+src_configure() {
+ local myeconfargs=(
+ --enable-release
+ --enable-undenormal
+ --disable-autocflags
+ --disable-pluginit
+ --disable-profile
+ --disable-sample
+ --disable-srcnewcoeffs
+ --disable-audacious
+ --disable-jack
+ $(use_enable openmp omp)
+ $(use_enable plugdouble)
+ $(use_enable threads pthread)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ einstalldocs
+
+ insinto /usr/share/${PN}/samples/IR
+ doins samples/IR/*.wav
+
+ find "${D}" -name '*.la' -delete || die # bug 847403
+}
diff --git a/media-libs/freeverb3/metadata.xml b/media-libs/freeverb3/metadata.xml
index 1f31d5eb9ee..41d4f45be9e 100644
--- a/media-libs/freeverb3/metadata.xml
+++ b/media-libs/freeverb3/metadata.xml
@@ -15,6 +15,7 @@
(default is float)</flag>
</use>
<upstream>
+ <remote-id type="savannah-nongnu">freeverb3</remote-id>
<remote-id type="sourceforge">freeverb3</remote-id>
</upstream>
</pkgmetadata>
diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild b/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild
index 22107b5dd36..6cb72f040c0 100644
--- a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
+++ b/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild
@@ -1,31 +1,33 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
inherit autotools flag-o-matic
MY_PV="${PV/_/-}"
-MY_PV2="${PV/_/~}"
+MY_PV2="${PV/_/\~}"
MY_P="${PN}-${MY_PV}"
MY_P2="${PN}-${MY_PV2}"
DESCRIPTION="library to use arbitrary fonts in OpenGL applications"
HOMEPAGE="https://sourceforge.net/projects/ftgl/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P2}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
-DEPEND=">=media-libs/freetype-2.0.9
+DEPEND="
+ media-libs/freeglut
+ >=media-libs/freetype-2.0.9
virtual/opengl
virtual/glu
- media-libs/freeglut"
-RDEPEND="${DEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P2}"
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
@@ -36,6 +38,7 @@ PATCHES=(
src_prepare() {
default
+
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
eautoreconf
}
@@ -47,7 +50,9 @@ src_configure() {
src_install() {
local DOCS=( AUTHORS BUGS ChangeLog NEWS README TODO docs/projects_using_ftgl.txt)
+
default
- rm -r "${ED%/}"/usr/share/doc/ftgl || die
+
+ rm -r "${ED}"/usr/share/doc/ftgl || die
find "${ED}" -name '*.la' -delete || die
}
diff --git a/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild b/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild
index f41411aeb7b..b2cdad29313 100644
--- a/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild
+++ b/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://bitbucket.org/mpyne/game-music-emu/downloads/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
IUSE=""
DOCS=( changes.txt design.txt gme.txt readme.txt )
diff --git a/media-libs/ganv/Manifest b/media-libs/ganv/Manifest
index f4a4f47e840..40c2ef905f7 100644
--- a/media-libs/ganv/Manifest
+++ b/media-libs/ganv/Manifest
@@ -1 +1 @@
-DIST ganv-1.8.0.tar.bz2 382822 BLAKE2B 4936b7f87fa7cf17ed86b8165558684f0f59387c9673144d57d8505e41f367735117e9f5b08508dcecb831b77b6bbc6559323417824a9f8defc43c81cc91d469 SHA512 00969879592af11d211ad790b970a8a3765ec0591515af856230e3fc9371b1611f2a4edc73d1fc59371a4c4a49c7479f279dc6f298d843296e6707cd2d495af4
+DIST ganv-1.8.2.tar.xz 80496 BLAKE2B 45e5370f3b94a7010f89943225748e40291583f7d2cc80f637f3db4fac3a03c9b58217bd8e8119f7867302c43846be47e928721addce68560c63cec5faa3b4d4 SHA512 12544d45fc3b06a02dcfaf41be266770a8dcbd079979b07cb1a05388e3cdddd54040b609f76c16c8982d89f864e5000d04fd2d09d8036705a41cafe944c2a6dd
diff --git a/media-libs/ganv/files/ganv-1.8.2-make-intl-check-non-required.patch b/media-libs/ganv/files/ganv-1.8.2-make-intl-check-non-required.patch
new file mode 100644
index 00000000000..ff89e795ed2
--- /dev/null
+++ b/media-libs/ganv/files/ganv-1.8.2-make-intl-check-non-required.patch
@@ -0,0 +1,13 @@
+diff --git a/meson.build b/meson.build
+index 27cb852..eb3500c 100644
+--- a/meson.build
++++ b/meson.build
+@@ -45,7 +45,7 @@ endif
+
+ m_dep = cc.find_library('m', required: false)
+
+-intl_dep = cc.find_library('intl', required: get_option('nls'))
++intl_dep = cc.find_library('intl', required: get_option('nls'), required: false)
+
+ gtk2_dep = dependency('gtk+-2.0',
+ version: '>= 2.10.0',
diff --git a/media-libs/ganv/ganv-1.8.0-r1.ebuild b/media-libs/ganv/ganv-1.8.2.ebuild
index 6ed5c20f508..bab8e227c84 100644
--- a/media-libs/ganv/ganv-1.8.0-r1.ebuild
+++ b/media-libs/ganv/ganv-1.8.2.ebuild
@@ -1,14 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE='threads(+)'
-inherit flag-o-matic waf-utils python-any-r1
+EAPI=8
+
+inherit meson
DESCRIPTION="A GTK+ widget for interactive graph-like environments"
-HOMEPAGE="http://drobilla.net/software/ganv/"
-SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
+HOMEPAGE="https://drobilla.net/software/ganv.html"
+SRC_URI="https://download.drobilla.net/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
@@ -22,19 +21,25 @@ RDEPEND="
graphviz? ( media-gfx/graphviz[gtk2] )
introspection? (
app-text/yelp-tools
- dev-libs/gobject-introspection:=[doctool] )
+ dev-libs/gobject-introspection:=[doctool]
+ )
"
DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
dev-util/glib-utils
nls? ( virtual/libintl )
"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.8.2-make-intl-check-non-required.patch"
+)
+
src_configure() {
- append-cxxflags -std=c++11
- waf-utils_src_configure \
- $(use graphviz || echo "--no-graphviz") \
- $(use fdgl || echo "--no-fdgl") \
- $(use nls || echo "--no-nls") \
- $(use introspection && echo "--gir")
+ local emesonargs=(
+ $(meson_feature fdgl)
+ $(meson_feature graphviz)
+ $(meson_feature introspection gir)
+ $(meson_feature nls)
+ )
+
+ meson_src_configure
}
diff --git a/media-libs/gavl/gavl-1.4.0-r2.ebuild b/media-libs/gavl/gavl-1.4.0-r2.ebuild
index 7fdebe1f45b..1db85a05245 100644
--- a/media-libs/gavl/gavl-1.4.0-r2.ebuild
+++ b/media-libs/gavl/gavl-1.4.0-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/gmerlin/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv x86"
IUSE="doc"
BDEPEND="doc? ( app-doc/doxygen )"
diff --git a/media-libs/gd/gd-2.3.2-r1.ebuild b/media-libs/gd/gd-2.3.2-r3.ebuild
index d145563ca1d..b9f21589bc8 100644
--- a/media-libs/gd/gd-2.3.2-r1.ebuild
+++ b/media-libs/gd/gd-2.3.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,10 +26,10 @@ BDEPEND="virtual/pkgconfig"
RDEPEND="
avif? ( media-libs/libavif:=[${MULTILIB_USEDEP}] )
fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
- jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
+ jpeg? ( media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] )
heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+ tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
xpm? (
diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r3.ebuild
index 2bd406826e3..3639c68be72 100644
--- a/media-libs/gd/gd-2.3.3-r1.ebuild
+++ b/media-libs/gd/gd-2.3.3-r3.ebuild
@@ -26,10 +26,10 @@ BDEPEND="virtual/pkgconfig"
RDEPEND="
avif? ( media-libs/libavif:=[${MULTILIB_USEDEP}] )
fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
- jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
+ jpeg? ( media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] )
heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+ tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
xpm? (
diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml
index 1b70c49f582..80c2c798548 100644
--- a/media-libs/gd/metadata.xml
+++ b/media-libs/gd/metadata.xml
@@ -29,7 +29,6 @@ and so forth.
</upstream>
<use>
<flag name="avif">Enable support for the avif format via <pkg>media-libs/libavif</pkg></flag>
- <flag name="heif">Enable support for the heif format via <pkg>media-libs/libheif</pkg></flag>
<flag name="webp">Enable support for the webp format</flag>
</use>
</pkgmetadata>
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest
index be1c2d7dd56..321bb9a827a 100644
--- a/media-libs/gegl/Manifest
+++ b/media-libs/gegl/Manifest
@@ -1,2 +1 @@
-DIST gegl-0.4.36.tar.xz 5680876 BLAKE2B e2051d21eadfd6ff5c4547d337e749ebb9526be0b45bf80116cfdd1bb98b0fd3b4cced83b4700ecb04c003f83074928ac0c7b4bc8929134c57950a1ac957d50b SHA512 4d681091b15e7911229f86bf22381d62268451da57bba072bcb8ee3f4db79e2719dd7e70ab208c2c021e5353f42a9f88c18f62132512b18fe78ed6ad279660f8
-DIST gegl-0.4.38.tar.xz 5722188 BLAKE2B 8079326f50b18b4698e83f90a4fa8fd26722a3b6fd8d81a9cc1a735e765591e1b76a3dbbef37e7a793231becf265b28bd0bd235076e43ae00c4071d8986a2edf SHA512 367aa67019557b10a19536c56dfbf6687ade183585eeefec65ce12d3c72f5d78330e02ae0ff403609bb7579dc25340a7132b81d36bbf84327c658a96a2d04d4c
+DIST gegl-0.4.40.tar.xz 5784744 BLAKE2B c4466a76ec4f7939161e9ead6980b8a701f3fc459c40c3de3e09caa688aae12fb1f4a9979ca82e95011437f229532ba07012590d00aeb97b610b69968faa454f SHA512 99ace5f1b916e56f31483b60a38f885d0e09652c834122390bba4439d9bb1a137d84770e1518187330c44f3491e53393cfb8802ba9ede20658e1c8122e798888
diff --git a/media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch b/media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch
new file mode 100644
index 00000000000..84d80d96503
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/887421
+https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/133
+
+From ef71b865a301514fcd13f50d421942f7b6b92d5e Mon Sep 17 00:00:00 2001
+From: Chris Mayo <aklhfex@gmail.com>
+Date: Wed, 21 Dec 2022 19:32:02 +0000
+Subject: [PATCH] raw-load: make compatible with LibRaw 0.21.0
+
+imgdata.params.shot_select moved to imgdata.rawparams.shot_select
+https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L182
+--- a/operations/external/raw-load.c
++++ b/operations/external/raw-load.c
+@@ -114,7 +114,11 @@ prepare (GeglOperation *operation)
+ g_warning ("raw-load: Error Initializing raw library");
+ else
+ {
++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
++ p->LibRaw->rawparams.shot_select = o->image_num;
++#else
+ p->LibRaw->params.shot_select = o->image_num;
++#endif
+
+ p->LibRaw->params.aber[0] = 1.0;
+ p->LibRaw->params.aber[2] = 1.0;
+--
+GitLab
diff --git a/media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch b/media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch
new file mode 100644
index 00000000000..6982afa4d7b
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch
@@ -0,0 +1,79 @@
+https://bugs.gentoo.org/883313
+https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/132
+--- a/gegl/graph/gegl-region-generic.c
++++ b/gegl/graph/gegl-region-generic.c
+@@ -910,7 +910,7 @@ miRegionOp (GeglRegion *newReg,
+ top = MAX (r1->y1, ybot);
+ bot = MIN (r1->y2, r2->y1);
+
+- if ((top != bot) && (nonOverlap1Fn != (void (*)())NULL))
++ if ((top != bot) && (nonOverlap1Fn != (void (*)(void))NULL))
+ {
+ (*nonOverlap1Fn)(newReg, r1, r1BandEnd, top, bot);
+ }
+@@ -922,7 +922,7 @@ miRegionOp (GeglRegion *newReg,
+ top = MAX (r2->y1, ybot);
+ bot = MIN (r2->y2, r1->y1);
+
+- if ((top != bot) && (nonOverlap2Fn != (void (*)())NULL))
++ if ((top != bot) && (nonOverlap2Fn != (void (*)(void))NULL))
+ {
+ (*nonOverlap2Fn)(newReg, r2, r2BandEnd, top, bot);
+ }
+--- a/operations/common/ctx/ctx.h
++++ b/operations/common/ctx/ctx.h
+@@ -6047,7 +6047,6 @@ int _ctx_is_rasterizer (Ctx *ctx);
+
+ int ctx_color (Ctx *ctx, const char *string);
+ typedef struct _CtxState CtxState;
+-CtxColor *ctx_color_new ();
+ CtxState *ctx_get_state (Ctx *ctx);
+ void ctx_color_get_rgba (CtxState *state, CtxColor *color, float *out);
+ void ctx_color_set_rgba (CtxState *state, CtxColor *color, float r, float g, float b, float a);
+@@ -11081,7 +11080,6 @@ static void
+ ctx_matrix_set (CtxMatrix *matrix, float a, float b, float c, float d, float e, float f, float g, float h, float i);
+
+
+-static void ctx_font_setup ();
+ static float ctx_state_get (CtxState *state, uint32_t hash);
+
+ #if CTX_RASTERIZER
+@@ -40708,9 +40706,9 @@ static void ctx_events_deinit (Ctx *ctx)
+ #if CTX_TERMINAL_EVENTS
+
+
+-static int mice_has_event ();
+-static char *mice_get_event ();
+-static void mice_destroy ();
++static int mice_has_event (void);
++static char *mice_get_event (void);
++static void mice_destroy (void);
+ static int mice_get_fd (EvSource *ev_source);
+ static void mice_set_coord (EvSource *ev_source, double x, double y);
+
+@@ -40759,13 +40757,13 @@ static int mmm_evsource_mice_init ()
+ return 0;
+ }
+
+-static void mice_destroy ()
++static void mice_destroy (void)
+ {
+ if (mrg_mice_this->fd != -1)
+ close (mrg_mice_this->fd);
+ }
+
+-static int mice_has_event ()
++static int mice_has_event (void)
+ {
+ struct timeval tv;
+ int retval;
+@@ -40783,7 +40781,7 @@ static int mice_has_event ()
+ return 0;
+ }
+
+-static char *mice_get_event ()
++static char *mice_get_event (void)
+ {
+ const char *ret = "pm";
+ double relx, rely;
+
diff --git a/media-libs/gegl/gegl-0.4.36-r1.ebuild b/media-libs/gegl/gegl-0.4.36-r1.ebuild
deleted file mode 100644
index 9aeab373ce2..00000000000
--- a/media-libs/gegl/gegl-0.4.36-r1.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-# vala and introspection support is broken, bug #468208
-VALA_USE_DEPEND=vapigen
-
-inherit meson optfeature python-any-r1 vala
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.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 x86 ~amd64-linux ~x86-linux"
-fi
-
-DESCRIPTION="A graph based image processing framework"
-HOMEPAGE="https://gegl.org/"
-
-LICENSE="|| ( GPL-3+ LGPL-3 )"
-SLOT="0.4"
-
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
-REQUIRED_USE="
- svg? ( cairo )
- test? ( introspection )
- vala? ( introspection )
-"
-
-RESTRICT="!test? ( test )"
-
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
-# so there is no chance to support libav right now (Gentoo bug #567638)
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
-RDEPEND="
- >=dev-libs/glib-2.68.2:2
- >=dev-libs/json-glib-1.2.6
- >=media-libs/babl-0.1.90[introspection?,lcms?,vala?]
- media-libs/libnsgif
- >=media-libs/libpng-1.6.0:0=
- >=sys-libs/zlib-1.2.0
- virtual/jpeg:0=
- >=x11-libs/gdk-pixbuf-2.32:2
- >=x11-libs/pango-1.38.0
- cairo? ( >=x11-libs/cairo-1.12.2 )
- ffmpeg? ( media-video/ffmpeg:0= )
- introspection? ( >=dev-libs/gobject-introspection-1.32:= )
- lcms? ( >=media-libs/lcms-2.8:2 )
- lensfun? ( >=media-libs/lensfun-0.2.5 )
- openexr? ( >=media-libs/openexr-1.6.1:= )
- pdf? ( >=app-text/poppler-0.71.0[cairo] )
- raw? ( >=media-libs/libraw-0.15.4:0= )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- svg? ( >=gnome-base/librsvg-2.40.6:2 )
- tiff? ( >=media-libs/tiff-4:0 )
- umfpack? ( sci-libs/umfpack )
- v4l? ( >=media-libs/libv4l-1.0.1 )
- webp? ( >=media-libs/libwebp-0.5.0:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- ${PYTHON_DEPS}
- dev-lang/perl
- >=dev-util/gtk-doc-am-1
- >=sys-devel/gettext-0.19.8
- >=sys-devel/libtool-2.2
- virtual/pkgconfig
- test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
- vala? ( $(vala_depend) )
-"
-
-DOCS=( AUTHORS docs/ChangeLog docs/NEWS.adoc )
-
-python_check_deps() {
- use test || return 0
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
- default
- # patch executables suffix
- sed -i -e "s/'gegl'/'gegl-0.4'/" bin/meson.build || die
- sed -i -e "s/'gegl-imgcmp'/'gegl-imgcmp-0.4'/" tools/meson.build || die
- sed -i -e "s/gegl-imgcmp/gegl-imgcmp-0.4/" tests/simple/test-exp-combine.sh || die
- # skip UNEXPECTED PASSED 'matting-levin' test
- sed -i -e "s/composition_tests += 'matting-levin'//" \
- -e "s/composition_tests_fail += 'matting-levin'//" tests/compositions/meson.build || die
-
- # don't require Apple's OpenCL on versions of OSX that don't have it
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
- fi
-
- # fix 'build'headers from *.cl on gentoo-hardened, bug 739816
- pushd "${S}/opencl/" || die
- for file in *.cl; do
- if [[ -f ${file} ]]; then
- "${EPYTHON}" cltostring.py "${file}" || die
- fi
- done
- popd || die
-}
-
-src_configure() {
- use vala && vala_setup
-
- local emesonargs=(
- # - Disable documentation as the generating is bit automagic
- # if anyone wants to work on it just create bug with patch
- -Ddocs=false
- -Dexiv2=disabled
- -Dgdk-pixbuf=enabled
- -Djasper=disabled
- # - libspiro: not in portage main tree
- -Dlibspiro=disabled
- -Dlua=disabled
- -Dmrg=disabled
- -Dpango=enabled
- -Dsdl2=disabled
- # - Parameter -Dworkshop=false disables any use of Lua, effectivly
- -Dworkshop=false
- $(meson_feature cairo)
- $(meson_feature cairo pangocairo)
- $(meson_feature ffmpeg libav)
- $(meson_feature lcms)
- $(meson_feature lensfun)
- $(meson_feature openexr)
- $(meson_feature pdf poppler)
- $(meson_feature raw libraw)
- $(meson_feature sdl sdl1)
- $(meson_feature svg librsvg)
- $(meson_feature test pygobject)
- $(meson_feature tiff libtiff)
- $(meson_feature umfpack)
- # - v4l support does not work with our media-libs/libv4l-0.8.9,
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
- $(meson_feature v4l libv4l)
- $(meson_feature v4l libv4l2)
- $(meson_feature vala vapigen)
- $(meson_feature webp)
- $(meson_use introspection)
- )
- meson_src_configure
-}
-
-pkg_postinst() {
- optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz
-}
diff --git a/media-libs/gegl/gegl-0.4.38.ebuild b/media-libs/gegl/gegl-0.4.40-r1.ebuild
index 79681b0950f..1281b4eee95 100644
--- a/media-libs/gegl/gegl-0.4.38.ebuild
+++ b/media-libs/gegl/gegl-0.4.40-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
# vala and introspection support is broken, bug #468208
VALA_USE_DEPEND=vapigen
-inherit flag-o-matic meson optfeature python-any-r1 vala
+inherit flag-o-matic meson optfeature python-any-r1 toolchain-funcs vala
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
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 ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
fi
DESCRIPTION="A graph based image processing framework"
@@ -24,7 +24,7 @@ HOMEPAGE="https://gegl.org/"
LICENSE="|| ( GPL-3+ LGPL-3 )"
SLOT="0.4"
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl sdl2 svg test tiff umfpack vala v4l webp"
+IUSE="cairo debug ffmpeg introspection lcms lensfun openexr openmp pdf raw sdl sdl2 svg test tiff umfpack vala v4l webp"
REQUIRED_USE="
svg? ( cairo )
test? ( introspection )
@@ -39,7 +39,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.68.2:2
>=dev-libs/json-glib-1.2.6
- >=media-libs/babl-0.1.96[introspection?,lcms?,vala?]
+ >=media-libs/babl-0.1.98[introspection?,lcms?,vala?]
media-libs/libjpeg-turbo
media-libs/libnsgif
>=media-libs/libpng-1.6.0:0=
@@ -57,7 +57,7 @@ RDEPEND="
sdl? ( >=media-libs/libsdl-1.2.0 )
sdl2? ( >=media-libs/libsdl2-2.0.20 )
svg? ( >=gnome-base/librsvg-2.40.6:2 )
- tiff? ( >=media-libs/tiff-4:0 )
+ tiff? ( >=media-libs/tiff-4:= )
umfpack? ( sci-libs/umfpack )
v4l? ( >=media-libs/libv4l-1.0.1 )
webp? ( >=media-libs/libwebp-0.5.0:= )
@@ -76,9 +76,23 @@ BDEPEND="
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.adoc )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.4.40-strict-prototypes.patch
+ "${FILESDIR}"/${PN}-0.4.40-libraw-0.21.patch
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ python-any-r1_pkg_setup
+}
+
python_check_deps() {
use test || return 0
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
+ python_has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
}
src_prepare() {
@@ -132,6 +146,7 @@ src_configure() {
$(meson_feature lcms)
$(meson_feature lensfun)
$(meson_feature openexr)
+ $(meson_feature openmp)
$(meson_feature pdf poppler)
$(meson_feature raw libraw)
$(meson_feature sdl sdl1)
diff --git a/media-libs/gegl/gegl-9999.ebuild b/media-libs/gegl/gegl-9999.ebuild
index 0039c880247..95d76e51ce4 100644
--- a/media-libs/gegl/gegl-9999.ebuild
+++ b/media-libs/gegl/gegl-9999.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
# vala and introspection support is broken, bug #468208
VALA_USE_DEPEND=vapigen
-inherit flag-o-matic meson optfeature python-any-r1 vala
+inherit flag-o-matic meson optfeature python-any-r1 toolchain-funcs vala
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -24,7 +24,7 @@ HOMEPAGE="https://gegl.org/"
LICENSE="|| ( GPL-3+ LGPL-3 )"
SLOT="0.4"
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl sdl2 svg test tiff umfpack vala v4l webp"
+IUSE="cairo debug ffmpeg introspection lcms lensfun openexr openmp pdf raw sdl sdl2 svg test tiff umfpack vala v4l webp"
REQUIRED_USE="
svg? ( cairo )
test? ( introspection )
@@ -39,7 +39,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.68.2:2
>=dev-libs/json-glib-1.2.6
- >=media-libs/babl-0.1.96[introspection?,lcms?,vala?]
+ >=media-libs/babl-0.1.98[introspection?,lcms?,vala?]
media-libs/libjpeg-turbo
media-libs/libnsgif
>=media-libs/libpng-1.6.0:0=
@@ -57,7 +57,7 @@ RDEPEND="
sdl? ( >=media-libs/libsdl-1.2.0 )
sdl2? ( >=media-libs/libsdl2-2.0.20 )
svg? ( >=gnome-base/librsvg-2.40.6:2 )
- tiff? ( >=media-libs/tiff-4:0 )
+ tiff? ( >=media-libs/tiff-4:= )
umfpack? ( sci-libs/umfpack )
v4l? ( >=media-libs/libv4l-1.0.1 )
webp? ( >=media-libs/libwebp-0.5.0:= )
@@ -76,9 +76,18 @@ BDEPEND="
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.adoc )
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ python-any-r1_pkg_setup
+}
+
python_check_deps() {
use test || return 0
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
+ python_has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
}
src_prepare() {
@@ -123,6 +132,7 @@ src_configure() {
$(meson_feature lcms)
$(meson_feature lensfun)
$(meson_feature openexr)
+ $(meson_feature openmp)
$(meson_feature pdf poppler)
$(meson_feature raw libraw)
$(meson_feature sdl sdl1)
diff --git a/media-libs/gegl/metadata.xml b/media-libs/gegl/metadata.xml
index 3a7a19add4b..5fd285bdf24 100644
--- a/media-libs/gegl/metadata.xml
+++ b/media-libs/gegl/metadata.xml
@@ -14,4 +14,7 @@
<flag name="sdl2">Add support for Simple Direct Layer 2.0 (<pkg>media-libs/libsdl2</pkg>)</flag>
<flag name="umfpack">Enable sparse solving via <pkg>sci-libs/umfpack</pkg>.</flag>
</use>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gegl</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/gexiv2/gexiv2-0.14.0.ebuild b/media-libs/gexiv2/gexiv2-0.14.0.ebuild
index 20b5be42289..7b22a47b0e6 100644
--- a/media-libs/gexiv2/gexiv2-0.14.0.ebuild
+++ b/media-libs/gexiv2/gexiv2-0.14.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit meson python-r1 vala
@@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
else
SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
fi
LICENSE="LGPL-2.1+ GPL-2"
diff --git a/media-libs/gexiv2/metadata.xml b/media-libs/gexiv2/metadata.xml
index 66523d448fe..eb093d099da 100644
--- a/media-libs/gexiv2/metadata.xml
+++ b/media-libs/gexiv2/metadata.xml
@@ -1,13 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
- </maintainer>
- <longdescription lang="en">
- gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
- It allows for GNOME applications to easily inspect and update EXIF,
- IPTC, and XMP metadata in photo and video files of various formats.
- </longdescription>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+ gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
+ It allows for GNOME applications to easily inspect and update EXIF,
+ IPTC, and XMP metadata in photo and video files of various formats.
+ </longdescription>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gexiv2</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/giblib/metadata.xml b/media-libs/giblib/metadata.xml
index f70c8f227f0..034cdf50688 100644
--- a/media-libs/giblib/metadata.xml
+++ b/media-libs/giblib/metadata.xml
@@ -3,11 +3,11 @@
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>
-giblib is a utility library used by many of the applications I write. It
-incorporates doubly linked lists, some string functions, and a wrapper
-for imlib2. The wrapper does two things. It gives you access to
-fontstyles, which can be loaded from files, saved to files or defined
-dynamically through the API. It also, and more importantly, wraps
-imlib2's context API changing.
-</longdescription>
+ giblib is a utility library used by many of the applications I write. It
+ incorporates doubly linked lists, some string functions, and a wrapper
+ for imlib2. The wrapper does two things. It gives you access to
+ fontstyles, which can be loaded from files, saved to files or defined
+ dynamically through the API. It also, and more importantly, wraps
+ imlib2's context API changing.
+ </longdescription>
</pkgmetadata>
diff --git a/media-libs/glu/metadata.xml b/media-libs/glu/metadata.xml
index cb69d33c69a..4b2d406bc74 100644
--- a/media-libs/glu/metadata.xml
+++ b/media-libs/glu/metadata.xml
@@ -5,4 +5,7 @@
<email>x11@gentoo.org</email>
<name>X11</name>
</maintainer>
+ <upstream>
+ <remote-id type="freedesktop-gitlab">mesa/glu</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 9fbb8dfb2b0..4f61a685f6a 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1,3 +1,2 @@
-DIST intel-gmmlib-22.1.7.tar.gz 818408 BLAKE2B b7123b571bfdb2f363bb7824264b9c2ad85c5e58f2978c0fa20010c8a890157bf10da7c772b9ad987078784bf37192ec0e8e14b73980af15329609649e817fd6 SHA512 0dbf972ecd61f84b9932eb6735c73e424861f7841bee8a5e76cd4d8d28ebf7641e475f9cdb1015b4f20aca08591f8f52631ebc209efa339753b47b3a121a38fb
-DIST intel-gmmlib-22.1.8.tar.gz 818360 BLAKE2B 5a7dadaead925eddfe52770c73eea92b8f071b498a2ed8d23928c93ba3d0284d9046339b7eb641918b17bf13bbcffc071ba71ba47cc53760258b1bb39f175e17 SHA512 4520105c7ceaae30e592acce7bae65841ecdb5d74c888cf03a2308a94a63d998941665794933c8247dbae841d13386ee99b365de0c6a5676acc960386c19ca2c
-DIST intel-gmmlib-22.2.0.tar.gz 820145 BLAKE2B 6b7966c71a24344f4525cb676aae12c7947d1101bbe46938336deeb769f5728aec4a11ce2b346fc55bc3d752c67e2f375e7008f8bb11a7fc49e91231ed09a1a9 SHA512 57ed8bb08755befeb27e096249cc31afbae7ff0ccfb0eb2ae4de38b38e6c3454a1e145f11a509b6dcae45d1a8ee7b75021353f7b1857b3e32366e84310337e44
+DIST intel-gmmlib-22.3.0.tar.gz 843176 BLAKE2B 8874012deec80f5639a4fd1e0f7d94f9b683ad02fb140a4bc365ba1369bf2996ed19e4ccd45832e513017aedaaf34e76d88fd46838a02e15cb93921f70d414f6 SHA512 461057be96ecb6b5e84bfa55e486ee898133305ee65d31006aaf4509500da5a3ca7bbd8a7fbb77dee934e0eee97bd0edfc66d7d8dafcb55cc114f3b4d0ccc583
+DIST intel-gmmlib-22.3.3.tar.gz 843483 BLAKE2B bbc447823fc7a7301cfb5579ff28ead8c3f58c012e309d296232834283c1aadf6ced032db3cdd5fea36e251331c86e3b9cc3a7a8187d743b8075db603fd05cc8 SHA512 9257f4e42cfaf654e2cdf896dcf0c03f5918f889fcf89b4d3540e3c9c9dc60324d74377205d8d37464ee47e60833834ef7ff6af0c52548cfba054492e093d904
diff --git a/media-libs/gmmlib/gmmlib-22.1.8.ebuild b/media-libs/gmmlib/gmmlib-22.1.8.ebuild
deleted file mode 100644
index 598b7721fb1..00000000000
--- a/media-libs/gmmlib/gmmlib-22.1.8.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE="Release"
-
-inherit cmake
-
-DESCRIPTION="Intel Graphics Memory Management Library"
-HOMEPAGE="https://github.com/intel/gmmlib"
-SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
-S="${WORKDIR}/${PN}-intel-${P}"
-
-KEYWORDS="~amd64"
-LICENSE="MIT"
-SLOT="0/12.1"
-IUSE="+custom-cflags test"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch
- "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch
- "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_TESTING="$(usex test)"
- -DBUILD_TYPE="Release"
- -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
- )
-
- cmake_src_configure
-}
diff --git a/media-libs/gmmlib/gmmlib-22.1.7.ebuild b/media-libs/gmmlib/gmmlib-22.3.0.ebuild
index 74db95043d2..9e6de374a22 100644
--- a/media-libs/gmmlib/gmmlib-22.1.7.ebuild
+++ b/media-libs/gmmlib/gmmlib-22.3.0.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-intel-${P}"
KEYWORDS="amd64"
LICENSE="MIT"
-SLOT="0/12.1"
+SLOT="0/12.3"
IUSE="+custom-cflags test"
RESTRICT="!test? ( test )"
diff --git a/media-libs/gmmlib/gmmlib-22.2.0.ebuild b/media-libs/gmmlib/gmmlib-22.3.3.ebuild
index d811e64621f..97335b7ca36 100644
--- a/media-libs/gmmlib/gmmlib-22.2.0.ebuild
+++ b/media-libs/gmmlib/gmmlib-22.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-intel-${P}"
KEYWORDS="~amd64"
LICENSE="MIT"
-SLOT="0/12.2"
+SLOT="0/12.3"
IUSE="+custom-cflags test"
RESTRICT="!test? ( test )"
diff --git a/media-libs/gmmlib/gmmlib-9999.ebuild b/media-libs/gmmlib/gmmlib-9999.ebuild
index 07dd695c5ff..7042078bafa 100644
--- a/media-libs/gmmlib/gmmlib-9999.ebuild
+++ b/media-libs/gmmlib/gmmlib-9999.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/intel/gmmlib"
SRC_URI=""
LICENSE="MIT"
-SLOT="0/12.2"
+SLOT="0/12.3"
IUSE="test +custom-cflags"
RESTRICT="!test? ( test )"
diff --git a/media-libs/gmmlib/metadata.xml b/media-libs/gmmlib/metadata.xml
index 79f6bc657e5..d2ff24e7cb4 100644
--- a/media-libs/gmmlib/metadata.xml
+++ b/media-libs/gmmlib/metadata.xml
@@ -2,17 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
- <email>media-video@gentoo.org</email>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>k2k@narod.ru</email>
- <name>Evgeny Grin</name>
- </maintainer>
- <maintainer type="person">
- <email>conikost@gentoo.org</email>
- <name>Conrad Kostecki</name>
+ <email>vaapi@gentoo.org</email>
+ <name>VA-API Project</name>
</maintainer>
<use>
<flag name="custom-cflags">Do not override user CFLAGS like -march, -msse and similar with lib defaults. Not tested by upstream.</flag>
</use>
+ <upstream>
+ <remote-id type="github">intel/gmmlib</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/graphene/graphene-1.10.8.ebuild b/media-libs/graphene/graphene-1.10.8.ebuild
index b58eb66e02b..b947ad50d2a 100644
--- a/media-libs/graphene/graphene-1.10.8.ebuild
+++ b/media-libs/graphene/graphene-1.10.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit xdg-utils meson-multilib python-any-r1
DESCRIPTION="A thin layer of types for graphic libraries"
diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest
index b54f4cef3b5..9160f2d8b1a 100644
--- a/media-libs/grilo/Manifest
+++ b/media-libs/grilo/Manifest
@@ -1,2 +1 @@
-DIST grilo-0.3.14.tar.xz 236620 BLAKE2B 25c81fb9b4ebce456f24aea19518d0a9c3b98a216e50fe9cbe9fa8b7e089535b5d695fb915497e8f812a0fc964b1f2b591fb0c0e382771af88318d94dd659fe8 SHA512 128464e51040ea121b19640c708fa996743a18e047ab11d4c3047db7d24732eac6da65393c16f987e834cb301385ef0c349eb0fabd7d67b2d10a230c8f03492a
DIST grilo-0.3.15.tar.xz 241428 BLAKE2B 6b8841924c1b555abfcb852eddcaddaf0ea85dfe2922420e0e06b8fe2ea4fd4d8d5da47b011fd4c2f9c4edbe4fc08b36a3dd3c3779a92a0bd44abef3c3bffd9e SHA512 98616c1600bb7d7f5c92bbdc9b85d57da1e416f9207e60ad9b6c305c989f6d4ff6b21963f8f8c69f0daca68bf9d91b3397addfd0cea62f0553977fc0e69b2c31
diff --git a/media-libs/grilo/grilo-0.3.14.ebuild b/media-libs/grilo/grilo-0.3.14.ebuild
deleted file mode 100644
index 53e6714a22d..00000000000
--- a/media-libs/grilo/grilo-0.3.14.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..10} )
-VALA_USE_DEPEND="vapigen"
-
-inherit gnome.org meson python-any-r1 vala xdg
-
-DESCRIPTION="A framework for easy media discovery and browsing"
-HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
-
-LICENSE="LGPL-2.1+"
-SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
-
-IUSE="gtk gtk-doc +introspection +playlist test vala"
-REQUIRED_USE="vala? ( introspection )"
-RESTRICT="!test? ( test )"
-
-# oauth could be optional if meson is patched - used for flickr oauth in grilo-test-ui tool
-RDEPEND="
- >=dev-libs/glib-2.58:2
- dev-libs/libxml2:2
- >=net-libs/libsoup-2.41.3:2.4[introspection?]
- playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
- introspection? ( >=dev-libs/gobject-introspection-1.54:= )
-
- gtk? (
- net-libs/liboauth
- >=x11-libs/gtk+-3.14:3
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
- gtk-doc? (
- >=dev-util/gtk-doc-1.10
- app-text/docbook-xml-dtd:4.3
- )
- ${PYTHON_DEPS}
- test? ( sys-apps/dbus )
- vala? ( $(vala_depend) )
-"
-
-src_prepare() {
- sed -i -e "s:'GETTEXT_PACKAGE', meson.project_name():'GETTEXT_PACKAGE', 'grilo-${SLOT%/*}':" meson.build || die
- sed -i -e "s:meson.project_name():'grilo-${SLOT%/*}':" po/meson.build || die
- sed -i -e "s:'grilo':'grilo-${SLOT%/*}':" doc/grilo/meson.build || die
-
- # Drop explicit unversioned vapigen check
- sed -i -e "/find_program.*vapigen/d" meson.build || die
-
- # Don't build examples; they get embedded in gtk-doc, thus we don't install the sources with USE=examples either
- sed -i -e "/subdir('examples')/d" meson.build || die
-
- xdg_src_prepare
- use vala && vala_src_prepare
-}
-
-src_configure() {
- local emesonargs=(
- -Denable-grl-net=true # Fails to build
- $(meson_use playlist enable-grl-pls)
- $(meson_use gtk-doc enable-gtk-doc)
- $(meson_use introspection enable-introspection)
- $(meson_use gtk enable-test-ui)
- $(meson_use vala enable-vala)
- )
- meson_src_configure
-}
-
-src_test() {
- dbus-run-session meson test -C "${BUILD_DIR}" || die
-}
diff --git a/media-libs/grilo/grilo-0.3.15.ebuild b/media-libs/grilo/grilo-0.3.15.ebuild
index 882ff4e098e..665915f82ee 100644
--- a/media-libs/grilo/grilo-0.3.15.ebuild
+++ b/media-libs/grilo/grilo-0.3.15.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit gnome.org meson python-any-r1 vala xdg
diff --git a/media-libs/grilo/metadata.xml b/media-libs/grilo/metadata.xml
index c56c7588184..6e7590f6d34 100644
--- a/media-libs/grilo/metadata.xml
+++ b/media-libs/grilo/metadata.xml
@@ -1,16 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
- </maintainer>
- <use>
- <flag name="playlist">Enable support for playlists through
- <pkg>dev-libs/totem-pl-parser</pkg></flag>
- </use>
- <longdescription lang="en">Grilo is a framework that provides access to various sources of multimedia
-content, using a pluggable system. It is focused on making media discovery
-and browsing easy for application developers.
- </longdescription>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="playlist">Enable support for playlists through <pkg>dev-libs/totem-pl-parser</pkg></flag>
+ </use>
+ <longdescription lang="en">
+ Grilo is a framework that provides access to various sources of multimedia
+ content, using a pluggable system. It is focused on making media discovery
+ and browsing easy for application developers.
+ </longdescription>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/grilo</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/gsound/metadata.xml b/media-libs/gsound/metadata.xml
index c6e394b17a2..98a619b586c 100644
--- a/media-libs/gsound/metadata.xml
+++ b/media-libs/gsound/metadata.xml
@@ -5,4 +5,7 @@
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gsound</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest
index fdff776ab51..c06a8695481 100644
--- a/media-libs/gst-plugins-bad/Manifest
+++ b/media-libs/gst-plugins-bad/Manifest
@@ -1,2 +1,3 @@
-DIST gst-plugins-bad-1.20.2.tar.xz 6216208 BLAKE2B bbbe77a1255991a2f96696996fb0c99f14f6d63fef455feb1ce90ae518bb9f80fd61bcfb223c20407b8d6240faaa93478495f8e9fda16fab36a311d167e88e25 SHA512 3f98973dc07ead745418e0a30f9f6b5c8d328e3d126f54d92c10ab5da04271768a5c5dffc36ea24ccf8fb516b1e3733be9fb18dc0db419dea4d37d17018f8a70
DIST gst-plugins-bad-1.20.3.tar.xz 6222824 BLAKE2B 01aae59adbe76b8e50a49fb8bb8037e6f3aa93cbc2b658aab05ebbf30f8d1aef98c1981712caa39e3c9d08f1e0c9d76f2f874f7d2fdd994b3a0735b2809eafdf SHA512 cfcf126eabff550455decd7054a269b73489708c10a6b6090dddb5fde29bfba07ed330c339927ff170e025fa3a08d2ffb822322dc3798679366207a54132c71b
+DIST gst-plugins-bad-1.20.4.tar.xz 6229992 BLAKE2B 2cd276cec9991e2ca7367a43024d7aee43adaa185a4a06ec08d1e736e72333f7f38cb54257120b9a313feb1fdc285a50d456b4c1fb33627d83acfcd3ece20687 SHA512 31b28d4a1bbecf021a90f2aa49dd344ccea12533b65f3bf3a8426ca2175469fff7b7f8e08af7d3d22c18db2fe48b9d5fbea2b325d296aee04b019cebef1eaec4
+DIST gst-plugins-bad-1.20.5.tar.xz 6237720 BLAKE2B bf379da420d1f7f148cf51373f6f2d0800685487c8bdb7a768e79e0a2e4f1721053922be9321958b4ce318de12ea390de4cd89c345329ac41dd0425815e0e7f6 SHA512 4b4603d755d17a0fa072d771521bdcbf554fc9abdc8105b9d9189062e5725ae2989f430e1de77363a69d8c969ecbf15e73e9c478fabe8efac83b2d9b1b0a4a0a
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.3.ebuild
index af5497cddcb..d2f03ca08ae 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.3.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.3.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GST_ORG_MODULE="gst-plugins-bad"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{9,10} )
inherit gstreamer-meson python-any-r1
DESCRIPTION="Less plugins for GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
# TODO: egl and gtk IUSE only for transition
IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild
index 870e4d51504..677f85dd750 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.2.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GST_ORG_MODULE="gst-plugins-bad"
-PYTHON_COMPAT=( python3_{8,9,10} )
-inherit flag-o-matic gstreamer-meson python-any-r1
+PYTHON_COMPAT=( python3_{9,10,11} )
+inherit gstreamer-meson python-any-r1
DESCRIPTION="Less plugins for GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
@@ -13,7 +13,7 @@ LICENSE="LGPL-2"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
# TODO: egl and gtk IUSE only for transition
-IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant
+IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant
# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin
# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here)
@@ -33,6 +33,8 @@ RDEPEND="
)
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+
+ qsv? ( media-libs/oneVPL[wayland?,X?] )
"
DEPEND="${RDEPEND}"
@@ -57,7 +59,7 @@ src_prepare() {
}
multilib_src_configure() {
- GST_PLUGINS_NOAUTO="shm ipcpipeline librfb hls"
+ GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls"
local emesonargs=(
-Dshm=enabled
@@ -68,6 +70,16 @@ multilib_src_configure() {
$(meson_feature wayland)
)
+ # Quick Sync Video is amd64 native only
+ if use qsv && multilib_is_native_abi; then
+ emesonargs+=(
+ -Dmsdk=enabled
+ -Dmfx_api=oneVPL
+ )
+ else
+ emesonargs+=( -Dmsdk=disabled )
+ fi
+
if use opengl || use gles2; then
myconf+=( -Dgl=enabled )
else
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5.ebuild
new file mode 100644
index 00000000000..0ec9ff0784c
--- /dev/null
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE="gst-plugins-bad"
+PYTHON_COMPAT=( python3_{8,9,10,11} )
+inherit gstreamer-meson python-any-r1
+
+DESCRIPTION="Less plugins for GStreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# TODO: egl and gtk IUSE only for transition
+IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant
+
+# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin
+# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here)
+# FIXME gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] )
+RDEPEND="
+ !media-plugins/gst-transcoder
+ >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=]
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
+ vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) )
+ wayland? (
+ >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}]
+ >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}]
+ >=dev-libs/wayland-protocols-1.15
+ )
+
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+
+ qsv? ( media-libs/oneVPL[wayland?,X?] )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/glib-utils
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
+
+# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL)
+RESTRICT="test"
+
+# Fixes backported to 1.20.1, to be removed in 1.20.2+
+PATCHES=(
+)
+
+src_prepare() {
+ default
+ addpredict /dev # Prevent sandbox violations bug #570624
+}
+
+multilib_src_configure() {
+ GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls"
+
+ local emesonargs=(
+ -Dshm=enabled
+ -Dipcpipeline=enabled
+ -Dhls=disabled
+ $(meson_feature vnc librfb)
+
+ $(meson_feature wayland)
+ )
+
+ # Quick Sync Video is amd64 native only
+ if use qsv && multilib_is_native_abi; then
+ emesonargs+=(
+ -Dmsdk=enabled
+ -Dmfx_api=oneVPL
+ )
+ else
+ emesonargs+=( -Dmsdk=disabled )
+ fi
+
+ if use opengl || use gles2; then
+ myconf+=( -Dgl=enabled )
+ else
+ myconf+=( -Dgl=disabled )
+ fi
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_test() {
+ # Tests are slower than upstream expects
+ CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml
index bad90bcb4b3..6749b9b0247 100644
--- a/media-libs/gst-plugins-bad/metadata.xml
+++ b/media-libs/gst-plugins-bad/metadata.xml
@@ -9,5 +9,6 @@
<flag name="bzip2">Enable bzip2 encoder/decoder plugin</flag>
<flag name="egl">Enable EGL support</flag>
<flag name="gles2">Enable GLES2 support</flag>
+ <flag name="qsv">Enable Intel Quick Sync Video using the <pkg>media-libs/oneVPL</pkg> dispatcher</flag>
</use>
</pkgmetadata>
diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest
index 6babf7dbe04..b82c8695e9d 100644
--- a/media-libs/gst-plugins-base/Manifest
+++ b/media-libs/gst-plugins-base/Manifest
@@ -1,2 +1,3 @@
-DIST gst-plugins-base-1.20.2.tar.xz 3295552 BLAKE2B 23b306c566cdd57e31b84082bd14c93e84a10329d83ac71365c0ba7f523d1415ac36aa8217c982abe0c33a40da6e884fac66737227eb794b5bc0c64944d7ea36 SHA512 144ae965a3e487c70e9ac55099ae49f54bff7110d5a92867ebe8a91760dd94fb7f13dc23f34e55923c2150012f81b55be22c840fe89d97e4e78290cb6d51bc51
DIST gst-plugins-base-1.20.3.tar.xz 3299976 BLAKE2B b397867561df763d5e762069c6ad20298857d4a30727a18a60e8df9a53658e52f6a189c3426d0f51a16e7cee1834b402470ecb0284aca65ecaa0300dc79d0c8a SHA512 258294291cb9b406c17dfe4e5c1ca9061580d0789293355c9b43d558630d360097b6867287edf1688f3edaf50b5900cdd177c1429c122a0415c56da8b0f21ed1
+DIST gst-plugins-base-1.20.4.tar.xz 3307224 BLAKE2B f6e9bd3366a4a8213c1447433f13a8e432d749df250216fed37453ac291c35340114edf8113fb790d9c947793ac97185e44dd5f130be1cfc699800214e87dd87 SHA512 4a5d8ce8b2a530065e65842f7a0c7b6b63744e584baff0e795863d9967beb43c086a1d5f551702a9f1ac20e0ed4ce9bc4cf4e811a949c459c258ae5eee1426c9
+DIST gst-plugins-base-1.20.5.tar.xz 3312340 BLAKE2B 299ecef5ee872a3ed9904faede8fa81eb25fd78912a66106787c5f0c64c25880ed606593276cb08717a2b4637a70c1815956bafb0139747ea6f2cef7abbefb76 SHA512 63710fd44b26c026d8c6a572df369593809adbe5484ae12774208efb3d335e9b79c512a324464a4b76607a7503b4b89fca7f10bbb07843b7c69d559fb760b550
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.20.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.20.3.ebuild
index b43dcf60339..7e19652aa2f 100644
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.20.3.ebuild
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.20.3.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="GPL-2+ LGPL-2+"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
# For OpenGL we have three separate concepts, with a list of possibilities in each:
# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.20.2.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.20.4.ebuild
index 7e19652aa2f..d398c04a4cb 100644
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.20.2.ebuild
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.20.4.ebuild
@@ -62,7 +62,9 @@ GL_DEPS="
" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element
# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}]
+# The >=gstreamer-1.20.4 is a one-time need over eclass due to added API in upstream MR !3090, drop for 1.22
RDEPEND="
+ >=media-libs/gstreamer-1.20.4[${MULTILIB_USEDEP}]
app-text/iso-codes
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.20.5.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.20.5.ebuild
new file mode 100644
index 00000000000..710fe53e4c4
--- /dev/null
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.20.5.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE="gst-plugins-base"
+
+inherit flag-o-matic gstreamer-meson
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="GPL-2+ LGPL-2+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+# For OpenGL we have three separate concepts, with a list of possibilities in each:
+# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant
+# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams.
+# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches
+# With the following limitations:
+# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl
+# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case
+# * glx platform requires opengl API
+# * wayland, gbm and most other non-glx WSIs require egl platform
+# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options;
+# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader;
+# and libpng/jpeg are required for gloverlay element;
+
+# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad
+IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X"
+GL_REQUIRED_USE="
+ || ( gbm wayland X )
+ wayland? ( egl )
+ gbm? ( egl )
+"
+REQUIRED_USE="
+ ivorbis? ( ogg )
+ theora? ( ogg )
+ vorbis? ( ogg )
+ opengl? ( || ( egl X ) ${GL_REQUIRED_USE} )
+ gles2? ( egl ${GL_REQUIRED_USE} )
+"
+
+# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl)
+# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options
+GL_DEPS="
+ >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}]
+ egl? (
+ x11-libs/libdrm
+ )
+ gbm? (
+ >=dev-libs/libgudev-147[${MULTILIB_USEDEP}]
+ >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}]
+ )
+ wayland? (
+ >=dev-libs/wayland-1.20.0[${MULTILIB_USEDEP}]
+ >=dev-libs/wayland-protocols-1.15
+ )
+
+ >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}]
+ media-libs/libpng:0[${MULTILIB_USEDEP}]
+ media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}]
+" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element
+# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}]
+
+# The >=gstreamer-1.20.4 is a one-time need over eclass due to added API in upstream MR !3090, drop for 1.22
+RDEPEND="
+ >=media-libs/gstreamer-1.20.4[${MULTILIB_USEDEP}]
+ app-text/iso-codes
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+ ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] )
+ ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )
+ orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] )
+ pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] )
+ theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] )
+ vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
+ )
+
+ gles2? ( ${GL_DEPS} )
+ opengl? ( ${GL_DEPS} )
+
+ !<media-libs/gst-plugins-bad-1.15.0:1.0
+"
+DEPEND="${RDEPEND}
+ dev-util/glib-utils
+ X? ( x11-base/xorg-proto )
+"
+
+DOCS=( AUTHORS NEWS README.md RELEASE )
+
+# Fixes backported to 1.20.1, to be removed in 1.20.2+
+PATCHES=(
+)
+
+multilib_src_configure() {
+ filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340
+
+ # opus: split to media-plugins/gst-plugins-opus
+ GST_PLUGINS_NOAUTO="alsa ogg pango theora vorbis x11 xshm xvideo"
+
+ local emesonargs=(
+ -Dtools=enabled
+
+ $(meson_feature alsa)
+ $(meson_feature ogg)
+ $(meson_feature orc)
+ $(meson_feature pango)
+ $(meson_feature theora)
+ $(meson_feature vorbis)
+ $(meson_feature X x11)
+ $(meson_feature X xshm)
+ $(meson_feature X xvideo)
+ )
+
+ if use opengl || use gles2; then
+ # because meson doesn't likes extraneous commas
+ local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) )
+ local gl_platform=( $(use X && echo glx) $(use egl && echo egl) )
+ local gl_winsys=(
+ $(use X && echo x11)
+ $(use wayland && echo wayland)
+ $(use egl && echo egl)
+ $(use gbm && echo gbm)
+ )
+
+ emesonargs+=(
+ -Dgl=enabled
+ -Dgl-graphene=enabled
+ -Dgl_api=$(IFS=, ; echo "${gl_api[*]}")
+ -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}")
+ -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}")
+ )
+ else
+ emesonargs+=(
+ -Dgl=disabled
+ -Dgl_api=
+ -Dgl_platform=
+ -Dgl_winsys=
+ )
+ fi
+
+ # Workaround EGL/eglplatform.h being built with X11 present
+ use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11"
+
+ gstreamer_multilib_src_configure
+}
diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest
index 8035d1759b4..baa73aa4d7a 100644
--- a/media-libs/gst-plugins-good/Manifest
+++ b/media-libs/gst-plugins-good/Manifest
@@ -1,2 +1,3 @@
-DIST gst-plugins-good-1.20.2.tar.xz 3411008 BLAKE2B 45eb497d240bf9b05cfbf85babe5ef85fb8a7f25f1b470f131f319064e1dc04f334d4b7dede4f0aedd73dca01605b7e00e2ddc587bcf9ccce6989a9e99776cb1 SHA512 a10ea48fdfbe741e9bc63036b011748558f89968aaa525380ac99884c27463d190c0b49e2d98b4f554eee6ead8a5c5da3ba62e5b0b1fe54877598beccc68a933
DIST gst-plugins-good-1.20.3.tar.xz 3417252 BLAKE2B 5f288541598d2c308fbb1d5e36e54e8dd4c6e9d7dd71f41b778fbdfe883ed48e8d13fa53d05518cc671de029d804f7dc1d93396de9d199d45ec131230926d33c SHA512 98bb2dd428edaa1a5846fb47b1f42a1e99541faf05cdb0fb632d4a1a1e4fb2c1f9d1229bf0aa2ddcbce139533e9fd51f8f9a1175cd8a8729c5179750ca84afa1
+DIST gst-plugins-good-1.20.4.tar.xz 3424532 BLAKE2B 2b9fa0227c13c6a81a91b4d337c3d52d6e8bd63d04710ee6bc45ec7b70de3f35c57148786356e08a253b1bbc9473411d9b0f1346433396e2403680690823c06f SHA512 d1a1d3a161fc33ecfae2b1336391571210511926a5017ea512a0bef7ab3577fb98326a96b6c5a2ffb48c8e2c7c3bf8e957e489edd0cf44e8ed8518656768c7ce
+DIST gst-plugins-good-1.20.5.tar.xz 3439904 BLAKE2B 682f8577ad048d5db5a3517fa2d3615ea902507b9aedf45da9b12e77d993e2200fd85014fd0ed9a602dfae2a1cfc420158d7d309a4b4106ac1e7b3165ef73ec9 SHA512 d8a4f4605f1da9199a6fa3cde065f5d4c550772cf085e9e05ed5ff6e44b0375d72f473a9c73346ce329f924a0b58e386358f5045ac0bee767117ef28a9f1b394
diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.20.3.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.20.3.ebuild
index 5cc2aad7e04..85f61388d9b 100644
--- a/media-libs/gst-plugins-good/gst-plugins-good-1.20.3.ebuild
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.20.3.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2.1+"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="+orc"
RDEPEND="
diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.20.2.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.20.4.ebuild
index b3eaaf22d0c..85f61388d9b 100644
--- a/media-libs/gst-plugins-good/gst-plugins-good-1.20.2.ebuild
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.20.4.ebuild
@@ -4,7 +4,7 @@
EAPI=7
GST_ORG_MODULE="gst-plugins-good"
-inherit flag-o-matic gstreamer-meson
+inherit gstreamer-meson
DESCRIPTION="Basepack of plugins for GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.20.5.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.20.5.ebuild
new file mode 100644
index 00000000000..5910475e423
--- /dev/null
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.20.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE="gst-plugins-good"
+
+inherit gstreamer-meson
+
+DESCRIPTION="Basepack of plugins for GStreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+orc"
+
+RDEPEND="
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
+
+# Fixes backported to 1.20.1, to be removed in 1.20.2+
+PATCHES=(
+)
+
+multilib_src_configure() {
+ GST_PLUGINS_NOAUTO="bz2"
+
+ local emesonargs=(
+ -Dbz2=enabled
+
+ # gst-plugins-ximagesrc
+ -Dximagesrc=disabled
+ -Dximagesrc-xshm=disabled
+ -Dximagesrc-xfixes=disabled
+ -Dximagesrc-xdamage=disabled
+
+ # gst-plugins-v4l2
+ -Dv4l2=disabled
+ )
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/gst-plugins-ugly/Manifest b/media-libs/gst-plugins-ugly/Manifest
index ceae65b961a..1dc6cc2cc54 100644
--- a/media-libs/gst-plugins-ugly/Manifest
+++ b/media-libs/gst-plugins-ugly/Manifest
@@ -1,2 +1,3 @@
-DIST gst-plugins-ugly-1.20.2.tar.xz 506672 BLAKE2B d1ca3075182a7fe431884c29f12ce9ec60bea3fa0e701a02981f1bf4f6ba393890712373be7a5f0b76734ccf80a5dc1240f62505f2ffe1ab12f1a314ce82bbe4 SHA512 bbe6c60003dc180084995aa00c8aefc5238f9e826db03f5cadac4a39900f2e9ca529b8f63787ca59c830e12bf4f426408b185ca228bd5e9255c2a4f452a48d6a
DIST gst-plugins-ugly-1.20.3.tar.xz 508272 BLAKE2B 6aa1859e89e40f1b9595ccf0b7db3b91dcf82f68c2f659c48987ac3144ff9a4aefc2fc37a3a0850f2487190f7ff957a44ab3d0333a33850c3ac36dbd0f7a2ade SHA512 6a18bcd8d90060d14f07dc9f3ac014f7a06a7da13568ddcf871916f3d47878ab73929b71a9863bc7ec08b3ff9418404703c9423100ee844fafd1026ea0be0fb8
+DIST gst-plugins-ugly-1.20.4.tar.xz 511484 BLAKE2B 27f7079a975cf4231512d3597f47a308ebb72b0735dab571f6f3715cf86f746e2254688b566b61e1bc7eab8a2721eff89a83611313face2ed5f44ce832f9443a SHA512 08858d9a2c0a8ecb15acbb7e87c1bf505944887e08ac162f805612f94d34d040fb90bbf612c74e6d8749f0fd00aa30f8506efe8d4c4d6fbbb88a6e50d8a5e07a
+DIST gst-plugins-ugly-1.20.5.tar.xz 514168 BLAKE2B aac51e1494660b94d732ad5e6ef0a9bf7a3eadd07f22607ba41cde8fb70ef4fbc622abf8b782a76e027082da543835bd679e9ee01c20e7a32539647acc793e6f SHA512 071b9a1de3bf67554995a0a743cabf576be15d2f56d8d121473c5892c9c18211902c314567014242618b0f764356df0a66de9997bbb19265d047653b9ee0178d
diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.3.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.3.ebuild
index 3ca3d31a2d1..c7d66b14579 100644
--- a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.3.ebuild
+++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.3.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GST_ORG_MODULE="gst-plugins-ugly"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{9,10} )
inherit gstreamer-meson python-any-r1
DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE=""
diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.2.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.4.ebuild
index 5d44634e14d..32488dd1d0e 100644
--- a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.2.ebuild
+++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.4.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GST_ORG_MODULE="gst-plugins-ugly"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{9,10,11} )
inherit gstreamer-meson python-any-r1
DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
-IUSE="+orc"
+IUSE=""
RDEPEND="
>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.5.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.5.ebuild
new file mode 100644
index 00000000000..784791da042
--- /dev/null
+++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.20.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE="gst-plugins-ugly"
+PYTHON_COMPAT=( python3_{8,9,10,11} )
+inherit gstreamer-meson python-any-r1
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE=""
+
+RDEPEND="
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest
index 1accd226dc1..c5cbd866fe7 100644
--- a/media-libs/gst-rtsp-server/Manifest
+++ b/media-libs/gst-rtsp-server/Manifest
@@ -1,3 +1,3 @@
-DIST gst-rtsp-server-1.16.3.tar.xz 699472 BLAKE2B 8937ce9d0550b11657496dec5a79c00f74de4da9deb9236693a25f4e266a779c8d4f439b127c2af87c874327e10f01f6a1d74fc1cd1bd0eca20093341568cb82 SHA512 f9ca08cfef92b74a63279a5480cfc1b18557f3062aadc765dd4d3de57d62b9ddf3ca98a4680dcd0f050812128c5c03592cdbf9d8329b85a6c2f3a39209c07701
-DIST gst-rtsp-server-1.20.2.tar.xz 360388 BLAKE2B 6593a83e8746001c26abe623608390448f8cbe6710e3215eeea483940a2fb544617ac159a2e03ba3c84918d8132fbad1a91d638491a226dd13e83f87a3219d7d SHA512 fac3338603f1e31cb1da3c163784fbed1663e0cee722b47c3a6bb369296e5fbff3fdc9925952fe387d51f05ffaeef2a7400369a7006b805f3cb8b454566642bd
DIST gst-rtsp-server-1.20.3.tar.xz 362348 BLAKE2B 45d5ff58d76b9b83baa6e5956976e1fdc10dae3200d30a877a26ddafda4f919ecaeca85fceec6fb3b7802303d152087d3f5813f6e3bf36a941a0c46fceeb1292 SHA512 15baf83d77d57d1e2517feffad68b4508e7a959863b5e6fa3d0f564c81786df8d3c1e57d8b8a9f9b623e19212feb137dfe89d8e385f518c86f205c4461802007
+DIST gst-rtsp-server-1.20.4.tar.xz 366208 BLAKE2B 0fec083dd18a2979a311dc69b54a580520e27fb11e35e529d2e1be2823c130ce6b2d27a715d67617fe04d81641e31d7fe8e3f6c38a3e17c4d4acee1415f33d60 SHA512 85952e5d8febb1df1a558a55bb3840a9574f5cbb83e777072b556b96a62dfaf83ccc9e3ed38604f07b7ff797da2b609d7ed9422f3b01faaf783709c012803b9a
+DIST gst-rtsp-server-1.20.5.tar.xz 368960 BLAKE2B f4e3bb1f7df79a631d39b459c43000a2185d81754fba48ef5e44c1786a2b67f03f4b9fce7c37c6301dd282e7784f3ff1ccb53b947719417c87adf8ed1cefd01d SHA512 826259c13610d61d07c5052d7601b3e6814604e81f47c0e5c0023ccc3b89da612f6d6e6c931b7e866ebc22fb4c4038734f8940b2573eca00a9185bd979256a15
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.16.3.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.16.3.ebuild
deleted file mode 100644
index ff4af3a6f2c..00000000000
--- a/media-libs/gst-rtsp-server/gst-rtsp-server-1.16.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gstreamer
-
-DESCRIPTION="A GStreamer based RTSP server"
-HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
-
-LICENSE="LGPL-2+"
-KEYWORDS="amd64 x86"
-IUSE="examples +introspection static-libs"
-
-# gst-plugins-base for many used elements and API
-# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more
-# gst-plugins-srtp for srtpenc and srtpdec elements
-RDEPEND="
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
- >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
- >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
- >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}]
- >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
-"
-DEPEND="${RDEPEND}
- >=dev-util/gtk-doc-am-1.12
-"
-
-# Due to gstreamer src_configure
-QA_CONFIGURE_OPTIONS="--enable-nls"
-
-multilib_src_configure() {
- # debug: only adds -g to CFLAGS
- # docbook: nothing behind that switch
- # libcgroup is automagic and only used in examples
- gstreamer_multilib_src_configure \
- --disable-debug \
- --disable-valgrind \
- --disable-examples \
- --disable-docbook \
- --disable-gtk-doc \
- $(multilib_native_use_enable introspection) \
- $(use_enable static-libs static) \
- --disable-tests \
- LIBCGROUP_LIBS= \
- LIBCGROUP_FLAGS=
-
- # work-around gtk-doc out-of-source brokedness
- if multilib_is_native_abi ; then
- ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die
- fi
-}
-
-multilib_src_install() {
- emake install DESTDIR="${D}"
- # Handle broken upstream modifications to defaults of gtk-doc
- emake install -C docs/libs DESTDIR="${D}"
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-
- if use examples ; then
- docinto examples
- dodoc "${S}"/examples/*.c
- fi
-}
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.2.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.4.ebuild
index a3988b35e32..a3988b35e32 100644
--- a/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.2.ebuild
+++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.4.ebuild
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.5.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.5.ebuild
new file mode 100644
index 00000000000..03591f7468a
--- /dev/null
+++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.20.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gstreamer-meson
+
+DESCRIPTION="A GStreamer based RTSP server"
+HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples +introspection static-libs"
+
+# gst-plugins-base for many used elements and API
+# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more
+# gst-plugins-srtp for srtpenc and srtpdec elements
+RDEPEND="
+ >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dintrospection=$(multilib_native_usex introspection enabled disabled)
+ )
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use examples ; then
+ docinto examples
+ dodoc "${S}"/examples/*.c
+ fi
+}
diff --git a/media-libs/gstreamer-editing-services/Manifest b/media-libs/gstreamer-editing-services/Manifest
index 5147a131905..be61fa6be3a 100644
--- a/media-libs/gstreamer-editing-services/Manifest
+++ b/media-libs/gstreamer-editing-services/Manifest
@@ -1,3 +1,3 @@
-DIST gst-editing-services-1.20.2.tar.xz 977092 BLAKE2B f64a922006ac4d8dde429a718a7e41360c83af1a6854baf68fbd2372ac3aa852f47cc986ae58fe6564044dee00484aaa36d66cd4d3f5ffe34153446b38c7d476 SHA512 a9f9dd196d838fab8727de6fd0c52fde6a1b56ba801b7b608e0f2d30abc38bf586f02c20bedcb1ba384089cf97e8d0db1719ed1c9e8c18c7e56ff732bb8e5de5
DIST gst-editing-services-1.20.3.tar.xz 979284 BLAKE2B 3d512a7bc17273dcb55c3a0dd18326fd8069c6eab9fe8c91e79b10b69000ab21ed3c7cffa0c480d2a047637cd84d5a6f08fea3c264ff5cab16a70c133a6c6223 SHA512 380cea0abda043a5aaee11981c85a03e59f4a5ac9221342c09d1875477dc327210ad0705e537538a981bef4de99b1aa7ac92fb37c77fc60b44219d673f97f56f
-DIST gstreamer-editing-services-1.16.3.tar.xz 1091208 BLAKE2B d88bed4e8958a6bad05aab8d6c19cd737c6812e0780c420fd144d58fe416cd5dbd01e019c3fc53417d65cb2d6e100de123dc8183c8c3dab329fd677ba55644c5 SHA512 c84cc2dab2b1644ab118794b7aeb98748f893a26070359850f48e87cf362fd53b54baf8754a07e1d412cacb85cf9cfcafb3cf10d79c67bbe077e4d763f9703ef
+DIST gst-editing-services-1.20.4.tar.xz 982400 BLAKE2B 00ce8918be05dd2a417eaa61ff7994b8ec169149e46fc90062a816bdf3680a6946cf04aed4867b00869fea3e533169335fbf247d0a061e6a214e0c6b7a2e47cb SHA512 6322f5da61a9004480392169a40790fb0e4b50350e960d5d6383dd431f58fe8452b9ab163cbf7307fe12fbdc5a6276f670af4ad02528799e689b490880f10a8c
+DIST gst-editing-services-1.20.5.tar.xz 985412 BLAKE2B 6fd98769889f7ba41927dcd5673b68dc1a24911e4c222088895739e5074ee589a8e7dc33ac753dbe1297a508037d8384bc5975f82b2606f6151b69b344a8c3f3 SHA512 947101969a9a6e458162a64ef857a1ec9aee39b7b7d42ab092cedaafcdc9d9e8dd85159f9f8a0280b17a52943598c90a6a79f638f825741ce411a8e407ea2408
diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild
deleted file mode 100644
index ea68e1b65af..00000000000
--- a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-GNOME2_LA_PUNT="yes"
-
-inherit bash-completion-r1 gnome2 python-r1
-
-DESCRIPTION="SDK for making video editors and more"
-HOMEPAGE="http://wiki.pitivi.org/wiki/GES"
-SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+"
-SLOT="1.0"
-KEYWORDS="amd64 x86"
-
-IUSE="+introspection"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- >=dev-libs/glib-2.40.0:2
- dev-libs/libxml2:2
- >=media-libs/gstreamer-${PV}:1.0[introspection?]
- >=media-libs/gst-plugins-base-${PV}:1.0[introspection?]
- introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=dev-util/gtk-doc-am-1.3
- virtual/pkgconfig
-"
-# XXX: tests do pass but need g-e-s to be installed due to missing
-# AM_TEST_ENVIRONMENT setup.
-RESTRICT="test"
-
-src_prepare() {
- gnome2_src_prepare
- # Install python overrides manually for each python and old upstream
- # autotools code prefers python2 and installs in wrong location
- sed -e '/WITH_PYTHON/d' -i bindings/Makefile.in || die
-}
-
-src_configure() {
- # gtk is only used for examples
- gnome2_src_configure \
- $(use_enable introspection) \
- --disable-examples \
- --with-bash-completion-dir="$(get_bashcompdir)" \
- --with-package-name="GStreamer editing services ebuild for Gentoo" \
- --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer-editing-services"
-}
-
-src_compile() {
- # Prevent sandbox violations, bug #538888
- # https://bugzilla.gnome.org/show_bug.cgi?id=744135
- # https://bugzilla.gnome.org/show_bug.cgi?id=744134
- addpredict /dev
- gnome2_src_compile
-}
-
-src_install() {
- gnome2_src_install
- python_moduleinto gi.overrides
- python_foreach_impl python_domodule bindings/python/gi/overrides/GES.py
-}
diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.3.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.3.ebuild
index d7fd494b7b5..dacb69c6484 100644
--- a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.3.ebuild
+++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
inherit meson python-r1
diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.2.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.4.ebuild
index d7fd494b7b5..204f2d99d73 100644
--- a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.2.ebuild
+++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+EAPI=7
+PYTHON_COMPAT=( python3_{9..11} )
inherit meson python-r1
diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.5.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.5.ebuild
new file mode 100644
index 00000000000..2498e869283
--- /dev/null
+++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.20.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit meson python-r1
+
+DESCRIPTION="SDK for making video editors and more"
+HOMEPAGE="http://wiki.pitivi.org/wiki/GES"
+SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P/gstreamer/gst}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+introspection test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/glib-2.40.0:2
+ dev-libs/libxml2:2
+ >=media-libs/gstreamer-${PV}:1.0[introspection?]
+ >=media-libs/gst-plugins-base-${PV}:1.0[introspection?]
+ >=media-libs/gst-plugins-bad-${PV}:1.0[introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# Some tests are failing
+RESTRICT="test"
+
+S="${WORKDIR}"/${P/gstreamer/gst}
+
+src_configure() {
+ local emesonargs=(
+ -Ddoc=disabled # hotdoc not packaged
+ $(meson_feature introspection)
+ $(meson_feature test tests)
+ -Dbash-completion=disabled
+ -Dxptv=disabled
+ -Dpython=enabled
+ -Dvalidate=disabled
+ -Dexamples=disabled
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ python_moduleinto gi.overrides
+ python_foreach_impl python_domodule bindings/python/gi/overrides/GES.py
+}
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index e185260f4ba..996453d42e2 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,2 +1,3 @@
-DIST gstreamer-1.20.2.tar.xz 2677552 BLAKE2B 0e6a818fd900c4f0c2748f15262e1d166755e3c419dfa04d7fc4a434ad9a84474d0eb43b9cf0286008497d7ff3e5340b737aeafc45d2994d7c713d5a12e3e2e3 SHA512 994378b656fa593e134624d5d4d5014e78074199d80152eafce29bc09864bd6d0f32a31eafda6cb8caec60aa85b0bda7c42a8c3b388b47d59f2cf4bc729d551f
DIST gstreamer-1.20.3.tar.xz 2681088 BLAKE2B 423669ff2224cc5d9b979a1353eb1dbcaea5dacca374e83630abf23574f813cbecf5144cdd3209f638aeb50e6764004c3d8020db7f11b21726a9f4b56b513d10 SHA512 e93f9fbf2d7a839dcbe2030ed16dd53eb250741db7c2f1cea396c23e4fabf9a0caff6be4babf7c10aec4b56dc8319a970b1b0bfa6eea2e36aed3e6e1265d9278
+DIST gstreamer-1.20.4.tar.xz 2686324 BLAKE2B b54da03f93f0062df0ada5534f3eff8a37e4b41f404b4bdd466bb6371e3db61a40741d723392bcc7cf7f46cded26c5d8ca625748670ac98daec136b0fb76a810 SHA512 33ba08e67b21a3e2e5dc5caeeae66e561b9d64ae863331a209e711f60a652ba38635e8bb963336e73b9afd5cf38e17139fbf933ca621d040f0d6e22a18ba7ad8
+DIST gstreamer-1.20.5.tar.xz 2690968 BLAKE2B cca6385b1fcc10928ad19e587ebb6ce202097f4a33d79555c969d3906dacc7e5074fc8f42a0566e40aa333502764ad0b491d610c05ef1921ad370bf5f5883afd SHA512 90c5f5865877170bb0dc570e61c22c27dea5adae2d9c304227da266b5b5b2eccd98ed21943f14bb5dfe169f4e020b8ac457a5d540363dfe2547180f34a3c7b29
diff --git a/media-libs/gstreamer/files/gstreamer-1.20-loong.patch b/media-libs/gstreamer/files/gstreamer-1.20-loong.patch
deleted file mode 100644
index 833c217ca82..00000000000
--- a/media-libs/gstreamer/files/gstreamer-1.20-loong.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2443,
-with file path tweaked to suit dist tarball layout.
-
-From: WANG Xuerui <xen0n@gentoo.org>
-Date: Wed, 18 May 2022 10:04:08 +0800
-Subject: [PATCH] gstreamer/gst/gstconfig.h.in: Add support for LoongArch
-
-While current and future LoongArch machines that are supposed to run
-GStreamer all support unaligned accesses, there might be future
-lower-end cores (e.g. the embedded product line) without such support,
-and we may not want to penalize these use cases.
-
-So, mark LoongArch as not supporting unaligned accesses for now, and
-hope the compilers do a good job optimizing them. We can always flip
-switch later.
-
-Suggested-by: CHEN Tao <redeast_cn@outlook.com>
---- a/gst/gstconfig.h.in
-+++ b/gst/gstconfig.h.in
-@@ -124,7 +124,7 @@
- * http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html#Vers6
- * https://software.intel.com/en-us/node/583402
- */
--#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) || defined(__riscv) || defined(__ARC64__)
-+#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) || defined(__riscv) || defined(__ARC64__) || defined(__loongarch__)
- # define GST_HAVE_UNALIGNED_ACCESS 0
- #elif defined(__i386__) || defined(__i386) || defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || defined(__s390__) || defined(__s390x__) || defined(__zarch__)
- # define GST_HAVE_UNALIGNED_ACCESS 1
diff --git a/media-libs/gstreamer/files/gstreamer-1.20.5-tests-race.patch b/media-libs/gstreamer/files/gstreamer-1.20.5-tests-race.patch
new file mode 100644
index 00000000000..05b183ec305
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-1.20.5-tests-race.patch
@@ -0,0 +1,293 @@
+https://bugs.gentoo.org/888986
+https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/ccd582c3321312fe96b28ce90fe6f2fd7adfa058
+
+From ccd582c3321312fe96b28ce90fe6f2fd7adfa058 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
+Date: Tue, 21 Jun 2022 11:51:35 +0300
+Subject: [PATCH] bin: Fix race conditions in tests
+
+The latency messages are non-deterministic and can arrive before/after
+async-done or during state-changes as they are posted by e.g. sinks from
+their streaming thread but bins are finishing asynchronous state changes
+from a secondary helper thread.
+
+To solve this, expect latency messages at any time and assert that we
+receive one at some point during the test.
+
+Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3647>
+--- a/tests/check/gst/gstbin.c
++++ b/tests/check/gst/gstbin.c
+@@ -27,50 +27,95 @@
+ #include <gst/base/gstbasesrc.h>
+
+ static void
+-pop_async_done (GstBus * bus)
++pop_async_done (GstBus * bus, gboolean * had_latency)
+ {
+ GstMessage *message;
++ GstMessageType types = GST_MESSAGE_ASYNC_DONE;
++
++ if (!*had_latency)
++ types |= GST_MESSAGE_LATENCY;
+
+ GST_DEBUG ("popping async-done message");
+- message = gst_bus_poll (bus, GST_MESSAGE_ASYNC_DONE, -1);
+
+- fail_unless (message && GST_MESSAGE_TYPE (message)
+- == GST_MESSAGE_ASYNC_DONE, "did not get GST_MESSAGE_ASYNC_DONE");
++ do {
++ message = gst_bus_poll (bus, types, -1);
+
+- gst_message_unref (message);
+- GST_DEBUG ("popped message");
++ fail_unless (message);
++ GST_DEBUG ("popped message %s",
++ gst_message_type_get_name (GST_MESSAGE_TYPE (message)));
++
++ if (GST_MESSAGE_TYPE (message) == GST_MESSAGE_LATENCY) {
++ fail_unless (*had_latency == FALSE);
++ *had_latency = TRUE;
++ gst_clear_message (&message);
++ types &= ~GST_MESSAGE_LATENCY;
++ continue;
++ }
++
++ fail_unless (GST_MESSAGE_TYPE (message)
++ == GST_MESSAGE_ASYNC_DONE, "did not get GST_MESSAGE_ASYNC_DONE");
++
++ gst_clear_message (&message);
++ break;
++ } while (TRUE);
+ }
+
+ static void
+-pop_latency (GstBus * bus)
++pop_latency (GstBus * bus, gboolean * had_latency)
+ {
+ GstMessage *message;
+
+- GST_DEBUG ("popping async-done message");
++ if (*had_latency)
++ return;
++
++ GST_DEBUG ("popping latency message");
+ message = gst_bus_poll (bus, GST_MESSAGE_LATENCY, -1);
+
+- fail_unless (message && GST_MESSAGE_TYPE (message)
++ fail_unless (message);
++ fail_unless (GST_MESSAGE_TYPE (message)
+ == GST_MESSAGE_LATENCY, "did not get GST_MESSAGE_LATENCY");
+
+- gst_message_unref (message);
+- GST_DEBUG ("popped message");
++ GST_DEBUG ("popped message %s",
++ gst_message_type_get_name (GST_MESSAGE_TYPE (message)));
++ gst_clear_message (&message);
++
++ *had_latency = TRUE;
+ }
+
+ static void
+-pop_state_changed (GstBus * bus, int count)
++pop_state_changed (GstBus * bus, int count, gboolean * had_latency)
+ {
+ GstMessage *message;
+-
++ GstMessageType types = GST_MESSAGE_STATE_CHANGED;
+ int i;
+
++ if (!*had_latency)
++ types |= GST_MESSAGE_LATENCY;
++
+ GST_DEBUG ("popping %d messages", count);
+ for (i = 0; i < count; ++i) {
+- message = gst_bus_poll (bus, GST_MESSAGE_STATE_CHANGED, -1);
+-
+- fail_unless (message && GST_MESSAGE_TYPE (message)
+- == GST_MESSAGE_STATE_CHANGED, "did not get GST_MESSAGE_STATE_CHANGED");
+-
+- gst_message_unref (message);
++ do {
++ message = gst_bus_poll (bus, types, -1);
++
++ fail_unless (message);
++ GST_DEBUG ("popped message %s",
++ gst_message_type_get_name (GST_MESSAGE_TYPE (message)));
++
++ if (GST_MESSAGE_TYPE (message) == GST_MESSAGE_LATENCY) {
++ fail_unless (*had_latency == FALSE);
++ *had_latency = TRUE;
++ gst_clear_message (&message);
++ types &= ~GST_MESSAGE_LATENCY;
++ continue;
++ }
++
++ fail_unless (GST_MESSAGE_TYPE (message)
++ == GST_MESSAGE_STATE_CHANGED,
++ "did not get GST_MESSAGE_STATE_CHANGED");
++
++ gst_message_unref (message);
++ break;
++ } while (TRUE);
+ }
+ GST_DEBUG ("popped %d messages", count);
+ }
+@@ -538,6 +583,7 @@ GST_START_TEST (test_message_state_changed_children)
+ GstBus *bus;
+ GstStateChangeReturn ret;
+ GstState current, pending;
++ gboolean had_latency = FALSE;
+
+ pipeline = GST_PIPELINE (gst_pipeline_new (NULL));
+ fail_unless (pipeline != NULL, "Could not create pipeline");
+@@ -576,7 +622,7 @@ GST_START_TEST (test_message_state_changed_children)
+ ASSERT_OBJECT_REFCOUNT (sink, "sink", 2);
+ ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 2);
+
+- pop_state_changed (bus, 3);
++ pop_state_changed (bus, 3, &had_latency);
+ fail_if (gst_bus_have_pending (bus), "unexpected pending messages");
+
+ ASSERT_OBJECT_REFCOUNT (bus, "bus", 2);
+@@ -619,9 +665,9 @@ GST_START_TEST (test_message_state_changed_children)
+ * its state_change message */
+ ASSERT_OBJECT_REFCOUNT_BETWEEN (pipeline, "pipeline", 3, 4);
+
+- pop_state_changed (bus, 3);
+- pop_async_done (bus);
+- pop_latency (bus);
++ pop_state_changed (bus, 3, &had_latency);
++ pop_async_done (bus, &had_latency);
++ pop_latency (bus, &had_latency);
+ fail_if ((gst_bus_pop (bus)) != NULL);
+
+ ASSERT_OBJECT_REFCOUNT_BETWEEN (bus, "bus", 2, 3);
+@@ -648,7 +694,7 @@ GST_START_TEST (test_message_state_changed_children)
+ ASSERT_OBJECT_REFCOUNT_BETWEEN (sink, "sink", 2, 4);
+ ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 3);
+
+- pop_state_changed (bus, 3);
++ pop_state_changed (bus, 3, &had_latency);
+ fail_if ((gst_bus_pop (bus)) != NULL);
+
+ ASSERT_OBJECT_REFCOUNT (bus, "bus", 2);
+@@ -669,7 +715,7 @@ GST_START_TEST (test_message_state_changed_children)
+ ASSERT_OBJECT_REFCOUNT_BETWEEN (sink, "sink", 3, 4);
+ ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 3);
+
+- pop_state_changed (bus, 6);
++ pop_state_changed (bus, 6, &had_latency);
+ fail_if ((gst_bus_pop (bus)) != NULL);
+
+ ASSERT_OBJECT_REFCOUNT (src, "src", 1);
+@@ -696,6 +742,7 @@ GST_START_TEST (test_watch_for_state_change)
+ GstElement *src, *sink, *bin;
+ GstBus *bus;
+ GstStateChangeReturn ret;
++ gboolean had_latency = FALSE;
+
+ bin = gst_element_factory_make ("bin", NULL);
+ fail_unless (bin != NULL, "Could not create bin");
+@@ -722,9 +769,9 @@ GST_START_TEST (test_watch_for_state_change)
+ GST_CLOCK_TIME_NONE);
+ fail_unless (ret == GST_STATE_CHANGE_SUCCESS);
+
+- pop_state_changed (bus, 6);
+- pop_async_done (bus);
+- pop_latency (bus);
++ pop_state_changed (bus, 6, &had_latency);
++ pop_async_done (bus, &had_latency);
++ pop_latency (bus, &had_latency);
+
+ fail_unless (gst_bus_have_pending (bus) == FALSE,
+ "Unexpected messages on bus");
+@@ -732,16 +779,17 @@ GST_START_TEST (test_watch_for_state_change)
+ ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING);
+ fail_unless (ret == GST_STATE_CHANGE_SUCCESS);
+
+- pop_state_changed (bus, 3);
++ pop_state_changed (bus, 3, &had_latency);
+
++ had_latency = FALSE;
+ /* this one might return either SUCCESS or ASYNC, likely SUCCESS */
+ ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED);
+ gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, GST_CLOCK_TIME_NONE);
+
+- pop_state_changed (bus, 3);
++ pop_state_changed (bus, 3, &had_latency);
+ if (ret == GST_STATE_CHANGE_ASYNC) {
+- pop_async_done (bus);
+- pop_latency (bus);
++ pop_async_done (bus, &had_latency);
++ pop_latency (bus, &had_latency);
+ }
+
+ fail_unless (gst_bus_have_pending (bus) == FALSE,
+@@ -898,6 +946,7 @@ GST_START_TEST (test_children_state_change_order_flagged_sink)
+ GstStateChangeReturn ret;
+ GstState current, pending;
+ GstBus *bus;
++ gboolean had_latency = FALSE;
+
+ pipeline = gst_pipeline_new (NULL);
+ fail_unless (pipeline != NULL, "Could not create pipeline");
+@@ -951,10 +1000,11 @@ GST_START_TEST (test_children_state_change_order_flagged_sink)
+ ASSERT_STATE_CHANGE_MSG (bus, sink, GST_STATE_READY, GST_STATE_PAUSED, 107);
+ #else
+
+- pop_state_changed (bus, 2); /* pop remaining ready => paused messages off the bus */
++ pop_state_changed (bus, 2, &had_latency); /* pop remaining ready => paused messages off the bus */
+ ASSERT_STATE_CHANGE_MSG (bus, pipeline, GST_STATE_READY, GST_STATE_PAUSED,
+ 108);
+- pop_async_done (bus);
++ pop_async_done (bus, &had_latency);
++ pop_latency (bus, &had_latency);
+ #endif
+ /* PAUSED => PLAYING */
+ GST_DEBUG ("popping PAUSED -> PLAYING messages");
+@@ -972,8 +1022,8 @@ GST_START_TEST (test_children_state_change_order_flagged_sink)
+ fail_if (ret != GST_STATE_CHANGE_SUCCESS, "State change to READY failed");
+
+ /* TODO: do we need to check downwards state change order as well? */
+- pop_state_changed (bus, 4); /* pop playing => paused messages off the bus */
+- pop_state_changed (bus, 4); /* pop paused => ready messages off the bus */
++ pop_state_changed (bus, 4, &had_latency); /* pop playing => paused messages off the bus */
++ pop_state_changed (bus, 4, &had_latency); /* pop paused => ready messages off the bus */
+
+ while (GST_OBJECT_REFCOUNT_VALUE (pipeline) > 1)
+ THREAD_SWITCH ();
+@@ -1002,6 +1052,7 @@ GST_START_TEST (test_children_state_change_order_semi_sink)
+ GstStateChangeReturn ret;
+ GstState current, pending;
+ GstBus *bus;
++ gboolean had_latency = FALSE;
+
+ /* (2) Now again, but check other code path where we don't have
+ * a proper sink correctly flagged as such, but a 'semi-sink' */
+@@ -1056,10 +1107,11 @@ GST_START_TEST (test_children_state_change_order_semi_sink)
+ ASSERT_STATE_CHANGE_MSG (bus, src, GST_STATE_READY, GST_STATE_PAUSED, 206);
+ ASSERT_STATE_CHANGE_MSG (bus, sink, GST_STATE_READY, GST_STATE_PAUSED, 207);
+ #else
+- pop_state_changed (bus, 2); /* pop remaining ready => paused messages off the bus */
++ pop_state_changed (bus, 2, &had_latency); /* pop remaining ready => paused messages off the bus */
+ ASSERT_STATE_CHANGE_MSG (bus, pipeline, GST_STATE_READY, GST_STATE_PAUSED,
+ 208);
+- pop_async_done (bus);
++ pop_async_done (bus, &had_latency);
++ pop_latency (bus, &had_latency);
+
+ /* PAUSED => PLAYING */
+ GST_DEBUG ("popping PAUSED -> PLAYING messages");
+@@ -1076,8 +1128,8 @@ GST_START_TEST (test_children_state_change_order_semi_sink)
+ fail_if (ret != GST_STATE_CHANGE_SUCCESS, "State change to READY failed");
+
+ /* TODO: do we need to check downwards state change order as well? */
+- pop_state_changed (bus, 4); /* pop playing => paused messages off the bus */
+- pop_state_changed (bus, 4); /* pop paused => ready messages off the bus */
++ pop_state_changed (bus, 4, &had_latency); /* pop playing => paused messages off the bus */
++ pop_state_changed (bus, 4, &had_latency); /* pop paused => ready messages off the bus */
+
+ GST_DEBUG ("waiting for pipeline to reach refcount 1");
+ while (GST_OBJECT_REFCOUNT_VALUE (pipeline) > 1)
+--
+GitLab
diff --git a/media-libs/gstreamer/gstreamer-1.20.3.ebuild b/media-libs/gstreamer/gstreamer-1.20.3.ebuild
index 2d0041a3ffc..53c9fe75e40 100644
--- a/media-libs/gstreamer/gstreamer-1.20.3.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.20.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
LICENSE="LGPL-2+"
SLOT="1.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+caps +introspection +orc unwind"
RDEPEND="
diff --git a/media-libs/gstreamer/gstreamer-1.20.2.ebuild b/media-libs/gstreamer/gstreamer-1.20.4.ebuild
index 8173ce97eb8..53c9fe75e40 100644
--- a/media-libs/gstreamer/gstreamer-1.20.2.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.20.4.ebuild
@@ -34,7 +34,6 @@ BDEPEND="
DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE )
PATCHES=(
- "${FILESDIR}/${PN}-1.20-loong.patch"
)
multilib_src_configure() {
diff --git a/media-libs/gstreamer/gstreamer-1.20.5.ebuild b/media-libs/gstreamer/gstreamer-1.20.5.ebuild
new file mode 100644
index 00000000000..8226608a2c5
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-1.20.5.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gstreamer-meson pax-utils
+
+DESCRIPTION="Open source multimedia framework"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+caps +introspection +orc unwind"
+
+RDEPEND="
+ >=dev-libs/glib-2.56.0:2[${MULTILIB_USEDEP}]
+ caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+ unwind? (
+ >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
+ dev-libs/elfutils[${MULTILIB_USEDEP}]
+ )
+ !<media-libs/gst-plugins-bad-1.13.1:1.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ sys-devel/bison
+ sys-devel/flex
+"
+
+DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-tests-race.patch
+)
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dbenchmarks=disabled
+ -Dexamples=disabled
+ -Dcheck=enabled
+ $(meson_feature unwind libunwind)
+ $(meson_feature unwind libdw)
+ )
+
+ if use caps ; then
+ emesonargs+=( -Dptp-helper-permissions=capabilities )
+ else
+ emesonargs+=(
+ -Dptp-helper-permissions=setuid-root
+ -Dptp-helper-setuid-user=nobody
+ -Dptp-helper-setuid-group=nobody
+ )
+ fi
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_install() {
+ # can't do "default", we want to install docs in multilib_src_install_all
+ DESTDIR="${D}" eninja install
+
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
+ use orc && pax-mark -m "${ED}/usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
+ use orc && pax-mark -m "${ED}/usr/bin/gst-launch-${SLOT}"
+}
diff --git a/media-libs/guilib/Manifest b/media-libs/guilib/Manifest
deleted file mode 100644
index 7a3db912995..00000000000
--- a/media-libs/guilib/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST GUIlib-1.2.1.tar.gz 345042 BLAKE2B f9dbd0f4c3ba2e0ae90ef010af6a75d92dcdcdaf895f9ec56871a2057e2d4f9691184ceb1d639a76e09073c8802800172ea81169591ca80beadfee3d2c7ffdcb SHA512 8fa39fec10e942720f09092addc2d384fe1783b3d0fe2c01734ea60adfa1067f81bbeffc41142045ed4050c1eb21985273548e687a348bd9fff39473d42d9a68
diff --git a/media-libs/guilib/guilib-1.2.1-r1.ebuild b/media-libs/guilib/guilib-1.2.1-r1.ebuild
deleted file mode 100644
index e03c96b3327..00000000000
--- a/media-libs/guilib/guilib-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MY_P=GUIlib-${PV}
-
-DESCRIPTION="Simple widget set for SDL"
-HOMEPAGE="https://www.libsdl.org/projects/GUIlib/"
-SRC_URI="https://www.libsdl.org/projects/GUIlib/src/${MY_P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc x86"
-IUSE="static-libs"
-
-RDEPEND=">=media-libs/libsdl-1.0.1"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- default
- sed -i -e '/^noinst_PROGRAMS/,$d' Makefile.am || die
-
- rm -f *.m4
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_install() {
- default
-
- if use static-libs; then
- find "${ED}" -name '*.la' -exec rm {} + || die
- fi
-}
diff --git a/media-libs/gupnp-dlna/metadata.xml b/media-libs/gupnp-dlna/metadata.xml
index 7b343b06be8..912d1bfba8c 100644
--- a/media-libs/gupnp-dlna/metadata.xml
+++ b/media-libs/gupnp-dlna/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gupnp-dlna</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 6e041160e12..25ce0be5f8d 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1,3 @@
-DIST hamlib-4.3.1.tar.gz 2356944 BLAKE2B c803d253c867303cbde98b6f2e10f610aac111b7bd81fd343e1396cb86384b1c26942e5ccb8e395e073f9aa3d48e6f9edc1b64da14b2ec5ca09f98fbd3dee667 SHA512 8dee4676a19de7ac1ef733a4285b76e918f11aad6594d0557d36df295faf04c615e0993edb2f9ed5e7aea718c184603fec831caf28b75026c705f0b2e4b9eca7
DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7 SHA512 37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
+DIST hamlib-4.5.3.tar.gz 2590200 BLAKE2B 7c06a20a1185a2e413fee56231f3e0f6aa77a7585b9853896b00abb773e2e23fc5e97a8a3fbb873528282756ee674b1ca5b2b14f0fe8e6b9b8e8f7e8ffa223f2 SHA512 be3b58c7276c1289d85b4dc9054016757200fde06d66116f7a1687442e53bf322f0a3ae974c9b784cbd0bff0c64b901b97fac74184f4b4a0fdf1f5079d0ea509
+DIST hamlib-4.5.4.tar.gz 2598483 BLAKE2B 7f9654d6aa8c241e58dfdcd4d1967cb0d2415f9cd7a06de68f0ec0e837442db4fd373cfcd08406afca6d6c6c71435358bc5d31969fb0569dea5853b4f3d4f38e SHA512 882fb517a3e5854cdaad506520e96c7736214fe27d1ac053f0510e3c5c08e1bf40217442f519d1c4be92e3d05135c7bd90bc0d60f334f52994e69b2ce9d3f442
diff --git a/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch b/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch
new file mode 100644
index 00000000000..832af50e0e6
--- /dev/null
+++ b/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch
@@ -0,0 +1,191 @@
+From 1aebee2da9d29ff1d1a16e19f23bbff4e0f319a8 Mon Sep 17 00:00:00 2001
+From: Mike Black W9MDB <mdblack98@yahoo.com>
+Date: Mon, 14 Nov 2022 16:37:20 -0600
+Subject: [PATCH 1/2] Fix clang warning on callback functions
+ https://github.com/Hamlib/Hamlib/issues/1149
+
+---
+ include/hamlib/rig.h | 4 +++-
+ rigs/aor/aor.c | 4 ++--
+ src/mem.c | 15 ++++++++-------
+ tests/testcaps.sh | 12 ++++++++++++
+ 4 files changed, 25 insertions(+), 10 deletions(-)
+ create mode 100755 tests/testcaps.sh
+
+diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h
+index 574c21bd..5dbb5a7b 100644
+--- a/include/hamlib/rig.h
++++ b/include/hamlib/rig.h
+@@ -1675,7 +1675,7 @@ typedef struct cal_table_float cal_table_float_t;
+ //! @cond Doxygen_Suppress
+ #define EMPTY_FLOAT_CAL { 0, { { 0, 0f }, } }
+
+-typedef int (* chan_cb_t)(RIG *, channel_t **, int, const chan_t *, rig_ptr_t);
++typedef int (* chan_cb_t)(RIG *, vfo_t vfo, channel_t **, int, const chan_t *, rig_ptr_t);
+ typedef int (* confval_cb_t)(RIG *,
+ const struct confparams *,
+ value_t *,
+@@ -2024,10 +2024,12 @@ struct rig_caps {
+ int (*get_chan_all_cb)(RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t);
+
+ int (*set_mem_all_cb)(RIG *rig,
++ vfo_t vfo,
+ chan_cb_t chan_cb,
+ confval_cb_t parm_cb,
+ rig_ptr_t);
+ int (*get_mem_all_cb)(RIG *rig,
++ vfo_t vfo,
+ chan_cb_t chan_cb,
+ confval_cb_t parm_cb,
+ rig_ptr_t);
+diff --git a/rigs/aor/aor.c b/rigs/aor/aor.c
+index ad4331d9..3f69d723 100644
+--- a/rigs/aor/aor.c
++++ b/rigs/aor/aor.c
+@@ -1364,7 +1364,7 @@ int aor_get_chan_all_cb(RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t arg)
+ * future data for channel channel_num
+ */
+ chan = NULL;
+- retval = chan_cb(rig, &chan, chan_next, chan_list, arg);
++ retval = chan_cb(rig, vfo, &chan, chan_next, chan_list, arg);
+
+ if (retval != RIG_OK)
+ {
+@@ -1414,7 +1414,7 @@ int aor_get_chan_all_cb(RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t arg)
+ * provide application with channel data,
+ * and ask for a new channel structure
+ */
+- chan_cb(rig, &chan, chan_next, chan_list, arg);
++ chan_cb(rig, vfo, &chan, chan_next, chan_list, arg);
+
+ if (j >= LINES_PER_MA - 1)
+ {
+diff --git a/src/mem.c b/src/mem.c
+index 8aa51e57..a6d72e59 100644
+--- a/src/mem.c
++++ b/src/mem.c
+@@ -954,7 +954,7 @@ int get_chan_all_cb_generic(RIG *rig, vfo_t vfo, chan_cb_t chan_cb,
+ * future data for channel channel_num
+ */
+ chan = NULL;
+- retval = chan_cb(rig, &chan, chan_list[i].startc, chan_list, arg);
++ retval = chan_cb(rig, vfo, &chan, chan_list[i].startc, chan_list, arg);
+
+ if (retval != RIG_OK)
+ {
+@@ -995,7 +995,7 @@ int get_chan_all_cb_generic(RIG *rig, vfo_t vfo, chan_cb_t chan_cb,
+
+ chan_next = j < chan_list[i].endc ? j + 1 : j;
+
+- chan_cb(rig, &chan, chan_next, chan_list, arg);
++ chan_cb(rig, vfo, &chan, chan_next, chan_list, arg);
+ }
+ }
+
+@@ -1016,7 +1016,7 @@ int set_chan_all_cb_generic(RIG *rig, vfo_t vfo, chan_cb_t chan_cb,
+ for (j = chan_list[i].startc; j <= chan_list[i].endc; j++)
+ {
+
+- chan_cb(rig, &chan, j, chan_list, arg);
++ chan_cb(rig, vfo, &chan, j, chan_list, arg);
+ chan->vfo = RIG_VFO_MEM;
+
+ retval = rig_set_channel(rig, vfo, chan);
+@@ -1044,6 +1044,7 @@ struct map_all_s
+ * chan_cb_t to be used for non cb get/set_all
+ */
+ static int map_chan(RIG *rig,
++ vfo_t vfo,
+ channel_t **chan,
+ int channel_num,
+ const chan_t *chan_list,
+@@ -1343,7 +1344,7 @@ int HAMLIB_API rig_set_mem_all_cb(RIG *rig,
+
+ if (rc->set_mem_all_cb)
+ {
+- return rc->set_mem_all_cb(rig, chan_cb, parm_cb, arg);
++ return rc->set_mem_all_cb(rig, vfo, chan_cb, parm_cb, arg);
+ }
+
+
+@@ -1411,7 +1412,7 @@ int HAMLIB_API rig_get_mem_all_cb(RIG *rig,
+
+ if (rc->get_mem_all_cb)
+ {
+- return rc->get_mem_all_cb(rig, chan_cb, parm_cb, arg);
++ return rc->get_mem_all_cb(rig, vfo, chan_cb, parm_cb, arg);
+ }
+
+ /* if not available, emulate it */
+@@ -1480,7 +1481,7 @@ int HAMLIB_API rig_set_mem_all(RIG *rig,
+ mem_all_arg.vals = (value_t *) vals;
+
+ if (rc->set_mem_all_cb)
+- return rc->set_mem_all_cb(rig, map_chan, map_parm,
++ return rc->set_mem_all_cb(rig, vfo, map_chan, map_parm,
+ (rig_ptr_t)&mem_all_arg);
+
+ /* if not available, emulate it */
+@@ -1548,7 +1549,7 @@ int HAMLIB_API rig_get_mem_all(RIG *rig,
+ mem_all_arg.vals = vals;
+
+ if (rc->get_mem_all_cb)
+- return rc->get_mem_all_cb(rig, map_chan, map_parm,
++ return rc->get_mem_all_cb(rig, vfo, map_chan, map_parm,
+ (rig_ptr_t)&mem_all_arg);
+
+ /*
+diff --git a/tests/testcaps.sh b/tests/testcaps.sh
+new file mode 100755
+index 00000000..7032a2ce
+--- /dev/null
++++ b/tests/testcaps.sh
+@@ -0,0 +1,12 @@
++#!/bin/sh
++model=1
++riglist=`rigctl -l | cut -c1-8 | grep -v Rig | tr -d '\n'`
++for model in $riglist
++do
++ result=`rigctl -m $model -u 2>/dev/null | grep warnings`
++# if [[ "$result" == *"warnings: 0"* ]];then
++ echo $model " " $result
++# fi
++
++ model=`expr $model + 1`
++done
+--
+2.37.4
+
+
+From d7edd89a12be134a904d0a3d5fc3e4f68f111c16 Mon Sep 17 00:00:00 2001
+From: Mike Black W9MDB <mdblack98@yahoo.com>
+Date: Mon, 14 Nov 2022 17:55:25 -0600
+Subject: [PATCH 2/2] Fix memcsv.c https://github.com/Hamlib/Hamlib/issues/1149
+
+---
+ tests/memcsv.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tests/memcsv.c b/tests/memcsv.c
+index 8a107549..82becbf4 100644
+--- a/tests/memcsv.c
++++ b/tests/memcsv.c
+@@ -48,6 +48,7 @@ char csv_sep = ','; /* CSV separator */
+ * Prototypes
+ */
+ static int dump_csv_chan(RIG *rig,
++ vfo_t vfo,
+ channel_t **chan,
+ int channel_num,
+ const chan_t *chan_list,
+@@ -552,6 +553,7 @@ void dump_csv_name(const channel_cap_t *mem_caps, FILE *f)
+
+ /* Caution! Keep the function consistent with dump_csv_name and set_channel_data! */
+ int dump_csv_chan(RIG *rig,
++ vfo_t vfo,
+ channel_t **chan_pp,
+ int channel_num,
+ const chan_t *chan_list,
+--
+2.37.4
+
diff --git a/media-libs/hamlib/hamlib-4.4.ebuild b/media-libs/hamlib/hamlib-4.4.ebuild
index 7a49e596723..03c7182e96e 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{9..10} )
MY_P=${P/_rc2/~rc2}
inherit autotools python-single-r1
@@ -40,6 +40,7 @@ DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
PATCHES=(
"${FILESDIR}/${P}-slibtool.patch" # 798273
+ "${FILESDIR}/${P}-fix-clang-warnings.patch" # 880961
)
S="${WORKDIR}/${MY_P}"
diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild b/media-libs/hamlib/hamlib-4.5.3.ebuild
index 905bf3bb1fd..cc3babe21d6 100644
--- a/media-libs/hamlib/hamlib-4.3.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{9..11} )
MY_P=${P/_rc2/~rc2}
inherit autotools python-single-r1
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
LICENSE="LGPL-2 GPL-2"
SLOT="0/4.2"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="doc perl python tcl"
RESTRICT="test"
@@ -45,6 +45,8 @@ pkg_setup() {
}
src_prepare() {
+ default
+
# fix hardcoded libdir paths
sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-e "s#fix}/include#fix}/include/hamlib#" \
@@ -60,8 +62,6 @@ src_prepare() {
sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
eautoreconf
-
- eapply_user
}
src_configure() {
diff --git a/media-libs/hamlib/hamlib-4.5.4.ebuild b/media-libs/hamlib/hamlib-4.5.4.ebuild
new file mode 100644
index 00000000000..cc3babe21d6
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.4.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org"
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+ =virtual/libusb-0*
+ dev-libs/libxml2
+ sys-libs/readline:0=
+ perl? ( dev-lang/perl )
+ python? ( ${PYTHON_DEPS} )
+ tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+ virtual/pkgconfig
+ dev-lang/swig
+ >=sys-devel/libtool-2.2
+ doc? ( app-doc/doxygen
+ dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # fix hardcoded libdir paths
+ sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+ -e "s#fix}/include#fix}/include/hamlib#" \
+ hamlib.pc.in || die "sed failed"
+
+ # Correct install target to whatever INSTALLDIRS says and use vendor
+ # installdirs everywhere (bug #611550)
+ sed -i -e "s#install_site#install#" \
+ -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \
+ bindings/Makefile.am || die "sed failed patching for perl"
+
+ # make building of documentation compatible with autotools-utils
+ sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --libdir=/usr/$(get_libdir)/hamlib \
+ --disable-static \
+ --with-xml-support \
+ $(use_with perl perl-binding) \
+ $(use_with python python-binding) \
+ $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+ emake
+ use doc && emake html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ use python && python_optimize
+
+ use doc && HTML_DOCS=( doc/html/ )
+ einstalldocs
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins hamlib.pc
+
+ echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+ doenvd "${T}"/73hamlib
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
index 0597d98bb78..e9c95a33092 100644
--- a/media-libs/harfbuzz/Manifest
+++ b/media-libs/harfbuzz/Manifest
@@ -1,4 +1,2 @@
-DIST harfbuzz-4.4.1.tar.gz 29231251 BLAKE2B 3947084ea2eedd76d64acfc5286ecd14d772ce0507163bc2c54a86579556a8799959ff4d47ea2919ee8472f8fe50d0266d325e3d0a7024f2ae8dcdf48d14f37e SHA512 bbc415d7b74408b1e8d34bfbc19a3cab002471fdd56d71b469c3129f0eae5532d5c7aaae7bb5cc3942fea6008d2ed9e96a7b20b10f4f5e46db63cecfa5c0248e
-DIST harfbuzz-5.0.1.tar.gz 29291175 BLAKE2B a30512dbceba7eb339164cfe77685e6ccd8338c297a080341236e90bbcf7451eb27d5227422e040d92ff4267f4d97c377a66cdcaff45ea2b1e69de0602047ae0 SHA512 9d05b97dfce248634b6b3ff69fac5cc344f0c8265bf05595b74b0b060049dba082d358184662b8ea045cd51c3d07e7c4a4804513052094566b777c33ec5af89c
-DIST harfbuzz-5.1.0.tar.gz 29358116 BLAKE2B 006e66e9c76b505214b948c7c8756af38171b85cc865923e4665a4dd3eb14d89d20456ad4490b11208d57d056b087da78e1742141e41f8a22e644f20d3ea4851 SHA512 bdd7c2ca0b6f2a3a3fffbf0324d3c8bfd64a1753314048f6f67f901d4098e90054eeda9155d134f03c5d3ddefb15e087f872d2d87b2ace07bac6625fb43c7f3e
-DIST harfbuzz-5.2.0.tar.xz 17711968 BLAKE2B 5d01ee2291006505d9eec3547ff4b443789b3358ca71aabba3c17e14413d9af4b8c4755b32722b9476daf959bb5da66ccf2081662c36ce50ebe8e4da31c2592f SHA512 3c95ae9916dfc283714b936988726c0b391f634e22a62d148c201104178ee229c48e49cc82961d728a5c8bc8af06978eb172b35acb552c969bc2385892380d30
+DIST harfbuzz-5.3.1.tar.xz 17874260 BLAKE2B e4d3926daca4f5c95441a9b99e10acd4b95bf365f56934a2bbb8b35955e8457a90a13b0ad3223d8350012373216083e910f517b34c0dffb09fb218a1f8e9ca48 SHA512 6b0aef2b7445f4a71c324b545414114507d8077dc186366f25140dcd3bedeee67868cfc65c0eef59ed950381a4c101a541900be4995f645377c11754b027b501
+DIST harfbuzz-6.0.0.tar.xz 18952524 BLAKE2B bb08f90cf9540a076ec2fe5498658a0e5f963537ebd98fce271af9070d0fc7178346bf56c600720d433c9e3a403f67ec3ac898abeb1da12697ad22980ecf5204 SHA512 66f8484586b1b334479d739df1d1107172715ce1d2a3c0105375174fa3e201fd69ceb1543c10d6db49b012912e823befc701f00621f7b5f68036eced80d36f65
diff --git a/media-libs/harfbuzz/files/harfbuzz-5.3.1-meson-freetype-icu.patch b/media-libs/harfbuzz/files/harfbuzz-5.3.1-meson-freetype-icu.patch
new file mode 100644
index 00000000000..3e0a7beece9
--- /dev/null
+++ b/media-libs/harfbuzz/files/harfbuzz-5.3.1-meson-freetype-icu.patch
@@ -0,0 +1,120 @@
+https://bugs.gentoo.org/880479
+https://bugs.gentoo.org/880405
+https://github.com/harfbuzz/harfbuzz/pull/3870
+
+From 2c14943fb06ffd6de4e270454501ff5d305ede6e Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz93@gmail.com>
+Date: Tue, 8 Nov 2022 16:24:08 -0500
+Subject: [PATCH] meson: fix regression in detecting freetype2/icu-uc when
+ explicitly disabled
+
+In #3811 / commit 53a194aa3f5f7de0b40e879e41fcbe0de6e9fefe a broken and
+half-implemented approach to kind of sort of handling the detection of
+both pkg-config and cmake names for dependencies, was implemented. It
+just checked for both versions with required: false, but when the build
+was configured with *disabled* options, it was still found because it
+was treated as auto.
+
+Really, the problem here is trying to outsmart Meson, which handles a
+lot of edge cases correctly. But it's possible, albeit very wordy, to
+manually implement Meson's internal logic via if/else fallbacks. Do so
+here.
+--- a/meson.build
++++ b/meson.build
+@@ -83,20 +83,35 @@ check_funcs = [
+
+ m_dep = cpp.find_library('m', required: false)
+
+-
+-# Try pkgconfig name
+-freetype_dep = dependency('freetype2', required: false)
+-if not freetype_dep.found()
+- # Try cmake name
+- freetype_dep = dependency('freetype', required: false)
+-endif
+-if not freetype_dep.found()
+- # Subproject fallback, `allow_fallback: true` means the fallback will be
+- # tried even if the freetype option is set to `auto`.
+- freetype_dep = dependency('freetype2',
++if meson.version().version_compare('>=0.60.0')
++ # pkg-config: freetype2, cmake: Freetype
++ freetype_dep = dependency('freetype2', 'Freetype',
+ required: get_option('freetype'),
+ default_options: ['harfbuzz=disabled'],
+ allow_fallback: true)
++else
++ # painful hack to handle multiple dependencies but also respect options
++ freetype_opt = get_option('freetype')
++ # we want to handle enabled manually after fallbacks, but also handle disabled normally
++ if freetype_opt.enabled()
++ freetype_opt = false
++ endif
++ # try pkg-config name
++ freetype_dep = dependency('freetype2', method: 'pkg-config', required: freetype_opt)
++ # when disabled, leave it not-found
++ if not freetype_dep.found() and not get_option('freetype').disabled()
++ # Try cmake name
++ freetype_dep = dependency('Freetype', method: 'cmake', required: false)
++ # Subproject fallback, `allow_fallback: true` means the fallback will be
++ # tried even if the freetype option is set to `auto`.
++ if not freetype_dep.found()
++ freetype_dep = dependency('freetype2',
++ method: 'pkg-config',
++ required: get_option('freetype'),
++ default_options: ['harfbuzz=disabled'],
++ allow_fallback: true)
++ endif
++ endif
+ endif
+
+ glib_dep = dependency('glib-2.0', required: get_option('glib'))
+@@ -104,18 +119,36 @@ gobject_dep = dependency('gobject-2.0', required: get_option('gobject'))
+ graphite2_dep = dependency('graphite2', required: get_option('graphite2'))
+ graphite_dep = dependency('graphite2', required: get_option('graphite'))
+
+-# Try pkgconfig name
+-icu_dep = dependency('icu-uc', required: false)
+-if not icu_dep.found()
+- # Try cmake name
+- icu_dep = dependency('ICU',
+- required: false,
+- components: 'uc',
+- method: 'cmake')
+-endif
+-if not icu_dep.found()
+- # Subproject fallback if icu option is enabled
+- icu_dep = dependency('icu-uc', required: get_option('icu'))
++if meson.version().version_compare('>=0.60.0')
++ # pkg-config: icu-uc, cmake: ICU but with components
++ icu_dep = dependency('icu-uc', 'ICU',
++ components: 'uc',
++ required: get_option('icu'),
++ default_options: ['harfbuzz=disabled'],
++ allow_fallback: true)
++else
++ # painful hack to handle multiple dependencies but also respect options
++ icu_opt = get_option('icu')
++ # we want to handle enabled manually after fallbacks, but also handle disabled normally
++ if icu_opt.enabled()
++ icu_opt = false
++ endif
++ # try pkg-config name
++ icu_dep = dependency('icu-uc', method: 'pkg-config', required: icu_opt)
++ # when disabled, leave it not-found
++ if not icu_dep.found() and not get_option('icu').disabled()
++ # Try cmake name
++ icu_dep = dependency('ICU', method: 'cmake', components: 'uc', required: false)
++ # Try again with subproject fallback. `allow_fallback: true` means the
++ # fallback will be tried even if the icu option is set to `auto`, but
++ # we cannot pass this option until Meson 0.59.0, because no wrap file
++ # is checked into git.
++ if not icu_dep.found()
++ icu_dep = dependency('icu-uc',
++ method: 'pkg-config',
++ required: get_option('icu'))
++ endif
++ endif
+ endif
+
+ if icu_dep.found() and icu_dep.type_name() == 'pkgconfig'
+
diff --git a/media-libs/harfbuzz/files/harfbuzz-6.0.0-gcc-13.patch b/media-libs/harfbuzz/files/harfbuzz-6.0.0-gcc-13.patch
new file mode 100644
index 00000000000..59536b173f2
--- /dev/null
+++ b/media-libs/harfbuzz/files/harfbuzz-6.0.0-gcc-13.patch
@@ -0,0 +1,26 @@
+https://github.com/harfbuzz/harfbuzz/commit/7dfa672dac958bdbc7703ab0920e167eaa126754
+
+From 7dfa672dac958bdbc7703ab0920e167eaa126754 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyich@gmail.com>
+Date: Mon, 16 Jan 2023 19:49:53 +0000
+Subject: [PATCH] test/threads/hb-subset-threads.cc: add missing <cstdio>
+ include
+
+This week's `gcc-13` snapshot cleaned further up it's standard headers
+and exposed missing declaration as a build failure:
+
+ ../test/threads/hb-subset-threads.cc: In function 'void test_operation(operation_t, const char*, const test_input_t&)':
+ ../test/threads/hb-subset-threads.cc:127:3: error: 'printf' was not declared in this scope
+
+ ../test/threads/hb-subset-threads.cc: In function 'int main(int, char**)':
+ ../test/threads/hb-subset-threads.cc:157:19: error: 'atoi' was not declared in this scope
+--- a/test/threads/hb-subset-threads.cc
++++ b/test/threads/hb-subset-threads.cc
+@@ -1,4 +1,6 @@
+ #include <cassert>
++#include <cstdio>
++#include <cstdlib>
+ #include <cstring>
+ #include <thread>
+ #include <condition_variable>
+
diff --git a/media-libs/harfbuzz/harfbuzz-5.0.1.ebuild b/media-libs/harfbuzz/harfbuzz-5.0.1.ebuild
deleted file mode 100644
index c3af9764765..00000000000
--- a/media-libs/harfbuzz/harfbuzz-5.0.1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
-
-DESCRIPTION="An OpenType text shaping engine"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
-
-if [[ ${PV} = 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="Old-MIT ISC icu"
-# 0.9.18 introduced the harfbuzz-icu split; bug #472416
-# 3.0.0 dropped some unstable APIs; bug #813705
-SLOT="0/4.0.0"
-
-IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="introspection? ( glib )"
-
-RDEPEND="
- cairo? ( x11-libs/cairo:= )
- glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
- graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
- icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.34:= )
- truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
- >=dev-libs/gobject-introspection-common-1.34
-"
-BDEPEND="
- ${PYTHON_DEPS}
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
- introspection? ( dev-util/glib-utils )
-"
-
-pkg_setup() {
- python-any-r1_pkg_setup
- if ! use debug ; then
- append-cppflags -DHB_NDEBUG
- fi
-}
-
-src_prepare() {
- default
-
- xdg_environment_reset
-
- # bug #726120
- sed -i \
- -e '/tests\/macos\.tests/d' \
- test/shape/data/in-house/Makefile.sources \
- || die
-
- # bug #618772
- append-cxxflags -std=c++14
-
- # bug #790359
- filter-flags -fexceptions -fthreadsafe-statics
-
- # bug #762415
- local pyscript
- for pyscript in $(find -type f -name "*.py") ; do
- python_fix_shebang -q "${pyscript}"
- done
-}
-
-multilib_src_configure() {
- # harfbuzz-gobject only used for introspection, bug #535852
- local emesonargs=(
- -Dcoretext="disabled"
- -Dchafa="disabled"
-
- $(meson_feature glib)
- $(meson_feature graphite graphite2)
- $(meson_feature icu)
- $(meson_feature introspection gobject)
- $(meson_feature test tests)
- $(meson_feature truetype freetype)
-
- $(meson_native_use_feature cairo)
- $(meson_native_use_feature doc docs)
- $(meson_native_use_feature introspection)
-
- $(meson_use experimental experimental_api)
- )
-
- meson_src_configure
-}
diff --git a/media-libs/harfbuzz/harfbuzz-5.2.0.ebuild b/media-libs/harfbuzz/harfbuzz-5.2.0.ebuild
deleted file mode 100644
index 0b9dc09b392..00000000000
--- a/media-libs/harfbuzz/harfbuzz-5.2.0.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
-
-DESCRIPTION="An OpenType text shaping engine"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
-
-if [[ ${PV} = 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="Old-MIT ISC icu"
-# 0.9.18 introduced the harfbuzz-icu split; bug #472416
-# 3.0.0 dropped some unstable APIs; bug #813705
-SLOT="0/4.0.0"
-
-IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="introspection? ( glib )"
-
-RDEPEND="
- cairo? ( x11-libs/cairo:= )
- glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
- graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
- icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.34:= )
- truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
- >=dev-libs/gobject-introspection-common-1.34
-"
-BDEPEND="
- ${PYTHON_DEPS}
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
- introspection? ( dev-util/glib-utils )
-"
-
-pkg_setup() {
- python-any-r1_pkg_setup
- if ! use debug ; then
- append-cppflags -DHB_NDEBUG
- fi
-}
-
-src_prepare() {
- default
-
- xdg_environment_reset
-
- # bug #726120
- sed -i \
- -e '/tests\/macos\.tests/d' \
- test/shape/data/in-house/Makefile.sources \
- || die
-
- # bug #618772
- append-cxxflags -std=c++14
-
- # bug #790359
- filter-flags -fexceptions -fthreadsafe-statics
-
- # bug #762415
- local pyscript
- for pyscript in $(find -type f -name "*.py") ; do
- python_fix_shebang -q "${pyscript}"
- done
-}
-
-multilib_src_configure() {
- # harfbuzz-gobject only used for introspection, bug #535852
- local emesonargs=(
- -Dcoretext="disabled"
- -Dchafa="disabled"
-
- $(meson_feature glib)
- $(meson_feature graphite graphite2)
- $(meson_feature icu)
- $(meson_feature introspection gobject)
- $(meson_feature test tests)
- $(meson_feature truetype freetype)
-
- $(meson_native_use_feature cairo)
- $(meson_native_use_feature doc docs)
- $(meson_native_use_feature introspection)
-
- $(meson_use experimental experimental_api)
- )
-
- meson_src_configure
-}
diff --git a/media-libs/harfbuzz/harfbuzz-5.1.0.ebuild b/media-libs/harfbuzz/harfbuzz-5.3.1-r1.ebuild
index 8ba30c775ba..63ea38ab164 100644
--- a/media-libs/harfbuzz/harfbuzz-5.1.0.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-5.3.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
@@ -14,7 +14,7 @@ if [[ ${PV} = 9999 ]] ; then
EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
inherit git-r3
else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
@@ -45,6 +45,10 @@ BDEPEND="
introspection? ( dev-util/glib-utils )
"
+PATCHES=(
+ "${FILESDIR}"/${P}-meson-freetype-icu.patch
+)
+
pkg_setup() {
python-any-r1_pkg_setup
if ! use debug ; then
diff --git a/media-libs/harfbuzz/harfbuzz-4.4.1.ebuild b/media-libs/harfbuzz/harfbuzz-6.0.0.ebuild
index f6c627a4602..becfa898631 100644
--- a/media-libs/harfbuzz/harfbuzz-4.4.1.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-6.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
@@ -14,14 +14,15 @@ if [[ ${PV} = 9999 ]] ; then
EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
inherit git-r3
else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="Old-MIT ISC icu"
# 0.9.18 introduced the harfbuzz-icu split; bug #472416
# 3.0.0 dropped some unstable APIs; bug #813705
-SLOT="0/4.0.0"
+# 6.0.0 changed libharfbuzz-subset.so ABI
+SLOT="0/6.0.0"
IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype"
RESTRICT="!test? ( test )"
@@ -45,6 +46,10 @@ BDEPEND="
introspection? ( dev-util/glib-utils )
"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc-13.patch
+)
+
pkg_setup() {
python-any-r1_pkg_setup
if ! use debug ; then
@@ -57,18 +62,16 @@ src_prepare() {
xdg_environment_reset
+ # bug #726120
sed -i \
-e '/tests\/macos\.tests/d' \
test/shape/data/in-house/Makefile.sources \
- || die # bug 726120
-
- # bug 618772
- append-cxxflags -std=c++14
+ || die
- # bug 790359
+ # bug #790359
filter-flags -fexceptions -fthreadsafe-statics
- # bug 762415
+ # bug #762415
local pyscript
for pyscript in $(find -type f -name "*.py") ; do
python_fix_shebang -q "${pyscript}"
@@ -94,5 +97,6 @@ multilib_src_configure() {
$(meson_use experimental experimental_api)
)
+
meson_src_configure
}
diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild
index 0b9dc09b392..bf572ed0f6e 100644
--- a/media-libs/harfbuzz/harfbuzz-9999.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
@@ -21,7 +21,8 @@ fi
LICENSE="Old-MIT ISC icu"
# 0.9.18 introduced the harfbuzz-icu split; bug #472416
# 3.0.0 dropped some unstable APIs; bug #813705
-SLOT="0/4.0.0"
+# 6.0.0 changed libharfbuzz-subset.so ABI
+SLOT="0/6.0.0"
IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype"
RESTRICT="!test? ( test )"
@@ -63,9 +64,6 @@ src_prepare() {
test/shape/data/in-house/Makefile.sources \
|| die
- # bug #618772
- append-cxxflags -std=c++14
-
# bug #790359
filter-flags -fexceptions -fthreadsafe-statics
diff --git a/media-libs/harfbuzz/metadata.xml b/media-libs/harfbuzz/metadata.xml
index 74ed5b5998b..f2396d3917c 100644
--- a/media-libs/harfbuzz/metadata.xml
+++ b/media-libs/harfbuzz/metadata.xml
@@ -5,10 +5,6 @@
<email>office@gentoo.org</email>
<name>Gentoo Office project</name>
</maintainer>
- <maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
- </maintainer>
<upstream>
<remote-id type="cpe">cpe:/a:harfbuzz_project:harfbuzz</remote-id>
<remote-id type="github">harfbuzz/harfbuzz</remote-id>
diff --git a/media-libs/id3lib/files/id3lib-3.8.3-vbr-stack-smashing.patch b/media-libs/id3lib/files/id3lib-3.8.3-vbr-stack-smashing.patch
new file mode 100644
index 00000000000..9bf33e97871
--- /dev/null
+++ b/media-libs/id3lib/files/id3lib-3.8.3-vbr-stack-smashing.patch
@@ -0,0 +1,19 @@
+Description: Fix crashes when reading VBR MP3 file.
+Bug-Ubuntu: https://launchpad.net/bugs/444466
+Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979
+Forwarded: yes
+Author: Urs Fleisch
+
+Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp
+===================================================================
+--- id3lib3.8.3-3.8.3.orig/src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200
++++ id3lib3.8.3-3.8.3/src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200
+@@ -465,7 +465,7 @@
+ // from http://www.xingtech.com/developer/mp3/
+
+ const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed
+- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional
++ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional
+
+ if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE)
+ {
diff --git a/media-libs/id3lib/id3lib-3.8.3-r8.ebuild b/media-libs/id3lib/id3lib-3.8.3-r9.ebuild
index bdd432daa77..79e0b20e88b 100644
--- a/media-libs/id3lib/id3lib-3.8.3-r8.ebuild
+++ b/media-libs/id3lib/id3lib-3.8.3-r9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${P}-gcc-4.3.patch
"${FILESDIR}"/${P}-missing_nullpointer_check.patch
"${FILESDIR}"/${P}-security.patch
+ "${FILESDIR}"/${P}-vbr-stack-smashing.patch # bug 398571
)
src_prepare() {
diff --git a/media-libs/iir1/Manifest b/media-libs/iir1/Manifest
index b190452e9d1..b46dab6e22a 100644
--- a/media-libs/iir1/Manifest
+++ b/media-libs/iir1/Manifest
@@ -1 +1,2 @@
DIST iir1-1.9.3.tar.gz 2092743 BLAKE2B bbd6476b47574b7944281d1ce6a9eb072a57eb0bab5674110252fa2249fd5a549185a8de09f3fd0582e2f1b08f5b307a47c3d494df8cf12f9075654f60aaaaaa SHA512 3ac7f83832077acf670dd227f40a72e4ec635d62cc97c7e5160ec338b6578de4edf17704da338d221be57e93d05288fafd0b8324854cded6f09eb0e32027a994
+DIST iir1-1.9.4.tar.gz 2115692 BLAKE2B 4d53664395e48caf42bc9db74c772ba2f3409b6d8aa21e9a10ce8e54628c6d1034a30569e64bd78645c2f566be155ef254c96832ae04e374d024283636ebf659 SHA512 e69b79ba48aa5d5ec2ddb0a31461ac4c15b0489df80fddc1f1f8adc143726fa189dc0dd94a0ed2bb7aa73712f953e27b345a762120ab2d10f54f57a868f0ea42
diff --git a/media-libs/iir1/iir1-1.9.4.ebuild b/media-libs/iir1/iir1-1.9.4.ebuild
new file mode 100644
index 00000000000..78c35c53cd8
--- /dev/null
+++ b/media-libs/iir1/iir1-1.9.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="DSP IIR realtime filter library written in C++"
+HOMEPAGE="https://github.com/berndporr/iir1"
+SRC_URI="https://github.com/berndporr/iir1/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+ local mycmakeargs=(
+ -DIIR1_BUILD_DEMO=no
+ -DIIR1_BUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
diff --git a/media-libs/imlib/imlib-1.9.15-r5.ebuild b/media-libs/imlib/imlib-1.9.15-r7.ebuild
index 638c7d6d914..850ef24caad 100644
--- a/media-libs/imlib/imlib-1.9.15-r5.ebuild
+++ b/media-libs/imlib/imlib-1.9.15-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,10 +16,10 @@ KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
IUSE="doc static-libs"
RDEPEND="
- >=media-libs/tiff-3.9.7-r1:0[${MULTILIB_USEDEP}]
+ >=media-libs/tiff-3.9.7-r1:=[${MULTILIB_USEDEP}]
>=media-libs/giflib-5.1:0=[${MULTILIB_USEDEP}]
- >=media-libs/libpng-1.2.51:0=[${MULTILIB_USEDEP}]
- >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}]
+ media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
+ >=media-libs/libpng-1.2.51:=[${MULTILIB_USEDEP}]
>=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}]
>=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
index 6c3e8af8ab6..ff0b58573b3 100644
--- a/media-libs/imlib2/Manifest
+++ b/media-libs/imlib2/Manifest
@@ -1,4 +1,3 @@
DIST imlib2-1.7.1.tar.bz2 893631 BLAKE2B 637bf70ea223a63c51def0fac4102683a090de41a1f5904d6232fd2fa004915e3dcde54eac51d16532d2df83a0f8df127266766ac3700ae2948d39fefef512b8 SHA512 36e457855da0f129c7e7ba3dfcb44162b6624b1d56df5f84448495a96fe9ad1ce3e6c628222630be7274476722c4feaa8e1648d1e463439ca758e66ce9645970
DIST imlib2-1.7.5.tar.xz 793124 BLAKE2B bc47f81aeb635ca2f3d4962e1be5c53111a25a88ccbfcd8f9a7c87717b256966ca6b8cd78fb897287dab656ef2ade41a0955f7d3770d6d670e675954f000cebb SHA512 6e0a79359d6cac297b7a074a75bf577c8c1e3932d9993616834ea9076a7df544fafcfa960fe8ed7468f1291533f3c828260ccb809a882dadb3f3650ba9dd3f28
-DIST imlib2-1.9.0.tar.xz 807740 BLAKE2B 5fc1694a4a419434d2308f0bd76e7a2fe086a00159c5fe73a383bee4d0c721f2bf294e9a9e7cb86416f702d1991646b56fd3a876c573584c4a18c7bd5e5f5f88 SHA512 958fdabc938ec03ab48001ca4df72c8352cb261b12b09334d38348b22b8859cff16a1cda0d4447b73261723f223f62a799f80eb85a710ac5a44a3fa4f90734fd
DIST imlib2-1.9.1.tar.xz 813104 BLAKE2B ef7369d2285bd5b207f646ebb12492323203306c95786d8561a1191dbe489a8efe61975e4deed7bc9c8ed0ac24cf9bd826fa5a24095bc3d254e6f6d6379c8c8b SHA512 00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1
diff --git a/media-libs/imlib2/files/7d60151ba9.patch b/media-libs/imlib2/files/7d60151ba9.patch
new file mode 100644
index 00000000000..33709d83849
--- /dev/null
+++ b/media-libs/imlib2/files/7d60151ba9.patch
@@ -0,0 +1,37 @@
+https://bugs.gentoo.org/877777
+https://git.enlightenment.org/old/legacy-imlib2/commit/7d60151ba9696ef07be79af68d5c631a97c63906
+
+From 7d60151ba9696ef07be79af68d5c631a97c63906 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
+Date: Mon, 3 Jan 2022 10:56:03 +0100
+Subject: [PATCH] ICO loader: Fix compilation on big endian architectures
+
+Commit ff79901a071a76ec73cc98c7ff15102c514afb7b refactors the
+ico_read_idir function and removed the local nr variable. Unfortunately,
+this variable is still used within an `#ifdef WORDS_BIGENDIAN` block on
+big endian architectures as a for loop index variable. As such, the code
+does presently not compile since the aforementioned commit. This patch
+fixes this issue by re-introducing the variable conditionally on big
+endian architectures.
+
+Note: It would likely be cleaner to declare the nr variable as part of
+the loop declaration, however, this C99 feature does not seem to be used
+anywhere in the code base, hence I refrained from using it here.
+---
+ src/modules/loaders/loader_ico.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/modules/loaders/loader_ico.c b/src/modules/loaders/loader_ico.c
+index e8cef41..66c3643 100644
+--- a/src/modules/loaders/loader_ico.c
++++ b/src/modules/loaders/loader_ico.c
+@@ -139,6 +139,9 @@ ico_read_icon(ico_t * ico, int ino)
+ {
+ ie_t *ie;
+ unsigned int size;
++#ifdef WORDS_BIGENDIAN
++ unsigned int nr;
++#endif
+
+ ie = &ico->ie[ino];
+
diff --git a/media-libs/imlib2/imlib2-1.7.1-r2.ebuild b/media-libs/imlib2/imlib2-1.7.1-r4.ebuild
index 3845de03d7c..7914bb93ddd 100644
--- a/media-libs/imlib2/imlib2-1.7.1-r2.ebuild
+++ b/media-libs/imlib2/imlib2-1.7.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,10 +22,10 @@ RDEPEND="
media-libs/freetype:2[${MULTILIB_USEDEP}]
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
+ jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
- tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] )
+ tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
diff --git a/media-libs/imlib2/imlib2-1.7.5.ebuild b/media-libs/imlib2/imlib2-1.7.5-r1.ebuild
index 16f9305666f..51cc24ffa14 100644
--- a/media-libs/imlib2/imlib2-1.7.5.ebuild
+++ b/media-libs/imlib2/imlib2-1.7.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug doc +gif +jpeg mp3 +png +shm
static-libs +tiff +webp zlib"
@@ -22,10 +22,10 @@ RDEPEND="
media-libs/freetype:2[${MULTILIB_USEDEP}]
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
+ jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
- tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] )
+ tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
@@ -37,6 +37,7 @@ RDEPEND="
DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )"
BDEPEND="virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/7d60151ba9.patch" )
multilib_src_configure() {
local myeconfargs=(
diff --git a/media-libs/imlib2/imlib2-1.9.0.ebuild b/media-libs/imlib2/imlib2-1.9.0.ebuild
deleted file mode 100644
index af1d1b90b2a..00000000000
--- a/media-libs/imlib2/imlib2-1.9.0.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal toolchain-funcs
-
-DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
-HOMEPAGE="https://www.enlightenment.org/
- https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
-SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug doc +gif +jpeg mp3 +png +shm
- static-libs +tiff +webp zlib svg heif eps jpeg2k jpegxl"
-
-REQUIRED_USE="shm? ( X )"
-
-RDEPEND="
- media-libs/freetype:2[${MULTILIB_USEDEP}]
- bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
- gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
- jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
- mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
- png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
- tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] )
- webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
- svg? ( >=gnome-base/librsvg-2.46.0:=[${MULTILIB_USEDEP}] )
- heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] )
- eps? ( app-text/libspectre )
- jpeg2k? ( media-libs/openjpeg:=[${MULTILIB_USEDEP}] )
- jpegxl? ( media-libs/libjxl:=[${MULTILIB_USEDEP}] )
- X? (
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXext[${MULTILIB_USEDEP}]
- )
- zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
- !<media-plugins/imlib2_loaders-1.7.0
-"
-DEPEND="${RDEPEND}
- X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
- local myeconfargs=(
- $(use_with X x)
- $(use_with bzip2 bz2)
- $(use_enable debug)
- $(use_with gif)
- $(use_with jpeg)
- $(use_with mp3 id3)
- $(use_with png)
- $(use_with shm x-shm-fd)
- $(use_enable static-libs static)
- $(use_with tiff)
- $(use_with webp)
- $(use_with zlib)
- $(use_with svg)
- $(use_with heif)
- $(multilib_native_use_with eps ps)
- $(use_with jpeg2k j2k)
- $(use_with jpegxl jxl)
- )
-
- # imlib2 has different configure options for x86/amd64 assembly
- if [[ $(tc-arch) == amd64 ]]; then
- myeconfargs+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
- else
- myeconfargs+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
- fi
-
- ECONF_SOURCE="${S}" \
- econf "${myeconfargs[@]}"
-}
-
-multilib_src_install() {
- V=1 emake install DESTDIR="${D}"
- find "${D}" -name '*.la' -delete || die
-}
-
-multilib_src_install_all() {
- if use doc; then
- local HTML_DOCS=( "${S}"/doc/. )
- rm "${S}"/doc/Makefile.{am,in} || die
- fi
- einstalldocs
-}
diff --git a/media-libs/imlib2/imlib2-1.9.1.ebuild b/media-libs/imlib2/imlib2-1.9.1-r1.ebuild
index ece031d80ba..3b4baaea38d 100644
--- a/media-libs/imlib2/imlib2-1.9.1.ebuild
+++ b/media-libs/imlib2/imlib2-1.9.1-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X apidoc bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug
eps +gif +jpeg jpeg2k jpegxl heif lzma mp3 +png +shm static-libs
svg +tiff +webp zlib"
@@ -38,7 +38,7 @@ RDEPEND="
mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
svg? ( >=gnome-base/librsvg-2.46.0:=[${MULTILIB_USEDEP}] )
- tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] )
+ tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
!<media-plugins/imlib2_loaders-1.7.0
diff --git a/media-libs/intel-hybrid-codec-driver/Manifest b/media-libs/intel-hybrid-codec-driver/Manifest
new file mode 100644
index 00000000000..fdb2e271ea3
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/Manifest
@@ -0,0 +1 @@
+DIST intel-hybrid-codec-driver-2.0.0.tar.gz 1332637 BLAKE2B c02a54a12ad3b9d35bd4e15f9ffaecc8cd33750ab2eea73c8e4140ada1c666cd9a2b43725b44a22050f8140ffe2810ca87802854afb4c251cb879f219da8db6b SHA512 1d4e2c41d30892e07a3d2c83977725fca6fc20d887bead41109a0936fa9b4848131e4460cca8efe792f2815fcc9622d38d0a5e117a54403708e1132f1112d37a
diff --git a/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-gcc10-fix.patch b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-gcc10-fix.patch
new file mode 100644
index 00000000000..0c170579857
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-gcc10-fix.patch
@@ -0,0 +1,11 @@
+--- intel-hybrid-driver/src/media_drv_common.h 2020-05-26 23:18:02.279795861 +0100
++++ intel-hybrid-driver-new/src/media_drv_common.h 2020-05-26 23:19:11.316101524 +0100
+@@ -39,6 +39,6 @@
+ #define BRC_INIT_IGNORE_PICTURE_HEADER_SIZE 0x2000
+ #define BRC_INIT_DISABLE_MBBRC 0x8000
+
+-UINT SEARCH_PATH_TABLE[2][8][16];
+-UINT ME_CURBE_INIT_DATA[30];
++extern UINT SEARCH_PATH_TABLE[2][8][16];
++extern UINT ME_CURBE_INIT_DATA[30];
+ #endif
diff --git a/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-invalid-read-fix.patch b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-invalid-read-fix.patch
new file mode 100644
index 00000000000..e410a8cc89c
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-invalid-read-fix.patch
@@ -0,0 +1,39 @@
+diff --git a/src/media_drv_gen75_render.c b/src/media_drv_gen75_render.c
+index a3d60ff..51b1442 100644
+--- a/src/media_drv_gen75_render.c
++++ b/src/media_drv_gen75_render.c
+@@ -1453,7 +1453,7 @@ media_drv_gen75_render_init(VADriverContextP ctx)
+
+ if (IS_HASWELL (drv_ctx->drv_data.device_id)) {
+ memcpy(render_state->render_kernels, render_kernels_gen7_haswell,
+- sizeof(render_state->render_kernels));
++ sizeof(render_kernels_gen7_haswell));
+ render_state->render_put_surface = gen7_render_put_surface;
+ render_state->render_put_subpicture = gen7_render_put_subpicture;
+ } else {
+diff --git a/src/media_drv_gen8_render.c b/src/media_drv_gen8_render.c
+index 42005ea..da349cc 100644
+--- a/src/media_drv_gen8_render.c
++++ b/src/media_drv_gen8_render.c
+@@ -1741,7 +1741,7 @@ media_drv_gen8_render_init(VADriverContextP ctx)
+ render_state->max_wm_threads = 64;
+
+ memcpy(render_state->render_kernels, render_kernels_gen8,
+- sizeof(render_state->render_kernels));
++ sizeof(render_kernels_gen8));
+
+ kernel_size = 4096;
+
+diff --git a/src/media_drv_hw_g75.c b/src/media_drv_hw_g75.c
+index 57eddbd..080cd86 100644
+--- a/src/media_drv_hw_g75.c
++++ b/src/media_drv_hw_g75.c
+@@ -3325,7 +3325,7 @@ media_set_curbe_vp8_me (VP8_ME_CURBE_PARAMS * params)
+ MEDIA_CURBE_DATA_ME *cmd = (MEDIA_CURBE_DATA_ME *) params->curbe_cmd_buff;
+
+ media_drv_memcpy (cmd, sizeof (MEDIA_CURBE_DATA_ME), ME_CURBE_INIT_DATA,
+- sizeof (MEDIA_CURBE_DATA_ME));
++ sizeof (ME_CURBE_INIT_DATA));
+ me_mode =
+ params->
+ me_16x_enabled ? (params->me_16x ? ME16x_BEFORE_ME4x : ME4x_AFTER_ME16x) :
diff --git a/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-nullptr-fix.patch b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-nullptr-fix.patch
new file mode 100644
index 00000000000..84562584b6a
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-nullptr-fix.patch
@@ -0,0 +1,21 @@
+diff --git a/src/vp9hdec/decode_hybrid_vp9.cpp b/src/vp9hdec/decode_hybrid_vp9.cpp
+index 1baf339..7a086e2 100644
+--- a/src/vp9hdec/decode_hybrid_vp9.cpp
++++ b/src/vp9hdec/decode_hybrid_vp9.cpp
+@@ -3289,9 +3289,16 @@ VAStatus Intel_HybridVp9Decode_HostVldRenderCb (
+
+ // Reset padding flag of current frame and update surface dimension
+ surface = SURFACE(pMdfDecodeFrame->ucCurrIndex);
++ if ((surface == NULL) || (surface->private_data == NULL))
++ return VA_STATUS_ERROR_INVALID_PARAMETER;
++
+ pFrameSource = (INTEL_DECODE_HYBRID_VP9_MDF_FRAME_SOURCE *)(surface->private_data);
+ pCurrFrame = &(pFrameSource->Frame);
+ pFrameSource->bHasPadding = false;
++
++ if (pCurrFrame->pMdfSurface == NULL)
++ return VA_STATUS_ERROR_INVALID_PARAMETER;
++
+ pCurrFrame->pMdfSurface->SetSurfaceStateDimensions(
+ pMdfDecodeFrame->dwWidth,
+ pMdfDecodeFrame->dwHeight);
diff --git a/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-vadriverinit-fix.patch b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-vadriverinit-fix.patch
new file mode 100644
index 00000000000..5177e144853
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-vadriverinit-fix.patch
@@ -0,0 +1,13 @@
+--- intel-hybrid-driver/src/media_drv_init.c
++++ intel-hybrid-driver-new/src/media_drv_init.c
+@@ -2764,9 +2764,9 @@ va_driver_init (VADriverContextP ctx)
+ return ret;
+ }
+
+-VAStatus DLL_EXPORT __vaDriverInit_0_34 (VADriverContextP ctx);
++VAStatus DLL_EXPORT VA_DRIVER_INIT_FUNC (VADriverContextP ctx);
+ VAStatus
+-__vaDriverInit_0_34 (VADriverContextP ctx)
++VA_DRIVER_INIT_FUNC (VADriverContextP ctx)
+ {
+ VAStatus ret = VA_STATUS_ERROR_UNKNOWN;
diff --git a/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-x11-fix.patch b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-x11-fix.patch
new file mode 100644
index 00000000000..2422e4d1721
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/files/intel-hybrid-codec-driver-2.0.0-x11-fix.patch
@@ -0,0 +1,54 @@
+From b3b4d9a3a08d48bf6022723908a22255cc271ab7 Mon Sep 17 00:00:00 2001
+From: Daniel Charles <daniel.charles@intel.com>
+Date: Fri, 4 May 2018 09:56:10 -0700
+Subject: [PATCH] driver_init: load libva-x11.so for any ABI version
+
+with libva > 2.0.0 hybrid driver can operate with it as well
+so make this load generic to libva installed version
+
+Signed-off-by: Daniel Charles <daniel.charles@intel.com>
+---
+ src/media_drv_output_dri.c | 10 ++++++++++
+ src/media_drv_output_dri.h | 2 +-
+ 2 files changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/src/media_drv_output_dri.c b/src/media_drv_output_dri.c
+index 42299b8..bbd9713 100644
+--- a/src/media_drv_output_dri.c
++++ b/src/media_drv_output_dri.c
+@@ -105,6 +105,15 @@ media_output_dri_init (VADriverContextP ctx)
+ struct dri_vtable *dri_vtable;
+
+ static const struct dso_symbol symbols[] = {
++#if VA_CHECK_VERSION(1,0,0)
++ {"va_dri_get_drawable",
++ offsetof (struct dri_vtable, get_drawable)},
++ {"va_dri_get_rendering_buffer",
++ offsetof (struct dri_vtable, get_rendering_buffer)},
++ {"va_dri_swap_buffer",
++ offsetof (struct dri_vtable, swap_buffer)},
++ {NULL,}
++#else
+ {"dri_get_drawable",
+ offsetof (struct dri_vtable, get_drawable)},
+ {"dri_get_rendering_buffer",
+@@ -112,6 +121,7 @@ media_output_dri_init (VADriverContextP ctx)
+ {"dri_swap_buffer",
+ offsetof (struct dri_vtable, swap_buffer)},
+ {NULL,}
++#endif
+ };
+
+ drv_ctx->dri_output =
+diff --git a/src/media_drv_output_dri.h b/src/media_drv_output_dri.h
+index 0d6ccf0..889861c 100644
+--- a/src/media_drv_output_dri.h
++++ b/src/media_drv_output_dri.h
+@@ -30,7 +30,7 @@
+ #define _MEDIA__DRIVER_OUT_DRI_H
+ #include <stdbool.h>
+ #include "media_drv_defines.h"
+-#define LIBVA_X11_NAME "libva-x11.so.1"
++#define LIBVA_X11_NAME "libva-x11.so.2"
+ VOID media_output_dri_terminate (VADriverContextP ctx);
+ BOOL media_output_dri_init (VADriverContextP ctx);
diff --git a/media-libs/intel-hybrid-codec-driver/intel-hybrid-codec-driver-2.0.0.ebuild b/media-libs/intel-hybrid-codec-driver/intel-hybrid-codec-driver-2.0.0.ebuild
new file mode 100644
index 00000000000..94677eae42f
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/intel-hybrid-codec-driver-2.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_64 )
+EGIT_COMMIT="edead0c17e2818bc0fee0ea644f85ab81bbe6f7a"
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="Libva support for older hardware accelerated encode/decode on Haswell and newer"
+HOMEPAGE="https://github.com/intel/intel-hybrid-driver"
+SRC_URI="https://github.com/intel/intel-hybrid-driver/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/intel-hybrid-driver-${EGIT_COMMIT}"
+
+KEYWORDS="~amd64 ~amd64-linux"
+LICENSE="MIT"
+SLOT="0"
+IUSE="wayland X"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+ >=x11-libs/cmrt-1.0.6
+ >=x11-libs/libdrm-2.4.45
+ >=media-libs/libva-1.0.16[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc10-fix.patch"
+ "${FILESDIR}/${P}-vadriverinit-fix.patch"
+ "${FILESDIR}/${P}-x11-fix.patch"
+ "${FILESDIR}/${P}-nullptr-fix.patch"
+ "${FILESDIR}/${P}-invalid-read-fix.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myconf=(
+ $(use_enable wayland)
+ $(use_enable X x11)
+ )
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ default
+ find "${D}" -name "*.la" -delete || die
+}
diff --git a/media-libs/intel-hybrid-codec-driver/metadata.xml b/media-libs/intel-hybrid-codec-driver/metadata.xml
new file mode 100644
index 00000000000..b93334ee254
--- /dev/null
+++ b/media-libs/intel-hybrid-codec-driver/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>kaichun.ning@gmail.com</email>
+ <name>Kai-Chun Ning</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">intel/intel-hybrid-driver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/intel-mediasdk/Manifest b/media-libs/intel-mediasdk/Manifest
index cdb35d54327..d57117ecb2f 100644
--- a/media-libs/intel-mediasdk/Manifest
+++ b/media-libs/intel-mediasdk/Manifest
@@ -1 +1,2 @@
-DIST intel-mediasdk-20.3.0.tar.gz 10810941 BLAKE2B 5c5bc1a8444b6780ee7ea13711e7c59f62e8c9d8a7577ff848a6fbc5fc416d3e03580fe44dd9df7a506c19dd677986804a055cb16b34a06a55897623d25298d5 SHA512 2bd2604e6f17aeeea661352fd52c19b0ff2361919ad67b858287e507e0356cc805f1d22b39ff28294d303efefc33e10c2c5912d774f1bc40751c2c6c3c9e90c4
+DIST intel-mediasdk-22.6.3.tar.gz 11657130 BLAKE2B 3f63cf85716159f38f52cd0941cb716d9a25d2635e8b6da295a8fb78898ae007c3216148db580b94aa83742803effc0c1c2b0a431414a85f6feb44c93ae04738 SHA512 bd9fb9ca5b96bb2911db7fdf2622127f0dc3e86de8dc732bc6df6f4fcb343406e3ab14ffa5ce4595ed9b3bf19a73652681137fbe5b473c812c5b74554998a2b0
+DIST intel-mediasdk-22.6.4.tar.gz 11657778 BLAKE2B 3d95a685f5e4cc246367d046da8c8526264243321f0aacd2b9f6fbaed7eb0acdece1653801bd7cddd6b25338eecea6adb48b63a50049415621494cd481d455a1 SHA512 350347df8fd997a9043299faaee6fa6c8f67d3a301722c40ef8aab10bdfe6c01e7a2773c0add4617c98434e46030603ac56d4778074550498a128c7fb796c5a9
diff --git a/media-libs/intel-mediasdk/files/intel-mediasdk-20.3.0-missing-limits-include.patch b/media-libs/intel-mediasdk/files/intel-mediasdk-20.3.0-missing-limits-include.patch
deleted file mode 100644
index a3a5c1e06ec..00000000000
--- a/media-libs/intel-mediasdk/files/intel-mediasdk-20.3.0-missing-limits-include.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://bugs.gentoo.org/789726
-
-From fb9829058e35405081c8b361fb402eeaa6b78ed9 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Wed, 4 Aug 2021 21:47:49 +0100
-Subject: [PATCH] Add missing limits include
-
----
- _studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp b/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp
-index 5774702..ed1c1b7 100644
---- a/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp
-+++ b/_studio/mfx_lib/mctf_package/mctf/src/mctf_common.cpp
-@@ -44,6 +44,7 @@
- #include <algorithm>
- #include <climits>
- #include <cmath>
-+#include <limits>
- #include "cmrt_cross_platform.h"
-
- using std::min;
---
-2.32.0
-
diff --git a/media-libs/intel-mediasdk/intel-mediasdk-20.3.0-r1.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-20.3.0-r1.ebuild
deleted file mode 100644
index 2849dead015..00000000000
--- a/media-libs/intel-mediasdk/intel-mediasdk-20.3.0-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-if [[ ${PV} == *9999 ]] ; then
- : ${EGIT_REPO_URI:="https://github.com/Intel-Media-SDK/MediaSDK"}
- if [[ ${PV%9999} != "" ]] ; then
- : ${EGIT_BRANCH:="release/${PV%.9999}"}
- fi
- inherit git-r3
-fi
-
-DESCRIPTION="Intel Media SDK"
-HOMEPAGE="http://mediasdk.intel.com"
-if [[ ${PV} == *9999 ]] ; then
- SRC_URI=""
-else
- SRC_URI="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${PV}.tar.gz"
- S="${WORKDIR}/MediaSDK-intel-mediasdk-${PV}"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples
-# bug #805224
-DEPEND="
- >=x11-libs/libva-intel-media-driver-${PV}
- x11-libs/libdrm[video_cards_intel]
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-20.3.0-missing-limits-include.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_OPENCL=OFF
- )
-
- cmake_src_configure
-}
diff --git a/media-libs/intel-mediasdk/intel-mediasdk-22.6.3.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-22.6.3.ebuild
new file mode 100644
index 00000000000..a42d8290d2f
--- /dev/null
+++ b/media-libs/intel-mediasdk/intel-mediasdk-22.6.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature
+
+if [[ ${PV} == *9999 ]] ; then
+ : ${EGIT_REPO_URI:="https://github.com/Intel-Media-SDK/MediaSDK"}
+ if [[ ${PV%9999} != "" ]] ; then
+ : ${EGIT_BRANCH:="release/${PV%.9999}"}
+ fi
+ inherit git-r3
+fi
+
+DESCRIPTION="Intel Media SDK"
+HOMEPAGE="https://github.com/Intel-Media-SDK/MediaSDK"
+if [[ ${PV} == *9999 ]] ; then
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${PV}.tar.gz"
+ S="${WORKDIR}/MediaSDK-intel-mediasdk-${PV}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+IUSE="dri test +tools wayland X"
+# Test not working at the moment
+#RESTRICT="!test? ( test )"
+RESTRICT="test"
+# # Most of these flags only have an effect on the tools
+REQUIRED_USE="
+ dri? ( X )
+ wayland? ( tools )
+ X? ( tools )
+"
+
+# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples
+# bug #805224
+DEPEND="
+ x11-libs/libpciaccess
+ >=media-libs/libva-intel-media-driver-${PV}
+ media-libs/libva[X?,wayland?]
+ x11-libs/libdrm[video_cards_intel]
+ wayland? (
+ dev-libs/wayland
+ dev-util/wayland-scanner
+ dev-libs/wayland-protocols
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ # OpenCL only has an effect if we build kernels
+ -DENABLE_OPENCL=OFF
+ -DBUILD_TUTORIALS=OFF
+ # Need to package the cm-compiler to build kernels, use pre-built instead
+ -DBUILD_KERNELS=OFF
+ -DBUILD_RUNTIME=ON
+ -DBUILD_DISPATCHER=ON
+ -DBUILD_TOOLS="$(usex tools)"
+ # Cannot build tools without samples
+ -DBUILD_SAMPLES="$(usex tools)"
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_X11="$(usex X)"
+ -DENABLE_X11_DRI3="$(usex dri)"
+ -DENABLE_WAYLAND="$(usex wayland)"
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu
+}
diff --git a/media-libs/intel-mediasdk/intel-mediasdk-22.6.4.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-22.6.4.ebuild
new file mode 100644
index 00000000000..27755b2b6e9
--- /dev/null
+++ b/media-libs/intel-mediasdk/intel-mediasdk-22.6.4.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature
+
+if [[ ${PV} == *9999 ]] ; then
+ : ${EGIT_REPO_URI:="https://github.com/Intel-Media-SDK/MediaSDK"}
+ if [[ ${PV%9999} != "" ]] ; then
+ : ${EGIT_BRANCH:="release/${PV%.9999}"}
+ fi
+ inherit git-r3
+fi
+
+DESCRIPTION="Intel Media SDK"
+HOMEPAGE="https://github.com/Intel-Media-SDK/MediaSDK"
+if [[ ${PV} == *9999 ]] ; then
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${PV}.tar.gz"
+ S="${WORKDIR}/MediaSDK-intel-mediasdk-${PV}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+IUSE="dri test +tools wayland X"
+# Test not working at the moment
+#RESTRICT="!test? ( test )"
+RESTRICT="test"
+# Most of these flags only have an effect on the tools
+REQUIRED_USE="
+ dri? ( X )
+ wayland? ( tools )
+ X? ( tools )
+"
+
+# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples
+# bug #805224
+DEPEND="
+ x11-libs/libpciaccess
+ >=media-libs/libva-intel-media-driver-${PV}
+ media-libs/libva[X?,wayland?]
+ x11-libs/libdrm[video_cards_intel]
+ wayland? (
+ dev-libs/wayland
+ dev-util/wayland-scanner
+ dev-libs/wayland-protocols
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ # OpenCL only has an effect if we build kernels
+ -DENABLE_OPENCL=OFF
+ -DBUILD_TUTORIALS=OFF
+ # Need to package the cm-compiler to build kernels, use pre-built instead
+ -DBUILD_KERNELS=OFF
+ -DBUILD_RUNTIME=ON
+ -DBUILD_DISPATCHER=ON
+ -DBUILD_TOOLS="$(usex tools)"
+ # Cannot build tools without samples
+ -DBUILD_SAMPLES="$(usex tools)"
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_X11="$(usex X)"
+ -DENABLE_X11_DRI3="$(usex dri)"
+ -DENABLE_WAYLAND="$(usex wayland)"
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu
+}
diff --git a/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild b/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild
index 33349a10335..a42d8290d2f 100644
--- a/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild
+++ b/media-libs/intel-mediasdk/intel-mediasdk-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit cmake
+inherit cmake optfeature
if [[ ${PV} == *9999 ]] ; then
: ${EGIT_REPO_URI:="https://github.com/Intel-Media-SDK/MediaSDK"}
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999 ]] ; then
fi
DESCRIPTION="Intel Media SDK"
-HOMEPAGE="http://mediasdk.intel.com"
+HOMEPAGE="https://github.com/Intel-Media-SDK/MediaSDK"
if [[ ${PV} == *9999 ]] ; then
SRC_URI=""
else
@@ -26,18 +26,57 @@ fi
LICENSE="MIT"
SLOT="0"
+IUSE="dri test +tools wayland X"
+# Test not working at the moment
+#RESTRICT="!test? ( test )"
+RESTRICT="test"
+# # Most of these flags only have an effect on the tools
+REQUIRED_USE="
+ dri? ( X )
+ wayland? ( tools )
+ X? ( tools )
+"
+
# x11-libs/libdrm[video_cards_intel] for intel_bufmgr.h in samples
# bug #805224
DEPEND="
- >=x11-libs/libva-intel-media-driver-${PV}
+ x11-libs/libpciaccess
+ >=media-libs/libva-intel-media-driver-${PV}
+ media-libs/libva[X?,wayland?]
x11-libs/libdrm[video_cards_intel]
+ wayland? (
+ dev-libs/wayland
+ dev-util/wayland-scanner
+ dev-libs/wayland-protocols
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
+ # OpenCL only has an effect if we build kernels
-DENABLE_OPENCL=OFF
+ -DBUILD_TUTORIALS=OFF
+ # Need to package the cm-compiler to build kernels, use pre-built instead
+ -DBUILD_KERNELS=OFF
+ -DBUILD_RUNTIME=ON
+ -DBUILD_DISPATCHER=ON
+ -DBUILD_TOOLS="$(usex tools)"
+ # Cannot build tools without samples
+ -DBUILD_SAMPLES="$(usex tools)"
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_X11="$(usex X)"
+ -DENABLE_X11_DRI3="$(usex dri)"
+ -DENABLE_WAYLAND="$(usex wayland)"
)
cmake_src_configure
}
+
+pkg_postinst() {
+ optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu
+}
diff --git a/media-libs/intel-mediasdk/metadata.xml b/media-libs/intel-mediasdk/metadata.xml
index 716be526394..888102391fd 100644
--- a/media-libs/intel-mediasdk/metadata.xml
+++ b/media-libs/intel-mediasdk/metadata.xml
@@ -1,7 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>media-video@gentoo.org</email>
-</maintainer>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Intel-Media-SDK/MediaSDK</remote-id>
+ </upstream>
+ <use>
+ <flag name="tools">Build analyse and inspect tools</flag>
+ </use>
</pkgmetadata>
diff --git a/media-libs/jbig2dec/jbig2dec-0.19.ebuild b/media-libs/jbig2dec/jbig2dec-0.19.ebuild
index a0d409bdf50..72981df9aaf 100644
--- a/media-libs/jbig2dec/jbig2dec-0.19.ebuild
+++ b/media-libs/jbig2dec/jbig2dec-0.19.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
inherit autotools python-any-r1
diff --git a/media-libs/jg/Manifest b/media-libs/jg/Manifest
new file mode 100644
index 00000000000..1fcede48ee2
--- /dev/null
+++ b/media-libs/jg/Manifest
@@ -0,0 +1 @@
+DIST jg-1.0.0.tar.bz2 12540 BLAKE2B 0f50221737a3bf294731e593988f9e6314291b3ab8389610ce0a0b6d8bf870dc49312b3129ff1479fde518ab35aeb47b172022c0630b09903a384a6d95c5ba0c SHA512 183766714279fe9fc30887d92ca533931a9906f53b4b8c2c8032914fa375e5f40f540ba4c2c32569f5ed956f108eb1e483227e42b59fb08fea6872fe9526b4fb
diff --git a/media-libs/jg/jg-1.0.0.ebuild b/media-libs/jg/jg-1.0.0.ebuild
new file mode 100644
index 00000000000..9f2cd213794
--- /dev/null
+++ b/media-libs/jg/jg-1.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Reference Implementation of The Jolly Good API"
+HOMEPAGE="https://jgemu.gitlab.io/"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/jgemu/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/jgemu/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="ZLIB"
+SLOT="1"
+
+src_compile() {
+ : # Nothing to do
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
+}
diff --git a/media-libs/jg/jg-9999.ebuild b/media-libs/jg/jg-9999.ebuild
new file mode 100644
index 00000000000..9f2cd213794
--- /dev/null
+++ b/media-libs/jg/jg-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Reference Implementation of The Jolly Good API"
+HOMEPAGE="https://jgemu.gitlab.io/"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/jgemu/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/jgemu/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="ZLIB"
+SLOT="1"
+
+src_compile() {
+ : # Nothing to do
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
+}
diff --git a/media-libs/jg/metadata.xml b/media-libs/jg/metadata.xml
new file mode 100644
index 00000000000..4525b8490bc
--- /dev/null
+++ b/media-libs/jg/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The Jolly Good API is an emulation focused API for
+ rshared objects, written in ISO C99. It has been
+ designed with the goal of simplicity to ensure that
+ emulator cores are lean and minimalistic, making
+ them easier to understand.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/jg/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/jg</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/kcolorpicker/kcolorpicker-0.2.0.ebuild b/media-libs/kcolorpicker/kcolorpicker-0.2.0.ebuild
index 4e15369406c..2963e9a9562 100644
--- a/media-libs/kcolorpicker/kcolorpicker-0.2.0.ebuild
+++ b/media-libs/kcolorpicker/kcolorpicker-0.2.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/ksnip/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.
LICENSE="LGPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="test"
RDEPEND="
diff --git a/media-libs/kimageannotator/kimageannotator-0.6.0.ebuild b/media-libs/kimageannotator/kimageannotator-0.6.0.ebuild
index 430ca94fb11..73229b1a534 100644
--- a/