From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-829574-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 4632F1397F2
	for <garchives@archives.gentoo.org>; Sat, 22 Aug 2015 02:09:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8ED05E0804;
	Sat, 22 Aug 2015 02:09:08 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 05408E0804
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Aug 2015 02:09:06 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0882833F7F8
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Aug 2015 02:09:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D3F78160
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Aug 2015 02:09:03 +0000 (UTC)
From: "Brian Evans" <grknight@gentoo.org>
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" <grknight@gentoo.org>
Message-ID: <1440209330.95e3dae3c99e34cd523dc3a952dd9c210071121f.grknight@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/freshplayerplugin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-plugins/freshplayerplugin/Manifest www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild
X-VCS-Directories: www-plugins/freshplayerplugin/
X-VCS-Committer: grknight
X-VCS-Committer-Name: Brian Evans
X-VCS-Revision: 95e3dae3c99e34cd523dc3a952dd9c210071121f
X-VCS-Branch: master
Date: Sat, 22 Aug 2015 02:09:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 38f7975a-85db-4992-a4e4-b4fd8d78c478
X-Archives-Hash: 5a36dca8a2617b676c1ced458434458d

commit:     95e3dae3c99e34cd523dc3a952dd9c210071121f
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 02:08:50 2015 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 02:08:50 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e3dae3

www-plugins/freshplayerplugin: Version bump

Package-Manager: portage-2.2.20.1

 www-plugins/freshplayerplugin/Manifest             |  1 +
 .../freshplayerplugin-0.3.2.ebuild                 | 82 ++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest
index 5971ccc..0c22414 100644
--- a/www-plugins/freshplayerplugin/Manifest
+++ b/www-plugins/freshplayerplugin/Manifest
@@ -1 +1,2 @@
 DIST freshplayerplugin-0.3.1.tar.gz 2711793 SHA256 4ed582896fff618d8025dd51bbf2fae0c5e36e2875065acc536b2c76befb593c SHA512 78e87548ecd758ad9ff0dab59b1b2f68b8b9a639ff19de08046a7090ab51d87f0e4c879b1b0075151ff17642d50ff937e199733c55c4a9cff94599fd98eae9de WHIRLPOOL d8be949cc9a2087d8f62fcfb4a1786d68574a5ec52dccc45da06df9838ee84e8dd4d7f3c3f86703e428df1b3f4d6d75c1e87d0809d3f78550a16ed278d51b211
+DIST freshplayerplugin-0.3.2.tar.gz 2713241 SHA256 b3687b9d67ab88c64fea32b17f281f142bf861e33d9135b00da5d90d385d9ce5 SHA512 9c908ce1a168c0797dc3b0da8e98d722cc32d729acb1c4a8f38b7e95c23fe870baabe4b3f8790d021711578fdb9a61f44aba27cebb924fec9aabcf8cd91323e5 WHIRLPOOL 2e9b78bcc3605409ec6853caf31aab03658c044e0d05449a620b31261323856503db8db960db9992d6db4fd61df8f9feb05800124c2f4a450c4ff65b22fc7c34

diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild
new file mode 100644
index 0000000..b6fad66
--- /dev/null
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2015 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 pulseaudio vaapi vdpau"
+
+KEYWORDS="~amd64 ~x86"
+
+HWDEC_DEPEND="
+	libav? ( media-video/libav:0=[vaapi?,vdpau?,x264] )
+	!libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?,x264] )
+	x11-libs/libva
+	x11-libs/libvdpau
+"
+
+CDEPEND="
+	dev-libs/glib:2=
+	dev-libs/libconfig:=
+	dev-libs/libevent:=[threads]
+	dev-libs/openssl:0=
+	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 )
+	pulseaudio? ( media-sound/pulseaudio )
+	!gtk3? ( x11-libs/gtk+:2= )
+	gtk3? ( x11-libs/gtk+:3= )
+	vaapi? ( ${HWDEC_DEPEND} )
+	vdpau? ( ${HWDEC_DEPEND} )
+"
+
+DEPEND="${CDEPEND}
+	dev-util/ragel
+	virtual/pkgconfig
+	"
+RDEPEND="${CDEPEND}
+	|| (
+		www-plugins/chrome-binary-plugins[flash]
+		www-client/google-chrome
+		www-client/google-chrome-beta
+		www-client/google-chrome-unstable
+	)
+	"
+
+PATCHES=( "${FILESDIR}/0.2.4-cmake.patch" )
+
+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
+}
+
+src_install() {
+	dodoc ChangeLog data/freshwrapper.conf.example README.md
+	exeinto /usr/$(get_libdir)/nsbrowser/plugins
+	doexe "${BUILD_DIR}/libfreshwrapper-pepperflash.so"
+}