Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 442062 Details for
Bug 581228
www-plugins/freshplayerplugin-0.3.5 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
freshplayerplugin-0.3.5.ebuild
0001-www-plugins-freshplayerplugin-version-bump.patch (text/plain), 7.03 KB, created by
poncho
on 2016-07-31 09:38:15 UTC
(
hide
)
Description:
freshplayerplugin-0.3.5.ebuild
Filename:
MIME Type:
Creator:
poncho
Created:
2016-07-31 09:38:15 UTC
Size:
7.03 KB
patch
obsolete
>From 93c6c2b5930d89682c40383bf7ee8a21765774f1 Mon Sep 17 00:00:00 2001 >From: Poncho <poncho@spahan.ch> >Date: Sun, 31 Jul 2016 11:34:57 +0200 >Subject: [PATCH] www-plugins/freshplayerplugin: version bump > >Package-Manager: portage-2.2.28 >--- > www-plugins/freshplayerplugin/Manifest | 1 + > .../freshplayerplugin/files/0.3.5-cmake.patch | 67 +++++++++++++++++ > .../freshplayerplugin-0.3.5.ebuild | 84 ++++++++++++++++++++++ > 3 files changed, 152 insertions(+) > create mode 100644 www-plugins/freshplayerplugin/files/0.3.5-cmake.patch > create mode 100644 www-plugins/freshplayerplugin/freshplayerplugin-0.3.5.ebuild > >diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest >index 804da37..a8ac29b 100644 >--- a/www-plugins/freshplayerplugin/Manifest >+++ b/www-plugins/freshplayerplugin/Manifest >@@ -1 +1,2 @@ > DIST freshplayerplugin-0.3.4.tar.gz 768318 SHA256 6f0009e64c59caa5c674b63eabb709ba8da6c85fc7cd45a1d66392e3a24da9a5 SHA512 d64fa3e6e38b4e17bef04b09c529ff03e86bb4b348e1e6b9a05f7ff4ee98327e288becd1cc6727db687ddca9e9ed04243c80c5e95e927cafad49a273d9c0d216 WHIRLPOOL 8fe0d582c25042b233d11fba83c50bd5a54e111c7f84b27ed28ba6cfc83c2101095e0460c67d122a3598d020d061f44e8de8bc922a164a251aeb589ac805291d >+DIST freshplayerplugin-0.3.5.tar.gz 781003 SHA256 b08f7c6690de13b1e358fef4cab41cb303b9e80b3504678e94c9646f44dd7104 SHA512 dd447db4cbfdb80b89ff42894099971c100023d19fe5fbad023d5ac1afa827fdc5a169a03f4702ffda3cf6e0dd9c63217b68d97d047ac43afc22f488020a0ba0 WHIRLPOOL cf22758e0ed947db27e8e6e053f17bafc425beebebd9314008eef105e828a0a51f73fd42f2d0c00e12e56f817e2b9078baeb55bd54a6c6a55e8ebd00d2e27ccc >diff --git a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch >new file mode 100644 >index 0000000..44999d6 >--- /dev/null >+++ b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch >@@ -0,0 +1,67 @@ >+diff --git a/CMakeLists.txt b/CMakeLists.txt >+index 975ca71..eb588ca 100644 >+--- a/CMakeLists.txt >++++ b/CMakeLists.txt >+@@ -103,29 +103,33 @@ 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() >+-else() >+- message(STATUS " no jack found (optional)") >++ pkg_check_modules(SOXR QUIET soxr) >++ if (NOT SOXR_FOUND) >++ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.") >++ endif() >++ 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() >+ >+ # hw accelerated decoding >+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt >+index 90d80f2..c3f983d 100644 >+--- a/src/CMakeLists.txt >++++ b/src/CMakeLists.txt >+@@ -5,7 +5,7 @@ endif() >+ >+ 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/freshplayerplugin-0.3.5.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5.ebuild >new file mode 100644 >index 0000000..83e4a1a >--- /dev/null >+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5.ebuild >@@ -0,0 +1,84 @@ >+# Copyright 1999-2016 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Id$ >+ >+EAPI=5 >+ >+CMAKE_MIN_VERSION="2.8.8" >+ >+inherit cmake-utils multilib >+ >+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 gtk3 jack libav libressl pulseaudio v4l vaapi vdpau" >+ >+KEYWORDS="~amd64" >+ >+HWDEC_DEPEND=" >+ libav? ( media-video/libav:0=[vaapi?,vdpau?] ) >+ !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] ) >+ x11-libs/libva >+ x11-libs/libvdpau >+" >+ >+COMMON_DEPEND=" >+ dev-libs/glib:2= >+ dev-libs/libevent:=[threads] >+ media-libs/alsa-lib:= >+ media-libs/freetype:2= >+ media-libs/mesa:=[egl,gles2?] >+ x11-libs/cairo:=[X] >+ x11-libs/libXcursor:= >+ x11-libs/libXrandr:= >+ x11-libs/libXrender:= >+ x11-libs/libdrm:= >+ x11-libs/pango:=[X] >+ jack? ( >+ media-sound/jack-audio-connection-kit >+ media-libs/soxr >+ ) >+ pulseaudio? ( media-sound/pulseaudio ) >+ !gtk3? ( x11-libs/gtk+:2= ) >+ gtk3? ( x11-libs/gtk+:3= ) >+ 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/chrome-binary-plugins[flash] >+ www-client/google-chrome >+ www-client/google-chrome-beta >+ www-client/google-chrome-unstable >+ ) >+ " >+ >+PATCHES=( "${FILESDIR}/0.3.5-cmake.patch" "${FILESDIR}/0.3.4-git-revision.patch" ) >+DOCS=( ChangeLog data/freshwrapper.conf.example README.md ) >+ >+src_configure() { >+ mycmakeargs=( >+ -DWITH_JACK=$(usex jack) >+ -DWITH_PULSEAUDIO=$(usex pulseaudio) >+ -DWITH_GTK=$(usex gtk3 3 2) >+ -DWITH_GLES2=$(usex gles2) >+ -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 >+} >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 581228
: 442062