diff options
Diffstat (limited to 'www-plugins/freshplayerplugin/freshplayerplugin-0.3.4.ebuild')
-rw-r--r-- | www-plugins/freshplayerplugin/freshplayerplugin-0.3.4.ebuild | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.4.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.4.ebuild deleted file mode 100644 index 3ece3f40d599..000000000000 --- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.4.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# 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="gtk3 jack libav libressl pulseaudio vaapi vdpau" - -KEYWORDS="~amd64" - -HWDEC_DEPEND=" - libav? ( media-video/libav:0=[vaapi?,vdpau?,x264] ) - !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?,x264] ) - 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/libv4l:0= - media-libs/mesa:=[egl,gles2] - 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= ) - 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.4-cmake.patch" "${FILESDIR}/0.3.4-git-revision.patch" ) -DOCS=( ChangeLog data/freshwrapper.conf.example README.md ) - -src_configure() { - mycmakeargs=( - $(cmake-utils_use_with jack JACK) - $(cmake-utils_use_with pulseaudio PULSEAUDIO) - -DWITH_GTK=$(usex gtk3 3 2) - -DCMAKE_SKIP_RPATH=1 - ) - if use vaapi || use vdpau ; then - mycmakeargs+=( -DWITH_HWDEC=1 ) - else - mycmakeargs+=( -DWITH_HWDEC=0 ) - fi - cmake-utils_src_configure -} |