diff options
author | Brian Evans <grknight@gentoo.org> | 2015-03-11 01:13:54 +0000 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2015-03-11 01:13:54 +0000 |
commit | 3197473d44854238f06f06d48be51b3e3db96731 (patch) | |
tree | 89e57cdcf094eff5307bb6eafbbb50c34b3b8572 /www-plugins | |
parent | Version bump to 1.6.3. Fixes bug 542346. (diff) | |
download | historical-3197473d44854238f06f06d48be51b3e3db96731.tar.gz historical-3197473d44854238f06f06d48be51b3e3db96731.tar.bz2 historical-3197473d44854238f06f06d48be51b3e3db96731.zip |
Initial commit. Ebuild written by me with input from bug 511512 and BtbN on IRC
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xD1F781EFF9F4A3B6
Diffstat (limited to 'www-plugins')
-rw-r--r-- | www-plugins/freshplayerplugin/ChangeLog | 11 | ||||
-rw-r--r-- | www-plugins/freshplayerplugin/Manifest | 27 | ||||
-rw-r--r-- | www-plugins/freshplayerplugin/files/with-pulseaudio-cmake.patch | 27 | ||||
-rw-r--r-- | www-plugins/freshplayerplugin/freshplayerplugin-0.2.3.ebuild | 59 | ||||
-rw-r--r-- | www-plugins/freshplayerplugin/metadata.xml | 8 |
5 files changed, 132 insertions, 0 deletions
diff --git a/www-plugins/freshplayerplugin/ChangeLog b/www-plugins/freshplayerplugin/ChangeLog new file mode 100644 index 000000000000..2df4ad250cdf --- /dev/null +++ b/www-plugins/freshplayerplugin/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for www-plugins/freshplayerplugin +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/freshplayerplugin/ChangeLog,v 1.1 2015/03/11 01:13:44 grknight Exp $ + +*freshplayerplugin-0.2.3 (11 Mar 2015) + + 11 Mar 2015; Brian Evans <grknight@gentoo.org> + +files/with-pulseaudio-cmake.patch, +freshplayerplugin-0.2.3.ebuild, + +metadata.xml: + Initial commit. Ebuild written by me with input from bug 511512 and BtbN on + IRC diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest new file mode 100644 index 000000000000..40d44be5aae6 --- /dev/null +++ b/www-plugins/freshplayerplugin/Manifest @@ -0,0 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX with-pulseaudio-cmake.patch 771 SHA256 4847c1a716654f18a3c52b67210a5dbbe44b81e087378e3391b9f9677486837c SHA512 dcc2ebc1afa1c0f034f5ef2358167d0ef80777ce8b1045822b0b5bce7571de3213f8477be49187332c65f0b472fb93bc4804bd98490d7eedda88b45cce742eab WHIRLPOOL 9742e62a2cb1dc0d70431584130702987b4b6a6b58b00b0abef3f984bc7bad732ca83c9bbd29a6bea1af3422af0b1b452b53df9f6a5c660c3c20482b752ad8a9 +DIST freshplayerplugin-0.2.3.tar.gz 402126 SHA256 b28ae17dec274aa6eb819d496088efbc503aa6bfba09192e2f08200ecf66d10b SHA512 bc2ee4377103d7d56d40ebed19cff0dd4acdb7a810225381d9d49874ca3925cb5c72f9ca576f2b9e58a4374fe546d99a0bc97c9c95eb3d44e08fe68e1310bf51 WHIRLPOOL 5180f9709ae6bd691c1df8daaf03b91aa80ab1a5e0b1c562919dd179f8252a5ae8bfe6fdc98bde1d4fff88098045a06e6cdabc66ab95604e70c9a084e2bc085d +EBUILD freshplayerplugin-0.2.3.ebuild 1471 SHA256 fffb869d3dd94d404826e98505b38a78f2ceff1469c3c6e010f886c33d1c9b72 SHA512 837ae4828ca19f13f36032b00e0b5d9a93f2ff7e9208652c96e4e744a65657277dc7ccc4976bf679532d19634cca8d72b69f4647bf3cc024be92d908a2c9e4a9 WHIRLPOOL 813cd897e891e39fff2b3792113d3d67b3b66942af3aa2048bf8bb922531f71b493fe045e3d806581e8072c4983e1b7e42670f909b8db8a4fb602f961e90936f +MISC ChangeLog 495 SHA256 2304cbdfca1d1758a420fef1064d2bb2af14b554a9dee8a054b97441dd5cb06f SHA512 02598f145644937c5160cdefc2c408c91c352727d1d4622b4bfda2e034566adfc0fbc5468fca38d36418341f5344475f63ec7870a9ac8974125cdc254e082551 WHIRLPOOL 708b416a2d25e69c68dfb045b599f4b5df35c3896210918f5aed253f7a888f1f13caf557360a64dea60a1902b7f2aba2d9fbb3703aabe9c609535e695b6c401a +MISC metadata.xml 228 SHA256 3276782b32068142f9cdd2fc035aea8881f10754f955200c41f77667bc1e2f7a SHA512 20795b5733cd27d679546b09d7e783ea5542a487ebb25d624c99fe8811f85fba91b9674667a1c2603d537fceaf588f4b884e00393e003590d94be9261648f8db WHIRLPOOL 6d7bcbacd82acd20fa264aa71b9cbf03ffabe312b60ea382bc363f47644cb2e5f1efec126ff487e357c6e2757c40606a498b6dc466e2a1f61ae742e11ef2a4e7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0 + +iQJ8BAEBCABmBQJU/5bMXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NkMyRTQ0RUQ5MEUzMjc1OEU3RDU1QzBE +MUY3ODFFRkY5RjRBM0I2AAoJENH3ge/59KO2hRkQALmVOyGI2KhFVcSd3uv6JbK7 +kC9UyzW/uHKQ+xe54LCme9EhDBIJgk8k5dPUx6FWQPhW+IpNLYRAnRThsBYgQFMS ++Iyuv8/1+dl4BkOqxuphwLIYBZdpdmECCqVI5bk+0JpAwaVeAs3ovxMFuBEBJhXx +PFs3uSVvVYQQXfXLqONP/UTB1JDSfvlRDCJaYYmKxXrMEo1dvawe2E9+qhuaEEr6 +YH0yoS8JjGNSYxTQScTuxO8gaQySA09WaXlFc1l6ZWz/FuZjEdAfNvVy1rdmZCPl +4bl1Y9Gxmo7RNYUaLhSvUIAfpDN3naY3Dp/VrKw6OyF4/o0akHYW4yj0TMkOlqNe +byRqJV6rbsfvKTQov7HFNaQ8BJHBmQQGMgKwsCtaFaSKzIAZV6lmhaGEMDNT6kNZ +1ivAyB6WGw/l2pa37WDwZKAp/iyngKUwv2jMrVyORzw1KBGU3t+6SUJ85w5Xz+C3 +3liCD5e5crTQ9WsvejRqzA+t6RK/8KdtM0tiMT/bJ2nxmDqS6Ww2s3yLtIQ0eg1V +RsWr4eQQwSM94LjpyiNAqps+bozW1obKCagn/bkK3IVVmj3NV2qzlPu7KXoD695U +t43+b3aqtINpkWHce0m6m/ejx8TGKGE6Vr9d8McQKKukxIg4qMJ4VMDJXGNnkNX7 +9RJ7RI0XlOnfjKA94Qrs +=YZOL +-----END PGP SIGNATURE----- diff --git a/www-plugins/freshplayerplugin/files/with-pulseaudio-cmake.patch b/www-plugins/freshplayerplugin/files/with-pulseaudio-cmake.patch new file mode 100644 index 000000000000..22bad5728292 --- /dev/null +++ b/www-plugins/freshplayerplugin/files/with-pulseaudio-cmake.patch @@ -0,0 +1,27 @@ +diff -aurN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2015-02-15 17:05:40.000000000 -0500 ++++ b/CMakeLists.txt 2015-03-10 19:33:48.519110012 -0400 +@@ -45,12 +45,18 @@ + openssl + REQUIRED) + +-pkg_check_modules(PULSEAUDIO libpulse) ++OPTION(WITH_PULSEAUDIO "Enable pulseaudio support" ON) + +-if (${PULSEAUDIO_FOUND}) +- add_definitions(-DHAVE_PULSEAUDIO=1) +- set(HAVE_PULSEAUDIO 1) +-endif() ++IF(WITH_PULSEAUDIO) ++ pkg_check_modules(PULSEAUDIO libpulse) ++ ++ if (${PULSEAUDIO_FOUND}) ++ add_definitions(-DHAVE_PULSEAUDIO=1) ++ set(HAVE_PULSEAUDIO 1) ++ else() ++ MESSAGE(FATAL_ERROR "PulseAudio not found") ++ endif() ++ENDIF(WITH_PULSEAUDIO) + + include_directories(${REQ_INCLUDE_DIRS}) + add_definitions(${REQ_CFLAGS_OTHER}) diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.2.3.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.2.3.ebuild new file mode 100644 index 000000000000..f3ddc5e8fdbd --- /dev/null +++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.2.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/freshplayerplugin/freshplayerplugin-0.2.3.ebuild,v 1.1 2015/03/11 01:13:44 grknight Exp $ + +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="pulseaudio" + +KEYWORDS="~amd64 ~x86" + +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/mesa:=[egl,gles2] + x11-libs/gtk+:2= + x11-libs/libXrandr:= + x11-libs/libXrender:= + x11-libs/pango:=[X] + pulseaudio? ( media-sound/pulseaudio ) +" + +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}/with-pulseaudio-cmake.patch" ) + +src_configure() { + mycmakeargs=( $(cmake-utils_use_with pulseaudio PULSEAUDIO) ) + 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" +} diff --git a/www-plugins/freshplayerplugin/metadata.xml b/www-plugins/freshplayerplugin/metadata.xml new file mode 100644 index 000000000000..994d2278b194 --- /dev/null +++ b/www-plugins/freshplayerplugin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>grknight@gentoo.org</email> + <name>Brian Evans</name> +</maintainer> +</pkgmetadata> |