diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /www-plugins/freshplayerplugin |
reinit the tree, so we can have metadata
Diffstat (limited to 'www-plugins/freshplayerplugin')
7 files changed, 338 insertions, 0 deletions
diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest new file mode 100644 index 000000000000..23efd4d9c146 --- /dev/null +++ b/www-plugins/freshplayerplugin/Manifest @@ -0,0 +1,10 @@ +AUX 0.3.4-git-revision.patch 404 SHA256 8abe8f91479eb76c85bd56a0c12e95e864b4a997fe98b3c305c729c7b742df42 SHA512 617c5586d0948f9aa5acdef38cdceb29e98a07cb40a284e07e780d0344168408bf14fae612fb5d2baa648f6083b0d37820a70a002631abf6cdeb38a3948bd617 WHIRLPOOL a86c28b2b185820e4357918becf12cc7058c7f97364d2b259305345fc846c3722d7127b7f0c76452829ebfbe304de8494ade5376d7d8d0161dc5a296b3a0c063 +AUX 0.3.5-cmake.patch 3049 SHA256 7700270f18e52ea987c20b88644f1921a789a8f97dd426b367fa5557e0fcd2ac SHA512 95d07febb1cf159bd22ba3551fd712ab04e26f2422a01940285a19648d570a92b0d399a48fad54eba6b7faecd00f51b98e117e5f5df4b7dd1238a73bbe46d353 WHIRLPOOL c682543111f0842d35c5050fa6f390b80c0ea81452b0409790bdd35736aa1024b655fe21dee7b845df63c376f26af3cf4cdf77331681ac9103f80908303d9974 +DIST freshplayerplugin-0.3.5.tar.gz 781003 SHA256 b08f7c6690de13b1e358fef4cab41cb303b9e80b3504678e94c9646f44dd7104 SHA512 dd447db4cbfdb80b89ff42894099971c100023d19fe5fbad023d5ac1afa827fdc5a169a03f4702ffda3cf6e0dd9c63217b68d97d047ac43afc22f488020a0ba0 WHIRLPOOL cf22758e0ed947db27e8e6e053f17bafc425beebebd9314008eef105e828a0a51f73fd42f2d0c00e12e56f817e2b9078baeb55bd54a6c6a55e8ebd00d2e27ccc +DIST freshplayerplugin-0.3.7.tar.gz 789974 SHA256 e4c67ff382aacbdf6ecc45095fa48c582e89ce70f94fe6499e00f7d664d5e05f SHA512 9ef534b873833d69caa86a5702ad6150e4aa2fe399159a550b6cb0ebad2754d25e185c54b6285f6f50913c5595c5b460ce3e0d21ac45f0d25793805463ce1d5d WHIRLPOOL f6e6c64c055d85eaf79da62ad24be04def3fa3f5167910e7854b9a633c8b9618dd0629bc8553d2fbc73b7e4f7006b18e0de150be6eb1807b90079e84826956cc +EBUILD freshplayerplugin-0.3.5-r2.ebuild 1851 SHA256 f7d36c5618417e8c566625f43ee993b8eafd92ce53011091e47917ff101627eb SHA512 d8ebf65ac798abf5e1e00438b5c10e9140adf2b0d531a9bfc95e0dd1b1e3193b366e23fe2647846a87aba5ea491d72e0d377b2d7dae8d958cad92819b41be04c WHIRLPOOL eb74692942bc000b3bc006f89bd802f6891cb256bcb7371543c626a65cca4cdc41bcfa0cfc550c018f1e15ffc0c7009b0e91df3797883811a260c7ee9d3b7206 +EBUILD freshplayerplugin-0.3.5-r3.ebuild 1873 SHA256 3f67b5b455c51c1ba83f80a4382032ce77a66c025b31da9ed42888fe9ecacacf SHA512 83d5544d6b36efbafbfa25f12cdacd3c5d4c0f246dce0a9a19f7f7ac82ee344ebc9f3f593bdeb32f7763ecb0149bef169e217b3632a69e61c8e7bdc893188bca WHIRLPOOL 510127c5d99f0ec60069d27169107b8084868b2acf4063bcce4b711af77d586fc3f6411e57b6264c892716808204f560b2e73ad93daf582361c1c9762ce11825 +EBUILD freshplayerplugin-0.3.7.ebuild 1834 SHA256 fc5efb678127896d26004804fd7f72659ba272a34cd3a1351ac4635f118216ff SHA512 58797302082e763a98e7dc573246657020003c4b2f7ff1845c85755dd79300e74d8730698709fcc032873cd7f1bdf36b5557660469f1c01364099a05379ba5c8 WHIRLPOOL 004e751a655b7842f75994c63ca68f53e25ee9f1b31e7a8d3b7be1c6bb9f10b61a73cba1668fc586d040c6ec0d18b9fcd416443b242de4f47d41e2a326e7935e +MISC ChangeLog 6273 SHA256 597c652c1bbfbfeaa8537cfac6546338053fe64d3dca69f7693d55a706779621 SHA512 5c102e0cc0f89d9879ba28b4cb27bbcd04bfd2d11063c7607676780779930f4efe326deee706159b1a1353f73fb2d748ab87859abc346242090f75a2f6e67aaa WHIRLPOOL 7e4871fa9dde70bdfd785a5dcdf79b92ba15a10ad0006f7170f75a5cd035edcafc0db5ae0b75a78e7290de01b113a263fa3141913afbc0cb44e7fda6aff78c64 +MISC ChangeLog-2015 1704 SHA256 2831ca05afb07d7d2023ee44960756b1a2daf9bbd2727744fc313d09ffa4ff1f SHA512 807f04c90ba32f0d79cfa848e93ba75fe1976eb803c842fd1a0ab6d024230303d4db0f27b133a5ac44858441a65ce73c83240c7dfc5126875e352260ef2e616d WHIRLPOOL 08684d19efb984feb1a695720f44e1e485c2ac80617a59dd1e51ab5ca272adec59f451c98b635ae0c4c7f538c57e125f48484eda055f307b9b2e60c895558a8e +MISC metadata.xml 574 SHA256 56a92ea997fb2a8d44878334d15b638805bff2105bf0ec154335ae232e310076 SHA512 97da2e0c03c499e76f400cf6d690e6a0f19779ff1dee966c72b109cd114dae905f044c6ef0a58bc9e15ac648474d05aa770c060150c824c54da25ac1d7bede60 WHIRLPOOL bc60c5cc09c32bd359cf43fb7243aa69c4ca46f95670bc58cf46b9c0b203cddb58e67cabd1271de068d99e4736197601e9cc64ac1ffa77d4f25780d4b92ff6c5 diff --git a/www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch b/www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch new file mode 100644 index 000000000000..96cfce94c936 --- /dev/null +++ b/www-plugins/freshplayerplugin/files/0.3.4-git-revision.patch @@ -0,0 +1,11 @@ +--- a/cmake/update-version-info.sh 2015-12-20 08:38:33.000000000 -0500 ++++ b/cmake/update-version-info.sh 2015-12-26 20:14:00.000000000 -0500 +@@ -18,7 +18,7 @@ + GIT_COMMAND_EXISTS=1 + command -v git >/dev/null 2>&1 || GIT_COMMAND_EXISTS=0 + +-if [ $GIT_COMMAND_EXISTS -eq 0 ]; then ++if [ $GIT_COMMAND_EXISTS -eq 0 -o ! -d "${CMAKE_SOURCE_DIR}/.git" ]; then + update_header "no vcs hash" + exit 0 + fi diff --git a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch new file mode 100644 index 000000000000..f925dfa31eb9 --- /dev/null +++ b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch @@ -0,0 +1,70 @@ +diff -uarN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2015-04-25 11:17:24.000000000 -0400 ++++ b/CMakeLists.txt 2015-04-26 20:14:43.152014529 -0400 +@@ -61,35 +61,36 @@ + # optional dependencies + message(STATUS "checking for optional dependencies") + +-pkg_check_modules(PULSEAUDIO QUIET libpulse) +-pkg_check_modules(JACK QUIET jack) +-pkg_check_modules(SOXR QUIET soxr) + set(WITH_PULSEAUDIO TRUE CACHE STRING "enable PulseAudio support") + set(WITH_JACK TRUE CACHE STRING "enable JACK Audio Connection Kit") + +-if (PULSEAUDIO_FOUND AND WITH_PULSEAUDIO) ++if (WITH_PULSEAUDIO) ++ pkg_check_modules(PULSEAUDIO libpulse) ++ if (NOT PULSEAUDIO_FOUND) ++ message(FATAL_ERROR "PulseAudio requested but not found.") ++ endif() + add_definitions(-DHAVE_PULSEAUDIO=1) +- message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION} (optional)") ++ message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION}") + list(APPEND REQ_LIBRARY_DIRS ${PULSEAUDIO_LIBRARY_DIRS}) + list(APPEND REQ_INCLUDE_DIRS ${PULSEAUDIO_INCLUDE_DIRS}) + list(APPEND REQ_LIBRARIES ${PULSEAUDIO_LIBRARIES}) +-else() +- message(STATUS " no libpulse found (optional)") + endif() + +-if (JACK_FOUND AND WITH_JACK) +- message(STATUS " found jack, version ${JACK_VERSION} (optional)") +- if (SOXR_FOUND) +- message(STATUS " found soxr, version ${SOXR_VERSION}") +- add_definitions(-DHAVE_JACK=1) +- list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") +- list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") +- list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") +- else() +- message(STATUS " no soxr found, JACK output disabled") ++if (WITH_JACK) ++ pkg_check_modules(JACK QUIET jack) ++ if (NOT JACK_FOUND) ++ message(FATAL_ERROR "JACK support requested but not found.") ++ endif() ++ pkg_check_modules(SOXR QUIET soxr) ++ if (NOT SOXR_FOUND) ++ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.") + endif() +-else() +- message(STATUS " no jack found (optional)") ++ message(STATUS " found jack, version ${JACK_VERSION}") ++ message(STATUS " found soxr, version ${SOXR_VERSION}") ++ add_definitions(-DHAVE_JACK=1) ++ list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") ++ list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") ++ list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") + endif() + + list(APPEND REQ_LIBRARIES img-resources) +--- a/src/CMakeLists.txt 2015-12-20 08:38:33.000000000 -0500 ++++ b/src/CMakeLists.txt 2015-12-26 20:45:07.000000000 -0500 +@@ -5,7 +5,7 @@ + + set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) + +-set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/mozilla/plugins/" CACHE STRING "plugin install directory") ++set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/nsbrowser/plugins/" CACHE STRING "plugin install directory") + + add_subdirectory(uri_parser) + add_subdirectory(config_parser) 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 000000000000..b69aaa96e3ee --- /dev/null +++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 +} diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild new file mode 100644 index 000000000000..a59a28573a43 --- /dev/null +++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.5-r3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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[abi_x86_64,ppapi(+)] + " + +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 +} diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild new file mode 100644 index 000000000000..7f1968d12571 --- /dev/null +++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.7.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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[abi_x86_64,ppapi(+)] + " + +PATCHES=( "${FILESDIR}/0.3.5-cmake.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 +} diff --git a/www-plugins/freshplayerplugin/metadata.xml b/www-plugins/freshplayerplugin/metadata.xml new file mode 100644 index 000000000000..fccc5290bc7e --- /dev/null +++ b/www-plugins/freshplayerplugin/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grknight@gentoo.org</email> + <name>Brian Evans</name> + </maintainer> + <use> + <flag name="gles2">Use system GLESv2 libraries instead of ANGLE for shader translation</flag> + <flag name="gtk3">Build with GTK+ 3 instead of GTK+ 2</flag> + <flag name="v4l">Use libv4l2 for colorspace conversion</flag> + </use> + <upstream> + <remote-id type="github">i-rinat/freshplayerplugin</remote-id> + </upstream> +</pkgmetadata> |