diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-13 00:28:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-13 00:28:24 +0000 |
commit | b3f96499c112618ec301a4852f24b8b8be123d3a (patch) | |
tree | 90d1f3a681c108834f888ca502d93702f101fbce /media-video | |
parent | ef0fedb39c21a343a3f316726f272bad9005b22c (diff) |
gentoo auto-resync : 13:03:2025 - 00:28:24edge
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/Manifest.gz | bin | 23229 -> 23210 bytes | |||
-rw-r--r-- | media-video/ffmpeg-compat/Manifest | 4 | ||||
-rw-r--r-- | media-video/ffmpeg-compat/ffmpeg-compat-4.4.5.ebuild | 2 | ||||
-rw-r--r-- | media-video/ffmpeg-compat/ffmpeg-compat-6.1.2.ebuild | 2 | ||||
-rw-r--r-- | media-video/harvid/Manifest | 2 | ||||
-rw-r--r-- | media-video/harvid/harvid-0.9.1.ebuild | 50 | ||||
-rw-r--r-- | media-video/mplayer/Manifest | 1 | ||||
-rw-r--r-- | media-video/mplayer/mplayer-1.5_p20241125-r1.ebuild | 657 | ||||
-rw-r--r-- | media-video/mpv/Manifest | 4 | ||||
-rw-r--r-- | media-video/mpv/mpv-0.39.0-r1.ebuild | 2 | ||||
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 2 | ||||
-rw-r--r-- | media-video/noad/Manifest | 2 | ||||
-rw-r--r-- | media-video/noad/noad-0.8.8-r1.ebuild | 2 | ||||
-rw-r--r-- | media-video/simplescreenrecorder/Manifest | 3 | ||||
-rw-r--r-- | media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild | 107 | ||||
-rw-r--r-- | media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild | 2 | ||||
-rw-r--r-- | media-video/subtitlecomposer/Manifest | 1 | ||||
-rw-r--r-- | media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild | 65 |
18 files changed, 896 insertions, 12 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz Binary files differindex abac61c5bfa9..bce94f17d12a 100644 --- a/media-video/Manifest.gz +++ b/media-video/Manifest.gz diff --git a/media-video/ffmpeg-compat/Manifest b/media-video/ffmpeg-compat/Manifest index fecfba901746..7839e7a7eadc 100644 --- a/media-video/ffmpeg-compat/Manifest +++ b/media-video/ffmpeg-compat/Manifest @@ -6,6 +6,6 @@ DIST ffmpeg-6.1.2.tar.xz 10466152 BLAKE2B ff1f2b2bb60ccc4c37b6ffda2a0e6a0be80c45 DIST ffmpeg-6.1.2.tar.xz.asc 520 BLAKE2B f26a2d6f5423f93090f2a448172e49f3858aeb5a00f326207d374bbb70fa8942c7ee1a7c55338b2db664b647c983cd5ab4fd8d71efe5c37af4c90385ca17d0ab SHA512 a26dba1f4870b964080b45f8468f5ce3591eb6aa69be426bf4afbe5a60c3cbd0fe5056dc86ca7bb817c04ae30d39160cb7773772a9a2123ae7f095b18a6d7050 DIST ffmpeg-rpi-6.1-r3.patch 800738 BLAKE2B b7e449ee5eec8b50a3b3bba233c5269f3b6845dbd18a619b844c841a97345ce24c7a5d7f4da05b08e3cb49668426b9044f3d3553d9c2ef3a50aec7199bfa3c09 SHA512 aeaf12afabf5f2192fb0b6ef47397d8477b109e49cee8c02a890d1656a27b1985c62c719ef72966d8c97b0709918233b65ea2e0ef988771507e4be137fcd9158 DIST ffmpeg-rpi-6.1-r3.patch.asc 833 BLAKE2B 31fd5823c06d5884f7b0980de9072c35bbf4e1d6c0ed20b089439325d50956127238ca29469b003dba623b888a5aae3c4d8ad177862534e77b8e51f29cbed96c SHA512 3d8943b7151e20f73e9c14b121c501847bd7e01f2cf57ff135fc8c223653ec9d433bfe4012fa564f70c0471980b66d7ec3d9b5b1b14865187187719ba110cb5f -EBUILD ffmpeg-compat-4.4.5.ebuild 14409 BLAKE2B d048d28498f200c3e1587931b822dbca7faaf30999be51715711e16d484d511160452e80e9406ee4e908656539bc337e865186540e324b8565067b92ec7847db SHA512 6af2f4f570074e6f146f558ef9596b39eb8b05ba87c2cf3939ab47be52d531e66a6f85f4550b16f68f272c75b78b3e3938f938dcb03839294ff2729e4d3f5918 -EBUILD ffmpeg-compat-6.1.2.ebuild 16538 BLAKE2B 723fa6b72bf020386ba64d8435bae59eccc8961a19ee3a865f1747d4e0dbf6ae9051a13a25334a2e4aa819bb3eca16cae90355f7af80d3f6986ad196821b00ca SHA512 c0da5de68124cbcea8edfbe85dd4eb32aacfa75ce60e4b390d4686fbe7cb5ced9ea494fbae0daff450e3c1de0da1abfbc1d84c95dcc1c96f92ed961362af3179 +EBUILD ffmpeg-compat-4.4.5.ebuild 14405 BLAKE2B a0a8a42312931989c78824f73df98f58e5761fa7d4c574a5862a30147bdfb18b4dae6b8d4b4c21dbe22e37e529dee243d3484b2c67562cac4ed3707e730ea452 SHA512 363d03ce392f1c2722ba46c43fe3cf65509a7a93189f52b4a98d2c6356726b77481994b3b9cde9eaab1c11f624651e047bcbd3f25eb11236731f340b05c1e898 +EBUILD ffmpeg-compat-6.1.2.ebuild 16534 BLAKE2B e3b437939e78885bca1b09a59fb637653434223313c354d3af066590fde07a6763ed904c89b42e4a5fe61fc608fc7431c80c956bb4ebac2baf6fcae7201a76e7 SHA512 aa4a56b39a05f7d83aba3fda9d4db895627f2e071ea5086d86a4394d9f83119ec4dcf196c6f2821ba5224851b9be252e606ad2258af256c63b02e737848e651b MISC metadata.xml 7605 BLAKE2B af1dae9179eb75099f73330e42f95be290f59e99e4062f265e0cf339d9d2e9fd3ef5265600e8e497b2edd58d2501ded48fb92fe6e3c92f1c5015fe79a999c187 SHA512 6093fd6f4c22221cc3ee7bde293f0ea9bffbcaecac8c3735f515cc37a1c48b69b6ee38acd34c892c1c72e14bc4f823714e446224f1bc4806e7bad52190fd63e2 diff --git a/media-video/ffmpeg-compat/ffmpeg-compat-4.4.5.ebuild b/media-video/ffmpeg-compat/ffmpeg-compat-4.4.5.ebuild index e86d43b6f530..d2dd0ae3f456 100644 --- a/media-video/ffmpeg-compat/ffmpeg-compat-4.4.5.ebuild +++ b/media-video/ffmpeg-compat/ffmpeg-compat-4.4.5.ebuild @@ -21,7 +21,7 @@ else https://dev.gentoo.org/~ionen/distfiles/ffmpeg-$(ver_cut 1-2)-patchset-1.tar.xz " S=${WORKDIR}/ffmpeg-${PV} # avoid ${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" fi DESCRIPTION="Complete solution to record/convert/stream audio and video" diff --git a/media-video/ffmpeg-compat/ffmpeg-compat-6.1.2.ebuild b/media-video/ffmpeg-compat/ffmpeg-compat-6.1.2.ebuild index bde869a247e0..6f0a6291b109 100644 --- a/media-video/ffmpeg-compat/ffmpeg-compat-6.1.2.ebuild +++ b/media-video/ffmpeg-compat/ffmpeg-compat-6.1.2.ebuild @@ -28,7 +28,7 @@ else https://dev.gentoo.org/~ionen/distfiles/ffmpeg-$(ver_cut 1-2)-patchset-1.tar.xz " S=${WORKDIR}/ffmpeg-${PV} # avoid ${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" fi DESCRIPTION="Complete solution to record/convert/stream audio and video" diff --git a/media-video/harvid/Manifest b/media-video/harvid/Manifest index 25406210be5c..aa3b057527d7 100644 --- a/media-video/harvid/Manifest +++ b/media-video/harvid/Manifest @@ -1,5 +1,7 @@ AUX harvid-0.9.0-ffmpeg.patch 706 BLAKE2B f50246bfe6c912e6c368b44fb4250032fdc3641f559eecaafc44f2b7c6aa93bbb7bda5247660e92bed165ae235040aca09130702a4a6cf71a45034f63c8557f8 SHA512 9dda13f1552e02db1336e074c9de70c8ab368890173427c32117301ffbe8e0bdc42064978b8947021ea00f389accb1346ec669af4da8f71e5cd9c587fb66c98f AUX harvid-0.9.0-parallel-build.patch 1456 BLAKE2B ccf2cf918996fc29928fdd5980033e3583a3e61b2017b83c6c7c1d3eef0bdea7f598e91ce2acbdd5756e323c917d9fc8069ed46b37b2aaacd15e2cb8c5616a87 SHA512 0567160d9a56bfe022046a0c9a56132b0c5bfac4e273c9eb496cc7ba0098ad4b19ca1eedd4b42955e613fea6663c9665582e1477b4a309d32832cc225a3a6274 DIST harvid-0.9.0.tar.gz 116909 BLAKE2B 94b194c475aa402d750d2930c19402157674c5e629bf6212d0fbf0bfe9516f6272850ebca4fb9c6bb1c899418c48ac2b76ec6c04def35671df37ca0b44550e42 SHA512 cba47a9ad70633fbbc5a939819b7ad3c46f01b199b23c938b26092d731664bcfef05b4f03bf83433ddc63d191fef72d0cab09ae4c35efd2e1b2b37c4b2689e82 +DIST harvid-0.9.1.tar.gz 117187 BLAKE2B 18e72df0330f3d7bd420b95610b23cb582db32b427e5bacec74c43312742dd7de0dd4829bdbb7841f5e0ca62d11c0361b83efb6b6221da0ecb328d8efe28de29 SHA512 9a848078adeb1cc5730e21fac18acb5965fadf903dead52dcf805112938fc975d010cc5b651cdc87265e10c209273cb3a1a8c8ec64f9f2613640638747832466 EBUILD harvid-0.9.0.ebuild 1012 BLAKE2B 52a18b62e812b9b9ffe125cd46452a704bab6b42466c327f5367798f9cf6e98dfa1102da146ca8a1ff6298587d8b466ee239fd1e871d910bf2212d7aea514ce6 SHA512 121889845a80fce35bd07696543a172e2147f1f8f53733c433728ebe58f89ae84879da46f6628dde4e33d13a2bb343925b9d7c9c1124ac2156434eb7816f8b6d +EBUILD harvid-0.9.1.ebuild 921 BLAKE2B b0f53ffcbc44ca4060e4c78ff90bcc56cd6bfbaaad63bdae076a08138f4df4249c75d4a13b909e3b20d176dbdf2978986efd6155a200e27fde8f7b2e45604673 SHA512 bdeeeb13266e1f13349c17317190a5df73c305d24508c02aea2bbc0cb9bfdea2f38ba5d4a53e3574a3c70b39d5851e4c6891e9f1c462f35d6f95d9f91a4c3469 MISC metadata.xml 307 BLAKE2B fef3e2278027f2fc6961477d066bf154d20f8efc39bede108d9aad5fd524550c490eb5cb6d42e98c26ab560c1ce05b844c8db1cadd4eb40d310935bac7de6db0 SHA512 aebb19473f8546e0ec8bc30bb0e3657fabb56933e7214ca0e5a4d01e01d5bbbd7968a957e0a168eae4db540aa285fc9ffea7b5a44ccec82562335ca939bdcc36 diff --git a/media-video/harvid/harvid-0.9.1.ebuild b/media-video/harvid/harvid-0.9.1.ebuild new file mode 100644 index 000000000000..56aca1510499 --- /dev/null +++ b/media-video/harvid/harvid-0.9.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="HTTP Ardour Video Daemon" +HOMEPAGE="https://x42.github.io/harvid/" +SRC_URI="https://github.com/x42/harvid/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-video/ffmpeg:= + media-libs/libjpeg-turbo:= + media-libs/libpng:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-editors/vim-core + virtual/pkgconfig +" + +hv_make() { + emake \ + CC="$(tc-getCC)" \ + RANLIB="$(tc-getRANLIB)" \ + STRIP="true" \ + NM="$(tc-getNM) -B" \ + LD="$(tc-getLD)" \ + AR="$(tc-getAR)" \ + PREFIX="${EPREFIX}/usr" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + hdocdir="${EPREFIX}/usr/share/doc/${PF}" \ + "${@}" +} + +src_compile() { + hv_make -C libharvid + hv_make -C src + hv_make +} + +src_install() { + hv_make DESTDIR="${D}" install + dodoc ChangeLog README.md +} diff --git a/media-video/mplayer/Manifest b/media-video/mplayer/Manifest index 886c26b0e3e5..17db986ccbb7 100644 --- a/media-video/mplayer/Manifest +++ b/media-video/mplayer/Manifest @@ -13,6 +13,7 @@ DIST mplayer-1.5_p20241125.tar.xz 15807772 BLAKE2B ce448b344f6ad9d5cb6216725f02c EBUILD mplayer-1.5_p20230215.ebuild 17495 BLAKE2B 00fbaddadf64602f68a02c1fadf950081697f749003454165154792c78e0da4a4132e1c766c5fefece67ea98b947324a2e0f1ebc13a733b36368b416fe68850e SHA512 ea127eb56b1a6f5df61e9ed7fabea50ea56b53f9f3c3986acd8aa9fee638fc11495d80d62e8e990489f4488f87aa72d2e1977693dd48304fec50076d506091b2 EBUILD mplayer-1.5_p20230618.ebuild 17887 BLAKE2B 09ffce401d06826d180e5694469fc2014e97abfe7417f60b00c2469e16c59c3e2d2fb506d5b5573724bd6e391497e0dfb237166e6ef6eef1333a35f341c41bc7 SHA512 7a82ebee32e708ea5133a79f7b3e1d4f1102bbad8c874d3a3bc7def70361fd8703140455f4a35af3752a143b0ec4249208aaa76ff5e655c4639b3eb2bc4aa39a EBUILD mplayer-1.5_p20231206.ebuild 17903 BLAKE2B d85e274bb0f158d03c21cef6c2b75b28f941eb813cb6f7c1428272972b991fc1f01d96533412921c8cf81fcd19caf8826f8736263c7107693fcb44f45f2ac2a7 SHA512 38e17e1d1cf26520257b04c32aa9028b8effbb6a74453bdff4aa60ab9dde82d446ee0eef1cae319e24fc0c29e975d36ecd115eca3167d578840a7eb001c8d7f0 +EBUILD mplayer-1.5_p20241125-r1.ebuild 18033 BLAKE2B e86396f31b5692bc3473f3c70ad2779b96966ce2ccb2dce513eb301f454adfc2043d083ee734796c5b94893881ba88f6e17c66b51a6cbee851f566d681f8a991 SHA512 d0705f2c5d97911b7ecc876c353c87643447e21450a3341db4567b2d6435031b3def809738f6eeb149ab08b32c2ab62d6d018e7c2e277f12f806af066e129648 EBUILD mplayer-1.5_p20241125.ebuild 17928 BLAKE2B c7e8b2e50fc2cae111142a94a7ddaaa7919fd5fdfe73a58a00db2109fffcaa7349f2a92577165d49eaa3fc6a076d5807faaec45efc9d487358e352f22f07bdb1 SHA512 95dd763ef924db5ddbf409c61098921355d0bc774e79c2a3898d200f7ee987d51527a9812f346e5a373efccd5f7c83e92418de97e7edb578396e3b1046c72407 EBUILD mplayer-9999.ebuild 17886 BLAKE2B 1af76cc1b05114573836fe78d2beca716066dd8a79eb7a8eb7cfed90c61a1983c342df6cb716e9714232b64cec0ea0bd2c5554e5e3afc04ed8f18e6e3bd396e2 SHA512 6bfff0aabbd327a4487ddc6c7bc36a8488281906c51c589f9d878306474e3c16e7c584bc7019efd4a3ea544c13ecdecc043d50e295846488c06042c1f7c536d4 MISC metadata.xml 2475 BLAKE2B 5a083ce5b8ed729245ec9eaf544be95f6cbdb9fcb5b80d3a21195557c3aede46d09bd93a0d1acd3830fc796f90dd5f15a17a3d3c69ba2a1a54a0676264dd02de SHA512 f04082ffd63adf9102dd82eb5b4c628fbf912701c7dae69f0b00bbad4e0957355e43369912e9422acc087200de982920c212efb60ba9c26675f74fd5f37fd739 diff --git a/media-video/mplayer/mplayer-1.5_p20241125-r1.ebuild b/media-video/mplayer/mplayer-1.5_p20241125-r1.ebuild new file mode 100644 index 000000000000..567ce502257a --- /dev/null +++ b/media-video/mplayer/mplayer-1.5_p20241125-r1.ebuild @@ -0,0 +1,657 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs ffmpeg-compat flag-o-matic + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://git.ffmpeg.org/ffmpeg.git" + ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk" + RELEASE_URI="" + + inherit subversion git-r3 +elif [[ "${PV%_rc*}" == "${PV}" && "${PV%_pre*}" == "${PV}" && "${PV%_p*}" == "${PV}" ]]; then + MY_P="MPlayer-${PV}" + S="${WORKDIR}/${MY_P}" + RELEASE_URI="mirror://mplayer/releases/${MY_P}.tar.xz" +else + # If necessary, don't be afraid to make a snapshot. + # http://www.mplayerhq.hu/design7/dload.html says: + # "We recommend to always use the latest SVN to get the all the new + # features and bugfixes, especially if the release date above looks old." + RELEASE_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" +fi + +FONT_URI=" + mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 + mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2 + mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2 +" + +DESCRIPTION="Media Player for Linux" +HOMEPAGE="http://www.mplayerhq.hu/" +SRC_URI=" + ${RELEASE_URI} + !truetype? ( ${FONT_URI} ) +" + +IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2" +IUSE+=" cpu_flags_x86_fma3 cpu_flags_x86_fma4" +IUSE+=" cpu_flags_x86_mmx cpu_flags_x86_mmxext" +IUSE+=" cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1" +IUSE+=" cpu_flags_x86_sse4_2 cpu_flags_x86_xop" +IUSE+=" cpu_flags_x86_3dnow cpu_flags_x86_3dnowext" + +IUSE+=" cpu_flags_arm_thumb cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_arm_vfpv3" +IUSE+=" cpu_flags_arm_iwmmxt" +IUSE+=" cpu_flags_ppc_altivec" + +IUSE+=" a52 aalib +alsa aqua bidi bl bluray" +IUSE+=" bs2b cddb +cdio cdparanoia cpudetection debug dga doc dts dv dvb +dvd +dvdnav +enca +encode faac faad fbcon" +IUSE+=" ftp ggi gsm +iconv ipv6 jack joystick jpeg ladspa +libass libcaca libmpeg2 lirc live lzo mad md5sum" +IUSE+=" mng mp3 nas +network openal opengl +osdmenu oss png pnm pulseaudio pvr" +IUSE+=" radio rar rtc rtmp samba selinux +shm sdl speex" +IUSE+=" tga theora tremor +truetype toolame twolame +unicode v4l vcd vdpau vidix" +IUSE+=" vorbis +X x264 xinerama +xscreensaver +xv xvid yuv4mpeg zoran" + +VIDEO_CARDS="mga" +for x in ${VIDEO_CARDS}; do + IUSE+=" video_cards_${x}" +done + +FONT_RDEPS=" + media-libs/fontconfig + >=media-libs/freetype-2.2.1:2 + virtual/ttf-fonts +" +X_RDEPS=" + x11-libs/libXext + x11-libs/libXxf86vm +" +# - RAR: although -gpl version is nice, it can't do most functions normal rars can +# nemesi? ( net-libs/libnemesi ) +# - mplayer relies on private APIs in giflib that have been removed: +# https://sourceforge.net/p/giflib/bugs/132/ +RDEPEND=" + app-arch/bzip2 + media-video/ffmpeg-compat:6=[vdpau?] + sys-libs/ncurses:= + sys-libs/zlib + a52? ( media-libs/a52dec ) + aalib? ( media-libs/aalib ) + alsa? ( media-libs/alsa-lib ) + bidi? ( dev-libs/fribidi ) + bluray? ( >=media-libs/libbluray-0.2.1:= ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + dev-libs/libcdio:= + dev-libs/libcdio-paranoia + ) + cdparanoia? ( !cdio? ( media-sound/cdparanoia ) ) + dga? ( x11-libs/libXxf86dga ) + dts? ( media-libs/libdca ) + dv? ( media-libs/libdv ) + dvd? ( >=media-libs/libdvdread-4.1.3:= ) + dvdnav? ( >=media-libs/libdvdnav-4.1.3:= ) + encode? ( + !twolame? ( toolame? ( media-sound/toolame ) ) + twolame? ( media-sound/twolame ) + faac? ( media-libs/faac ) + mp3? ( media-sound/lame ) + x264? ( >=media-libs/x264-0.0.20100423:= ) + xvid? ( media-libs/xvid ) + ) + enca? ( app-i18n/enca ) + faad? ( media-libs/faad2 ) + ggi? ( media-libs/libggi media-libs/libggiwmh ) + gsm? ( media-sound/gsm ) + iconv? ( virtual/libiconv ) + jack? ( virtual/jack ) + jpeg? ( media-libs/libjpeg-turbo:= ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( >=media-libs/libass-0.9.10:= ) + libcaca? ( media-libs/libcaca ) + libmpeg2? ( media-libs/libmpeg2 ) + lirc? ( app-misc/lirc ) + live? ( media-plugins/live ) + lzo? ( >=dev-libs/lzo-2 ) + mad? ( media-libs/libmad ) + mng? ( media-libs/libmng:= ) + mp3? ( media-sound/mpg123 ) + nas? ( media-libs/nas ) + openal? ( media-libs/openal ) + opengl? ( virtual/opengl ) + png? ( media-libs/libpng:= ) + pnm? ( media-libs/netpbm ) + pulseaudio? ( media-libs/libpulse ) + rar? ( + || ( + app-arch/unrar + app-arch/rar + ) + ) + rtmp? ( media-video/rtmpdump ) + samba? ( net-fs/samba ) + sdl? ( media-libs/libsdl ) + speex? ( media-libs/speex ) + theora? ( media-libs/libtheora[encode?] ) + tremor? ( media-libs/tremor ) + truetype? ( ${FONT_RDEPS} ) + vdpau? ( x11-libs/libvdpau ) + vorbis? ( !tremor? ( media-libs/libvorbis ) ) + X? ( ${X_RDEPS} ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) +" +DEPEND=" + ${RDEPEND} + dga? ( x11-base/xorg-proto ) + dvb? ( sys-kernel/linux-headers ) + X? ( x11-base/xorg-proto ) + xinerama? ( x11-base/xorg-proto ) + xscreensaver? ( x11-base/xorg-proto ) +" +ASM_DEP="dev-lang/nasm" +BDEPEND=" + virtual/pkgconfig + amd64? ( ${ASM_DEP} ) + doc? ( + app-text/docbook-xml-dtd + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + ) + x86? ( ${ASM_DEP} ) +" +RDEPEND+="selinux? ( sec-policy/selinux-mplayer )" + +LICENSE="GPL-2" +SLOT="0" +if [[ ${PV} != *9999* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +# faac codecs are nonfree +# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio +# dvd navigation requires dvd read support +# ass and freetype font require iconv and ass requires freetype fonts +# unicode transformations are usefull only with iconv +# radio requires oss or alsa backend +REQUIRED_USE=" + dga? ( X ) + dvdnav? ( dvd ) + enca? ( iconv ) + ggi? ( X ) + libass? ( truetype ) + opengl? ( X ) + osdmenu? ( X ) + truetype? ( iconv ) + vdpau? ( X ) + vidix? ( X ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" +RESTRICT="faac? ( bindist )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5_p20241125-c99.patch +) + +QA_CONFIG_IMPL_DECL_SKIP=( + _aligned_malloc +) + +pkg_setup() { + if [[ ${PV} == *9999* ]]; then + elog + elog "This is a live ebuild which installs the latest from upstream's" + elog "subversion repository, and is unsupported by Gentoo." + elog "Everything but bugs in the ebuild itself will be ignored." + elog + fi + + if use cpudetection; then + ewarn + ewarn "You've enabled the cpudetection flag. This feature is" + ewarn "included mainly for people who want to use the same" + ewarn "binary on another system with a different CPU architecture." + ewarn "MPlayer will already detect your CPU settings by default at" + ewarn "buildtime; this flag is used for runtime detection." + ewarn "You won't need this turned on if you are only building" + ewarn "mplayer for this system. Also, if your compile fails, try" + ewarn "disabling this use flag." + fi +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + subversion_src_unpack + + cd "${WORKDIR}" || die + rm -rf "${WORKDIR}/${P}/ffmpeg/" || die + ( EGIT_CHECKOUT_DIR="${WORKDIR}/${P}/ffmpeg/" git-r3_src_unpack ) + else + unpack ${A} + fi + + if [[ ${PV} == *9999* || "${PV%_rc*}" == "${PV}" ]]; then + cd "${S}" || die + cp "${FILESDIR}/dump_ffmpeg.sh" . || die + chmod +x dump_ffmpeg.sh || die + ./dump_ffmpeg.sh + fi + + if ! use truetype; then + unpack font-arial-iso-8859-1.tar.bz2 \ + font-arial-iso-8859-2.tar.bz2 \ + font-arial-cp1250.tar.bz2 + fi +} + +src_prepare() { + default + + local svf=snapshot_version + if [[ ${PV} == *9999* ]]; then + # Set SVN version manually + subversion_wc_info + printf "${ESVN_WC_REVISION}" > ${svf} || die + fi + + if [[ ! -f VERSION ]]; then + [[ -f "${svf}" ]] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?" + + local sv=$(<${svf}) + printf "SVN-r${sv} (Gentoo)" > VERSION || die + fi + + # Fix path to bash executable in configure scripts + sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die + + # Use sane default for >=virtual/udev-197 + sed -i -e '/default_dvd_device/s:/dev/dvd:/dev/cdrom:' configure || die +} + +src_configure() { + # TODO: fix with >=ffmpeg-7 then drop compat (bug #948254) + ffmpeg_compat_setup 6 + + # undefined reference to `sse_int32_map_factor' etc + # https://bugs.gentoo.org/650458 + # https://trac.mplayerhq.hu/ticket/2408 + use libass && use cpu_flags_x86_sse4_1 && filter-lto + + local myconf=() + local uses i + + # Set LINGUAS + [[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/da/dk}" + [[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/zh/zh_CN}" # bug #482968 + + # mplayer ebuild uses "use foo || --disable-foo" to forcibly disable + # compilation in almost every situation. The reason for this is + # because if --enable is used, it will force the build of that option, + # regardless of whether the dependency is available or not. + + ##################### + # Optional features # + ##################### + # Disable svga since we don't want it + # Disable arts since we don't have kde3 + # Always disable internal ass + # Disable opus and ilbc since it only controls support in internal + # ffmpeg which we do not use + myconf+=( + --disable-arts + --disable-ass-internal + --disable-directfb + --disable-kai + --disable-libilbc + --disable-libnut + --disable-libopus + --disable-svga --disable-svgalib_helper + $(use_enable network networking) + $(use_enable joystick) + ) + + uses="bl bluray enca ftp rtc vcd" # nemesi <- not working with in-tree ebuild + myconf+=( --disable-nemesi ) # nemesi automagic disable + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + use bidi || myconf+=( --disable-fribidi ) + use ipv6 || myconf+=( --disable-inet6 ) + use libass || myconf+=( --disable-ass ) + use rar || myconf+=( --disable-unrarexec ) + use samba || myconf+=( --disable-smb ) + use lirc || myconf+=( --disable-lirc --disable-lircc --disable-apple-ir ) + + # libcdio support: prefer libcdio over cdparanoia + # don't check for cddb w/cdio + if use cdio; then + myconf+=( --disable-cdparanoia ) + else + myconf+=( --disable-libcdio ) + use cdparanoia || myconf+=( --disable-cdparanoia ) + use cddb || myconf+=( --disable-cddb ) + fi + + ################################ + # DVD read, navigation support # + ################################ + # + # dvdread - accessing a DVD + # dvdnav - navigation of menus + use dvd || myconf+=( --disable-dvdread ) + use dvdnav || myconf+=( --disable-dvdnav ) + + ############# + # Subtitles # + ############# + # + # SRT/ASS/SSA (subtitles) requires freetype support + # freetype support requires iconv + # iconv optionally can use unicode + use truetype || myconf+=( --disable-freetype ) + use iconv || myconf+=( --disable-iconv --charset=noconv ) + use iconv && use unicode && myconf+=( --charset=UTF-8 ) + + ##################################### + # DVB / Video4Linux / Radio support # + ##################################### + myconf+=( --disable-tv-bsdbt848 ) + # gone since linux-headers-2.6.38 + myconf+=( --disable-tv-v4l1 ) + if { use dvb || use v4l || use pvr || use radio; }; then + use dvb || myconf+=( --disable-dvb ) + use pvr || myconf+=( --disable-pvr ) + use v4l || myconf+=( --disable-tv-v4l2 ) + if use radio && { use dvb || use v4l; }; then + myconf+=( + --enable-radio + $(use_enable encode radio-capture) + ) + else + myconf+=( + --disable-radio-v4l2 + --disable-radio-bsdbt848 + ) + fi + else + myconf+=( + --disable-tv + --disable-tv-v4l2 + --disable-radio + --disable-radio-v4l2 + --disable-radio-bsdbt848 + --disable-dvb + --disable-v4l2 + --disable-pvr + ) + fi + + ########## + # Codecs # + ########## + myconf+=( --disable-musepack ) # Use internal musepack codecs for SV7 and SV8 support + myconf+=( --disable-libmpeg2-internal ) # always use system media-libs/libmpeg2 + myconf+=( --disable-gif ) # relies on to-be-removed giflib internals https://sourceforge.net/p/giflib/bugs/132/ + use dts || myconf+=( --disable-libdca ) + if ! use mp3; then + myconf+=( + --disable-mp3lame + --disable-mpg123 + ) + fi + uses="a52 bs2b dv gsm lzo rtmp vorbis" + for i in ${uses}; do + use ${i} || myconf+=( --disable-lib${i} ) + done + + uses="faad jpeg libmpeg2 live mad mng png pnm speex tga theora tremor" + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + # Pulls an outdated libopenjpeg, ffmpeg provides better support for it + myconf+=( --disable-libopenjpeg ) + + # Encoding + uses="faac x264 xvid toolame twolame" + if use encode; then + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + else + myconf+=( --disable-mencoder ) + for i in ${uses}; do + myconf+=( --disable-${i} ) + use ${i} && elog "Useflag \"${i}\" will only be useful for encoding, i.e., with \"encode\" useflag enabled." + done + fi + + ################# + # Binary codecs # + ################# + myconf+=( --disable-qtx --disable-real --disable-win32dll ) + + ################ + # Video Output # + ################ + uses="md5sum sdl yuv4mpeg" + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + use aalib || myconf+=( --disable-aa ) + use fbcon || myconf+=( --disable-fbdev ) + use libcaca || myconf+=( --disable-caca ) + use zoran || myconf+=( --disable-zr ) + + if ! use kernel_linux || ! use video_cards_mga; then + myconf+=( --disable-mga --disable-xmga ) + fi + + myconf+=( + --disable-3dfx + --disable-tdfxvid + --disable-tdfxfb + ) + + # sun card, disable by default, see bug #258729 + myconf+=( --disable-xvr100 ) + + ################ + # Audio Output # + ################ + myconf+=( --disable-esd ) + uses="alsa jack ladspa nas openal" + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + use pulseaudio || myconf+=( --disable-pulse ) + if ! use radio; then + use oss || myconf+=( --disable-ossaudio ) + fi + + #################### + # Advanced Options # + #################### + # Platform specific flags, hardcoded on amd64 (see below) + use cpudetection && myconf+=( --enable-runtime-cpudetection ) + + local x86_uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop" + for i in ${x86_uses}; do + myconf+=( $(use_enable cpu_flags_x86_${i} ${i}) ) + done + myconf+=( + $(use_enable cpu_flags_x86_sse4_1 sse4) + $(use_enable cpu_flags_x86_sse4_2 sse42) + ) + + myconf+=( + $(use_enable cpu_flags_arm_iwmmxt iwmmxt) + $(use_enable cpu_flags_arm_thumb thumb) + $(use_enable cpu_flags_arm_neon neon) + $(use_enable cpu_flags_arm_vfp armvfp) + $(use_enable cpu_flags_arm_vfpv3 vfpv3) + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable shm) + ) + + use debug && myconf+=( --enable-debug=3 ) + + if use x86 && gcc-specs-pie; then + filter-flags -fPIC -fPIE + append-ldflags -nopie + fi + + ########################### + # X enabled configuration # + ########################### + myconf+=( --disable-gui ) + myconf+=( --disable-vesa ) + uses="ggi vdpau xinerama xv" + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + use dga || myconf+=( --disable-dga1 --disable-dga2 ) + use opengl || myconf+=( --disable-gl ) + use osdmenu && myconf+=( --enable-menu ) + use vidix || myconf+=( --disable-vidix --disable-vidix-pcidb ) + use xscreensaver || myconf+=( --disable-xss ) + use X || myconf+=( --disable-x11 ) + + ############################ + # OSX (aqua) configuration # + ############################ + if use aqua; then + myconf+=( + --enable-macosx-finder + --enable-macosx-bundle + ) + fi + + # Note: --enable-gnutls only makes sense with --enable-ffmpeg_a + edo ./configure \ + --cc="$(tc-getCC)" \ + --host-cc="$(tc-getBUILD_CC)" \ + --prefix="${EPREFIX}/usr" \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --confdir="${EPREFIX}/etc/mplayer" \ + --datadir="${EPREFIX}/usr/share/mplayer${namesuf}" \ + --mandir="${EPREFIX}/usr/share/man" \ + --disable-ffmpeg_a \ + --disable-gnutls \ + "${myconf[@]}" +} + +src_compile() { + default + + # Build only user-requested docs if they're available. + if use doc ; then + # Select available languages from ${LINGUAS} + local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN" + local BUILT_DOCS=() + local i + + for i in ${LINGUAS} ; do + has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=( ${i} ) + done + + if [[ -z ${BUILT_DOCS[@]} ]]; then + emake -j1 html-chunked + else + for i in ${BUILT_DOCS[@]}; do + emake -j1 html-chunked-${i} + done + fi + fi +} + +src_install() { + local i + + emake \ + DESTDIR="${D}" \ + INSTALLSTRIP="" \ + install + + dodoc AUTHORS Changelog Copyright README etc/codecs.conf + + docinto tech/ + dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist} + docinto TOOLS/ + dodoc -r TOOLS/* + docinto tech/mirrors/ + dodoc DOCS/tech/mirrors/* + + if use doc; then + docinto html/ + dodoc -r "${S}"/DOCS/HTML/* + fi + + if ! use truetype; then + dodir /usr/share/mplayer/fonts + + # Do this generic, as the mplayer people like to change the structure + # of their zips ... + local i + for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do + cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts" + done + + # Fix the font symlink ... + rm -rf "${ED}/usr/share/mplayer/font" + dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font + fi + + insinto /etc/mplayer + newins "${S}/etc/example.conf" mplayer.conf + cat >> "${ED}/etc/mplayer/mplayer.conf" <<- _EOF_ + # Config options can be section specific, global + # options should go in the default section + [default] + _EOF_ + + doins "${S}/etc/input.conf" + if use osdmenu; then + doins "${S}/etc/menu.conf" + fi + + if use truetype; then + cat >> "${ED}/etc/mplayer/mplayer.conf" <<- _EOF_ + fontconfig=1 + subfont-osd-scale=4 + subfont-text-scale=3 + _EOF_ + fi + + # bug #256203 + if use rar; then + cat >> "${ED}/etc/mplayer/mplayer.conf" <<- _EOF_ + unrarexec=${EPREFIX}/usr/bin/unrar + _EOF_ + fi + + dosym -r /etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf + newbin "${S}/TOOLS/midentify.sh" midentify +} + +pkg_preinst() { + [[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \ + rm -rf "${EROOT}/usr/share/mplayer/Skin/default" +} + +pkg_postrm() { + # Cleanup stale symlinks + [[ -L "${EROOT}/usr/share/mplayer/font" && + ! -e "${EROOT}/usr/share/mplayer/font" ]] && \ + rm -f "${EROOT}/usr/share/mplayer/font" + + [[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" && + ! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ]] && \ + rm -f "${EROOT}/usr/share/mplayer/subfont.ttf" +} diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest index a5fc87ee7da4..f38fa36aa8af 100644 --- a/media-video/mpv/Manifest +++ b/media-video/mpv/Manifest @@ -1,4 +1,4 @@ DIST mpv-0.39.0.tar.gz 3494313 BLAKE2B 9f96ba225eb0587d50f8c439359b18f752b98024ab6b40f987be4d57b0ce4b595243f49177ffc48840b351ce19fddc84788b5784b508eb685e58fdfb8e1e0520 SHA512 9cf1d7487b1e9e36d2b731bf951c4d3b9deba95109af408ccfc71b88e85f6de2558e7b4950781667bb4d40e0352742e3ed278559ff34d07905dd459969cbf503 -EBUILD mpv-0.39.0-r1.ebuild 6976 BLAKE2B a737e90eafb89b422debcd31479f53d1e71a52b92a86720ee705dbe1a975f8156f38d4403e38b48c2d3c8eba1f884686e7b8d1464e131b31e340d7b7f15af562 SHA512 33500f0c827c1b7e9c73f6f0db1fba18e86924bea06fafb0b0728007405d55e8ded9c10259380b2bd0a5d93d61c115d757ec551ac4ca73720f3ec3240b43faa3 -EBUILD mpv-9999.ebuild 6961 BLAKE2B 60bd91fea5a5b97d75f0345007783a573f0a5c1084d1c35835922f0be135abdcece35cf409d0ed5c23c58dc6b6d50c3610dee0e7711de1bcd5cbb0b88902e165 SHA512 5aee11c9135586933304f56b531d97f0cee7a4fa3500452c58e1ea386f1d8a7cd20b0db360ac3c333d168555d30bd023e124aa6a26e16fd28bc826153e2d7bdc +EBUILD mpv-0.39.0-r1.ebuild 6978 BLAKE2B 5fe607c89e16f6e9c1414107a42bc2e76e6f7eae56b0c0923077ca770e9548f92dfd786d9c29027238ab0d1ed6b86085f2f6ad6e5663a4d037b452acf2d1e064 SHA512 fdf47bdf2ef0442eb1c71feb36cd6ecac6727202fe462a2f4ed67704eb1c4229fa0932da699ccef3a7c72d91d1d7bbc574912505677c44ad92c10523b354b2e1 +EBUILD mpv-9999.ebuild 6963 BLAKE2B 96de1de722e65efb5700728c05ecd444a963e58edc2a44a7824b69b068bfa11505e906b0ce407d9cbbefd4534b04fdfbc445f6d68899425e3975319cccd6c133 SHA512 9a0a3281671df48c02af39594f0a33be87575de23bc4b7dd7051dee1a011d3a68411378fe8f93e62dc8ed32af2dad77de17e99468d73c3902674a6a492828013 MISC metadata.xml 2053 BLAKE2B dc35c3bcdb29eb08725a4f908575ecc2afed2d772988ff12ad052c39e9b195a68611e8037b82ee5ceefc33c40d8df666e03aa59d836eeb7c6472bd988f49b4ee SHA512 4e7cd2da4df81f9ecafddfe93788cabbc4f0de0ff9b976af2ab3fb0f63b2d7daee6d8c5607685240f41be37a158b9fa0acd030d8c62da835891d19af3870668c diff --git a/media-video/mpv/mpv-0.39.0-r1.ebuild b/media-video/mpv/mpv-0.39.0-r1.ebuild index 673389c15ad0..94a798b7f13b 100644 --- a/media-video/mpv/mpv-0.39.0-r1.ebuild +++ b/media-video/mpv/mpv-0.39.0-r1.ebuild @@ -90,7 +90,7 @@ COMMON_DEPEND=" opengl? ( media-libs/libglvnd[X?] ) pipewire? ( media-video/pipewire:= ) pulseaudio? ( media-libs/libpulse ) - rubberband? ( media-libs/rubberband ) + rubberband? ( media-libs/rubberband:= ) sdl? ( media-libs/libsdl2[sound,threads(+),video] ) sixel? ( media-libs/libsixel ) sndio? ( media-sound/sndio:= ) diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 9c6d7c630baa..4f4a6afc2c68 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -88,7 +88,7 @@ COMMON_DEPEND=" opengl? ( media-libs/libglvnd[X?] ) pipewire? ( media-video/pipewire:= ) pulseaudio? ( media-libs/libpulse ) - rubberband? ( media-libs/rubberband ) + rubberband? ( media-libs/rubberband:= ) sdl? ( media-libs/libsdl2[sound,threads(+),video] ) sixel? ( media-libs/libsixel ) sndio? ( media-sound/sndio:= ) diff --git a/media-video/noad/Manifest b/media-video/noad/Manifest index 41d2d7eb17db..2d11395d41d4 100644 --- a/media-video/noad/Manifest +++ b/media-video/noad/Manifest @@ -6,6 +6,6 @@ AUX record-50-noad.sh 1443 BLAKE2B 98cba3a0024bc8c4426d2cd5d1e0d5b9d2e2ead2c50f9 DIST noad-0.8.7.tar.gz 144339 BLAKE2B e7492f63e7326cdced041332e05051a6bda2e92798f4b694ff626e65306d6ebe606f871eabc37df1613677c2f739b3caed033b443cbe7edce913b83a0365e3e5 SHA512 fa1d0226144175de586f938a594fe0a3c0b8a924a258f1406cf52078d5e6d84f46ae685ee3c9f3ce28e62f9eee719d6a938504e39a6b3b9c96043f4bd4aaf69d DIST noad-0.8.8.tar.gz 144269 BLAKE2B 0474c165af16afb93459dd753017e25afe5e9c42439af9e1f2e23e4aeb5d4cd3610a66dec80d63d1c5f71d2ef9f6817ad831a5e368e8aeda53e078d0137f67ae SHA512 1795072e0b416c9904e8769da2bfe08120ea2c55427bd6e7479c6d79bb5a1b25abe82c0ed2cf8b3d5f7a354e2f60b1251e9d1ed102d19b3c45c1cd34a5e8e6d0 EBUILD noad-0.8.7-r1.ebuild 1769 BLAKE2B 4692935ad4db4606f8adbe1ac88015c537bad1a05ec7533d107c3f9a110fd66b3c56e43b3e13ee6149af78f94f93397a768c9b9f8c2908a55eaa4b7edebda4d1 SHA512 db63a47fabea9730f418eef7a13fae3b55c5c23bece292e529ec9128c2dd269ac7b153f1f264fbfae29dff6de2e0d70e26ded5fed8563062e48cc1327f802d08 -EBUILD noad-0.8.8-r1.ebuild 1785 BLAKE2B 52f69e2e2c9b1277023c6babba72b0be091024695366458d4395a7fe94d15bf1c6903a3ab81ab8838b17b55ff63bb974c67cb70da040b7bbac56fdf547fc9bfb SHA512 4dc8c94c065c0e7a3c6f518e0d3ef3310999cacea24ddca6b37a75c56db1bdfa655163cbb13c049b48eecb1f4ffab14ceb0a0712e86e7f0bf90fcf017f15d92f +EBUILD noad-0.8.8-r1.ebuild 1786 BLAKE2B 3f502b32d8deb67dbf319fde0836f9a9d727e43e7332e868bb79b592d0462b08b25e1fd91d61e86879b498c3ee1382024594a26bf10cbf28e2c61d6d05678139 SHA512 2955d4fe092d77126cd962bd71950b6dae1fd820f33b578f85701cf226b36ea4a7d786ac74276ca75d82e43222908ca62da6ba8ea5e7acb24315cb9e9b1eb821 EBUILD noad-0.8.8.ebuild 1758 BLAKE2B 83ac4ae2eb2acfcc084be0b625571e32d0ea7d0ba61169ce6c54434962d52295ae0d2ee97b3d17de9f7ca4e1ce462d08c7a77d15af61a6d1fd34dc751e91a5ae SHA512 e23fbfb9d7ddc9276c4464151d49285fad2511cdb5e6ace73a2b3fcd409a88bb8c2cefa828d5393d37c6c5b634e95e02d20df77e6d490153366dc404c31784b3 MISC metadata.xml 864 BLAKE2B 2978ee81c7da71ad061ad74b4e54b58f9432039cadb5958b39a10377c46aa8d501a50b5add07ece74c015a026b0452cd30d9f7725df5f490092ee711257320b0 SHA512 b02e2e8f4554019cbef42cc43a3af3ee3119dbeef0c05d8bd929215b131aeb7e0dffd2fb5d7d110bfc9af3e96c0ab73d2e94949e5ba4e8bc9f96298cb889d8e3 diff --git a/media-video/noad/noad-0.8.8-r1.ebuild b/media-video/noad/noad-0.8.8-r1.ebuild index f7b87f2b5585..2d8fb055a520 100644 --- a/media-video/noad/noad-0.8.8-r1.ebuild +++ b/media-video/noad/noad-0.8.8-r1.ebuild @@ -17,7 +17,7 @@ REQUIRED_USE="|| ( ffmpeg libmpeg2 )" DEPEND=" libmpeg2? ( media-libs/libmpeg2 ) - ffmpeg? ( media-video/ffmpeg-compat:4 ) + ffmpeg? ( media-video/ffmpeg-compat:4= ) imagemagick? ( media-gfx/imagemagick:= )" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" diff --git a/media-video/simplescreenrecorder/Manifest b/media-video/simplescreenrecorder/Manifest index 292e38c00724..d1a854e262c7 100644 --- a/media-video/simplescreenrecorder/Manifest +++ b/media-video/simplescreenrecorder/Manifest @@ -1,5 +1,6 @@ AUX simplescreenrecorder-0.4.4-ffmpeg5.patch 2540 BLAKE2B 5551255312733fca5641ffbed46e332181d02147dafaa9f6831df967b38cb0d6f05fa2d0d910f78fce1cecb40e1db24e1913b8ec71a7e05a3a7ef0ee761e0427 SHA512 823bfdb35b49bd63a7a2f294695f3adb986d1d018d892db68ada0f08cb9d917ddac86cc258ed7520c44ca53b1194164f58e7e4d4ffdd58a5cfeda4590dff5ec0 DIST simplescreenrecorder-0.4.4.tar.gz 1961269 BLAKE2B 05c7635840f8461ab324f740f0cc554eb544ed91b00cdf39c80f861e6a8631f59afbdcc9fe958830b0f1e31eedb90f11d29c114ce4bbb612f1756264502f069f SHA512 a90549a2709490482d70559073e505e669417a93abf16124b98c021e6d2bf08b91b53eb68e006df4f80fcee9fe4da2624bf8de979618953adb3f37eb1d471525 EBUILD simplescreenrecorder-0.4.4-r4.ebuild 2909 BLAKE2B 76a1feba40bfef37227b2ad94685aa9146f1b7d899f51d8645d2edad8d7b18d5779a6587562790a56c61fd7c7686c17d1704ed3e6570203df8e61edd0a7acd8f SHA512 42dce812b4a625497920b9be199dd08916b0765d2113240ee9ee098e3017c5319967a9ae60ba122afff193c2500473ac115604fa3df3dad00d30ccf5cdd9f053 -EBUILD simplescreenrecorder-9999.ebuild 2809 BLAKE2B b6118f470cf7deb889d62fcf0d7d1662c4854a225fad024a5efb18c73c015158a1d25259fdc2301086b12b49f2f82cb346bbac026df40fa90d51617e18a99286 SHA512 730d5843214e93405ae0a21f029c4e06d4b71721f8ce08cd0af394ab96f49c27847e9ed64a8af5a09c6c5b0fa6078a993d69da5e81f1c78d2c13549df3ff58d4 +EBUILD simplescreenrecorder-0.4.4-r5.ebuild 3097 BLAKE2B 1566c447598407137e59a0b583bc94bacdda72070b8d0f05ca1090318d28dd3dbf3289cd635a871068d2fd8b14530d13a6b1def9ca2ff8e854bbeb58911ec2c7 SHA512 a682d773e0c0bbf212dd1f8b166b2be4b045ddeb88463ccb7dd4e1b1db3ac2163e1d90103cecac68b7cf106c22e339c7ac377113e4451f48ea930e58d19dd143 +EBUILD simplescreenrecorder-9999.ebuild 2817 BLAKE2B 85d0724c98f1ab0fbc3fa63949878415c48208c784a47ec7971cf141e45f7693b1064ea6461f6fd3ba9beba5d1daba280a584c046bde3248bc0c83d39d55e476 SHA512 d212afbe1df4bab6ed99bed0c0e44f2c957d14985f18dfffc67820ad414099b5d13b27c27f9b7bb02e65ff151ca71df54a3b09b1c360cec8a9b576088178b3eb MISC metadata.xml 333 BLAKE2B 1c60fe7013eaaef8fbae76b4764b7dff62410a446cc8e620a463a7f5e44792efbd2c7f6bedd38477f0fe080c8c7ab983eed30ef5bfb6aeaf1c5a2eea68ef8a5f SHA512 022e3e9394740eff0e0cccc12a374236d882cbe5dd8cc8b53e390859556cd87acb722e6ebeb5a8d68822e81446ead0fab2b7ebe2792e77567c6ddd73df9d1020 diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild new file mode 100644 index 000000000000..d1d7cf4a9ebc --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r5.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PKGNAME="ssr" +inherit cmake-multilib ffmpeg-compat flag-o-matic xdg + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/" +if [[ ${PV} = 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PKGNAME}-${PV}" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264" + +REQUIRED_USE="abi_x86_32? ( opengl )" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + media-libs/alsa-lib:0= + media-video/ffmpeg-compat:6=[vorbis?,vpx?,x264?,theora?] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi + x11-libs/libXinerama + virtual/glu[${MULTILIB_USEDEP}] + jack? ( virtual/jack ) + mp3? ( media-video/ffmpeg-compat:6[lame(-)] ) + opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] ) + pulseaudio? ( media-libs/libpulse ) + v4l? ( media-libs/libv4l ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5" + +PATCHES=( "${FILESDIR}"/${P}-ffmpeg5.patch ) + +pkg_pretend() { + if use amd64 && ! use abi_x86_32 ; then + einfo "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + einfo "When added 32bit GLInject libraries are also included. This is" + einfo "required if you want to use OpenGL recording on 32bit applications." + einfo + fi + + if has_version media-video/ffmpeg[x264] && has_version media-libs/x264[10bit] ; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +pkg_setup() { + # Qt requires -fPIC. Compile fails otherwise. + # Recently removed from the default compile options upstream + # https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180 + append-flags -fPIC +} + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_JACK_METADATA="$(multilib_native_usex jack)" + -DENABLE_X86_ASM="$(usex asm)" + -DWITH_OPENGL_RECORDING="$(usex opengl)" + -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)" + -DWITH_JACK="$(multilib_native_usex jack)" + -DWITH_GLINJECT="$(usex opengl)" + -DWITH_V4L2="$(multilib_native_usex v4l)" + ) + + if multilib_is_native_abi ; then + # TODO: fix with >=ffmpeg-7 then drop compat (bug #948390) + ffmpeg_compat_setup 6 + local -x CPPFLAGS=${CPPFLAGS} LDFLAGS=${LDFLAGS} # multilib preserve + ffmpeg_compat_add_flags + + mycmakeargs+=( + -DENABLE_32BIT_GLINJECT="false" + -DWITH_QT5="true" + ) + else + mycmakeargs+=( + # https://bugs.gentoo.org/660438 + -DCMAKE_INSTALL_LIB32DIR="$(get_libdir)" + -DENABLE_32BIT_GLINJECT="true" + -DWITH_SIMPLESCREENRECORDER="false" + ) + fi + + cmake_src_configure +} diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild index 51a6ce1f49a9..668ee9068143 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild @@ -44,7 +44,7 @@ DEPEND="${RDEPEND}" BDEPEND="dev-qt/qttools:6[linguist]" pkg_pretend() { - if [[ ${ABI} == amd64 ]] ; then + if use amd64 && ! use abi_x86_32 ; then einfo "You may want to add USE flag 'abi_x86_32' when running a 64bit system" einfo "When added 32bit GLInject libraries are also included. This is" einfo "required if you want to use OpenGL recording on 32bit applications." diff --git a/media-video/subtitlecomposer/Manifest b/media-video/subtitlecomposer/Manifest index 7da94dc997a8..b1db60fd15dd 100644 --- a/media-video/subtitlecomposer/Manifest +++ b/media-video/subtitlecomposer/Manifest @@ -1,4 +1,5 @@ DIST subtitlecomposer-0.7.1-patchset-1.tar.xz 6868 BLAKE2B 59ae09e6807b0c9eeb094556ec381157701a6d3ae66317c175816f2a779ef3db1874146c5ec0d211a07353bf592c1ff7ad8dcf91a1370916d37290204e7e5909 SHA512 bd7849ee7e4bb449b7f758bf86a45110f0e647d6a35ec31bbab82b7e8f02ac3b81aed958723848a08830a32f1e252dc2231d9a8a736b738b6c105c1a715aea1b DIST subtitlecomposer-0.8.1.tar.xz 763276 BLAKE2B eb5eca2505e5b2c859768f2816fae603be8066d3530802c434b78c7754a379bb4d293f5138416ebbcc4b4e0d95cb71f0e11bc5efc72efcc77c4486b096b5e6fc SHA512 28e83ba2429f17d11252b1eb56d5d9ae018f746a4b211292707847ea54659b80b2829e1d482f9740da6951c614dbfc8fff4b4019cee0f5001687282075205d53 +EBUILD subtitlecomposer-0.8.1-r1.ebuild 1621 BLAKE2B cd07b5d48131c3482fa777072fcc9cb3edb5ba30b95b25478ac4478a538cb306374bbf1e1e70c5417312039315c7a5df1bd5642418b41d17f40eb08f30ebd223 SHA512 8a35f6ba5abcdf91aae858a07766ea840b822352fb8aff40d9f5bc47924bb2f6e05e110fa278b734b279568195624033c18b2476b6b426c7f8187a5334cd5058 EBUILD subtitlecomposer-0.8.1.ebuild 1515 BLAKE2B 4811aa3c4b153a0a736a438b3d918921736209eafcf77f48d77b5191d2af8ef51093360c0bca235c594cc97a7075eb12024a85ca2fccc258a7662db9955058d5 SHA512 3ee3015523cd96698fd4c32656b7d192f8ca581a522313a7500da94d1e5b8aa30a8772093c24c0036aa3138b5e5f9fbbb8ff82f87ff8d156107ab8be764f14ba MISC metadata.xml 438 BLAKE2B b11cde969ef9af83c7e70ac17615703c8f0b4296113a8ff552a669c3b7bf7b5291106dd1c4ece993fd8195f5af3bcd1b05697b583bd85f4a155fa10351cbbadd SHA512 d32994646bdbfb90e5fde722a905ebf5fa59903de7c36fd8228ce257057ac8523d7219656d1f1a1bdcc3f0eec1ad9f34535d4090078c9e3a6890d58b8e1e3b71 diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild new file mode 100644 index 000000000000..5f07e28dfc2a --- /dev/null +++ b/media-video/subtitlecomposer/subtitlecomposer-0.8.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm ffmpeg-compat kde.org + +DESCRIPTION="Text-based subtitles editor" +HOMEPAGE="https://subtitlecomposer.kde.org/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + PATCHSET="${PN}-0.7.1-patchset-1" + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz + https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="5" +IUSE="unicode" + +DEPEND=" + dev-libs/openssl:= + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 + media-libs/openal + media-video/ffmpeg-compat:6= + unicode? ( dev-libs/icu:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +# TODO: upstream +PATCHES=( "${WORKDIR}/${PATCHSET}/${PN}-0.7.1-tests-optional.patch" ) + +src_configure() { + # TODO: fix with >=ffmpeg-7 then drop compat (bug #948852) + ffmpeg_compat_setup 6 + + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON # bugs 616706, 610434 + $(cmake_use_find_package unicode ICU) + ) + + ecm_src_configure +} |