diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /www-plugins/freshplayerplugin | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'www-plugins/freshplayerplugin')
6 files changed, 0 insertions, 249 deletions
diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest deleted file mode 100644 index 2545739c02d0..000000000000 --- a/www-plugins/freshplayerplugin/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX 0.3.5-cmake.patch 3049 BLAKE2B c6ee8f4d7647d2d216225fc35c6744cb4fadd4d8a958fe86196d250fefa38ad53e4c4ecdca43c84bd7aa1705ab74efd7b9d694d5457ee9fa2f4335921f4c8f79 SHA512 95d07febb1cf159bd22ba3551fd712ab04e26f2422a01940285a19648d570a92b0d399a48fad54eba6b7faecd00f51b98e117e5f5df4b7dd1238a73bbe46d353 -AUX 0.3.9-ioctl.patch 369 BLAKE2B 88dba5e3e0d49fc7f6f3c2b56a8e7888be48b88dc77c2613c48cdddfc6090772d8d18787bb0f0997246deb1ae07d588352c41becaa9f1767db20799519449b22 SHA512 6a1c32602ac889cd2de52beed3870d12c1815eba0eabe77a1de1380d5015fb21eb697be7f6ac9fa9efe8a0e74f71e741e3cde4b9dec775f4158905435af7bc16 -AUX freshplayerplugin-0.3.9-ffmpeg-4.patch 3116 BLAKE2B 820c6ab058620406fce34260470b46c70bd970571a518ecdbd38e18ed170711e93bddd95d0bc95f2cada1b6b5cf4a74cfcf68cb23699ac32d886e43b0d9f3b77 SHA512 f7adae50de4cdca812ba1bad32ec10f9f97bf484c7e88b06be22e7677774093f17353f3e21ce2d26273cb076cee128a41311b1bf5b891031df27dc2f0684b272 -DIST freshplayerplugin-0.3.9.tar.gz 790261 BLAKE2B 88526c01e7a06c7b295e5a7652602eb661097f869b30c8fd0978a4e03adea9d1fa75d35e5e9c0751d786c04f0247fc292aa0c1857cf1fa575eb0b11499bec7fc SHA512 999d7c223dd493e43a0fa7874371c7b781fe5273b2661fc30f814832b4aafd23f297795b644f58553107ef962ca17ce58fb39a637d1ab7bdf470cd33e0b19cf8 -EBUILD freshplayerplugin-0.3.9-r1.ebuild 1784 BLAKE2B 06916140b27bf2940ed929d57e3a67db5a4cdf880d693a0e3067f81d0ba730230a867367dd1472a2d9d331d62ffb586e47d6b7a520f8578e3be712b342f53ae1 SHA512 4fc945805ac344e4b2bbf923abc05849dc77d4b9ba34985111863a925c3f2fb7046bb957434e65368bd2129d6bd385ec27963cbf733c697c2221af263f211b61 -MISC metadata.xml 334 BLAKE2B c8bfd0c2eb294bc31fbc66ecbbb5dd7af7f771f9ef1fb4e0aa312f25d3ab22e9ec418ccf87c67befc2a3e3fb78a171b6e5af8be33d41658afb7749d0479a5610 SHA512 f93a86a1356796f96584ea43cdab69b4058f731492ec4a52e6d7444946ada585f016f63afa2fd27c2019c1a9706d8e83ae6b511b5e8a8f6c003b6a1099d6e473 diff --git a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch deleted file mode 100644 index f925dfa31eb9..000000000000 --- a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -uarN a/CMakeLists.txt b/CMakeLists.txt ---- a/CMakeLists.txt 2015-04-25 11:17:24.000000000 -0400 -+++ b/CMakeLists.txt 2015-04-26 20:14:43.152014529 -0400 -@@ -61,35 +61,36 @@ - # optional dependencies - message(STATUS "checking for optional dependencies") - --pkg_check_modules(PULSEAUDIO QUIET libpulse) --pkg_check_modules(JACK QUIET jack) --pkg_check_modules(SOXR QUIET soxr) - set(WITH_PULSEAUDIO TRUE CACHE STRING "enable PulseAudio support") - set(WITH_JACK TRUE CACHE STRING "enable JACK Audio Connection Kit") - --if (PULSEAUDIO_FOUND AND WITH_PULSEAUDIO) -+if (WITH_PULSEAUDIO) -+ pkg_check_modules(PULSEAUDIO libpulse) -+ if (NOT PULSEAUDIO_FOUND) -+ message(FATAL_ERROR "PulseAudio requested but not found.") -+ endif() - add_definitions(-DHAVE_PULSEAUDIO=1) -- message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION} (optional)") -+ message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION}") - list(APPEND REQ_LIBRARY_DIRS ${PULSEAUDIO_LIBRARY_DIRS}) - list(APPEND REQ_INCLUDE_DIRS ${PULSEAUDIO_INCLUDE_DIRS}) - list(APPEND REQ_LIBRARIES ${PULSEAUDIO_LIBRARIES}) --else() -- message(STATUS " no libpulse found (optional)") - endif() - --if (JACK_FOUND AND WITH_JACK) -- message(STATUS " found jack, version ${JACK_VERSION} (optional)") -- if (SOXR_FOUND) -- message(STATUS " found soxr, version ${SOXR_VERSION}") -- add_definitions(-DHAVE_JACK=1) -- list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") -- list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") -- list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") -- else() -- message(STATUS " no soxr found, JACK output disabled") -+if (WITH_JACK) -+ pkg_check_modules(JACK QUIET jack) -+ if (NOT JACK_FOUND) -+ message(FATAL_ERROR "JACK support requested but not found.") -+ endif() -+ pkg_check_modules(SOXR QUIET soxr) -+ if (NOT SOXR_FOUND) -+ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.") - endif() --else() -- message(STATUS " no jack found (optional)") -+ message(STATUS " found jack, version ${JACK_VERSION}") -+ message(STATUS " found soxr, version ${SOXR_VERSION}") -+ add_definitions(-DHAVE_JACK=1) -+ list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") -+ list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") -+ list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") - endif() - - list(APPEND REQ_LIBRARIES img-resources) ---- a/src/CMakeLists.txt 2015-12-20 08:38:33.000000000 -0500 -+++ b/src/CMakeLists.txt 2015-12-26 20:45:07.000000000 -0500 -@@ -5,7 +5,7 @@ - - set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) - --set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/mozilla/plugins/" CACHE STRING "plugin install directory") -+set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/nsbrowser/plugins/" CACHE STRING "plugin install directory") - - add_subdirectory(uri_parser) - add_subdirectory(config_parser) diff --git a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch b/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch deleted file mode 100644 index 112b839016f9..000000000000 --- a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -aurN a/src/ppb_video_capture.c b/src/ppb_video_capture.c ---- a/src/ppb_video_capture.c 2017-12-23 09:34:01.000000000 -0500 -+++ b/src/ppb_video_capture.c 2018-01-10 20:03:05.498415644 -0500 -@@ -75,6 +75,7 @@ - - #if !HAVE_LIBV4L2 - // define simple wrappers, if libv4l2 is not used -+#include <sys/ioctl.h> - static - ssize_t - v4l2_read(int fd, void *buffer, size_t n) diff --git a/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch b/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch deleted file mode 100644 index 15d713bc4e90..000000000000 --- a/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 934aa9c24d34f8203744b56e4ac6e8599446ca02 Mon Sep 17 00:00:00 2001 -From: Rinat Ibragimov <ibragimovrinat@mail.ru> -Date: Tue, 26 Dec 2017 16:16:39 +0300 -Subject: [PATCH] ppb_video_decoder: use AV_ prefixed macros - -Looks like newer FFmpeg versions have droped old definitions. ---- - cmake/ffmpeg-compat/CMakeLists.txt | 1 + - cmake/ffmpeg-compat/cfg_avcodecflags.c | 4 ++++ - cmake/ffmpeg-compat/ffmpeg_compat.h.in | 1 + - src/ppb_video_decoder.c | 11 ++++++++--- - 4 files changed, 14 insertions(+), 3 deletions(-) - create mode 100644 cmake/ffmpeg-compat/cfg_avcodecflags.c - -diff --git a/cmake/ffmpeg-compat/CMakeLists.txt b/cmake/ffmpeg-compat/CMakeLists.txt -index 732a71ee..8f67c581 100644 ---- a/cmake/ffmpeg-compat/CMakeLists.txt -+++ b/cmake/ffmpeg-compat/CMakeLists.txt -@@ -29,6 +29,7 @@ MACRO_C_SOURCE_CHECK(cfg_av_pix_fmt_vdpau.c HAVE_AV_PIX_FMT_VDPAU) - MACRO_C_SOURCE_CHECK(cfg_avcodecid.c HAVE_AVCodecID) - MACRO_C_SOURCE_CHECK(cfg_avcodeccontext_get_buffer2.c HAVE_AVCodecContext_get_buffer2) - MACRO_C_SOURCE_CHECK(cfg_AVVDPAUContext.c HAVE_AVVDPAUContext) -+MACRO_C_SOURCE_CHECK(cfg_avcodecflags.c HAVE_AV_CODEC_FLAGS) - - MACRO_SYMBOL_CHECK(av_frame_alloc "libavcodec/avcodec.h" HAVE_av_frame_alloc) - MACRO_SYMBOL_CHECK(av_frame_free "libavcodec/avcodec.h" HAVE_av_frame_free) -diff --git a/cmake/ffmpeg-compat/cfg_avcodecflags.c b/cmake/ffmpeg-compat/cfg_avcodecflags.c -new file mode 100644 -index 00000000..d04de55b ---- /dev/null -+++ b/cmake/ffmpeg-compat/cfg_avcodecflags.c -@@ -0,0 +1,4 @@ -+#include <libavcodec/avcodec.h> -+int main(void) { -+ return AV_CODEC_FLAG_TRUNCATED + AV_CODEC_CAP_TRUNCATED; -+} -diff --git a/cmake/ffmpeg-compat/ffmpeg_compat.h.in b/cmake/ffmpeg-compat/ffmpeg_compat.h.in -index dd40922c..da7834b1 100644 ---- a/cmake/ffmpeg-compat/ffmpeg_compat.h.in -+++ b/cmake/ffmpeg-compat/ffmpeg_compat.h.in -@@ -6,3 +6,4 @@ - #define HAVE_av_frame_free (@HAVE_av_frame_free@) - #define HAVE_avcodec_free_context (@HAVE_avcodec_free_context@) - #define HAVE_AVVDPAUContext (@HAVE_AVVDPAUContext@) -+#define HAVE_AV_CODEC_FLAGS (@HAVE_AV_CODEC_FLAGS@) -diff --git a/src/ppb_video_decoder.c b/src/ppb_video_decoder.c -index eb150725..23647cdd 100644 ---- a/src/ppb_video_decoder.c -+++ b/src/ppb_video_decoder.c -@@ -70,6 +70,11 @@ - #define AV_CODEC_ID_H264 CODEC_ID_H264 - #endif // !HAVE_AVCodecID - -+#if !HAVE_AV_CODEC_FLAGS -+#define AV_CODEC_CAP_TRUNCATED CODEC_CAP_TRUNCATED -+#define AV_CODEC_FLAG_TRUNCATED CODEC_FLAG_TRUNCATED -+#endif // !HAVE_AV_CODEC_FLAGS -+ - enum hwdec_api_e { - HWDEC_NONE = 0, - HWDEC_VAAPI, -@@ -620,9 +625,9 @@ initialize_decoder(struct pp_video_decoder_s *vd) - goto err; - } - -- if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) { -- trace_info("%s, codec have CODEC_CAP_TRUNCATED\n", __func__); -- vd->avctx->flags |= CODEC_FLAG_TRUNCATED; -+ if (vd->avcodec->capabilities & AV_CODEC_CAP_TRUNCATED) { -+ trace_info("%s, codec have AV_CODEC_CAP_TRUNCATED\n", __func__); -+ vd->avctx->flags |= AV_CODEC_FLAG_TRUNCATED; - } - - vd->avctx->opaque = vd; diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild deleted file mode 100644 index 020fa45b2c55..000000000000 --- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -LICENSE="MIT" -HOMEPAGE="https://github.com/i-rinat/freshplayerplugin" -DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers" -SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT=0 -IUSE="gles2-only jack libressl pulseaudio v4l vaapi vdpau" - -KEYWORDS="amd64" - -HWDEC_DEPEND="media-video/ffmpeg:0=[vaapi?,vdpau?] - x11-libs/libvdpau -" - -COMMON_DEPEND=" - dev-libs/glib:2= - dev-libs/icu:0= - dev-libs/libevent:=[threads] - media-libs/alsa-lib:= - media-libs/freetype:2= - media-libs/mesa:=[egl] - gles2-only? ( media-libs/mesa[gles2] ) - x11-libs/cairo:=[X] - x11-libs/libXcursor:= - x11-libs/libXrandr:= - x11-libs/libXrender:= - x11-libs/libdrm:= - x11-libs/libva:= - x11-libs/pango:=[X] - jack? ( - media-sound/jack-audio-connection-kit - media-libs/soxr - ) - pulseaudio? ( media-sound/pulseaudio ) - libressl? ( dev-libs/libressl:0= ) - !libressl? ( dev-libs/openssl:0= ) - v4l? ( media-libs/libv4l:0= ) - vaapi? ( ${HWDEC_DEPEND} ) - vdpau? ( ${HWDEC_DEPEND} ) -" - -DEPEND="${COMMON_DEPEND} - dev-util/ragel - virtual/pkgconfig - " -RDEPEND="${COMMON_DEPEND} - www-plugins/adobe-flash:22[abi_x86_64,ppapi(+)] - " - -PATCHES=( - "${FILESDIR}/0.3.5-cmake.patch" - "${FILESDIR}/0.3.9-ioctl.patch" - "${FILESDIR}/${P}-ffmpeg-4.patch" -) -DOCS=( ChangeLog data/freshwrapper.conf.example README.md ) - -src_configure() { - mycmakeargs=( - -DWITH_JACK=$(usex jack) - -DWITH_PULSEAUDIO=$(usex pulseaudio) - -DWITH_GLES2=$(usex gles2-only) - -DWITH_LIBV4L2=$(usex v4l) - -DCMAKE_SKIP_RPATH=1 - ) - if use vaapi || use vdpau ; then - mycmakeargs+=( -DWITH_HWDEC=1 ) - else - mycmakeargs+=( -DWITH_HWDEC=0 ) - fi - cmake-utils_src_configure -} diff --git a/www-plugins/freshplayerplugin/metadata.xml b/www-plugins/freshplayerplugin/metadata.xml deleted file mode 100644 index 529020d6dc72..000000000000 --- a/www-plugins/freshplayerplugin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!--maintainer-needed--> - <use> - <flag name="v4l">Use libv4l2 for colorspace conversion</flag> - </use> - <upstream> - <remote-id type="github">i-rinat/freshplayerplugin</remote-id> - </upstream> -</pkgmetadata> |