From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96262138331 for ; Thu, 13 Oct 2016 19:07:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6E43E0BEA; Thu, 13 Oct 2016 19:07:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB2DAE0BEA for ; Thu, 13 Oct 2016 19:07:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8ECF0341198 for ; Thu, 13 Oct 2016 19:07:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1505F2F8 for ; Thu, 13 Oct 2016 19:07:21 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1476385538.7479b0011097889ab33a7704948057c9aa6e4dd2.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/freshplayerplugin/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild X-VCS-Directories: www-plugins/freshplayerplugin/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 7479b0011097889ab33a7704948057c9aa6e4dd2 X-VCS-Branch: master Date: Thu, 13 Oct 2016 19:07:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 010468b9-9f99-4162-a235-0a7163134184 X-Archives-Hash: 07008cfe0dd8bce2d839a5ea8db0eac7 commit: 7479b0011097889ab33a7704948057c9aa6e4dd2 Author: Brian Evans gentoo org> AuthorDate: Thu Oct 13 19:05:38 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Oct 13 19:05:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7479b001 www-plugins/freshplayerplugin: Version bump to remove bad dependencies chrome-binary-plugins and google-chrome no longer provide flash Package-Manager: portage-2.3.2 .../freshplayerplugin-0.3.5-r2.ebuild | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild new file mode 100644 index 00000000..8adae56 --- /dev/null +++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +CMAKE_MIN_VERSION="2.8.8" + +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 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/icu:0= + 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/adobe-flash:22 + " + +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 +}