summaryrefslogtreecommitdiff
path: root/media-video
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/Manifest.gzbin24714 -> 24704 bytes
-rw-r--r--media-video/mpv/Manifest2
-rw-r--r--media-video/mpv/metadata.xml1
-rw-r--r--media-video/xine-ui/Manifest2
-rw-r--r--media-video/xine-ui/files/xine-ui-0.99.13-configure-c99.patch77
-rw-r--r--media-video/xine-ui/xine-ui-0.99.13-r1.ebuild90
6 files changed, 170 insertions, 2 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz
index a9fce35340e9..55c351095183 100644
--- a/media-video/Manifest.gz
+++ b/media-video/Manifest.gz
Binary files differ
diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest
index f2caea8fe060..deba59e8d793 100644
--- a/media-video/mpv/Manifest
+++ b/media-video/mpv/Manifest
@@ -6,4 +6,4 @@ DIST mpv-0.37.0.tar.gz 3384190 BLAKE2B 31d8d47ed7ae94540189fe05b7ea63f5b0d5c987a
EBUILD mpv-0.36.0-r1.ebuild 7515 BLAKE2B 4803c6c650526632de3cb55ebaf1fe20c4f427c3890135e0c2a43a2787fb381cf872a0fee551b152ce6dc5318650d399a57e51ad27e4ed840e6ada0ecd51f08c SHA512 f6319c75533f9285dba3c69687ab313c4e0dbb18e6e36f4449072d434fb5da94f9c41d384b4e22c1270cac46d7872f92d95b25e66e79ab7a834227bdb3ef2404
EBUILD mpv-0.37.0.ebuild 7086 BLAKE2B d2596f1b39498e24458c9cda74c02d06e0ed0d24c9f2617542400b63c9405ffa585de82a6ba1fbd645442b39afca54f18fc4c5074f6da44585bf406fe8079637 SHA512 5cd4ec83b393f157bf6740005b32d91e85baaab2575b7708176f5959300971c8934c2f3024d72845386ff1979c7a32b40b1bdbfefdff914e6886bf0105169982
EBUILD mpv-9999.ebuild 6988 BLAKE2B f5d21ef9e426a8289c2db8e4c390b1e9e46a9063927b5c46bb088ee34a1ce3fdf04e6fa6cfff4fd3aaef08d22094cf47987bc95effba76d8ff33d1603de7128f SHA512 e3a31d09eaa2c71f8a6f82fb6e22bdb69609520cc268d0eec449bf613c5b8d316c44d325cd4295f1f81ced39e530004173f920ca893a128f063906192906c48a
-MISC metadata.xml 2324 BLAKE2B 6fe57270fef9275f47b0d7f282fbf4ff5c4a76c74e43820a8e0a4d56348eb72dc89dfdb06a9ff9a2b6f73d35102f861200d6c8c6f4dc41cfb4e42ff69d70da8a SHA512 0418e3315b4ded29714099d80075f61f6d1b38d9109bbb3bc372abbaceb14f705d5798eac2c14ef0fd0e1c557785291a4acb5e773dffb46f0b7f7962bf38d041
+MISC metadata.xml 2236 BLAKE2B 438015f84e6619d0e668c32ccc5ab271c108dbe3a0d25faae977c914ca5f5440106f892114e2ef486fe09709300aa8830bc40a2723247b242baad031efe0df9e SHA512 73a70af5a34b7881b004a9391a57d4358ac1217c250071cf1893624471389f63f9af4a0953e59655040bd815916601daeddebc73b69018e5ca7f563a5491a329
diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml
index 7ae1bd6e2875..e6f3a0a8f95c 100644
--- a/media-video/mpv/metadata.xml
+++ b/media-video/mpv/metadata.xml
@@ -10,7 +10,6 @@
<flag name="bluray">Enable playback of Blu-ray filesystems</flag>
<flag name="cli">Enable the command-line player</flag>
<flag name="drm">Enable Kernel Mode Setting / Direct Rendering Manager based video outputs</flag>
- <flag name="egl">Enable support for various EGL-based video outputs / backends</flag>
<flag name="gamepad">Enable gamepad input support</flag>
<flag name="libmpv">Enable the shared library and headers (used by frontends / plugins)</flag>
<flag name="libplacebo">Enable support for GPU accelerated video rendering with <pkg>media-libs/libplacebo</pkg></flag>
diff --git a/media-video/xine-ui/Manifest b/media-video/xine-ui/Manifest
index 845fac24db5a..97da9038c315 100644
--- a/media-video/xine-ui/Manifest
+++ b/media-video/xine-ui/Manifest
@@ -1,5 +1,7 @@
AUX xine-ui-0.99.10-desktop.patch 852 BLAKE2B 6341545955de64e3fc30a89c30b102b2bad33915f03a435786c18addc6d329ed65988b5ac6394039550136e3705c6cf03d9b34145d248671d3a98fe0d6f08bd8 SHA512 f901219cfe75fc4b4e9e25074a12e14366dae4c412866ff75c95f28ddb972a1237d8d33cd622deb812ec240bcd9d05bf6ec0c2cdec7d18de7ad88f2f93b77bc0
AUX xine-ui-0.99.13-build.patch 1293 BLAKE2B 1bc2176ea28ce2b52efbd57b3e796470c489df1b6ec29fc76eaa1eae0b12032be3b12147b5de58858f6478c6546ecfad745317646ad0611363adce72585fad1d SHA512 e4d9d16b888021c5ceb754990c944efa8346ea648d1c3d1b1adf302963825dd84dd3f62d19c7f72fecd7d4e14823fe6fb0d28439bb7c2a27ead94b47852bc2d4
+AUX xine-ui-0.99.13-configure-c99.patch 2398 BLAKE2B fb9e0f1da968d13350d500be504e7fb0f831f6c274f70daf760de9db8fd564cf0a3e342768161f01cc8207fea151e955bdee5067ab426fe83cd00bebc8a435d3 SHA512 82b09398bf764e29253ca06ef76287d0d81f291e4d6c72c06ef0d87f45f3f3f8674b77e78a3f1382b3fa220de2ab245059377f51883052ecd24bea13affc1c53
DIST xine-ui-0.99.13.tar.xz 2156892 BLAKE2B edb4cb082faeba5f9f64ea06f6561d471fddfc7672dd92ec1a0a99b5c8eb10f46c15df2044fa2a4eaafdeab1fa56d990afa443f912602fdc676d1e34e3cf6c84 SHA512 a0802d767a805c462f7ae05fa5c4860af5c281ffa74c70a6c2c8a3ecbf8060e6f3f40fed215e27a823985c7d5c3484715cbbe5e4bf43655353f59fa2230b41e7
+EBUILD xine-ui-0.99.13-r1.ebuild 1887 BLAKE2B 28fd124d6dd0f46c6b3952a9ef083dbb9792c31df4eabf893f5b6d434b00895f09b258ef21efcbd8b0567bc72d30a064dfd962cb906b4ddad99ff21b0ab714f5 SHA512 ed37bdfc2c06e1470c1aafbac7560cfc0f94725cd3ad82eaf3b267f4289e6ea1da6249acc2444fe40a9da00aaedd54e4244ff095c2de06a6f7da747618f9027c
EBUILD xine-ui-0.99.13.ebuild 1822 BLAKE2B 4cc346cad1be1588499973c6135c64e0a7563706a24415b77d1edc429e0ed577fcd9a74310247c5722bc43d877b58ac54a2f9eaba2c7688bc4665c00425d1726 SHA512 d4c20c2415293a30f0ad16136bf4c85d6b921b19511a9dae94fdd7c79d00fa925a17e79c7f4b9b903cdda081056614305cfa3d28f91d77b1d2637bc0663d01ba
MISC metadata.xml 387 BLAKE2B c8fa662bcdb54c05bd2360ee28622b8f41636ee93ac77d9db6f5a0a6fc68e0b0aa46b1bd8953243242fcd414088351a71331eaaf8838055d3c87c4120a45827e SHA512 de41930ed1d1133841980eec98872a74b05ad97196f01aa1c121806c2d726567327de3baaf5726b32e427efda38744ecbd16b5ab3568575844fe7e07f70a6621
diff --git a/media-video/xine-ui/files/xine-ui-0.99.13-configure-c99.patch b/media-video/xine-ui/files/xine-ui-0.99.13-configure-c99.patch
new file mode 100644
index 000000000000..dfb82175b587
--- /dev/null
+++ b/media-video/xine-ui/files/xine-ui-0.99.13-configure-c99.patch
@@ -0,0 +1,77 @@
+https://sourceforge.net/p/xine/tickets/22/
+https://bugs.gentoo.org/899872
+
+Fix C compatibility issues in the configure script
+
+This is necessary to avoid incorrectly failing probes due to expected
+compiler errors.
+
+Include <stdlib.h> for the exit function, and <string.h> for the
+strdup function.
+
+Use fake prototypes to avoid implicit function declarations in the
+xine_* function probes.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -198,6 +198,7 @@
+ if test "$ac_cv_header_sys_shm_h" = "yes"; then
+ AC_MSG_CHECKING(whether shmctl IPC_RMID allowes subsequent attaches)
+ AC_TRY_RUN([
++ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/ipc.h>
+ #include <sys/shm.h>
+--- a/m4/aa.m4
++++ b/m4/aa.m4
+@@ -52,6 +52,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <aalib.h>
++#include <string.h>
+
+ int main () {
+ int major, minor;
+--- a/m4/_xine.m4
++++ b/m4/_xine.m4
+@@ -218,7 +218,7 @@
+ CFLAGS="$CFLAGS $XINE_CFLAGS"
+ LIBS="$LIBS $XINE_LIBS"
+ AC_LINK_IFELSE(
+- [AC_LANG_PROGRAM([],[xine_open_cloexec();])],
++ [AC_LANG_PROGRAM([char xine_open_cloexec(void);],[xine_open_cloexec();])],
+ [AC_DEFINE([HAVE_XINE_OPEN_CLOEXEC], [1], [Define if xine-lib supports xine_open_cloexec])
+ AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])])
+@@ -234,7 +234,7 @@
+ CFLAGS="$CFLAGS $XINE_CFLAGS"
+ LIBS="$LIBS $XINE_LIBS"
+ AC_LINK_IFELSE(
+- [AC_LANG_PROGRAM([],[xine_socket_cloexec();])],
++ [AC_LANG_PROGRAM([char xine_socket_cloexec(void);],[xine_socket_cloexec();])],
+ [AC_DEFINE([HAVE_XINE_SOCKET_CLOEXEC], [1], [Define if xine-lib supports xine_socket_cloexec])
+ AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])])
+@@ -250,7 +250,7 @@
+ CFLAGS="$CFLAGS $XINE_CFLAGS"
+ LIBS="$LIBS $XINE_LIBS"
+ AC_LINK_IFELSE(
+- [AC_LANG_PROGRAM([
++ [AC_LANG_PROGRAM([char xine_list_next_value(void);
+ ],[
+ xine_list_next_value ();
+ ])],
+diff --git a/configure.ac b/configure.ac
+index 5b4fb04..8bcbfea 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -634,7 +634,8 @@ dnl
+ AC_MSG_CHECKING(whether librt is needed)
+ AC_TRY_COMPILE(
+ [#include <unistd.h>
+- #include <sys/time.h>],
++ #include <sys/time.h>
++ #include <time.h>],
+ [#if _POSIX_TIMERS > 0
+ struct timespec ts;
+ clock_gettime(CLOCK_REALTIME, &ts);
diff --git a/media-video/xine-ui/xine-ui-0.99.13-r1.ebuild b/media-video/xine-ui/xine-ui-0.99.13-r1.ebuild
new file mode 100644
index 000000000000..4bebb115b9cc
--- /dev/null
+++ b/media-video/xine-ui/xine-ui-0.99.13-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg
+
+DESCRIPTION="Xine movie player"
+HOMEPAGE="https://xine-project.org/home"
+SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+IUSE="aalib curl debug libcaca lirc nls readline vdr X xinerama"
+
+RDEPEND="
+ || ( app-arch/tar app-arch/libarchive )
+ media-libs/libpng:0=
+ >=media-libs/xine-lib-1.2:=[aalib?,libcaca?]
+ media-libs/libjpeg-turbo:=
+ aalib? ( media-libs/aalib:= )
+ curl? ( >=net-misc/curl-7.10.2:= )
+ libcaca? ( media-libs/libcaca:= )
+ lirc? ( app-misc/lirc:= )
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2:= )
+ X? (
+ x11-libs/libICE:=
+ x11-libs/libSM:=
+ x11-libs/libX11:=
+ x11-libs/libXext:=
+ x11-libs/libXft:=
+ x11-libs/libXrender:=
+ x11-libs/libXScrnSaver:=
+ x11-libs/libXtst:=
+ x11-libs/libXv:=
+ x11-libs/libXxf86vm:=
+ xinerama? ( x11-libs/libXinerama:= )
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( >=sys-devel/gettext-0.18.3 )
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libXt
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.99.10-desktop.patch
+ "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${PN}-0.99.13-configure-c99.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+ rm misc/xine-bugreport || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable xinerama) \
+ $(use_enable lirc) \
+ $(use_enable vdr vdr-keys) \
+ --disable-nvtvsimple \
+ $(use_enable debug) \
+ $(use_with X x) \
+ $(use_with readline) \
+ $(use_with curl) \
+ $(use_with aalib) \
+ $(use_with libcaca caca) \
+ --without-fb
+}
+
+src_install() {
+ # xine-list apparently may cause sandbox violation, bug 654394
+ addpredict /dev/dri
+
+ emake \
+ DESTDIR="${D}" \
+ docdir="/usr/share/doc/${PF}" \
+ docsdir="/usr/share/doc/${PF}" \
+ install
+
+ einstalldocs
+}