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 /media-plugins/npapi-vlc |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/npapi-vlc')
-rw-r--r-- | media-plugins/npapi-vlc/Manifest | 7 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/files/xembed.h | 38 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/metadata.xml | 7 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild | 57 | ||||
-rw-r--r-- | media-plugins/npapi-vlc/npapi-vlc-9999.ebuild | 56 |
5 files changed, 165 insertions, 0 deletions
diff --git a/media-plugins/npapi-vlc/Manifest b/media-plugins/npapi-vlc/Manifest new file mode 100644 index 000000000000..db4c10882f0c --- /dev/null +++ b/media-plugins/npapi-vlc/Manifest @@ -0,0 +1,7 @@ +AUX xembed.h 1138 SHA256 d457b572724e1a3f7aab0d1d834464dc750a5e4be6a3dcd3e7e3072b9a7c30c8 SHA512 155f7f5787d23e0913650d83bb1f1904aabb6d6889ae44886757e9f6da9c022c91a73b6ec61acda1975c8bb2a3c029a12f1321c94ab81b9a5a6d095f2c483c52 WHIRLPOOL 6272d094edf87f22a03143027250ce816e8d8f65e2d2cf23c76dcc94df368c1399e8b4d8d9aefc8bd47f59a0a47a962e71b1ad9049d1b7d83a73c06446b1d38d +DIST npapi-vlc-2.0.0.tar.xz 359508 SHA256 d41f69b995daf30fb81b2106ca7ad58fde6f4b1c94a2f7b266636c2d949ca6ae SHA512 76da0e013c5477cd9b5eb84f7374912f3077bb03cf6723b3d173ec4df31a021ab72d6e8d1847951ff7e39f61c42e3e5e913dcdd1d0f77e6b0028dcb4ac579466 WHIRLPOOL 99397034584f6ac82c586539cec00c2497663da61d5d7e3918367829856a75d12b83759d998b7e9bbcd58b444388f34d2b46e98e98d7258e2d208b56a8dcc829 +EBUILD npapi-vlc-2.0.0.ebuild 1192 SHA256 ae19709ec0e5e764ba7a494579f1e9889b1598b69efe341694dd8b2a51bcd20a SHA512 72cb180663bcbbda448d277b77a422ca4418c2ca3d89b47ba32e2a4e81a6ff42c0bf780f0c40765e6564f4eac83c5f8a55c735aa242d931d35ac6af3912771dd WHIRLPOOL c5aac74130b2ac34dcacce8c1d830999d195d26e98e3d2c29be144c264c4a67faae2dd1186088ea0d2154a823f0595704562491de59c0ef8317af9161a23418d +EBUILD npapi-vlc-9999.ebuild 1134 SHA256 1ba4d1507f5d572c89874fc47b25818540d48aba9f2b7b086fee4426555936ce SHA512 2fee9f64cf719ebfa3983f1a5213c2f1535b339f778e947caaca799781738e3b72489524659c2b5cba766640de61f7477f72a28fd3906367b9b25af08df09bff WHIRLPOOL 74639afde48b59fe26864692bcdf4ab4897604b0e9d9cf4d1c7a91436a5e70ee1cbc248bab2daee7b5ebd9da6f96d4c373bf3e7a1dd3ad5ab47fadab15b158db +MISC ChangeLog 2509 SHA256 42214deb89af3703a0629288b13026c09879a65a47596a6af5136547371231bb SHA512 981fe82cb9e6c3d4458114552731ec903c825bce4b5c5a8de6a87c1a7320f100eda2ac1b928c559faef92d32f3f4345d4f117a5f6561f096b09d12d40b4d954b WHIRLPOOL 3880af8ac1e1e6884d01811d03465cd105de566f017caccff1750600ea1a2ae3a3a4bb808db6834c3de619452bc071cfd8e5edce7c08bca21cf4eae90b5fb79c +MISC ChangeLog-2015 1779 SHA256 3117478f4ed9b3a718436e0dc6deb5e809ad885814ad6edf6f941150c1381219 SHA512 d0787714f57a5caacdf5ad4b76ec68bc114dd5d088c70661133134335e3fe9c4fcebc66fffbe86ed8b1e2af33cdf311b2d1e3292401d6ca47eb3ea0c1c9ad17f WHIRLPOOL 395539d2e73c12083d927b6583ec2dcecc87f11b08af8e64e99f9d92e3f0344b775b2615f1104d68d9ad30f16f90be6d857e43628fc3e138f7fce564c79bd207 +MISC metadata.xml 223 SHA256 7d0451c70b262d8928fbd11c938e6b5663794345ad10f7be8533ab42b521e42c SHA512 27b688917e0b1c4a75ea34c97d2d67d309573941492ab04124de11034f3b2796480f02408d86e2eba77ca2000722ea6606fe12a49622c04f9e2c1fa27b6fc8db WHIRLPOOL 0b20f52f85830d008257e03325b74780038fc6e0bf6cc3917aa7f0d8621673c87bebcf201ca0cd876276febe9fcf785fe8f80de1889f2009fdd5bd05c2615d17 diff --git a/media-plugins/npapi-vlc/files/xembed.h b/media-plugins/npapi-vlc/files/xembed.h new file mode 100644 index 000000000000..28a1a36d7df1 --- /dev/null +++ b/media-plugins/npapi-vlc/files/xembed.h @@ -0,0 +1,38 @@ +#ifndef __XEMBED_H__ +#define __XEMBED_H__ + +/* the latest version of XEmbed that we support */ +#define PLUGIN_XEMBED_PROTOCOL_VERSION 1 + +/* XEMBED messages */ +typedef enum { + XEMBED_EMBEDDED_NOTIFY = 0, + XEMBED_WINDOW_ACTIVATE = 1, + XEMBED_WINDOW_DEACTIVATE = 2, + XEMBED_REQUEST_FOCUS = 3, + XEMBED_FOCUS_IN = 4, + XEMBED_FOCUS_OUT = 5, + XEMBED_FOCUS_NEXT = 6, + XEMBED_FOCUS_PREV = 7, + XEMBED_GRAB_KEY = 8, + XEMBED_UNGRAB_KEY = 9, + XEMBED_MODALITY_ON = 10, + XEMBED_MODALITY_OFF = 11, + +/* Non standard messages*/ + XEMBED_GTK_GRAB_KEY = 108, + XEMBED_GTK_UNGRAB_KEY = 109 +} XEmbedMessageType; + +/* Details for XEMBED_FOCUS_IN: */ +#define XEMBED_FOCUS_CURRENT 0 +#define XEMBED_FOCUS_FIRST 1 +#define XEMBED_FOCUS_LAST 2 + +/* Flags for XEMBED_FOCUS_IN, XEMBED_FOCUS_NEXT, XEMBED_FOCUS_PREV */ +#define XEMBED_FOCUS_WRAPAROUND (1 << 0) + +/* Flags for _XEMBED_INFO */ +#define XEMBED_MAPPED (1 << 0) + +#endif /* __XEMBED_H__ */ diff --git a/media-plugins/npapi-vlc/metadata.xml b/media-plugins/npapi-vlc/metadata.xml new file mode 100644 index 000000000000..811585329983 --- /dev/null +++ b/media-plugins/npapi-vlc/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild new file mode 100644 index 000000000000..e4c53408b9d7 --- /dev/null +++ b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=git-2 + EGIT_BOOTSTRAP="" + EGIT_REPO_URI="git://git.videolan.org/${PN}.git" +fi + +inherit autotools multilib ${SCM} + +DESCRIPTION="Mozilla plugin based on VLC" +HOMEPAGE="http://www.videolan.org/" + +LICENSE="LGPL-2.1" +SLOT="0" + +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="amd64 ~ppc64 x86" + SRC_URI="http://download.videolan.org/pub/videolan/vlc/${PV}/${P}.tar.xz" + DEPEND="app-arch/xz-utils" +else + KEYWORDS="" + SRC_URI="" +fi +IUSE="gtk" + +RDEPEND=">=media-video/vlc-1.1 + x11-libs/libX11 + !gtk? ( x11-libs/libXpm x11-libs/libSM x11-libs/libICE ) + gtk? ( x11-libs/gtk+:2 ) + !<media-video/vlc-1.2[nsplugin]" +DEPEND="${RDEPEND} + ${DEPEND} + virtual/pkgconfig + >=net-misc/npapi-sdk-0.27" + +src_prepare() { + if [ "${PV%9999}" != "${PV}" ] ; then + eautoreconf + fi + cp "${FILESDIR}/xembed.h" "${S}/npapi/" || die +} + +src_configure() { + econf \ + $(use_with gtk) +} + +src_install() { + emake DESTDIR="${D}" npvlcdir="/usr/$(get_libdir)/nsbrowser/plugins" install || die + find "${D}" -name '*.la' -delete + dodoc NEWS AUTHORS ChangeLog || die +} diff --git a/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild new file mode 100644 index 000000000000..48a5b152ac91 --- /dev/null +++ b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=git-2 + EGIT_BOOTSTRAP="" + EGIT_REPO_URI="git://git.videolan.org/${PN}.git" +fi + +inherit autotools multilib ${SCM} + +DESCRIPTION="Mozilla plugin based on VLC" +HOMEPAGE="http://www.videolan.org/" + +LICENSE="LGPL-2.1" +SLOT="0" + +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="~amd64" + SRC_URI="http://download.videolan.org/pub/videolan/vlc/${PV}/${P}.tar.xz" + DEPEND="app-arch/xz-utils" +else + KEYWORDS="" + SRC_URI="" +fi +IUSE="gtk" + +RDEPEND=">=media-video/vlc-1.1 + x11-libs/libX11 + !gtk? ( x11-libs/libXpm x11-libs/libSM x11-libs/libICE ) + gtk? ( x11-libs/gtk+:2 ) + !<media-video/vlc-1.2[nsplugin]" +DEPEND="${RDEPEND} + ${DEPEND} + virtual/pkgconfig + >=net-misc/npapi-sdk-0.27" + +src_prepare() { + if [ "${PV%9999}" != "${PV}" ] ; then + eautoreconf + fi +} + +src_configure() { + econf \ + $(use_with gtk) +} + +src_install() { + emake DESTDIR="${D}" npvlcdir="/usr/$(get_libdir)/nsbrowser/plugins" install || die + find "${D}" -name '*.la' -delete + dodoc NEWS AUTHORS ChangeLog || die +} |