public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/freshplayerplugin/
Date: Mon, 12 Oct 2015 02:49:40 +0000 (UTC)	[thread overview]
Message-ID: <1444618154.db7ad056226b6349ae10f6653f3f9ba4893b00b4.grknight@gentoo> (raw)

commit:     db7ad056226b6349ae10f6653f3f9ba4893b00b4
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 02:49:14 2015 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 02:49:14 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7ad056

www-plugins/freshplayerplugin: Add libressl support

Package-Manager: portage-2.2.20.1

 .../freshplayerplugin-0.3.3-r1.ebuild              | 82 ++++++++++++++++++++++
 1 file changed, 82 insertions(+)

diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.3-r1.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.3-r1.ebuild
new file mode 100644
index 0000000..6f410bd
--- /dev/null
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.3-r1.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 libressl 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/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 )
+	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="${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-flashplayer.so"
+}


             reply	other threads:[~2015-10-12  2:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12  2:49 Brian Evans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-26  7:44 [gentoo-commits] repo/gentoo:master commit in: www-plugins/freshplayerplugin/ Mikle Kolyada
2020-04-03 14:57 Andreas Sturmlechner
2018-05-29  8:28 Mikle Kolyada
2018-05-25 17:35 Pacho Ramos
2018-05-05 19:43 Brian Evans
2017-07-10  0:21 Brian Evans
2016-12-23 10:11 Johannes Huber
2016-11-10  4:13 Brian Evans
2016-10-13 19:07 Brian Evans
2016-10-13 19:07 Brian Evans
2016-10-13 19:07 Brian Evans
2016-10-13 18:14 Brian Evans
2016-09-27  3:22 Brian Evans
2016-03-03 13:42 Brian Evans
2015-12-29  2:56 Brian Evans
2015-12-19 19:07 Brian Evans
2015-10-30  9:18 Agostino Sarubbo
2015-10-08  2:01 Brian Evans
2015-08-22  2:09 Brian Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444618154.db7ad056226b6349ae10f6653f3f9ba4893b00b4.grknight@gentoo \
    --to=grknight@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox