diff options
Diffstat (limited to 'media-video')
24 files changed, 44 insertions, 1612 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz Binary files differindex 88267acf6d2e..b69b97390330 100644 --- a/media-video/Manifest.gz +++ b/media-video/Manifest.gz diff --git a/media-video/gpac/Manifest b/media-video/gpac/Manifest index 54e4ecfb2e7c..fcf701d61b04 100644 --- a/media-video/gpac/Manifest +++ b/media-video/gpac/Manifest @@ -1,16 +1,6 @@ -AUX gpac-1.0.0-zlib-compile.patch 1498 BLAKE2B 84c5b0e8bf35e6c6a0b1655e2995e0a71a7b707dc922a4bf011c3b0ce00b64a6eba976dd7c1a45a5e8e208b608762e9bef6a38be9937714b573c7c907614d8d9 SHA512 8a066d2c2fbf185ed131792c48bbc5fe5414bcdbb77df6377a98a58f9bdd017b3260ea0d6e9130791589e64e351369f25f3849d4b635196e1c022ce6720ced1c -AUX gpac-2.0.0-configure.patch 3674 BLAKE2B 423016315ac7e7ac6959813dada7cfa97a415c62200fb6e9dce74a89b28124a042f5e9736ac815827ee30001cf7c973495dd3577b8963e1bcab3b8d54a50f41f SHA512 b1f620a9c5be2a889805976a985e7ecf89e736f2b11a5a4c07f6d5fe39e511a603f048760cb6b0d6e9cb0e217acad2897839ef5289c2b4de088b95f75577c4f0 -AUX gpac-2.2.0-configure.patch 3504 BLAKE2B a32633e3b3384e48341ea011119191b0bbe44c3b433ddf413bbf64829e7a642653e1c78c240690df2cc12e6c5f88376275ecbc5a5951dc83d81ba90135ea9bdb SHA512 634236a1a5f14fe5fe5138b16fdf95da1c30aece41525a6ab183b845dd0d37313241319fd305e457623c8b30c600ac9263c4e2b5989cb75e77b3624542fe2c3b -AUX gpac-2.2.0-ffmpeg6-deux.patch 1720 BLAKE2B 3e3e8af384e63d169a87ae766b20f7490250c0eb428a4c1538cf94293506b0f110a910d0c1d5419c0d71de847a9ba0cdf59d2f6c0ea3c5e5ca4c2c3acc5e304a SHA512 2570e61adf12430825ea5baa6695c8dff0f1abc77dcb464fab279326299758245b2eecf967184c3308a6d24865891dd9622f0c15ae136cc31a77954c3d864206 -AUX gpac-2.2.0-ffmpeg6.patch 1162 BLAKE2B bed72ce7db91a5c25f74ae33561fa47c2951dbf454714ef912fd0a97fb5701d7beaaff48608f985b9824e00deea957d3bf7859b2ff3fa6cc6a41e7147b5f2f94 SHA512 6aac7c2a7f5f91d95f6908d798d253dab61cb234bda743df4d477e84be5ee77375e3ea3572fb3b8090e095c441756a2b97d65615853a4a584d0387eb4a32f532 -AUX gpac-2.2.1-fix-bigendian.patch 949 BLAKE2B edead7173ac45fa79e30211412090b40c9ce4e4992a4497dcd9334c1a9308699f2a418cd31715dac03a2882feddc27a42a42133cc23bad6d097cc936e0d20a5a SHA512 e8e23cc8753476297e9bc98d950dbdfc5741c2665ba634e5db43e1e9459374effc2d49bbf8e991fe90553e6820837024bea40d3f6e52d8fa2ece6e07e78a568b AUX gpac-2.4.0-configure-stddef.patch 940 BLAKE2B 9125c34dabd14bc73344c31e5690b9fe56c19165e8068146911ae3300e74c113550d43a418725be281661aae186b79511aa4bdfd4a9e3bab8fbcbfa76a4b252e SHA512 8f977a972f60fe117cc0647e5746570b5a584f27ae5a50c172b9b467baeec35f23429ae1009bebb9e3e9946724ded3321ff74404331d69ea95f8edcc9e8c5ea6 AUX gpac-2.4.0-ffmpeg6.patch 342 BLAKE2B 5300323a666fe88552ce61051eabf093d8ac4bbaf0c3aa01bdedcc412f0beaacc767448f85c124f125401124df262c08dbb1da44c56b743fe102e7005b84b255 SHA512 dd636d0a190108246cc468e51732e1532de90a530c03535c95ee8097c1acd45ef61d3287c18d2752247b6198b1431d2d4cc89556a07428d138b4ac231b255873 AUX gpac-2.4.0-ffmpeg7.patch 2091 BLAKE2B 0f1ba4dde8acdbdb66dfe282f1856a376593e526b40c2f0af083394d8ca4c3848c31b0591c310e6367cc22cba5f518347faf0746b60df9eb2de558d255a64311 SHA512 033298f602381586dd9d8dd103b274e8aef72637ff854fc01aaa211bbe5e398967cffcb169ae4600a16781e302c5fd77b275aa7ab9c53f4b85eb8d8d83d05ec1 -DIST gpac-2.0.0.tar.gz 11362932 BLAKE2B a8489831efb77c374d13e2edb3951e60a94907c4cd8601919e1390aee0e9002249e97a9200fd006c2aa783c516f701f7695aa84b5f3596a3bc90290916ff4086 SHA512 e95e6d78167fc306917b3ac89e56ba511bbcb0c825da118f5ba374504499352104b5c1f3ee71e7ec018015b8e302f9b07162d22287ddb21c8564b097d900913f -DIST gpac-2.2.1.tar.gz 11377184 BLAKE2B 44b47459da0f203d0e4c0eed5836a59f44fb508db4e601b46e9ffdb53d89bb49e22ccdfe7951b17581130f186c47ae8efc0d9002685d5cf9a3547159356d2d9e SHA512 873df4c2fdc3594a0f3bce66d511cee14669643042ab1ca8d7f370ad3f50636c32c31f79818051d00bf844de30a5533ae30c81ed168baf2626a152771b6a6845 DIST gpac-2.4.0.tar.gz 9914579 BLAKE2B 09d7eeb390b4d10a6d144bf4046a7b53283fa05be01c663e0cd82e8b7b8d9dece30ef42747c12a7477f5b13ca7c7e18905f36d3f20396bb50937a249729fd3a8 SHA512 164d8a1ff235413852cc2077b5153c36b094862b61fdda12065bf6810926caabd1a1f6f30b7aac9a5b640f51fe92a6ca911518a424cab7220b635920d95da99f -EBUILD gpac-2.0.0.ebuild 3354 BLAKE2B 5c55018a050f8dacee193372c0c97161e628613a50454e325aae39dcac11fecdd0b1d2f816ba21295a9b493467b4542dbc4264f1b34e796fff493a798bd7151b SHA512 02e8e64a69d731ace0e0846b322aa3fa310b278f874d3d4505bd391887c74dc585e5fc338d9e8400509de8d57ef7e751b2c9725f4d35e43ff1a4269a3bd268ca -EBUILD gpac-2.2.1-r1.ebuild 3371 BLAKE2B dc00a44a677961fe9597b00015c3bf94a9277fa2bc1a0324c2ce044a0bb9c8695a02813ec8f22e9aba08092a957bc8a4ec22fa2fa1dc42aacd16c27ca4008eb8 SHA512 eae9159c5150348200ade19830f2353078797b93e7d5468c4a000fcbb224f137c079488f3192365a229eed7e88f5e87f90049426e06cfd26ba83207e66429ab8 -EBUILD gpac-2.4.0.ebuild 3283 BLAKE2B 4e2c7115bb490510167e8259528264e16f1bd9b5cb506213e3bb4075786629d45daeea2fd9d24037b9fef89117733a28957bfd09811939b13a85ecbcfe07ac48 SHA512 b2d3bce80661fe6e73cbbc8484d63a27dd5a53ce10890ea9718171037138a147c2c5ef04022852b78e0cc3ca4f6af07c40d27ef3c7b7a307d2123f95847db7c4 +EBUILD gpac-2.4.0.ebuild 3278 BLAKE2B c86fa8113ed0509a0a7a3b52846a7a1c464bbdc90a9752a5e25fbfc2da870d06637ca3f98750c9e773eaf7b707216af24c0ab3be8ce27472fcf6a94f748ec0dc SHA512 ae62c84546c10b833dd1e3715c3a6e63d39c02ef0c774fa33bfdd67843d0cbaf0d16e461799669c6f01d4177627585562b5fc6b720b9d929726c8ef8c769e3f1 MISC metadata.xml 306 BLAKE2B 18a131089d9a3672627375f2e92b3ea7ea6f56ac69f969f4d7c1373f83561e3849a8923a69e6f076f2ba4cc9fe59d22a42ee9a4d3a0cb73ccd3430b3a4bf397e SHA512 eb782df8c2adc47e419b7f055860508be67288730c4efc0563648347fc261f7c42100746fcde9552ec4be0482ffb40e41dc4e48961df1f876d9b250e47a9e737 diff --git a/media-video/gpac/files/gpac-1.0.0-zlib-compile.patch b/media-video/gpac/files/gpac-1.0.0-zlib-compile.patch deleted file mode 100644 index c5b1fc4ab56f..000000000000 --- a/media-video/gpac/files/gpac-1.0.0-zlib-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -Index: gpac-1.0.0/src/utils/gzio.c -=================================================================== ---- gpac-1.0.0.orig/src/utils/gzio.c -+++ gpac-1.0.0/src/utils/gzio.c -@@ -93,10 +93,10 @@ typedef struct gz_stream { - //local gzFile gz_open OF((const char *path, const char *mode, int fd)); - //local int do_flush OF((gzFile file, int flush)); - //local int get_byte OF((gz_stream *s)); --local void check_header OF((gz_stream *s)); --local int destroy OF((gz_stream *s)); -+local void check_header _Z_OF((gz_stream *s)); -+local int destroy _Z_OF((gz_stream *s)); - //local void putLong OF((FILE *file, uLong x)); --local uLong getLong OF((gz_stream *s)); -+local uLong getLong _Z_OF((gz_stream *s)); - - /* =========================================================================== - Opens a gzip (.gz) file for reading or writing. The mode parameter -Index: gpac-1.0.0/src/utils/zutil.h -=================================================================== ---- gpac-1.0.0.orig/src/utils/zutil.h -+++ gpac-1.0.0/src/utils/zutil.h -@@ -262,8 +262,8 @@ extern void z_error OF((char *m)); - #endif - - --voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); --void zcfree OF((voidpf opaque, voidpf ptr)); -+voidpf zcalloc _Z_OF((voidpf opaque, unsigned items, unsigned size)); -+void zcfree _Z_OF((voidpf opaque, voidpf ptr)); - - #define ZALLOC(strm, items, size) \ - (*((strm)->zalloc))((strm)->opaque, (items), (size)) diff --git a/media-video/gpac/files/gpac-2.0.0-configure.patch b/media-video/gpac/files/gpac-2.0.0-configure.patch deleted file mode 100644 index 2b54d16a8d22..000000000000 --- a/media-video/gpac/files/gpac-2.0.0-configure.patch +++ /dev/null @@ -1,113 +0,0 @@ -* Makes static libs optional -* Removes auto-SSE2 detection ----- -Index: gpac-2.0.0/Makefile -=================================================================== ---- gpac-2.0.0.orig/Makefile -+++ gpac-2.0.0/Makefile -@@ -298,8 +298,9 @@ ifeq ($(GPAC_ENST),yes) - endif - - $(INSTALL) -d "$(DESTDIR)$(prefix)/$(lib_dir)" -+ifeq ($(STATIC_LIBS), yes) - $(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(lib_dir)" || true -- -+endif - $(INSTALL) -d $(DESTDIR)$(prefix)/$(lib_dir)/pkgconfig - $(INSTALL) $(INSTFLAGS) -m 644 gpac.pc "$(DESTDIR)$(prefix)/$(lib_dir)/pkgconfig" - -Index: gpac-2.0.0/configure -=================================================================== ---- gpac-2.0.0.orig/configure -+++ gpac-2.0.0/configure -@@ -106,6 +106,7 @@ has_dvb4linux="no" - has_openjpeg="no" - gprof_build="no" - static_build="no" -+static_libs="no" - want_pic="no" - want_gcov="no" - has_joystick="no" -@@ -271,6 +272,7 @@ GPAC configuration options: - --static-modules use static modules in libgpac rather than dynamic library modules - --static-build link statically against libgpac but still allow dependencies to shared libraries (enable --static-modules) - --enable-static-bin old name for --static-build, deprecated -+ --enable-static-lib GPAC static libraries build - --static-bin enable static linking of MP4Box and gpac only (enable --static-build), disable MP4Client and all libraries not linkable statically. - --static-mp4box old name for --static-bin, deprecated - --enable-depth enables depth handling in the compositor -@@ -741,14 +743,6 @@ if docc -lz -Wno-pointer-sign ; then - fi - - --#GCC opt --if test "$no_gcc_opt" = "no"; then -- CFLAGS="-O3 $CFLAGS" --else -- CFLAGS="-O0 $CFLAGS" --fi -- -- - #GCC PIC - if test "$cross_prefix" != "" ; then - want_pic="no" -@@ -776,10 +770,6 @@ cat > $TMPC << EOF - int main( void ) { return 0; } - EOF - --if docc -msse2 $LDFLAGS ; then -- CFLAGS="$CFLAGS -msse2" --fi -- - - #look for zlib - cat > $TMPC << EOF -@@ -1790,6 +1780,8 @@ for opt do - echo "$opt deprecated, use --static-build instead" - static_build="yes"; - ;; -+ --enable-static-libs) static_libs="yes"; -+ ;; - --disable-ipv6) has_ipv6="no" - ;; - --disable-platinum) has_platinum="no" -@@ -2521,6 +2513,7 @@ else - fi - echo "debug version: $debuginfo" - echo "GProf enabled: $gprof_build" -+echo "Static libs enabled: $static_libs" - echo "Memory tracking enabled: $use_memory_tracking" - echo "Sanitizer enabled: $enable_sanitizer" - echo "Fixed-Point Version: $use_fixed_point" -@@ -3252,6 +3245,7 @@ echo "DEBUGBUILD=$debuginfo" >> config.m - echo "GPROFBUILD=$gprof_build" >> config.mak - echo "STATIC_BINARY=$static_bin" >> config.mak - echo "STATICBUILD=$static_build" >> config.mak -+echo "STATICLIBS=$static_libs" >> config.mak - - echo "CONFIG_IPV6=$has_ipv6" >> config.mak - if test "$has_ipv6" = "yes" ; then -Index: gpac-2.0.0/src/Makefile -=================================================================== ---- gpac-2.0.0.orig/src/Makefile -+++ gpac-2.0.0/src/Makefile -@@ -387,7 +387,6 @@ jsmods: $(LIBGPAC_JSMODS) - # @echo "LIBS $(EXTRALIBS)" - - ifeq ($(CONFIG_DARWIN),yes) -- - $(LIBTOOL) -s -o ../bin/gcc/libgpac_static.a $(OBJS) - $(RANLIB) ../bin/gcc/libgpac_static.a - ifneq ($(STATICBUILD),yes) -@@ -395,9 +394,10 @@ ifneq ($(STATICBUILD),yes) - endif - - else -- -+ifeq ($(STATICLIBS), yes) - $(AR) cr ../bin/gcc/libgpac_static.a $(OBJS) - $(RANLIB) ../bin/gcc/libgpac_static.a -+endif - ifneq ($(STATICBUILD),yes) - $(CC) $(SHFLAGS) $(LD_SONAME) -o $@ $(OBJS) $(EXTRALIBS) $(LDFLAGS) - mv $@ $@.$(VERSION_SONAME) diff --git a/media-video/gpac/files/gpac-2.2.0-configure.patch b/media-video/gpac/files/gpac-2.2.0-configure.patch deleted file mode 100644 index 1d26b52a6d90..000000000000 --- a/media-video/gpac/files/gpac-2.2.0-configure.patch +++ /dev/null @@ -1,104 +0,0 @@ -* Makes static libs optional -* Removes auto-SSE2 detection - -Index: gpac-2.2.0/Makefile -=================================================================== ---- gpac-2.2.0.orig/Makefile -+++ gpac-2.2.0/Makefile -@@ -276,7 +276,9 @@ install-lib: - $(INSTALL) $(INSTFLAGS) -m 644 config.h "$(DESTDIR)$(prefix)/include/gpac/configuration.h" || true - - $(INSTALL) -d "$(DESTDIR)$(prefix)/$(lib_dir)" -+ifeq ($(STATIC_LIBS), yes) - $(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(lib_dir)" || true -+endif - - $(INSTALL) -d $(DESTDIR)$(prefix)/$(lib_dir)/pkgconfig - $(INSTALL) $(INSTFLAGS) -m 644 gpac.pc "$(DESTDIR)$(prefix)/$(lib_dir)/pkgconfig" -Index: gpac-2.2.0/configure -=================================================================== ---- gpac-2.2.0.orig/configure -+++ gpac-2.2.0/configure -@@ -74,6 +74,7 @@ enable_sanitizer="no" - libgpac_cflags="" - libgpac_extralibs="" - static_build="no" -+static_libs="no" - static_bin="no" - static_modules="no" - lm_lib="" -@@ -273,6 +274,7 @@ GPAC build options: - --disable-opt disable GCC optimizations - --static-build link statically against libgpac but still allow dependencies to shared libraries (enable --static-modules) - --static-bin enable static linking of MP4Box and gpac only (will enable --static-build), disable all libraries not linkable statically. -+ --enable-static-lib GPAC static libraries build - --sdl-cfg=SDL_PATH specify path to sdl-config for local install [$sdl_path] - --enable-sdl-static use static SDL linking [default=no] - --X11-path=X11_PATH specify path for X11 includes and libraries [$X11_PATH] -@@ -552,6 +554,8 @@ for opt do - echo "$opt deprecated, use --static-build instead" - static_build="yes"; - ;; -+ --enable-static-libs) static_libs="yes"; -+ ;; - --enable-fixed-point) use_fixed_point="yes" - ;; - --strip) INSTFLAGS="-s $INSTFLAGS" -@@ -943,14 +947,6 @@ if docc -lz -Wno-pointer-sign ; then - fi - - --#GCC opt --if test "$no_gcc_opt" = "no"; then -- CFLAGS="-O3 $CFLAGS" --else -- CFLAGS="-O0 $CFLAGS" --fi -- -- - #GCC PIC - if test "$cross_prefix" != "" ; then - want_pic="no" -@@ -978,11 +974,6 @@ cat > $TMPC << EOF - int main( void ) { return 0; } - EOF - --if docc -msse2 $LDFLAGS ; then -- CFLAGS="$CFLAGS -msse2" --fi -- -- - #check dlopen support - has_dlopen="no" - cat > $TMPC << EOF -@@ -1888,6 +1879,7 @@ else - fi - echo "debug version: $debuginfo" - echo "GProf enabled: $gprof_build" -+echo "Static libs enabled: $static_libs" - echo "Memory tracking enabled: $use_memory_tracking" - echo "Sanitizer enabled: $enable_sanitizer" - echo "Fixed-Point Version: $use_fixed_point" -@@ -2604,6 +2596,7 @@ echo "DEBUGBUILD=$debuginfo" >> config.m - echo "GPROFBUILD=$gprof_build" >> config.mak - echo "STATIC_BINARY=$static_bin" >> config.mak - echo "STATIC_BUILD=$static_build" >> config.mak -+echo "STATIC_LIBS=$static_libs" >> config.mak - - echo "CONFIG_IPV6=$has_ipv6" >> config.mak - if test "$has_ipv6" = "yes" ; then -Index: gpac-2.2.0/src/Makefile -=================================================================== ---- gpac-2.2.0.orig/src/Makefile -+++ gpac-2.2.0/src/Makefile -@@ -369,8 +369,10 @@ endif - - else - -+ifeq ($(STATIC_LIBS), yes) - $(AR) cr ../bin/gcc/libgpac_static.a $(OBJS) - $(RANLIB) ../bin/gcc/libgpac_static.a -+endif - ifneq ($(STATIC_BUILD),yes) - $(CC) $(SHFLAGS) $(LD_SONAME) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) - mv $@ $@.$(VERSION_SONAME) diff --git a/media-video/gpac/files/gpac-2.2.0-ffmpeg6-deux.patch b/media-video/gpac/files/gpac-2.2.0-ffmpeg6-deux.patch deleted file mode 100644 index 695852847395..000000000000 --- a/media-video/gpac/files/gpac-2.2.0-ffmpeg6-deux.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://bugs.gentoo.org/903550 - -From ba14e34dd7a3c4cef5a56962898e9f863dd4b4f3 Mon Sep 17 00:00:00 2001 -From: jeanlf <jeanlf@gpac.io> -Date: Mon, 13 Mar 2023 09:43:52 +0100 -Subject: [PATCH] fixed compil with ffmpeg 6 - cf #2406 - ---- a/src/filters/ff_mx.c -+++ b/src/filters/ff_mx.c -@@ -503,7 +503,11 @@ static GF_Err ffmx_close_seg(GF_Filter *filter, GF_FFMuxCtx *ctx, Bool send_evt_ - evt.seg_size.is_init = 0; - } - evt.seg_size.media_range_start = ctx->offset_at_seg_start; -+#if LIBAVFORMAT_VERSION_MAJOR >= 60 - evt.seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->bytes_written-1) : 0; -+#else -+ evt.seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->written-1) : 0; -+#endif - ctx->offset_at_seg_start = evt.seg_size.media_range_end; - - gf_filter_pid_send_event(pid, &evt); -@@ -1013,13 +1017,21 @@ static GF_Err ffmx_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_r - ff_codec_id = ffmpeg_codecid_from_gpac(codec_id, &ff_codec_tag); - } - -+ -+ res = 1; -+#if LIBAVFORMAT_VERSION_MAJOR < 60 - if (ctx->muxer->oformat) { - res = avformat_query_codec(ctx->muxer->oformat, ff_codec_id, 1); -- if (!res) { -- GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[FFMux] Codec %s not supported in container %s\n", gf_codecid_name(codec_id), ctx->muxer->oformat->name)); -- return GF_NOT_SUPPORTED; -- } - } -+#else -+ res = avformat_query_codec(ctx->muxer->oformat, ff_codec_id, FF_COMPLIANCE_NORMAL); -+#endif -+ -+ if (!res) { -+ GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[FFMux] Codec %s not supported in container %s\n", gf_codecid_name(codec_id), ctx->muxer->oformat->name)); -+ return GF_NOT_SUPPORTED; -+ } -+ - const AVCodec *c = avcodec_find_decoder(ff_codec_id); - if (!c) return GF_NOT_SUPPORTED; diff --git a/media-video/gpac/files/gpac-2.2.0-ffmpeg6.patch b/media-video/gpac/files/gpac-2.2.0-ffmpeg6.patch deleted file mode 100644 index 89bd0492b7ed..000000000000 --- a/media-video/gpac/files/gpac-2.2.0-ffmpeg6.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: gpac-2.2.0/src/filters/ff_mx.c -=================================================================== ---- gpac-2.2.0.orig/src/filters/ff_mx.c -+++ gpac-2.2.0/src/filters/ff_mx.c -@@ -503,7 +503,7 @@ static GF_Err ffmx_close_seg(GF_Filter * - evt.seg_size.is_init = 0; - } - evt.seg_size.media_range_start = ctx->offset_at_seg_start; -- evt.seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->written-1) : 0; -+ evt.seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->bytes_written-1) : 0; - ctx->offset_at_seg_start = evt.seg_size.media_range_end; - - gf_filter_pid_send_event(pid, &evt); -@@ -1013,8 +1013,8 @@ static GF_Err ffmx_configure_pid(GF_Filt - ff_codec_id = ffmpeg_codecid_from_gpac(codec_id, &ff_codec_tag); - } - -- if (ctx->muxer->oformat && ctx->muxer->oformat->query_codec) { -- res = ctx->muxer->oformat->query_codec(ff_codec_id, 1); -+ if (ctx->muxer->oformat) { -+ res = avformat_query_codec(ctx->muxer->oformat, ff_codec_id, 1); - if (!res) { - GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[FFMux] Codec %s not supported in container %s\n", gf_codecid_name(codec_id), ctx->muxer->oformat->name)); - return GF_NOT_SUPPORTED; diff --git a/media-video/gpac/files/gpac-2.2.1-fix-bigendian.patch b/media-video/gpac/files/gpac-2.2.1-fix-bigendian.patch deleted file mode 100644 index cf822967f2d3..000000000000 --- a/media-video/gpac/files/gpac-2.2.1-fix-bigendian.patch +++ /dev/null @@ -1,22 +0,0 @@ -From b0ad643014e567f47d1231771b473d25986c512e Mon Sep 17 00:00:00 2001 -From: Aurelien David <aurelien.david@telecom-paristech.fr> -Date: Tue, 20 Dec 2022 15:48:42 +0100 -Subject: [PATCH] fix bigendian build (#2363) - ---- - src/evg/stencil.c | 8 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/evg/stencil.c b/src/evg/stencil.c -index 6528722c69..95e6ea7d9e 100644 ---- a/src/evg/stencil.c -+++ b/src/evg/stencil.c -@@ -1860,7 +1860,7 @@ u32 get_pix_yuv420p(EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) - #define GET_LE_10BIT_AS_16(_ptr) ( (((u16)(_ptr)[1])<<8 | (u16)(_ptr)[0] ) << 6 ) - - //#define GET_LE_10BIT_LEFT_AS_8(_ptr) ( (((u16)(_ptr)[1])<<8 | (u16)(_ptr)[0] ) >> 8 ) --#define GET_LE_10BIT_LEFT_AS_8(_ptr) (_ptr[1] ) -+#define GET_LE_10BIT_LEFT_AS_8(_ptr) ((_ptr)[1] ) - #define GET_LE_10BIT_LEFT_AS_16(_ptr) ( (((u16)(_ptr)[1])<<8 | (u16)(_ptr)[0] ) & 0xFFC0 ) - - #define GET_BE_10BIT_AS_8(_ptr) ( (*(u16 *)(_ptr)) >> 2 ) diff --git a/media-video/gpac/gpac-2.0.0.ebuild b/media-video/gpac/gpac-2.0.0.ebuild deleted file mode 100644 index 884c45073b43..000000000000 --- a/media-video/gpac/gpac-2.0.0.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/gpac/gpac" -else - SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" -fi - -inherit toolchain-funcs ${SCM} xdg - -DESCRIPTION="Implementation of the MPEG-4 Systems standard developed from scratch in ANSI C" -HOMEPAGE="https://gpac.wp.imt.fr/" - -LICENSE="GPL-2" -# subslot == libgpac major -SLOT="0/11" -IUSE="a52 aac alsa cpu_flags_x86_sse2 debug dvb ffmpeg ipv6 jack jpeg jpeg2k mad opengl oss png - pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - media-libs/libogg - sys-libs/zlib - a52? ( media-libs/a52dec ) - aac? ( media-libs/faad2 ) - alsa? ( media-libs/alsa-lib ) - ffmpeg? ( media-video/ffmpeg:0= ) - jack? ( virtual/jack ) - jpeg? ( virtual/jpeg:0 ) - jpeg2k? ( media-libs/openjpeg:2 ) - mad? ( media-libs/libmad ) - opengl? ( - media-libs/freeglut - virtual/glu - virtual/opengl - ) - png? ( media-libs/libpng:0= ) - pulseaudio? ( media-sound/pulseaudio ) - theora? ( media-libs/libtheora ) - truetype? ( media-libs/freetype:2 ) - sdl? ( media-libs/libsdl ) - ssl? ( - dev-libs/openssl:0= - ) - vorbis? ( media-libs/libvorbis ) - X? ( - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXv - x11-libs/libXext - ) - xml? ( dev-libs/libxml2:2= ) - xvid? ( media-libs/xvid ) -" -DEPEND=" - ${RDEPEND} - dvb? ( sys-kernel/linux-headers ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.0.0-configure.patch" -) - -DOCS=( - share/doc/CODING_STYLE - share/doc/GPAC\ UPnP.doc - share/doc/ISO\ 639-2\ codes.txt - share/doc/SceneGenerators - share/doc/ipmpx_syntax.bt - Changelog - README.md -) - -HTML_DOCS="share/doc/*.html" - -my_use() { - local flag="$1" pflag="${2:-$1}" - if use ${flag}; then - echo "--use-${pflag}=system" - else - echo "--use-${pflag}=no" - fi -} - -src_prepare() { - default - sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die - - # TODO: remove when old zlib is no longer in tree - has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch" -} - -src_configure() { - tc-export CC CXX AR RANLIB - - local myeconfargs=( - --cc="$(tc-getCC)" - --libdir="$(get_libdir)" - --verbose - --enable-pic - --enable-svg - --disable-amr - --use-js=no - --use-ogg=system - $(use_enable alsa) - $(use_enable debug) - $(use_enable dvb dvb4linux) - $(use_enable ipv6) - $(use_enable jack jack yes) - $(use_enable opengl 3d) - $(use_enable oss oss-audio) - $(use_enable pulseaudio pulseaudio yes) - $(use_enable sdl) - $(use_enable ssl) - $(use_enable static-libs static-lib) - $(use_enable X x11) - $(use_enable X x11-shm) - $(use_enable X x11-xv) - $(my_use a52) - $(my_use aac faad) - $(my_use dvb dvbx) - $(my_use ffmpeg) - $(my_use jpeg) - $(my_use jpeg2k openjpeg) - $(my_use mad) - $(my_use png) - $(my_use theora) - $(my_use truetype ft) - $(my_use vorbis) - $(my_use xvid) - ) - - if use amd64 || use x86 ; then - # Don't pass -mno-sse2 on non amd64/x86 - myeconfargs+=( - --extra-cflags="${CFLAGS} $(usex cpu_flags_x86_sse2 '-msse2' '-mno-sse2')" - ) - else - myeconfargs+=( - --extra-cflags="${CFLAGS}" - ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - einstalldocs - emake STRIP="true" DESTDIR="${ED}" install - emake STRIP="true" DESTDIR="${ED}" install-lib -} diff --git a/media-video/gpac/gpac-2.2.1-r1.ebuild b/media-video/gpac/gpac-2.2.1-r1.ebuild deleted file mode 100644 index 46aacf010ba9..000000000000 --- a/media-video/gpac/gpac-2.2.1-r1.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/gpac/gpac" -else - SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" -fi - -inherit toolchain-funcs ${SCM} xdg - -DESCRIPTION="Implementation of the MPEG-4 Systems standard developed from scratch in ANSI C" -HOMEPAGE="https://gpac.wp.imt.fr/" - -LICENSE="GPL-2" -# subslot == libgpac major -SLOT="0/11" -IUSE="a52 aac alsa cpu_flags_x86_sse2 debug dvb ffmpeg jack jpeg jpeg2k mad opengl oss png - pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - media-libs/libogg - sys-libs/zlib - a52? ( media-libs/a52dec ) - aac? ( media-libs/faad2 ) - alsa? ( media-libs/alsa-lib ) - ffmpeg? ( media-video/ffmpeg:0= ) - jack? ( virtual/jack ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - jpeg2k? ( media-libs/openjpeg:2 ) - mad? ( media-libs/libmad ) - opengl? ( - media-libs/freeglut - virtual/glu - virtual/opengl - ) - png? ( media-libs/libpng:0= ) - pulseaudio? ( media-libs/libpulse ) - theora? ( media-libs/libtheora ) - truetype? ( media-libs/freetype:2 ) - sdl? ( media-libs/libsdl ) - ssl? ( - dev-libs/openssl:0= - ) - vorbis? ( media-libs/libvorbis ) - X? ( - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXv - x11-libs/libXext - ) - xml? ( dev-libs/libxml2:2= ) - xvid? ( media-libs/xvid ) -" -DEPEND=" - ${RDEPEND} - dvb? ( sys-kernel/linux-headers ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.2.0-configure.patch" - "${FILESDIR}/${PN}-2.2.0-ffmpeg6.patch" - "${FILESDIR}/${PN}-2.2.0-ffmpeg6-deux.patch" - "${FILESDIR}/${P}-fix-bigendian.patch" # bug 911634 -) - -DOCS=( - share/doc/CODING_STYLE - share/doc/GPAC\ UPnP.doc - share/doc/ISO\ 639-2\ codes.txt - share/doc/SceneGenerators - share/doc/ipmpx_syntax.bt - Changelog - README.md -) - -my_use() { - local flag="$1" pflag="${2:-$1}" - if use ${flag}; then - echo "--use-${pflag}=system" - else - echo "--use-${pflag}=no" - fi -} - -src_prepare() { - default - - # TODO: remove when old zlib is no longer in tree - has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch" -} - -src_configure() { - tc-export CC CXX AR RANLIB - - local myeconfargs=( - --cc="$(tc-getCC)" - --libdir="$(get_libdir)" - --verbose - --enable-pic - --enable-svg - --use-ogg=system - $(use_enable alsa) - $(use_enable debug) - $(use_enable dvb dvb4linux) - $(use_enable jack jack yes) - $(use_enable opengl 3d) - $(use_enable oss oss-audio) - $(use_enable pulseaudio pulseaudio yes) - $(use_enable sdl) - $(use_enable ssl) - $(use_enable static-libs static-lib) - $(use_enable X x11) - $(use_enable X x11-shm) - $(use_enable X x11-xv) - $(my_use a52) - $(my_use aac faad) - $(use_enable dvb dvbx) - $(my_use ffmpeg) - $(my_use jpeg) - $(my_use jpeg2k openjpeg) - $(my_use mad) - $(my_use png) - $(my_use theora) - $(my_use truetype freetype) - $(my_use vorbis) - $(my_use xvid) - ) - - if use amd64 || use x86 ; then - # Don't pass -mno-sse2 on non amd64/x86 - myeconfargs+=( - --extra-cflags="${CFLAGS} $(usex cpu_flags_x86_sse2 '-msse2' '-mno-sse2')" - ) - else - myeconfargs+=( - --extra-cflags="${CFLAGS}" - ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - einstalldocs - emake STRIP="true" DESTDIR="${ED}" install - emake STRIP="true" DESTDIR="${ED}" install-lib -} diff --git a/media-video/gpac/gpac-2.4.0.ebuild b/media-video/gpac/gpac-2.4.0.ebuild index 409a607d607e..8a0a8f79b606 100644 --- a/media-video/gpac/gpac-2.4.0.ebuild +++ b/media-video/gpac/gpac-2.4.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0/12" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" IUSE=" X a52 aac alsa dvb ffmpeg http2 jack jpeg jpeg2k libcaca lzma mad opengl png pulseaudio sdl ssl theora truetype vorbis xvid diff --git a/media-video/kaffeine/Manifest b/media-video/kaffeine/Manifest index 9152e0f1817c..93b08ce41ea8 100644 --- a/media-video/kaffeine/Manifest +++ b/media-video/kaffeine/Manifest @@ -1,4 +1,4 @@ AUX kaffeine-2.1.0_pre20241125-force-xcb-platform.patch 728 BLAKE2B e1d6e0176197e5ead3e33c24a130a669fd7c67e2ef958e83de9fdbe0d46b6b831d7e46c2f8c8f7d447cff809fe4765ebe07f27fc8d6a3827002f43478bb7942e SHA512 9a6ec00a911c1a71c2e823d3ca1f4a60d3784e4f9b18e12ca3a86a38c2dc73198d623da45084866edb0d95779bb0386872999c8a6878237d827c38111e30ec21 DIST kaffeine-2.1.0_pre20241125-45fd3627.tar.gz 6573858 BLAKE2B 6ccc18725ad16e5b3f7c37233fcf3a040a4dcf3b9a88ed867ea9d0dbd44225e9b0cbc5f2491943b73cd3e6d6dc557aa5a69ffa8db0fe42d32da504375c88184d SHA512 d4c109a727d69fce7ddfede90f03d82bf2003ec4cac6f7f685745c1e880cdb92e69f93693315d03d5a2088cdba70f67141b2581f935a11937816cfc8d3369b05 -EBUILD kaffeine-2.1.0_pre20241125-r1.ebuild 1425 BLAKE2B b3b69adf42270dc8e3a54ab303e0b2c2a53ef661c6584f0e95e853e9a58c06dbb371a8a71ddae41f64a714ad86442779eae6e0dc623174f0f951bf4261dfc51f SHA512 be1792fcc32c4c80beb7d93fcc4255732768fb93924e6223bed36340edccfab4fc946696bb131cff244ef400f6b04ca466d7f6a17442e86a6895302178fc525a +EBUILD kaffeine-2.1.0_pre20241125-r1.ebuild 1490 BLAKE2B 1c1385c275fe13221aa5080e19db4450e16cdea83e5253ffd2ee3cf0861f6ed49d4053d351f52754af519fa643898cbeda097c96d6ff2702ae9fa57e11726632 SHA512 baf28740469a1aa4e3c557c24814910c637aaccedf6193d402f4eda132d8f0f3ac702864b232426252de498730ef02b9dee95de4a5e0841e0bea383b404a559a MISC metadata.xml 531 BLAKE2B 7a1855baa27cfd698688e7451187d4ca265593866485751ae9d44b39dcfa95e5961ba4e8d991ec8b1b41e1ce74d82150847e97ab6ab07dbbefbc5b618f3bc457 SHA512 0ee50508e7549058c31a5a58d760256b57e039a067d7ba10833d199b6e8b70c2968ea52adddcd69ddb0460b3c12ae13c27b14fa5f0d3ccc3584ea783975a3033 diff --git a/media-video/kaffeine/kaffeine-2.1.0_pre20241125-r1.ebuild b/media-video/kaffeine/kaffeine-2.1.0_pre20241125-r1.ebuild index e6978ca00cb1..ec9d0d6a5a47 100644 --- a/media-video/kaffeine/kaffeine-2.1.0_pre20241125-r1.ebuild +++ b/media-video/kaffeine/kaffeine-2.1.0_pre20241125-r1.ebuild @@ -17,7 +17,7 @@ SLOT="0" KEYWORDS="amd64 ~x86" IUSE="dvb" -DEPEND=" +COMMON_DEPEND=" >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,sql,widgets,xml] >=kde-frameworks/kconfig-${KFMIN}:6 >=kde-frameworks/kconfigwidgets-${KFMIN}:6 @@ -32,9 +32,12 @@ DEPEND=" media-video/vlc[X] dvb? ( media-libs/libv4l[dvb] ) " -RDEPEND="${DEPEND} +RDEPEND="${COMMON_DEPEND} !${CATEGORY}/${PN}:5 " +DEPEND="${COMMON_DEPEND} + x11-libs/libXScrnSaver +" BDEPEND=" sys-devel/gettext virtual/pkgconfig diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest index e9e933867425..e8708ff562b2 100644 --- a/media-video/makemkv/Manifest +++ b/media-video/makemkv/Manifest @@ -1,12 +1,12 @@ AUX makemkv-path.patch 1579 BLAKE2B 6ca7ed6c854c0357fea864bedc3f65a1051a466a52db1380bf1904c97bfa2b455beeb7ff9852fe57f6d224ed659df63d02db96a281be7a14f0587bece9aff75b SHA512 9294d3645b953fdb7ca24e83066becfbf07e03cab01d0aaf4527cf2d54fb0990649da1f766836a0f3efea9c363c8f00116b4624c49fd7bcfa197cae2ef17e6ed AUX makemkvcon.1 6118 BLAKE2B bf8f7665d7b367e4dc5cfb12136cb91271087991d86bb0c2bfe6fe41def407539276114f95548cd867c49bc10bed25cec51ac00dbd6defe5df7fd82f2fe29b25 SHA512 a9334a96fcc90932a109c2d74b1769ab60e652a1e860399d8a486bd36ba02fbdabf55816059e0c51e3e4826824b7798f86b85cb5e22a4d13c2e18a2944522ac4 DIST makemkv-bin-1.17.7.tar.gz 16420879 BLAKE2B adc54191fd445832b9c4805400746e42d1b3261d076299b5e34beb1f13d80bf7bcbd113699f3d28fce5e21bb8f810a40927924b3d9c7250467d1979b1bf4f72b SHA512 2c93dd6e63c5e59415ad8a9a1370f7a1eddda2b643fa4dcde6383abb6065b84a77b03b977bf2ade50bc2d3560bb245ad2e1e79bab21629f7fc5816598738a5d9 -DIST makemkv-bin-1.17.8.tar.gz 17859805 BLAKE2B 0ddbcd50a44a98c118420485c7c8e48a1c03290ac840b22ab8119d5cd6db0743e746ca9cbdd7fd714f49a2a37420645c820477c5c7d7b189763b5a46de342e9d SHA512 033c51a818ccf6537f9709d6d19ce81d89edded7dfa1c24fb080c4c7caf6ae267e18722b39ee27e70752f18d502c819c8c582fc53fbc153013713046ef756c01 DIST makemkv-bin-1.17.9.tar.gz 17844951 BLAKE2B 26b9c8957bbed9a0772935c2470fea1111836c8fe8f0bceda3a2466f24fbdb004c88c64c4a340ca1a4c9ff355ea2be49445b33de743244df547c916cd53fb676 SHA512 ff4e5ed123a3fcdcebf63de150dc6587525dd736a642c33cba4ff299b16ff2bcc9ffe31b5a0b385a355995cd7d776e147fe184358e95007c905d98fac92e0996 +DIST makemkv-bin-1.18.1.tar.gz 17943201 BLAKE2B 4c86c6593c2b898e05810875b8cefe5e816e345b8fc89b1e02cd109548d950beaee089acd341c4f5daeff11bdba0eb5d04c4294cc9adef1c0459b88103a1a241 SHA512 ea1b35b7b993f5241783123bc360b631438f41a22c195775bcb7fd44602c6bf2f9d332098fee5cb6d21297c0b0d7479b31546c35846e6417c454a3d852655816 DIST makemkv-oss-1.17.7.tar.gz 6618248 BLAKE2B 18652db1d72ea7287e7e38706afc589e6fe8fb1fbf9d4e24770b9a2bfe670a464b2c21b7c543b23d3c6234f40048358d944b123897c4f569beb31faac8ef3eb7 SHA512 e21bc293133d7f999b3ea4258f01f0b88c5a58610da0185d8f74b724d61578211d35d5d44fae1610887e98f3ff36b2f0df33068d8647ad8983020be49adde037 -DIST makemkv-oss-1.17.8.tar.gz 6627058 BLAKE2B 76ffcf0a67c2ee6b05820006ff7926accef7939374b328d709dbbf6c746f010e273f89748a2a3386679b83f2af0b4f3e41f31e8acaf29cdbaeffccaf25b57500 SHA512 4c8d462933138a614afdf4fe5a896400e92299f9ed1882596dd28168c65a654b51ed89c4b0571d60255c2709c0f1dc8b108d4e7d3bbb84842813a661b28f504b DIST makemkv-oss-1.17.9.tar.gz 6627052 BLAKE2B 552c3c4251920d814833591b30099d87b3c6f6fae0462bafb85d563621af04b2be5299ce473456974363eb2b6128b54b49fa7724aa8faa06dad3b344e363cf9a SHA512 f8769160687c1f603a56bafae3ffb93279859d0a1974e8801ddfbd271ef704b983900682a1035006ac3d43ac647b845fc658948901ff065a064a6659567d7dfc +DIST makemkv-oss-1.18.1.tar.gz 6626995 BLAKE2B 0115b9dda0a513784b8749945f4f3b23212339ba5d4a746db6b9c0c04f9d35866ac4e4827725a92a42d143fa89eada11a2f917360ad93c2488789aed1e707347 SHA512 5268b2250086a28f840f529bad4f964aef5ca8c4d81c0d6c3345cb7728ed3e60cd4e1720d0e5a3c3527962d152f8a305107956fc0d01fb1e4c7440488095deaa EBUILD makemkv-1.17.7.ebuild 3084 BLAKE2B 3990ef9d58c00d8981b7228e80ddc4ea1cb75d26a89d18b13753df9a3a48660093e68265bc051e4ba000ca1b7c800c21df27e50cc0d30e439e3e752f30e50e57 SHA512 72d7cb5d7e8c02d92cee8d1d52b650a4feaf9aa512b2aa791273c6ad16da3320cb3a74c5cad66497b334db6a8a5faba37bf3692b57491450534dcca52a512e7c -EBUILD makemkv-1.17.8.ebuild 3087 BLAKE2B d7dc46048f420a6acdc238bd529e62f70e1a007f794b6117f2b9a76d9e94b70daa7c8ddd4b984e6a6bc9152de46dfc4194055a83d1a40f2645cd67f3299a1117 SHA512 b3580f133c4e04a26522c542f4f2910f94df8f8eb09c92f48beed4e438fc4c3509182671bd1f9bbd82e5d0938c660d9ac3e4aadb16471c62ae5b61f88831a159 EBUILD makemkv-1.17.9.ebuild 3088 BLAKE2B 6f5691d706b174a0ab70bf2d20bf8049568247ed1d4472809848114d6ecd95ed5cc77912ac606de0218a1bc8aae4c7eb1fd118fce8edd9ce5ccc9b09a05f1f32 SHA512 a8df279f229353df9542667bc3674daa807080767b84a1089dda54906e9def9575c1ccc0bc18144b7d04a51f7580bfdf490e036e0db221aecdca171621d7dc85 +EBUILD makemkv-1.18.1.ebuild 3088 BLAKE2B 6f5691d706b174a0ab70bf2d20bf8049568247ed1d4472809848114d6ecd95ed5cc77912ac606de0218a1bc8aae4c7eb1fd118fce8edd9ce5ccc9b09a05f1f32 SHA512 a8df279f229353df9542667bc3674daa807080767b84a1089dda54906e9def9575c1ccc0bc18144b7d04a51f7580bfdf490e036e0db221aecdca171621d7dc85 MISC metadata.xml 1272 BLAKE2B 7c02bfcb2638d2f33c6fbee2d0e79b6d7d270b8209f7ec82ec51d7cf0e19b94936ee599b618f9a6b9df280fc403b0890b2c8e2323525f6d50b79fc19d26c8756 SHA512 8de92a5802b26a98984be7b5e3c0868b249c14a77a690a186dc4361db1508b79c7ebccd261e7fe9251b2d4abbbe2b93aec8a91efeafc00baada2839020a9207f diff --git a/media-video/makemkv/makemkv-1.17.8.ebuild b/media-video/makemkv/makemkv-1.18.1.ebuild index 792e4df29072..3f4123a655a5 100644 --- a/media-video/makemkv/makemkv-1.17.8.ebuild +++ b/media-video/makemkv/makemkv-1.18.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz S="${WORKDIR}/${MY_P}" LICENSE="GPL-2 LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="+gui +java" RESTRICT="bindist mirror" diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest index af3755695619..4a816c8fd56e 100644 --- a/media-video/mpv/Manifest +++ b/media-video/mpv/Manifest @@ -1,6 +1,6 @@ DIST mpv-0.39.0.tar.gz 3494313 BLAKE2B 9f96ba225eb0587d50f8c439359b18f752b98024ab6b40f987be4d57b0ce4b595243f49177ffc48840b351ce19fddc84788b5784b508eb685e58fdfb8e1e0520 SHA512 9cf1d7487b1e9e36d2b731bf951c4d3b9deba95109af408ccfc71b88e85f6de2558e7b4950781667bb4d40e0352742e3ed278559ff34d07905dd459969cbf503 DIST mpv-0.40.0.tar.gz 3561474 BLAKE2B 618cffca1ec30da0a49b91e168dd1d041e5646f7930fa65ced1f58aabed2e663f6a161c0c71b2f1769fa43a0873d91ef8219f11c5458e8ecb67b4466581c4f90 SHA512 24ccbff7fa34f85c033dc9ed94a364c6226e1081a47086365fc98e332af2004517dede371a005f1d51c2a3306b7dc915df9de4188cea140b1fd988058bbd6e8c EBUILD mpv-0.39.0-r1.ebuild 6978 BLAKE2B 5fe607c89e16f6e9c1414107a42bc2e76e6f7eae56b0c0923077ca770e9548f92dfd786d9c29027238ab0d1ed6b86085f2f6ad6e5663a4d037b452acf2d1e064 SHA512 fdf47bdf2ef0442eb1c71feb36cd6ecac6727202fe462a2f4ed67704eb1c4229fa0932da699ccef3a7c72d91d1d7bbc574912505677c44ad92c10523b354b2e1 -EBUILD mpv-0.40.0.ebuild 6076 BLAKE2B e706a980a6a004d6c642baf4ba7e12a8b174a19af91d24c5b31d730a3923849b0280d052b6306803e0ac2f53f765a3dde419f315b4ee0fe2340773aa4a14134e SHA512 15c133ac7088bae48660a4caa9361af8d8a8e3d6dcd42e1e6e2d4beb9968cdf24015a8b8b93d2c91436eb1f1156cccff6a19afc7c8afd072eba6d4f55e3e999d -EBUILD mpv-9999.ebuild 6116 BLAKE2B e73e9986bc2c2a9f1c49f4c01b6405cc6ba723c6ba1b6a723089f3a5f7d6a4b7588fabaac9494708c5febd4e226ae6eb848a21eb116a00ff1be7ce81ac27ab0a SHA512 a15896aa3adc27bae7afee0e013f032bf71b1556ab530cd901118c0f95c958996526435ca1941616b591601750bdd807c50df653b23bbd4dd73394636a4abd96 +EBUILD mpv-0.40.0-r1.ebuild 6396 BLAKE2B e564a6f7cc6387e3d17ded50f41095fc03ec3f29f0aff26f48a88d81526c65b45b216ccbd30bb9fb2ac95d9d7edb12d894906902b73da85a6b84623d2b612f6b SHA512 ea681453402cd0b6be505d3bba1a3375696c8e0b5cf59613e892837c73dd3f01dfd00a84caee07050b4cd84d2fe8a1126e143860ee72b5a572b1752d993edf51 +EBUILD mpv-9999.ebuild 6436 BLAKE2B e0bddad8d3b94d971a536a8335a53b2defafd31c356f6c2f0f86f74d896e5a2f22776674e50da38e4131841c0054eb744502b49bff4047dac4823a6cbdfe83c2 SHA512 4a684af70bacf19a440b4e6140f2bc59790ac7ba635db4acff9f0b7f6518c7e7adcc7b682caf669372e0e61b81afeeb1fef9fe41777d4016eabe981393617cfa MISC metadata.xml 2053 BLAKE2B dc35c3bcdb29eb08725a4f908575ecc2afed2d772988ff12ad052c39e9b195a68611e8037b82ee5ceefc33c40d8df666e03aa59d836eeb7c6472bd988f49b4ee SHA512 4e7cd2da4df81f9ecafddfe93788cabbc4f0de0ff9b976af2ab3fb0f63b2d7daee6d8c5607685240f41be37a158b9fa0acd030d8c62da835891d19af3870668c diff --git a/media-video/mpv/mpv-0.40.0.ebuild b/media-video/mpv/mpv-0.40.0-r1.ebuild index b17efcfce030..409716b6966f 100644 --- a/media-video/mpv/mpv-0.40.0.ebuild +++ b/media-video/mpv/mpv-0.40.0-r1.ebuild @@ -23,17 +23,16 @@ SLOT="0/2" # soname IUSE=" +X +alsa aqua archive bluray cdda +cli coreaudio debug +drm dvb dvd +egl gamepad +iconv jack javascript jpeg lcms libcaca +libmpv - +lua nvenc openal opengl pipewire pulseaudio rubberband sdl selinux - sixel sndio soc test tools +uchardet vaapi vdpau +vulkan wayland xv - zimg zlib + +lua nvenc openal pipewire pulseaudio rubberband sdl selinux sixel + sndio soc test tools +uchardet vaapi vdpau +vulkan wayland xv zimg + zlib " REQUIRED_USE=" ${PYTHON_REQUIRED_USE} || ( cli libmpv ) egl? ( || ( X drm wayland ) ) lua? ( ${LUA_REQUIRED_USE} ) - nvenc? ( || ( egl opengl vulkan ) ) - opengl? ( || ( X aqua ) ) + nvenc? ( || ( egl vulkan ) ) test? ( cli ) tools? ( cli ) uchardet? ( iconv ) @@ -46,7 +45,7 @@ RESTRICT="!test? ( test )" COMMON_DEPEND=" media-libs/libass:=[fontconfig] - >=media-libs/libplacebo-7.349.0:=[opengl?,vulkan?] + >=media-libs/libplacebo-7.349.0:=[vulkan?] >=media-video/ffmpeg-6.1:=[encode(+),soc(-)?,threads(+),vaapi?,vdpau?] X? ( x11-libs/libX11 @@ -85,7 +84,6 @@ COMMON_DEPEND=" libcaca? ( media-libs/libcaca ) lua? ( ${LUA_DEPS} ) openal? ( media-libs/openal ) - opengl? ( media-libs/libglvnd[X?] ) pipewire? ( media-video/pipewire:= ) pulseaudio? ( media-libs/libpulse ) rubberband? ( media-libs/rubberband:= ) @@ -123,6 +121,15 @@ BDEPEND=" wayland? ( dev-util/wayland-scanner ) " +pkg_pretend() { + if has_version "${CATEGORY}/${PN}[X,opengl]" && use !egl; then #953107 + ewarn "${PN}'s 'opengl' USE was removed in favour of the 'egl' USE as it was" + ewarn "only for the deprecated 'gl-x11' mpv option when 'egl-x11/wayland'" + ewarn "should be used if --gpu-api=opengl. It is recommended to enable 'egl'" + ewarn "unless using vulkan (default since ${PN}-0.40) or something else." + fi +} + pkg_setup() { use lua && lua-single_pkg_setup python-single-r1_pkg_setup @@ -189,7 +196,7 @@ src_configure() { $(meson_feature wayland) $(meson_feature xv) - -Dgl=$(use egl || use libmpv || use opengl && + -Dgl=$(use aqua || use egl || use libmpv && echo enabled || echo disabled) $(meson_feature egl) $(meson_feature libmpv plain-gl) diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index aaf45c44fd62..e79b68414d16 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -23,17 +23,16 @@ SLOT="0/2" # soname IUSE=" +X +alsa aqua archive bluray cdda +cli coreaudio debug +drm dvb dvd +egl gamepad +iconv jack javascript jpeg lcms libcaca +libmpv - +lua nvenc openal opengl pipewire pulseaudio rubberband sdl selinux - sixel sndio soc test tools +uchardet vaapi vdpau +vulkan wayland xv - zimg zlib + +lua nvenc openal pipewire pulseaudio rubberband sdl selinux sixel + sndio soc test tools +uchardet vaapi vdpau +vulkan wayland xv zimg + zlib " REQUIRED_USE=" ${PYTHON_REQUIRED_USE} || ( cli libmpv ) egl? ( || ( X drm wayland ) ) lua? ( ${LUA_REQUIRED_USE} ) - nvenc? ( || ( egl opengl vulkan ) ) - opengl? ( || ( X aqua ) ) + nvenc? ( || ( egl vulkan ) ) test? ( cli ) tools? ( cli ) uchardet? ( iconv ) @@ -46,7 +45,7 @@ RESTRICT="!test? ( test )" COMMON_DEPEND=" media-libs/libass:=[fontconfig] - >=media-libs/libplacebo-7.349.0:=[opengl?,vulkan?] + >=media-libs/libplacebo-7.349.0:=[vulkan?] >=media-video/ffmpeg-6.1:=[encode(+),soc(-)?,threads(+),vaapi?,vdpau?] X? ( x11-libs/libX11 @@ -85,7 +84,6 @@ COMMON_DEPEND=" libcaca? ( media-libs/libcaca ) lua? ( ${LUA_DEPS} ) openal? ( media-libs/openal ) - opengl? ( media-libs/libglvnd[X?] ) pipewire? ( media-video/pipewire:= ) pulseaudio? ( media-libs/libpulse ) rubberband? ( media-libs/rubberband:= ) @@ -126,6 +124,15 @@ BDEPEND=" wayland? ( dev-util/wayland-scanner ) " +pkg_pretend() { + if has_version "${CATEGORY}/${PN}[X,opengl]" && use !egl; then #953107 + ewarn "${PN}'s 'opengl' USE was removed in favour of the 'egl' USE as it was" + ewarn "only for the deprecated 'gl-x11' mpv option when 'egl-x11/wayland'" + ewarn "should be used if --gpu-api=opengl. It is recommended to enable 'egl'" + ewarn "unless using vulkan (default since ${PN}-0.40) or something else." + fi +} + pkg_setup() { use lua && lua-single_pkg_setup python-single-r1_pkg_setup @@ -192,7 +199,7 @@ src_configure() { $(meson_feature wayland) $(meson_feature xv) - -Dgl=$(use egl || use libmpv || use opengl && + -Dgl=$(use aqua || use egl || use libmpv && echo enabled || echo disabled) $(meson_feature egl) $(meson_feature libmpv plain-gl) diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest index 02d092803f97..53c81b7c2eb2 100644 --- a/media-video/pipewire/Manifest +++ b/media-video/pipewire/Manifest @@ -18,7 +18,6 @@ DIST pipewire-1.2.0-docs.tar.xz 58528 BLAKE2B b7abdfecd46239050ab80695c8f3d1a4e6 DIST pipewire-1.2.7.tar.bz2 1823442 BLAKE2B e81a897d4ee23e0048a8b7fbac8b397f74b8f68add71e228e9bbfffffda1a71d0dc7ebbb3a4878fab27c57ec392840fed2fdf9e677c313ea0c0cab3166d6f2d3 SHA512 f353761e612f5703fe2a55000af958c663f0648331242297f9c18d5ab6cadc5468e92b663bf811c37c4736e6564aa4e2466903593c4d621ea0686a966e30d63d DIST pipewire-1.4.0-docs.tar.xz 67012 BLAKE2B 5d9f7432e33c86a5172ea310742a8e50312870eabab7f4357a1234580b8258c9bb83daa73fdcc1228c61629eb8555c00b961704671e55c6ed030f6c95b043397 SHA512 33791b64a577ead6975e0a615b1e4382ecafcc6f3dd6409ebd360c533312cab5f55f92a394bc42629ec4f53f17790ddedfb26a2b35cb4aa06ea07fd30bfce3d6 DIST pipewire-1.4.1.tar.bz2 1915638 BLAKE2B 3b154b248a1aa6443e14ef95cf041c693ec00213d662d3bdd80c0ef302995846ecaf70a9a2b9f75e4a4393ef4dd6f116166662677edad815a854de6ca07110df SHA512 32c704be7464f1659c20179782ae5b91023c45b605b0ee60abf577548cb964e2c6f60c99e26c5de5d0d3d6f342c8c50614e2a1112a732ad90efe6e878f67fc62 -EBUILD pipewire-1.2.7-r1.ebuild 19869 BLAKE2B 37fa43671498fb66ada03578af2f97b5baa043d30b55ff734278074b9dd655317d8f1e0fa230d38d4d958a3b1e9b91657ab070381b8ce1efc4d8d9e2abab9962 SHA512 1ef06206621e619dd9b735cb5e1670cce5bdfd46e5295531875c97252ffe0e8d3aecad4dc05d3cb318b0cb1aef727d5bb4decabb1a8f5856ed024ef7af8faa22 EBUILD pipewire-1.2.7-r2.ebuild 20001 BLAKE2B dbdfe7ff2eb36c9408618d0e44f522d044320dd510eb9972242e8731e700d295f5ec0ccef7d71efc3d727dedcdbd347d7389f5575f7baa58e6dcdd9f88e05b2a SHA512 cc8539bbd9f11d6ec8e993bd1362983c56e2b4e89ebeb1e1cb85deca2e6ec95aaa4ab01d5b0da75b5e5462d60ea49a99eee9dad0d9efaf070cb5bf0342f8a349 EBUILD pipewire-1.4.1.ebuild 20132 BLAKE2B 7daa7501c24bb218eb21d83bb68e3193a7252c9973e7107ed7e3eb388e68923f1e654e3b3572d7f78caf6e6de6980a03958154d28ad9aa5cf8729f4bf08b56ce SHA512 31ee516c63b3fea62883753c6337f3c1ae1934050299fa4089e095d3e2cf5b225a863f211cb75d6305de6b4fd14203d65f4a637996337f90fc96df8f79eeb7f8 EBUILD pipewire-9999.ebuild 20132 BLAKE2B 7daa7501c24bb218eb21d83bb68e3193a7252c9973e7107ed7e3eb388e68923f1e654e3b3572d7f78caf6e6de6980a03958154d28ad9aa5cf8729f4bf08b56ce SHA512 31ee516c63b3fea62883753c6337f3c1ae1934050299fa4089e095d3e2cf5b225a863f211cb75d6305de6b4fd14203d65f4a637996337f90fc96df8f79eeb7f8 diff --git a/media-video/pipewire/pipewire-1.2.7-r1.ebuild b/media-video/pipewire/pipewire-1.2.7-r1.ebuild deleted file mode 100644 index 09b5617d737b..000000000000 --- a/media-video/pipewire/pipewire-1.2.7-r1.ebuild +++ /dev/null @@ -1,526 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# 1. Please regularly check (even at the point of bumping) Fedora's packaging -# for needed backports at https://src.fedoraproject.org/rpms/pipewire/tree/rawhide. -# -# 2. Upstream also sometimes amend release notes for the previous release to mention -# needed patches, e.g. https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros -# -# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things -# continue to move quickly. It's not uncommon for fixes to be made shortly -# after releases. - -# TODO: Maybe get upstream to produce `meson dist` tarballs: -# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663 -# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788 -# -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${PIPEWIRE_DOCS_PREBUILT:=1} - -PIPEWIRE_DOCS_PREBUILT_DEV=sam -PIPEWIRE_DOCS_VERSION="$(ver_cut 1-2).0" -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -PIPEWIRE_DOCS_USEFLAG="+man" -PYTHON_COMPAT=( python3_{10..13} ) -inherit eapi9-ver meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev - -if [[ ${PV} == 9999 ]]; then - PIPEWIRE_DOCS_PREBUILT=0 - EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git" - inherit git-r3 -else - if [[ ${PV} == *_p* ]] ; then - MY_COMMIT="" - SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2" - S="${WORKDIR}"/${PN}-${MY_COMMIT} - else - SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2" - fi - - if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !man? ( https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz )" - PIPEWIRE_DOCS_USEFLAG="man" - fi - - KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -DESCRIPTION="Multimedia processing graphs" -HOMEPAGE="https://pipewire.org/" - -LICENSE="MIT LGPL-2.1+ GPL-2" -# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49 -SLOT="0/0.4" -IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2" -IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf" - -# Once replacing system JACK libraries is possible, it's likely that -# jack-client IUSE will need blocking to avoid users accidentally -# configuring their systems to send PW sink output to the emulated -# JACK's sink - doing so is likely to yield no audio, cause a CPU -# cycles consuming loop (and may even cause GUI crashes)! - -# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but ALSA is always enabled -# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server connection will work -# which provides adequate guarantee that alsa-lib will be able to provide audio services. -# If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. -# When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. -# - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. -REQUIRED_USE=" - ffmpeg? ( extra ) - bluetooth? ( dbus ) - jack-sdk? ( !jack-client ) - modemmanager? ( bluetooth ) - system-service? ( systemd ) - !sound-server? ( !pipewire-alsa ) - jack-client? ( dbus ) -" - -RESTRICT="!test? ( test )" - -BDEPEND=" - >=dev-build/meson-0.59 - virtual/pkgconfig - dbus? ( dev-util/gdbus-codegen ) - doc? ( - ${PYTHON_DEPS} - >=app-text/doxygen-1.9.8 - media-gfx/graphviz - ) - man? ( - ${PYTHON_DEPS} - >=app-text/doxygen-1.9.8 - ) -" -# * While udev could technically be optional, it's needed for a number of options, -# and not really worth it, bug #877769. -# -# * Supports both legacy webrtc-audio-processing:0 and new webrtc-audio-processing:1. -# We depend on :1 as it prefers that, it's not legacy, and to avoid automagic. -# -# * Older Doxygen (<1.9.8) may work but inferior output is created: -# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1778 -# - https://github.com/doxygen/doxygen/issues/9254 -RDEPEND=" - acct-group/audio - acct-group/pipewire - media-libs/alsa-lib[${MULTILIB_USEDEP}] - sys-libs/ncurses:=[unicode(+)] - virtual/libintl[${MULTILIB_USEDEP}] - virtual/libudev[${MULTILIB_USEDEP}] - bluetooth? ( - dev-libs/glib - media-libs/fdk-aac - media-libs/libldac - media-libs/libfreeaptx - media-libs/opus - media-libs/sbc - >=net-wireless/bluez-4.101:= - virtual/libusb:1 - ) - elogind? ( sys-auth/elogind ) - dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) - echo-cancel? ( >=media-libs/webrtc-audio-processing-1.2:1 ) - extra? ( >=media-libs/libsndfile-1.0.20 ) - ffmpeg? ( media-video/ffmpeg:= ) - flatpak? ( dev-libs/glib ) - gstreamer? ( - >=dev-libs/glib-2.32.0:2 - >=media-libs/gstreamer-1.10.0:1.0 - media-libs/gst-plugins-base:1.0 - ) - gsettings? ( >=dev-libs/glib-2.26.0:2 ) - ieee1394? ( media-libs/libffado[${MULTILIB_USEDEP}] ) - jack-client? ( >=media-sound/jack2-1.9.10:2[dbus] ) - jack-sdk? ( - !media-sound/jack-audio-connection-kit - !media-sound/jack2 - ) - liblc3? ( media-sound/liblc3 ) - lv2? ( media-libs/lilv ) - modemmanager? ( >=net-misc/modemmanager-1.10.0 ) - pipewire-alsa? ( >=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}] ) - sound-server? ( !media-sound/pulseaudio-daemon ) - roc? ( >=media-libs/roc-toolkit-0.3.0:= ) - readline? ( sys-libs/readline:= ) - selinux? ( sys-libs/libselinux ) - ssl? ( dev-libs/openssl:= ) - systemd? ( sys-apps/systemd ) - system-service? ( acct-user/pipewire ) - v4l? ( media-libs/libv4l ) - X? ( - media-libs/libcanberra - x11-libs/libX11 - x11-libs/libXfixes - ) - zeroconf? ( net-dns/avahi ) -" - -DEPEND="${RDEPEND}" - -PDEPEND=">=media-video/wireplumber-0.5.2" - -# Present RDEPEND that are currently always disabled due to the PW -# code using them being required to be disabled by Gentoo guidelines -# (i.e. developer binaries not meant for users) and unready code -# media-libs/libsdl2 -# >=media-libs/vulkan-loader-1.1.69 -# -# Ditto for DEPEND -# >=dev-util/vulkan-headers-1.1.69 - -PATCHES=( - "${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch -) - -pkg_setup() { - if use doc || use man ; then - python-any-r1_pkg_setup - fi -} - -src_prepare() { - default - - # Used for upstream backports - [[ -d "${FILESDIR}"/${PV} ]] && eapply "${FILESDIR}"/${PV} -} - -multilib_src_configure() { - local logind=disabled - if multilib_is_native_abi ; then - if use systemd ; then - logind=enabled - elif use elogind ; then - logind=enabled - fi - fi - - local emesonargs=( - -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} - - $(meson_feature dbus) - $(meson_native_use_feature zeroconf avahi) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature man) - $(meson_native_enabled examples) # TODO: Figure out if this is still important now that media-session gone - $(meson_feature test tests) - -Dinstalled_tests=disabled # Matches upstream; Gentoo never installs tests - $(meson_feature ieee1394 libffado) - $(meson_native_use_feature gstreamer) - $(meson_native_use_feature gstreamer gstreamer-device-provider) - $(meson_native_use_feature gsettings) - $(meson_native_use_feature systemd) - -Dlogind=${logind} - -Dlogind-provider=$(usex systemd 'libsystemd' 'libelogind') - - $(meson_native_use_feature system-service systemd-system-service) - -Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)" - -Dsystemd-user-unit-dir="$(systemd_get_userunitdir)" - - $(meson_native_use_feature systemd systemd-user-service) - $(meson_feature pipewire-alsa) # Allows integrating ALSA apps into PW graph - $(meson_feature selinux) - -Dspa-plugins=enabled - -Dalsa=enabled # Allows using kernel ALSA for sound I/O (NOTE: media-session is gone so IUSE=alsa/spa_alsa/alsa-backend might be possible) - -Dcompress-offload=disabled # TODO: tinycompress unpackaged - -Daudiomixer=enabled # Matches upstream - -Daudioconvert=enabled # Matches upstream - $(meson_native_use_feature bluetooth bluez5) - $(meson_native_use_feature bluetooth bluez5-backend-hsp-native) - $(meson_native_use_feature bluetooth bluez5-backend-hfp-native) - # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1379 - $(meson_native_use_feature modemmanager bluez5-backend-native-mm) - $(meson_native_use_feature bluetooth bluez5-backend-ofono) - $(meson_native_use_feature bluetooth bluez5-backend-hsphfpd) - $(meson_native_use_feature bluetooth bluez5-codec-aac) - $(meson_native_use_feature bluetooth bluez5-codec-aptx) - $(meson_native_use_feature bluetooth bluez5-codec-ldac) - $(meson_native_use_feature bluetooth opus) - $(meson_native_use_feature bluetooth bluez5-codec-opus) - $(meson_native_use_feature bluetooth libusb) # At least for now only used by bluez5 native (quirk detection of adapters) - $(meson_native_use_feature echo-cancel echo-cancel-webrtc) #807889 - -Dcontrol=enabled # Matches upstream - -Daudiotestsrc=enabled # Matches upstream - -Dffmpeg=disabled # Disabled by upstream and no major developments to spa/plugins/ffmpeg/ since May 2020 - $(meson_native_use_feature ffmpeg pw-cat-ffmpeg) - $(meson_native_use_feature flatpak) - -Dpipewire-jack=enabled # Allows integrating JACK apps into PW graph - $(meson_native_use_feature jack-client jack) # Allows PW to act as a JACK client - $(meson_use jack-sdk jack-devel) - $(usex jack-sdk "-Dlibjack-path=${EPREFIX}/usr/$(get_libdir)" '') - -Dsupport=enabled # Miscellaneous/common plugins, such as null sink - -Devl=disabled # Matches upstream - -Dtest=disabled # fakesink and fakesource plugins - -Dbluez5-codec-lc3plus=disabled # unpackaged - $(meson_native_use_feature liblc3 bluez5-codec-lc3) - $(meson_native_use_feature lv2) - $(meson_native_use_feature v4l v4l2) - -Dlibcamera=disabled # libcamera is not in Portage tree - $(meson_native_use_feature roc) - $(meson_native_use_feature readline) - $(meson_native_use_feature ssl raop) - -Dvideoconvert=enabled # Matches upstream - -Dvideotestsrc=enabled # Matches upstream - -Dvolume=enabled # Matches upstream - -Dvulkan=disabled # Uses pre-compiled Vulkan compute shader to provide a CGI video source (dev thing; disabled by upstream) - $(meson_native_use_feature extra pw-cat) - -Dudev=enabled - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - -Dsdl2=disabled # Controls SDL2 dependent code (currently only examples when -Dinstalled_tests=enabled which we never install) - -Dlibmysofa=disabled # libmysofa is unpackaged - $(meson_native_use_feature extra sndfile) # Enables libsndfile dependent code (currently only pw-cat) - -Dsession-managers="[]" # All available session managers are now their own projects, so there's nothing to build - - # We still have <5.16 kernels packaged in Gentoo and 6.1 (LTS) only - # just became stable, with 5.15 being the previous LTS. Many people - # are still on it. - -Dpam-defaults-install=true - - # Just for bell sounds in X11 right now. - $(meson_native_use_feature X x11) - $(meson_native_use_feature X x11-xfixes) - $(meson_native_use_feature X libcanberra) - - # TODO - -Dsnap=disabled - ) - - # This installs the schema file for pulseaudio-daemon, iff we are replacing - # the official sound-server - if use !sound-server; then - emesonargs+=( '-Dgsettings-pulse-schema=disabled' ) - else - emesonargs+=( - $(meson_native_use_feature gsettings gsettings-pulse-schema) - ) - fi - - meson_src_configure -} - -multilib_src_test() { - meson_src_test --timeout-multiplier 10 -} - -multilib_src_install() { - # Our custom DOCS do not exist in multilib source directory - DOCS= meson_src_install -} - -multilib_src_install_all() { - einstalldocs - - if ! use man && [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${PIPEWIRE_DOCS_VERSION}-docs/man/*/*.[0-8] - fi - - if use pipewire-alsa; then - dodir /etc/alsa/conf.d - - # Install pipewire conf loader hook - insinto /usr/share/alsa/alsa.conf.d - doins "${FILESDIR}"/99-pipewire-default-hook.conf - eprefixify "${ED}"/usr/share/alsa/alsa.conf.d/99-pipewire-default-hook.conf - - # These will break if someone has /etc that is a symbolic link to a subfolder! See #724222 - # And the current dosym8 -r implementation is likely affected by the same issue, too. - dosym ../../../usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/50-pipewire.conf - dosym ../../../usr/share/alsa/alsa.conf.d/99-pipewire-default-hook.conf /etc/alsa/conf.d/99-pipewire-default-hook.conf - fi - - # Enable required wireplumber alsa and bluez monitors - if use sound-server; then - # Install sound-server enabler for wireplumber 0.5.0+ conf syntax - insinto /etc/wireplumber/wireplumber.conf.d - doins "${FILESDIR}"/gentoo-sound-server-enable-audio-bluetooth.conf - fi - - if use system-service; then - newtmpfiles - pipewire.conf <<-EOF || die - d /run/pipewire 0755 pipewire pipewire - - - EOF - fi - - if ! use systemd; then - insinto /etc/xdg/autostart - newins "${FILESDIR}"/pipewire.desktop-r2 pipewire.desktop - - exeinto /usr/bin - newexe "${FILESDIR}"/gentoo-pipewire-launcher.in-r3 gentoo-pipewire-launcher - - doman "${FILESDIR}"/gentoo-pipewire-launcher.1 - - # Disable pipewire-pulse if sound-server is disabled. - if ! use sound-server ; then - sed -i -s '/pipewire -c pipewire-pulse.conf/s/^/#/' "${ED}"/usr/bin/gentoo-pipewire-launcher || die - fi - - eprefixify "${ED}"/usr/bin/gentoo-pipewire-launcher - fi -} - -pkg_postrm() { - udev_reload -} - -pkg_preinst() { - HAD_SOUND_SERVER=0 - HAD_SYSTEM_SERVICE=0 - - if has_version "media-video/pipewire[sound-server(-)]" ; then - HAD_SOUND_SERVER=1 - fi - - if has_version "media-video/pipewire[system-service(-)]" ; then - HAD_SYSTEM_SERVICE=1 - fi -} - -pkg_postinst() { - udev_reload - - use system-service && tmpfiles_process pipewire.conf - - if [[ -n ${REPLACING_VERSIONS} ]] ; then - if has_version kde-plasma/kwin[screencast] || has_version x11-wm/mutter[screencast] ; then - # https://bugs.gentoo.org/908490 - # https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243 - ewarn "Please restart KWin/Mutter after upgrading PipeWire." - ewarn "Screencasting may not work until you do." - fi - - if ver_replacing -le 0.3.66-r1 ; then - elog ">=pipewire-0.3.66 uses the 'pipewire' group to manage permissions" - elog "and limits needed to function smoothly:" - elog - elog "1. Please make sure your user is in the 'pipewire' group for" - elog "the best experience with realtime scheduling (PAM limits behavior)!" - elog "You can add your account with:" - elog " usermod -aG pipewire <youruser>" - elog - elog "2. For the best experience with fast user switching, it is recommended" - elog "that you remove your user from the 'audio' group unless you rely on the" - elog "audio group for device access control or ACLs.:" - elog " usermod -rG audio <youruser>" - elog - - if ! use jack-sdk ; then - elog - elog "JACK emulation is incomplete and not all programs will work. PipeWire's" - elog "alternative libraries have been installed to a non-default location." - elog "To use them, put pw-jack <application> before every JACK application." - elog "When using pw-jack, do not run jackd/jackdbus. However, a virtual/jack" - elog "provider is still needed to compile the JACK applications themselves." - elog - fi - - if use systemd ; then - ewarn - ewarn "PipeWire daemon startup has been moved to a launcher script!" - ewarn "Make sure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist or no" - ewarn "longer is set to start a session manager or PulseAudio compatibility daemon (all" - ewarn "lines similar to '{ path = /usr/bin/pipewire*' should be commented out)" - ewarn - ewarn "Those manually starting /usr/bin/pipewire via .xinitrc or similar _must_ from" - ewarn "now on start ${EROOT}/usr/bin/gentoo-pipewire-launcher instead! It is highly" - ewarn "advised that a D-Bus user session is set up before starting the script." - ewarn - fi - - if use sound-server && ( has_version 'media-sound/pulseaudio[daemon]' || has_version 'media-sound/pulseaudio-daemon' ) ; then - elog - elog "This ebuild auto-enables PulseAudio replacement. Because of that, users" - elog "are recommended to edit pulseaudio client configuration files:" - elog "${EROOT}/etc/pulse/client.conf and ${EROOT}/etc/pulse/client.conf.d/enable-autospawn.conf" - elog "if it exists, and disable autospawning of the original daemon by setting:" - elog - elog " autospawn = no" - elog - elog "Please note that the semicolon (;) must _NOT_ be at the beginning of the line!" - elog - elog "Alternatively, if replacing PulseAudio daemon is not desired, edit" - elog "${EROOT}/usr/bin/gentoo-pipewire-launcher by commenting out the relevant" - elog "command:" - elog - elog "#${EROOT}/usr/bin/pipewire -c pipewire-pulse.conf &" - elog - fi - - if has_version 'net-misc/ofono' ; then - ewarn "Native backend has become default. Please disable oFono via:" - if systemd_is_booted ; then - ewarn "systemctl disable ofono" - else - ewarn "rc-update delete ofono" - fi - fi - fi - fi - - if [[ ${HAD_SOUND_SERVER} -eq 0 || -z ${REPLACING_VERSIONS} ]] ; then - # TODO: We could drop most of this if we set up systemd presets? - # They're worth looking into because right now, the out-of-the-box experience - # is automatic on OpenRC, while it needs manual intervention on systemd. - if use sound-server && use systemd ; then - elog - elog "When switching from PulseAudio, you may need to disable PulseAudio:" - elog - elog " systemctl --user disable pulseaudio.service pulseaudio.socket" - elog - elog "To use PipeWire, the user units must be manually enabled" - elog "by running this command as each user you use for desktop activities:" - elog - elog " systemctl --user enable pipewire.socket pipewire-pulse.socket" - elog - elog "A reboot is recommended to avoid interferences from still running" - elog "PulseAudio daemon." - elog - elog "Both new users and those upgrading need to enable WirePlumber" - elog "for relevant users:" - elog - elog " systemctl --user disable pipewire-media-session.service" - elog " systemctl --user --force enable wireplumber.service" - elog - elog "Root user may replace --user with --global to change system default" - elog "configuration for all of the above commands." - elog - fi - - if ! use sound-server ; then - ewarn - ewarn "USE=sound-server is disabled! If you want PipeWire to provide" - ewarn "your sound, please enable it. See the wiki at" - ewarn "https://wiki.gentoo.org/wiki/PipeWire#Replacing_PulseAudio" - ewarn "for more details." - ewarn - fi - fi - - if use system-service && [[ ${HAD_SYSTEM_SERVICE} -eq 0 || -z ${REPLACING_VERSIONS} ]] ; then - ewarn - ewarn "You have enabled the system-service USE flag, which installs" - ewarn "the system-wide systemd units that enable PipeWire to run as a system" - ewarn "service. This is more than likely NOT what you want. You are strongly" - ewarn "advised not to enable this mode and instead stick with systemd user" - ewarn "units. The default configuration files will likely not work out of the" - ewarn "box, and you are on your own with configuration." - ewarn - fi - - elog "For latest tips and tricks, troubleshooting information, and documentation" - elog "in general, please refer to https://wiki.gentoo.org/wiki/PipeWire" - elog - - optfeature_header "The following can be installed for optional runtime features:" - optfeature "restricted realtime capabilities via D-Bus" sys-auth/rtkit - - if use sound-server && ! use pipewire-alsa; then - optfeature "ALSA plugin to use PulseAudio interface for output" "media-plugins/alsa-plugins[pulseaudio]" - fi -} diff --git a/media-video/wireplumber/Manifest b/media-video/wireplumber/Manifest index ce979e525efa..826f6bbe62e5 100644 --- a/media-video/wireplumber/Manifest +++ b/media-video/wireplumber/Manifest @@ -3,11 +3,7 @@ AUX wireplumber-0.5.8-custom-lua-crash.patch 3153 BLAKE2B 47caa306b96668108c6f4a AUX wireplumber-0.5.8-mem-leak.patch 1092 BLAKE2B e65f129d107063cef702403fa35f53b120be832838196a7f705dbeb93daf6ceb763100294169e47004d80032ae05ac25944ce4bcec5ff348c95c82b035f33cc4 SHA512 5a48b13a8dc5aad143588e7945c51eeaa9f30089100a9956fa48d73048864289e69346441e09a4c21b1528a0160c2bb95d8f9221a9488647c863d190dafd2d26 AUX wireplumber-0.5.8-vaargs.patch 2143 BLAKE2B 11f65b5791adfa998ebecf1cff6ee58ae12ef366c5af943d96621c2fc47eae780937a30997b969e6dd96df659f4b3e4a19f6ea673547fad1e8a990ac2b351468 SHA512 0cf5faa45966571bf80869219d0431b02df1a1293158a41b98cab00c0ac41d368af4ebf5239348f44ee7e82d8c0a5a1af4a49f493a962a837fe5009767bf312d AUX wireplumber.initd 287 BLAKE2B 915e91e428de674b46aab566c6bb62d402dc34c1f16d353150e4b9810356de77e8c9f7c12736bc86330a95481ad32521c6b9b98b5ad48fbc3993f1d09d9c1c59 SHA512 7828ce215125c33fc0c4a5832b72129a61bc704e23328c7126300288d60568350f0b937dbff20eef6942283f01106ead633ca71910c7db0e04ab1ffd5f47d963 -DIST wireplumber-0.5.7.tar.bz2 416878 BLAKE2B 0def07be7c3652ef76d4af9167875a0d26440c33ad8427d9594922e34dd44fb422e63861931dd7d8861d97698d8752c01ff3bedd68445009f55c728dfd4224d1 SHA512 a9f47664359ec8e483a3b16a1ba6b6e6bea3187bd17536f1ee2a756a0b217ebc401d4f21044b4c1caac83f08cead71539cf96705968aac80289cfe7e70857c56 DIST wireplumber-0.5.8.tar.bz2 419851 BLAKE2B 2d811534771d57206bcac467b2241e0b6f67259a7399de2d28f758768317d652aa1c9cd2cc5327e3528928e3aa59cef2c94873688d9ecc935aaecb4078a81db9 SHA512 bb3a4a3bc9fd0ece7fccb4efa32d01b02d68738b7766dd4b3310471c4bb98cc499b324ef0643079665d175e3267c1b4e53deef6ebdd9600e49a9560adb22ad88 -EBUILD wireplumber-0.5.7.ebuild 3956 BLAKE2B 8665c2eb28b98fec5b5182854a7d4ee9f555d6b4cfa16995dd2014581eff1a9037001be835cee3a063614edede23bd1a0529fd4873525078310551b0f2580b7d SHA512 52d1416cb274a252135bfa4d5e586a79ae64a87caaca9ce08faf082f60d8026190d2fae9e61ee8cb34681eb62c38ce57675095da945ce4ebc55c941778d28d8c -EBUILD wireplumber-0.5.8-r1.ebuild 4041 BLAKE2B f76e30bbd52816c0ddce9848f51648ba769cd71c3de49b8dffca0183eaa7b006e0a187bd561efd3cde838523f5162ccae8288fc0f844cf414086c46d07ee1793 SHA512 78f1a5a6fb4907b059f3891f783b116037e4b3c7b2547be0e81a921b2c356bc66bc2f1490a3daa5404ad6a36a11ae2ff33935b8e4ba7880b24171e0e46fb68df EBUILD wireplumber-0.5.8-r2.ebuild 4159 BLAKE2B 60ebb068791fbaea24455dfd41d70724de11a9b3b1656436b81ac00fa156880fa2e89e55c3f23f74ed1cc27a04c50ec1578d094d7c0b8bacde57f8b82aecc0cc SHA512 cfe092c09d148296cb969359ce3f3a0762cfdc4f16f498c75c7d0cacac4b1ef2b9f6109a22d62a5f30f83d621f96c78d56feadaa69ef9c64aa95449077318973 -EBUILD wireplumber-0.5.8.ebuild 3956 BLAKE2B 8665c2eb28b98fec5b5182854a7d4ee9f555d6b4cfa16995dd2014581eff1a9037001be835cee3a063614edede23bd1a0529fd4873525078310551b0f2580b7d SHA512 52d1416cb274a252135bfa4d5e586a79ae64a87caaca9ce08faf082f60d8026190d2fae9e61ee8cb34681eb62c38ce57675095da945ce4ebc55c941778d28d8c EBUILD wireplumber-9999.ebuild 4041 BLAKE2B f76e30bbd52816c0ddce9848f51648ba769cd71c3de49b8dffca0183eaa7b006e0a187bd561efd3cde838523f5162ccae8288fc0f844cf414086c46d07ee1793 SHA512 78f1a5a6fb4907b059f3891f783b116037e4b3c7b2547be0e81a921b2c356bc66bc2f1490a3daa5404ad6a36a11ae2ff33935b8e4ba7880b24171e0e46fb68df MISC metadata.xml 719 BLAKE2B 7ad70a19cbc55cb0c399cbc1c8c56a3bab16d2dd477a285a3c142793af3704a8dd6648f6cfa0b9aa6fd8338c9cddd93cc565356a8a2e5031a6874b46ac66c2ee SHA512 a4617e6176a4dab7491103858ed5f663b8dda2a6cd97c348cc274ac959df813a811f70963487ccb670999fd51d107726762d872ce42290d02ea6ed24ea021e55 diff --git a/media-video/wireplumber/wireplumber-0.5.7.ebuild b/media-video/wireplumber/wireplumber-0.5.7.ebuild deleted file mode 100644 index d1f979b31c3a..000000000000 --- a/media-video/wireplumber/wireplumber-0.5.7.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# 1. Please regularly check (even at the point of bumping) Fedora's packaging -# for needed backports at https://src.fedoraproject.org/rpms/wireplumber/tree/rawhide -# -# 2. Keep an eye on git master (for both PipeWire and WirePlumber) as things -# continue to move quickly. It's not uncommon for fixes to be made shortly -# after releases. - -LUA_COMPAT=( lua5-{3,4} ) - -inherit lua-single meson systemd - -DESCRIPTION="Replacement for pipewire-media-session" -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git" - EGIT_BRANCH="master" - inherit git-r3 -else - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -LICENSE="MIT" -SLOT="0/0.5" -IUSE="elogind system-service systemd test" - -REQUIRED_USE=" - ${LUA_REQUIRED_USE} - ?? ( elogind systemd ) - system-service? ( systemd ) -" - -RESTRICT="!test? ( test )" - -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building -BDEPEND=" - dev-libs/glib - dev-util/gdbus-codegen - dev-util/glib-utils - sys-devel/gettext - test? ( sys-apps/dbus ) -" -DEPEND=" - ${LUA_DEPS} - >=dev-libs/glib-2.68 - >=media-video/pipewire-1.0.5-r1:= - virtual/libintl - elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) -" -RDEPEND=" - ${DEPEND} - system-service? ( - acct-user/pipewire - acct-group/pipewire - ) -" - -DOCS=( {NEWS,README}.rst ) - -PATCHES=( - # Defer enabling sound server parts to media-video/pipewire - # TODO: Soon, we should be able to migrate to just a dropin at - # /usr/share. See https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/652#note_2399735. - "${FILESDIR}"/${PN}-0.5.6-config-disable-sound-server-parts.patch -) - -src_configure() { - local emesonargs=( - -Ddaemon=true - -Dtools=true - -Dmodules=true - # Ebuild not wired up yet (Sphinx, Doxygen?) - -Ddoc=disabled - # Only used for Sphinx doc generation - -Dintrospection=disabled - -Dsystem-lua=true - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version)) - $(meson_feature elogind) - $(meson_feature systemd) - $(meson_use system-service systemd-system-service) - $(meson_use systemd systemd-user-service) - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) - $(meson_use test tests) - $(meson_use test dbus-tests) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - mv "${ED}"/usr/share/doc/wireplumber/* "${ED}"/usr/share/doc/${PF} || die - rmdir "${ED}"/usr/share/doc/wireplumber || die -} - -pkg_postinst() { - if systemd_is_booted ; then - ewarn "pipewire-media-session.service is no longer installed. You must switch" - ewarn "to wireplumber.service user unit before your next logout/reboot:" - ewarn "systemctl --user disable pipewire-media-session.service" - ewarn "systemctl --user --force enable wireplumber.service" - else - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher" - ewarn "is started (a replacement for directly calling pipewire binary)." - ewarn - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist" - ewarn "or, if it does exist, that any reference to" - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)." - fi - - if use system-service; then - ewarn - ewarn "WARNING: you have enabled the system-service USE flag, which installs" - ewarn "the system-wide systemd units that enable WirePlumber to run as a system" - ewarn "service. This is more than likely NOT what you want. You are strongly" - ewarn "advised not to enable this mode and instead stick with systemd user" - ewarn "units. The default configuration files will likely not work out of" - ewarn "box, and you are on your own with configuration." - ewarn - fi -} diff --git a/media-video/wireplumber/wireplumber-0.5.8-r1.ebuild b/media-video/wireplumber/wireplumber-0.5.8-r1.ebuild deleted file mode 100644 index 52aca8f672b1..000000000000 --- a/media-video/wireplumber/wireplumber-0.5.8-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# 1. Please regularly check (even at the point of bumping) Fedora's packaging -# for needed backports at https://src.fedoraproject.org/rpms/wireplumber/tree/rawhide -# -# 2. Keep an eye on git master (for both PipeWire and WirePlumber) as things -# continue to move quickly. It's not uncommon for fixes to be made shortly -# after releases. - -LUA_COMPAT=( lua5-{3,4} ) - -inherit lua-single meson systemd - -DESCRIPTION="Replacement for pipewire-media-session" -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git" - EGIT_BRANCH="master" - inherit git-r3 -else - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -LICENSE="MIT" -SLOT="0/0.5" -IUSE="elogind system-service systemd test" - -REQUIRED_USE=" - ${LUA_REQUIRED_USE} - ?? ( elogind systemd ) - system-service? ( systemd ) -" - -RESTRICT="!test? ( test )" - -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building -BDEPEND=" - dev-libs/glib - dev-util/gdbus-codegen - dev-util/glib-utils - sys-devel/gettext - test? ( sys-apps/dbus ) -" -DEPEND=" - ${LUA_DEPS} - >=dev-libs/glib-2.68 - >=media-video/pipewire-1.0.5-r1:= - virtual/libintl - elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) -" -RDEPEND=" - ${DEPEND} - system-service? ( - acct-user/pipewire - acct-group/pipewire - ) -" - -DOCS=( {NEWS,README}.rst ) - -PATCHES=( - # Defer enabling sound server parts to media-video/pipewire - # TODO: Soon, we should be able to migrate to just a dropin at - # /usr/share. See https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/652#note_2399735. - "${FILESDIR}"/${PN}-0.5.6-config-disable-sound-server-parts.patch -) - -src_configure() { - local emesonargs=( - -Ddaemon=true - -Dtools=true - -Dmodules=true - # Ebuild not wired up yet (Sphinx, Doxygen?) - -Ddoc=disabled - # Only used for Sphinx doc generation - -Dintrospection=disabled - -Dsystem-lua=true - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version)) - $(meson_feature elogind) - $(meson_feature systemd) - $(meson_use system-service systemd-system-service) - $(meson_use systemd systemd-user-service) - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) - $(meson_use test tests) - $(meson_use test dbus-tests) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - exeinto /etc/user/init.d - newexe "${FILESDIR}"/wireplumber.initd wireplumber - - mv "${ED}"/usr/share/doc/wireplumber/* "${ED}"/usr/share/doc/${PF} || die - rmdir "${ED}"/usr/share/doc/wireplumber || die -} - -pkg_postinst() { - if systemd_is_booted ; then - ewarn "pipewire-media-session.service is no longer installed. You must switch" - ewarn "to wireplumber.service user unit before your next logout/reboot:" - ewarn "systemctl --user disable pipewire-media-session.service" - ewarn "systemctl --user --force enable wireplumber.service" - else - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher" - ewarn "is started (a replacement for directly calling pipewire binary)." - ewarn - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist" - ewarn "or, if it does exist, that any reference to" - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)." - fi - - if use system-service; then - ewarn - ewarn "WARNING: you have enabled the system-service USE flag, which installs" - ewarn "the system-wide systemd units that enable WirePlumber to run as a system" - ewarn "service. This is more than likely NOT what you want. You are strongly" - ewarn "advised not to enable this mode and instead stick with systemd user" - ewarn "units. The default configuration files will likely not work out of" - ewarn "box, and you are on your own with configuration." - ewarn - fi -} diff --git a/media-video/wireplumber/wireplumber-0.5.8.ebuild b/media-video/wireplumber/wireplumber-0.5.8.ebuild deleted file mode 100644 index d1f979b31c3a..000000000000 --- a/media-video/wireplumber/wireplumber-0.5.8.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# 1. Please regularly check (even at the point of bumping) Fedora's packaging -# for needed backports at https://src.fedoraproject.org/rpms/wireplumber/tree/rawhide -# -# 2. Keep an eye on git master (for both PipeWire and WirePlumber) as things -# continue to move quickly. It's not uncommon for fixes to be made shortly -# after releases. - -LUA_COMPAT=( lua5-{3,4} ) - -inherit lua-single meson systemd - -DESCRIPTION="Replacement for pipewire-media-session" -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git" - EGIT_BRANCH="master" - inherit git-r3 -else - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -LICENSE="MIT" -SLOT="0/0.5" -IUSE="elogind system-service systemd test" - -REQUIRED_USE=" - ${LUA_REQUIRED_USE} - ?? ( elogind systemd ) - system-service? ( systemd ) -" - -RESTRICT="!test? ( test )" - -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building -BDEPEND=" - dev-libs/glib - dev-util/gdbus-codegen - dev-util/glib-utils - sys-devel/gettext - test? ( sys-apps/dbus ) -" -DEPEND=" - ${LUA_DEPS} - >=dev-libs/glib-2.68 - >=media-video/pipewire-1.0.5-r1:= - virtual/libintl - elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) -" -RDEPEND=" - ${DEPEND} - system-service? ( - acct-user/pipewire - acct-group/pipewire - ) -" - -DOCS=( {NEWS,README}.rst ) - -PATCHES=( - # Defer enabling sound server parts to media-video/pipewire - # TODO: Soon, we should be able to migrate to just a dropin at - # /usr/share. See https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/652#note_2399735. - "${FILESDIR}"/${PN}-0.5.6-config-disable-sound-server-parts.patch -) - -src_configure() { - local emesonargs=( - -Ddaemon=true - -Dtools=true - -Dmodules=true - # Ebuild not wired up yet (Sphinx, Doxygen?) - -Ddoc=disabled - # Only used for Sphinx doc generation - -Dintrospection=disabled - -Dsystem-lua=true - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version)) - $(meson_feature elogind) - $(meson_feature systemd) - $(meson_use system-service systemd-system-service) - $(meson_use systemd systemd-user-service) - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) - $(meson_use test tests) - $(meson_use test dbus-tests) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - mv "${ED}"/usr/share/doc/wireplumber/* "${ED}"/usr/share/doc/${PF} || die - rmdir "${ED}"/usr/share/doc/wireplumber || die -} - -pkg_postinst() { - if systemd_is_booted ; then - ewarn "pipewire-media-session.service is no longer installed. You must switch" - ewarn "to wireplumber.service user unit before your next logout/reboot:" - ewarn "systemctl --user disable pipewire-media-session.service" - ewarn "systemctl --user --force enable wireplumber.service" - else - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher" - ewarn "is started (a replacement for directly calling pipewire binary)." - ewarn - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist" - ewarn "or, if it does exist, that any reference to" - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)." - fi - - if use system-service; then - ewarn - ewarn "WARNING: you have enabled the system-service USE flag, which installs" - ewarn "the system-wide systemd units that enable WirePlumber to run as a system" - ewarn "service. This is more than likely NOT what you want. You are strongly" - ewarn "advised not to enable this mode and instead stick with systemd user" - ewarn "units. The default configuration files will likely not work out of" - ewarn "box, and you are on your own with configuration." - ewarn - fi -} |