Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: media-video/vlc/files/, dev-java/icedtea-web/files/, dev-java/icedtea-web/, ...
Date: Mon, 05 Sep 2011 14:52:23
Message-Id: d8e8622db2566c67114f5fa37cfa6893c7a6d64d.anarchy@gentoo
1 commit: d8e8622db2566c67114f5fa37cfa6893c7a6d64d
2 Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 14:47:10 2011 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 14:47:10 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=d8e8622d
7
8 add npapi-sdk which has support for icedtea-web,vlc from mgorny's
9 overlay
10
11 ---
12 dev-java/icedtea-web/Manifest | 16 +
13 ...ng-NPAPI-SDK-headers-instead-of-whole-xul.patch | 38 ++
14 dev-java/icedtea-web/icedtea-web-1.1.1.ebuild | 147 ++++++++
15 dev-java/icedtea-web/metadata.xml | 19 +
16 media-video/vlc/Manifest | 17 +
17 .../0001-Support-building-against-NPAPI-SDK.patch | 39 ++
18 media-video/vlc/metadata.xml | 81 +++++
19 media-video/vlc/vlc-1.1.11.ebuild | 381 ++++++++++++++++++++
20 net-misc/npapi-sdk/Manifest | 14 +
21 net-misc/npapi-sdk/metadata.xml | 9 +
22 net-misc/npapi-sdk/npapi-sdk-9999.ebuild | 33 ++
23 11 files changed, 794 insertions(+), 0 deletions(-)
24
25 diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
26 new file mode 100644
27 index 0000000..922279b
28 --- /dev/null
29 +++ b/dev-java/icedtea-web/Manifest
30 @@ -0,0 +1,16 @@
31 +-----BEGIN PGP SIGNED MESSAGE-----
32 +Hash: SHA256
33 +
34 +AUX 0001-Support-using-NPAPI-SDK-headers-instead-of-whole-xul.patch 1210 RMD160 d151ee610070429d73d676e07a4bc9b876f1b5b0 SHA1 3a9983dabe0387e9bc396326d937e98830fdaf34 SHA256 90ad27ff80dc42159aef9f4950511328f4ed78941911ce1f89608c08632808c7
35 +DIST icedtea-web-1.1.1.tar.gz 806633 RMD160 7267f279726bc1aa70f298721f757822b5189cfb SHA1 332874daf5f01fd6db3e60b4dbe3b40b8b269014 SHA256 0051005302e698f2468e6cae275b8c58869c85be04c269f2f266389a4e6a66c7
36 +EBUILD icedtea-web-1.1.1.ebuild 4135 RMD160 c46e54bb74408834370f820a99dc2e71a6e40c55 SHA1 f5b58d296b2a8b06a0d313466396dfc27f1ca68d SHA256 f7e914de1d7d3ab99f9a7b53b726162fdce056b280507980e1f79a14bc64c861
37 +MISC metadata.xml 666 RMD160 0b4a727787334a8fb0755705a9a9abbea0ed2540 SHA1 529ff0c8f099d6b65d47880b4f5a338ef94c63fd SHA256 39c40293e8df643512c54fdfe6c2cae952fa38229b137c039c1477e4fb758bb6
38 +-----BEGIN PGP SIGNATURE-----
39 +Version: GnuPG v2.0.18 (GNU/Linux)
40 +
41 +iJwEAQEIAAYFAk5kj2YACgkQfXuS5UK5QB0PeQP9F8ZYxcPrc6emsos1xFMuKk1y
42 +9zQTy5LNgx0hN1jUTNbHhD6Udvuincy+ysb0D81NqdhBY5kvJtbZxFh8EIiH3vqD
43 +C/ndtk3rYIkJQfvLlh9J04GiZfhG1IAoL79FHaunARXVETiYB38SJkvh3R2LPJAz
44 +y1nl0phlAcCMJKZffWA=
45 +=5v6N
46 +-----END PGP SIGNATURE-----
47
48 diff --git a/dev-java/icedtea-web/files/0001-Support-using-NPAPI-SDK-headers-instead-of-whole-xul.patch b/dev-java/icedtea-web/files/0001-Support-using-NPAPI-SDK-headers-instead-of-whole-xul.patch
49 new file mode 100644
50 index 0000000..5e85961
51 --- /dev/null
52 +++ b/dev-java/icedtea-web/files/0001-Support-using-NPAPI-SDK-headers-instead-of-whole-xul.patch
53 @@ -0,0 +1,38 @@
54 +From 7544a3364642a820737ba8d943e8deb2e39b6aa6 Mon Sep 17 00:00:00 2001
55 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
56 +Date: Mon, 5 Sep 2011 00:26:38 +0200
57 +Subject: [PATCH] Support using NPAPI-SDK headers instead of whole xulrunner.
58 +
59 +The first NPAPI-SDK header package with npapi-sdk.pc comes with libxul 2.0
60 +headers, thus hardcoded that version into it. But the code should be modified
61 +to use NPAPI versioning rather than Mozilla one. Or just drop compat with
62 +ancient versions.
63 +---
64 + acinclude.m4 | 11 +++++++++--
65 + 1 files changed, 9 insertions(+), 2 deletions(-)
66 +
67 +diff --git a/acinclude.m4 b/acinclude.m4
68 +index 3c3803b..58482f1 100644
69 +--- a/acinclude.m4
70 ++++ b/acinclude.m4
71 +@@ -346,8 +346,15 @@ if test "x${enable_plugin}" = "xyes" ; then
72 + AC_SUBST(GTK_CFLAGS)
73 + AC_SUBST(GTK_LIBS)
74 +
75 +- PKG_CHECK_MODULES(MOZILLA, mozilla-plugin)
76 +-
77 ++ PKG_CHECK_MODULES(MOZILLA, npapi-sdk, [
78 ++ AC_CACHE_CHECK([for xulrunner version], [xulrunner_cv_collapsed_version],[
79 ++ # XXX: use NPAPI versions instead
80 ++ xulrunner_cv_collapsed_version=20000000
81 ++ ])
82 ++ ], [
83 ++ PKG_CHECK_MODULES(MOZILLA, mozilla-plugin)
84 ++ ])
85 ++
86 + AC_SUBST(MOZILLA_CFLAGS)
87 + AC_SUBST(MOZILLA_LIBS)
88 + fi
89 +--
90 +1.7.6.1
91 +
92
93 diff --git a/dev-java/icedtea-web/icedtea-web-1.1.1.ebuild b/dev-java/icedtea-web/icedtea-web-1.1.1.ebuild
94 new file mode 100644
95 index 0000000..968ba5f
96 --- /dev/null
97 +++ b/dev-java/icedtea-web/icedtea-web-1.1.1.ebuild
98 @@ -0,0 +1,147 @@
99 +# Copyright 1999-2011 Gentoo Foundation
100 +# Distributed under the terms of the GNU General Public License v2
101 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.1.1.ebuild,v 1.1 2011/07/22 09:08:37 caster Exp $
102 +# Build written by Andrew John Hughes (ahughes@××××××.com)
103 +
104 +EAPI="2"
105 +
106 +inherit autotools base eutils java-pkg-2 java-vm-2
107 +
108 +LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
109 +SLOT="6"
110 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
111 +
112 +DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
113 +SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
114 +HOMEPAGE="http://icedtea.classpath.org"
115 +
116 +IUSE="build doc +nsplugin"
117 +
118 +RDEPEND="dev-java/icedtea:${SLOT}"
119 +DEPEND="${RDEPEND}
120 + nsplugin? (
121 + || ( net-misc/npapi-sdk
122 + >=net-libs/xulrunner-1.9.1 ) )"
123 +
124 +# a bit of hack so the VM switching is triggered without causing dependency troubles
125 +JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.6"
126 +JAVA_PKG_WANT_SOURCE="1.6"
127 +JAVA_PKG_WANT_TARGET="1.6"
128 +
129 +pkg_setup() {
130 + # quite a hack since java-config does not provide a way for a package
131 + # to limit supported VM's for building and their preferred order
132 + if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
133 + einfo "Honoring user-set JAVA_PKG_FORCE_VM"
134 + elif has_version dev-java/icedtea:${SLOT}; then
135 + JAVA_PKG_FORCE_VM="icedtea${SLOT}"
136 + else
137 + JAVA_PKG_FORCE_VM=""
138 + # don't die just yet if merging a binpkg - bug #258423
139 + DIE_IF_NOT_BINPKG=true
140 + fi
141 +
142 + # if the previous failed, don't even run java eclasses pkg_setup
143 + # as it might also die when no VM is present
144 + if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
145 + einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
146 + java-vm-2_pkg_setup
147 + java-pkg-2_pkg_setup
148 + fi
149 +}
150 +
151 +unset_vars() {
152 + unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
153 +}
154 +
155 +src_unpack() {
156 + if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then
157 + die "Unable to find a supported VM for building"
158 + fi
159 +
160 + default
161 +}
162 +
163 +src_prepare() {
164 + local PATCHES=(
165 + "${FILESDIR}"/0001-Support-using-NPAPI-SDK-headers-instead-of-whole-xul.patch
166 + )
167 +
168 + base_src_prepare
169 + eautoreconf
170 +}
171 +
172 +src_configure() {
173 + local vmhome=$(java-config -O)
174 +
175 + if use build; then
176 + icedteadir="${ICEDTEA_BIN_DIR}"
177 + installdir="/opt/icedtea${SLOT}-web-bin"
178 + else
179 + icedteadir="/usr/$(get_libdir)/icedtea${SLOT}"
180 + installdir="/usr/$(get_libdir)/icedtea${SLOT}-web"
181 + fi
182 +
183 + unset_vars
184 +
185 + if use build || [[ ${vmhome} == ${icedteadir} ]] ; then
186 + VMHANDLE="icedtea${SLOT}"
187 + else
188 + die "Unexpected install location of IcedTea${SLOT}"
189 + fi
190 +
191 + einfo "Installing IcedTea-Web in ${installdir}"
192 + einfo "Installing IcedTea-Web for Icedtea${SLOT} in ${icedteadir}"
193 + if [ ! -e ${vmhome} ] ; then
194 + eerror "Could not find JDK install directory ${vmhome}."
195 + die
196 + fi
197 +
198 + # we need to override all *dir variables that econf sets
199 + # man page (javaws) is installed directly to icedteadir because it's easier than symlinking, as we don't know
200 + # the suffix the man page will end up compressed with, anyway
201 + econf \
202 + --prefix=${installdir} --mandir=${icedteadir}/man --infodir=${installdir}/share/info --datadir=${installdir}/share \
203 + --with-jdk-home=${icedteadir} \
204 + $(use_enable doc docs) \
205 + $(use_enable nsplugin plugin) \
206 + || die "configure failed"
207 +}
208 +
209 +src_compile() {
210 + # we need this to override the src_compile from java-pkg-2
211 + default
212 +}
213 +
214 +src_install() {
215 + # parallel make problem bug #372235
216 + emake -j1 DESTDIR="${D}" install || die "Install failed"
217 + dodoc AUTHORS README NEWS || die
218 +
219 + if use nsplugin; then
220 + local arch=${ARCH};
221 + use x86 && arch=i386;
222 + install_mozilla_plugin "${installdir}/$(get_libdir)/IcedTeaPlugin.so";
223 + fi
224 +
225 + for binary in javaws itweb-settings; do
226 + dosym ${installdir}/bin/${binary} ${icedteadir}/bin/${binary}
227 + dosym ${installdir}/bin/${binary} ${icedteadir}/jre/bin/${binary}
228 + done
229 +}
230 +
231 +pkg_postinst() {
232 + java-vm_check-nsplugin
233 + java_mozilla_clean_
234 +
235 + if use nsplugin; then
236 + elog "The icedtea browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
237 + elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
238 + elog "such as Firefox 3.5+, Chromium and perhaps some others too."
239 + fi
240 +}
241 +
242 +pkg_prerm() {
243 + # override the java-vm-2 eclass check for removing a system VM, as it doesn't make sense here
244 + :;
245 +}
246
247 diff --git a/dev-java/icedtea-web/metadata.xml b/dev-java/icedtea-web/metadata.xml
248 new file mode 100644
249 index 0000000..08e1286
250 --- /dev/null
251 +++ b/dev-java/icedtea-web/metadata.xml
252 @@ -0,0 +1,19 @@
253 +<?xml version="1.0" encoding="UTF-8"?>
254 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
255 +<pkgmetadata>
256 +<herd>java</herd>
257 +<maintainer>
258 + <email>gnu_andrew@××××××××××.org</email>
259 + <name>Andrew John Hughes</name>
260 + <description>Proxy Maintainer</description>
261 +</maintainer>
262 +<maintainer>
263 + <email>caster@g.o</email>
264 + <name>Vlastimil Babka</name>
265 + <description>Commiter (CC me)</description>
266 +</maintainer>
267 +<longdescription>FOSS Java Web Start and optional browser plugin implementation based on NetX, to be used with icedtea.</longdescription>
268 +<use>
269 + <flag name="nsplugin">Enable the browser plugin (NPPlugin).</flag>
270 +</use>
271 +</pkgmetadata>
272
273 diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest
274 new file mode 100644
275 index 0000000..58239fe
276 --- /dev/null
277 +++ b/media-video/vlc/Manifest
278 @@ -0,0 +1,17 @@
279 +-----BEGIN PGP SIGNED MESSAGE-----
280 +Hash: SHA256
281 +
282 +AUX 0001-Support-building-against-NPAPI-SDK.patch 1459 RMD160 7213594ec7d33ed1061a5f4dc0c96091bc4a78c9 SHA1 fe3e7d1f220b8bfbbcdc5ba47965cde73908f7cb SHA256 915cbfc4a555a67c372e1ee336e123bd64db7f07ea11f594e631bf097b251ae7
283 +DIST vlc-1.1.11.tar.bz2 26319862 RMD160 fa8a32a8e81a5f707b3cace6fa9808d5d7cb9fe6 SHA1 068e75bdbfe6e595a4db14ad49e05688c8b1d5ad SHA256 682560be08b82bedfaf30d8a611d80093c5883c1de72fcbcf05715b8e9f4e1cb
284 +DIST vlc-patches-99.tar.bz2 3353 RMD160 5e4961b7a6036ddcd609af1ce001f9be8cd6e525 SHA1 b26e969bcf05751fc0fe2ffd17b5be03d7a184aa SHA256 79b68b6879b737a714075d2437a7615525242412f7cf084277ace2cbeec567e9
285 +EBUILD vlc-1.1.11.ebuild 12481 RMD160 8eeefb9158407ea63ed1ee701e92117c97ab58f3 SHA1 0745c270209f97b3a3e45ae7c300bfc4bab2eb5b SHA256 3b1cd2dc06056c86164782cb5c0bf20ed68b4f78ae80c7246f3998e39a017d2c
286 +MISC metadata.xml 6478 RMD160 7ddf32170a0d306d753eb1c567bab738871f93ee SHA1 fc20ca23fbef32370d86fdaa1154d5eb744ca6a2 SHA256 c72d228750d1d28196388c2bedc79de711a14e0c1c664eaedbb1ad63467955f8
287 +-----BEGIN PGP SIGNATURE-----
288 +Version: GnuPG v2.0.18 (GNU/Linux)
289 +
290 +iJwEAQEIAAYFAk5kj1cACgkQfXuS5UK5QB07ngQAldMObOjoqde2JoOx6YYCvH5M
291 +a+kfjbE2kHiYRDRxUSRGtcTHjf/Pa5X6a0pRPfW8bkrqf+14XkZb73eXXp2eOCDU
292 +n2tPJp5fQZ6KMziwaFHpNYp+WLlxZMlhzgEIVg1wAZzcQy9z04nRiGgfy6xa6laQ
293 +AdWtKPY5hTytksUL7Gg=
294 +=RVrP
295 +-----END PGP SIGNATURE-----
296
297 diff --git a/media-video/vlc/files/0001-Support-building-against-NPAPI-SDK.patch b/media-video/vlc/files/0001-Support-building-against-NPAPI-SDK.patch
298 new file mode 100644
299 index 0000000..1146565
300 --- /dev/null
301 +++ b/media-video/vlc/files/0001-Support-building-against-NPAPI-SDK.patch
302 @@ -0,0 +1,39 @@
303 +From 8d7943b1b19870b1aaa5d3058d79273661bbc25a Mon Sep 17 00:00:00 2001
304 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
305 +Date: Mon, 5 Sep 2011 10:43:39 +0200
306 +Subject: [PATCH] Support building against NPAPI-SDK.
307 +
308 +---
309 + configure.ac | 13 ++++++++++---
310 + 1 files changed, 10 insertions(+), 3 deletions(-)
311 +
312 +diff --git a/configure.ac b/configure.ac
313 +index 86a7eac..de86fca 100644
314 +--- a/configure.ac
315 ++++ b/configure.ac
316 +@@ -4555,12 +4555,19 @@ then
317 + found=1
318 + else
319 + if test -n "$PKG_CONFIG"; then
320 +- for i in "${with_mozilla_pkg}" libxul {seamonkey,iceape,xulrunner,firefox,iceweasel,mozilla}-plugin; do
321 ++ for i in "${with_mozilla_pkg}" npapi-sdk {seamonkey,iceape,xulrunner,firefox,iceweasel,mozilla}-plugin libxul; do
322 + if test -n "$i"
323 + then
324 + echo "Trying to find $i package" >&AS_MESSAGE_LOG_FD
325 +- AC_MSG_CHECKING([for $i >= 1.9.2])
326 +- if $PKG_CONFIG --exists --print-errors "$i >= 1.9.2" 2>&AS_MESSAGE_LOG_FD
327 ++
328 ++ AS_IF([test $i = npapi-sdk], [
329 ++ moz_ver=0.27
330 ++ ], [
331 ++ moz_ver=1.9.2
332 ++ ])
333 ++
334 ++ AC_MSG_CHECKING([for $i >= $moz_ver])
335 ++ if $PKG_CONFIG --exists --print-errors "$i >= $moz_ver" 2>&AS_MESSAGE_LOG_FD
336 + then
337 + echo "Using $i pkg-config package." >&AS_MESSAGE_LOG_FD
338 + echo "Using $i package." >&AS_MESSAGE_FD
339 +--
340 +1.7.6.1
341 +
342
343 diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml
344 new file mode 100644
345 index 0000000..d076a80
346 --- /dev/null
347 +++ b/media-video/vlc/metadata.xml
348 @@ -0,0 +1,81 @@
349 +<?xml version="1.0" encoding="UTF-8"?>
350 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
351 +<pkgmetadata>
352 + <herd>video</herd>
353 + <maintainer>
354 + <email>aballier@g.o</email>
355 + <name>Alexis Ballier</name>
356 + </maintainer>
357 + <use>
358 + <flag name="atmo">Enables support for AtmoLight (homebrew Ambient Lighting Technology)</flag>
359 + <flag name="audioqueue">Enables AudioQueue audio module for Mac OS X.</flag>
360 + <flag name="avcodec">Enables libavcodec support for video/audio encoding/decoding. libavcodec is part of FFmpeg.</flag>
361 + <flag name="avformat">Enables libformat support for reading and writing various media containers. libavformat is part of FFmpeg.</flag>
362 + <flag name="bluray">Enables libbluray for Blu-ray disc support.</flag>
363 + <flag name="dc1394">Enables IIDC cameras support.</flag>
364 + <flag name="dirac">Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac.</flag>
365 + <flag name="direct2d">Enable Win7/VistaPU Direct2D support.</flag>
366 + <flag name="directx">Enable Win32 DirectX support.</flag>
367 + <flag name="dshow">Enables Win32 DirectShow support.</flag>
368 + <flag name="dxva2">Enables Win32 DxVA2 support.</flag>
369 + <flag name="egl">Enables EGL video output module.</flag>
370 + <flag name="fbosd">Enables the framebuffer overlay plugin.</flag>
371 + <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis (with external sound fonts).</flag>
372 + <flag name="gcrypt">Enables cryptography support via libgcrypt.</flag>
373 + <flag name="gme">Enables support for <pkg>media-libs/game-music-emu</pkg> for playing various video game music formats.</flag>
374 + <flag name="gnome">Adds support for GNOME's filesystem abstraction layer, <pkg>gnome-base/gnome-vfs</pkg>. This flag is not GUI-related.</flag>
375 + <flag name="growl">Enables growl notification support (over UDP for remote access and native on OSX)</flag>
376 + <flag name="httpd">Enables a web based interface for vlc.</flag>
377 + <flag name="id3tag">Enables id3tag metadata reader plugin.</flag>
378 + <flag name="ios-vout">Enables iPhone OS video output.</flag>
379 + <flag name="kate">Adds support for Ogg Kate subtitles via libkate.</flag>
380 + <flag name="libass">Enables subtitles support using libass.</flag>
381 + <flag name="libproxy">Enables support for proxy settings in the HTTP access module.</flag>
382 + <flag name="libv4l">Enables Libv4l Video4Linux support.</flag>
383 + <flag name="libv4l2">Enables Libv4l2 Video4Linux2 support (for conversion
384 + from various video formats to standard ones, needed to use v4l2 devices
385 + with strange formats).</flag>
386 + <flag name="libtar">Uses libtar instead of the built-in tar reader for reading custom skins.</flag>
387 + <flag name="libtiger">Enables Ogg Kate subtitles rendering using libtiger.</flag>
388 + <flag name="linsys">Enables support for Linux Linear Systems Ltd. SDI and HD-SDI input cards.</flag>
389 + <flag name="live">Enables live555 streaming media support (client support for rtsp).</flag>
390 + <flag name="macosx">Enables Mac OS X gui support.</flag>
391 + <flag name="macosx-audio">Enables Mac OS X audio module.</flag>
392 + <flag name="macosx-dialog-provider">Enables Mac OS X dialog module.</flag>
393 + <flag name="macosx-eyetv">Enables Mac OS X EyeTV (TNT Tuner) module.</flag>
394 + <flag name="macosx-quartztext">Enables Mac OS X quartz text module.</flag>
395 + <flag name="macosx-qtcapture">Enables Mac OS X qtcapture (iSight) module.</flag>
396 + <flag name="macosx-vout">Enables Mac OS X video output module.</flag>
397 + <flag name="matroska">Enables matroska support using reference libraries (fallback on other existing matroska support if disabled, i.e., matroska enabled FFmpeg)</flag>
398 + <flag name="media-library">Build the (sqlite based) media library.</flag>
399 + <flag name="neon">Enables NEON optimizations for arm processors.</flag>
400 + <flag name="omxil">Enables OpenMAX Integration Layer codec module.</flag>
401 + <flag name="optimisememory">Enable optimisation for memory rather than performance.</flag>
402 + <flag name="postproc">Enables image post-processing via libpostproc (part of FFmpeg).</flag>
403 + <flag name="projectm">Enables the projectM visualization plugin.</flag>
404 + <flag name="pvr">Enables PVR cards access module.</flag>
405 + <flag name="qt4" restrict="&gt;=media-video/vlc-0.9">Builds a <pkg>x11-libs/qt</pkg> based frontend. It is now the most up-to-date graphical interface available.</flag>
406 + <flag name="remoteosd">Enables RemoteOSD plugin (VNC client as video filter).</flag>
407 + <flag name="rtsp">Enables real audio and RTSP modules.</flag>
408 + <flag name="run-as-root">Allows vlc to start for root. Don't enable this unless you have a very specific (e.g. embedded) need for it!</flag>
409 + <flag name="schroedinger">Enable Dirac video support (an advanced royalty-free video compression format) via libschroedinger (high-speed implementation in C of the Dirac codec).</flag>
410 + <flag name="sid">Adds support for playing C64 SID files through <pkg>media-libs/libsidplay-2</pkg>.</flag>
411 + <flag name="sdl-image">Enables sdl image video decoder (depends on sdl)</flag>
412 + <flag name="shine">Enables shine fixed point mp3 encoder.</flag>
413 + <flag name="shout">Enables libshout output.</flag>
414 + <flag name="skins">Enables support for the skins2 interface.</flag>
415 + <flag name="stream">Enables sout module for audio/video data streaming/transcoding/etc..</flag>
416 + <flag name="switcher">Enables MPEG2 video switcher stream output module.</flag>
417 + <flag name="swscale">Enables image scaling and conversion via libswscale (part of FFmpeg).</flag>
418 + <flag name="twolame">Enables twolame support (MPEG Audio Layer 2 encoder).</flag>
419 + <flag name="upnp">Enables support for Intel UPnP stack.</flag>
420 + <flag name="vaapi">Enables VAAPI (Video Acceleration API) for hardware decoding</flag>
421 + <flag name="vcdx">Enables VCD with navigation via libvcdinfo (depends on cdio)</flag>
422 + <flag name="vlm">New videolan (media) manager (vlm), a little manager designed to launch and manage multiple streams from within one instance of VLC.</flag>
423 + <flag name="waveout">Enable win32 waveOut plugin.</flag>
424 + <flag name="wingdi">Enable Win32 GDI module.</flag>
425 + <flag name="wma-fixed">Enables fixed point WMA decoder.</flag>
426 + <flag name="X">Enables support for, e.g., fullscreen mode via the X Window System. By itself, this flag does not build a graphical interface.</flag>
427 + <flag name="zvbi">Enables support for teletext subtitles via the zvbi library.</flag>
428 + </use>
429 +</pkgmetadata>
430
431 diff --git a/media-video/vlc/vlc-1.1.11.ebuild b/media-video/vlc/vlc-1.1.11.ebuild
432 new file mode 100644
433 index 0000000..7abcaca
434 --- /dev/null
435 +++ b/media-video/vlc/vlc-1.1.11.ebuild
436 @@ -0,0 +1,381 @@
437 +# Copyright 1999-2011 Gentoo Foundation
438 +# Distributed under the terms of the GNU General Public License v2
439 +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.1.11.ebuild,v 1.5 2011/08/27 17:38:21 armin76 Exp $
440 +
441 +EAPI="3"
442 +
443 +SCM=""
444 +if [ "${PV%9999}" != "${PV}" ] ; then
445 + SCM=git
446 + EGIT_BOOTSTRAP="bootstrap"
447 + EGIT_BRANCH=master
448 + EGIT_PROJECT=${P}
449 + if [ "${PV%.9999}" != "${PV}" ] ; then
450 + EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
451 + else
452 + EGIT_REPO_URI="git://git.videolan.org/vlc.git"
453 + fi
454 +fi
455 +
456 +inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic ${SCM}
457 +
458 +MY_PV="${PV/_/-}"
459 +MY_PV="${MY_PV/-beta/-test}"
460 +MY_P="${PN}-${MY_PV}"
461 +VLC_SNAPSHOT_TIME="0013"
462 +
463 +PATCHLEVEL="99"
464 +DESCRIPTION="VLC media player - Video player and streamer"
465 +HOMEPAGE="http://www.videolan.org/vlc/"
466 +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
467 + SRC_URI=""
468 +elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org
469 + SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2"
470 + MY_P="${P/_alpha*/}-git"
471 +elif [[ "${MY_P}" == "${P}" ]]; then
472 + SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
473 +else
474 + SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2"
475 +fi
476 +
477 +SRC_URI="${SRC_URI}
478 + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
479 +
480 +LICENSE="GPL-2"
481 +SLOT="0"
482 +
483 +if [ "${PV%9999}" = "${PV}" ] ; then
484 + KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
485 +else
486 + KEYWORDS=""
487 +fi
488 +IUSE="a52 aac aalib alsa altivec atmo avahi bidi cdda cddb dbus dc1394
489 + debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig
490 + +gcrypt ggi gme gnome gnutls httpd id3tag ieee1394 jack kate kde libass libcaca
491 + libnotify libproxy libtiger libv4l libv4l2 lirc live lua matroska mmx
492 + modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl optimisememory oss
493 + png projectm pulseaudio pvr +qt4 remoteosd rtsp run-as-root samba
494 + schroedinger sdl sdl-image shine shout skins speex sqlite sse stream
495 + svg svga taglib theora truetype twolame udev upnp v4l v4l2 vaapi vcdx vlm
496 + vorbis win32codecs wma-fixed +X x264 +xcb xml xosd xv zvbi"
497 +
498 +RDEPEND="
499 + sys-libs/zlib
500 + >=media-libs/libdvbpsi-0.1.6
501 + a52? ( >=media-libs/a52dec-0.7.4-r3 )
502 + aalib? ( media-libs/aalib x11-libs/libX11 )
503 + aac? ( >=media-libs/faad2-2.6.1 )
504 + alsa? ( >=media-libs/alsa-lib-1.0.23 )
505 + avahi? ( >=net-dns/avahi-0.6[dbus] )
506 + bidi? ( >=dev-libs/fribidi-0.10.4 )
507 + cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) )
508 + dbus? ( >=sys-apps/dbus-1.0.2 )
509 + dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
510 + dirac? ( >=media-video/dirac-0.10.0 )
511 + directfb? ( dev-libs/DirectFB sys-libs/zlib )
512 + dts? ( media-libs/libdca )
513 + dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
514 + elibc_glibc? ( >=sys-libs/glibc-2.8 )
515 + ffmpeg? ( virtual/ffmpeg )
516 + flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
517 + fluidsynth? ( media-sound/fluidsynth )
518 + fontconfig? ( media-libs/fontconfig )
519 + gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
520 + ggi? ( media-libs/libggi )
521 + gme? ( media-libs/game-music-emu )
522 + gnome? ( gnome-base/gnome-vfs )
523 + gnutls? ( >=net-libs/gnutls-1.7.4 >=dev-libs/libgcrypt-1.2.0 )
524 + id3tag? ( media-libs/libid3tag sys-libs/zlib )
525 + ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
526 + jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
527 + kate? ( >=media-libs/libkate-0.1.1 )
528 + libass? ( >=media-libs/libass-0.9.6 media-libs/fontconfig )
529 + libcaca? ( >=media-libs/libcaca-0.99_beta14 )
530 + libnotify? ( x11-libs/libnotify )
531 + libproxy? ( net-libs/libproxy )
532 + libtiger? ( media-libs/libtiger )
533 + lirc? ( app-misc/lirc )
534 + live? ( >=media-plugins/live-2008.07.06 )
535 + lua? ( >=dev-lang/lua-5.1 )
536 + matroska? ( >=dev-libs/libebml-0.7.6 >=media-libs/libmatroska-0.8.0 )
537 + modplug? ( >=media-libs/libmodplug-0.8.8.1 )
538 + mp3? ( media-libs/libmad )
539 + mpeg? ( >=media-libs/libmpeg2-0.3.2 )
540 + mtp? ( >=media-libs/libmtp-1.0.0 )
541 + musepack? ( >=media-sound/musepack-tools-444 )
542 + ncurses? ( sys-libs/ncurses )
543 + nsplugin? ( || ( net-misc/npapi-sdk >=net-libs/xulrunner-1.9.2 )
544 + x11-libs/libXpm x11-libs/libXt x11-libs/libxcb x11-libs/xcb-util )
545 + ogg? ( media-libs/libogg )
546 + opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) )
547 + png? ( media-libs/libpng sys-libs/zlib )
548 + projectm? ( media-libs/libprojectm )
549 + pulseaudio? ( || ( >=media-sound/pulseaudio-0.9.22
550 + ( >=media-sound/pulseaudio-0.9.11 x11-libs/libX11 ) ) )
551 + qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 )
552 + remoteosd? ( >=dev-libs/libgcrypt-1.2.0 )
553 + samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) )
554 + schroedinger? ( >=media-libs/schroedinger-1.0.10 )
555 + sdl? ( >=media-libs/libsdl-1.2.8 x11-libs/libX11
556 + sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
557 + shout? ( media-libs/libshout )
558 + skins? (
559 + x11-libs/qt-gui:4 x11-libs/qt-core:4
560 + x11-libs/libXext x11-libs/libX11
561 + media-libs/freetype media-fonts/dejavu
562 + )
563 + speex? ( media-libs/speex )
564 + sqlite? ( >=dev-db/sqlite-3.6.0:3 )
565 + svg? ( >=gnome-base/librsvg-2.9.0 )
566 + svga? ( media-libs/svgalib )
567 + taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
568 + theora? ( >=media-libs/libtheora-1.0_beta3 )
569 + truetype? ( media-libs/freetype media-fonts/dejavu )
570 + twolame? ( media-sound/twolame )
571 + udev? ( >=sys-fs/udev-142 )
572 + upnp? ( net-libs/libupnp )
573 + v4l2? ( libv4l2? ( media-libs/libv4l ) )
574 + v4l? ( libv4l? ( media-libs/libv4l ) )
575 + vaapi? ( x11-libs/libva virtual/ffmpeg )
576 + vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
577 + vorbis? ( media-libs/libvorbis )
578 + win32codecs? ( media-libs/win32codecs )
579 + X? ( x11-libs/libX11 )
580 + x264? ( >=media-libs/x264-0.0.20090923 )
581 + xcb? ( x11-libs/libxcb x11-libs/xcb-util )
582 + xml? ( dev-libs/libxml2 )
583 + xosd? ( x11-libs/xosd )
584 + zvbi? ( >=media-libs/zvbi-0.2.25 )
585 + "
586 +
587 +DEPEND="${RDEPEND}
588 + !!<=media-video/vlc-1.0.99999
589 + alsa? ( >=media-sound/alsa-headers-1.0.23 )
590 + dvb? ( sys-kernel/linux-headers )
591 + kde? ( >=kde-base/kdelibs-4 )
592 + v4l? ( sys-kernel/linux-headers )
593 + v4l2? ( >=sys-kernel/linux-headers-2.6.25 )
594 + xcb? ( x11-proto/xproto )
595 + dev-util/pkgconfig"
596 +
597 +S="${WORKDIR}/${MY_P}"
598 +
599 +# Displays a warning if the first use flag is set but the second is not
600 +vlc_use_needs() {
601 + use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled."
602 +}
603 +
604 +# Notify the user that some useflag have been forced on
605 +vlc_use_force() {
606 + use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled."
607 +}
608 +
609 +# Use when $1 depends strictly on $2
610 +# if use $1 then enable $2
611 +vlc_use_enable_force() {
612 + use $1 && echo "--enable-$2"
613 +}
614 +
615 +pkg_setup() {
616 + # Useflags we need to forcefuly enable
617 + vlc_use_force remoteosd gcrypt
618 + vlc_use_force gnutls gcrypt
619 + vlc_use_force skins truetype
620 + vlc_use_force skins qt4
621 + vlc_use_force vlm stream
622 + vlc_use_force vaapi ffmpeg
623 + vlc_use_force nsplugin xcb
624 + has_version '<media-sound/pulseaudio-0.9.22' && vlc_use_force pulseaudio X
625 + vlc_use_force sdl X
626 + vlc_use_force aalib X
627 +
628 + # Useflags that will be automagically discarded if deps are not met
629 + vlc_use_needs bidi truetype
630 + vlc_use_needs cddb cdda
631 + vlc_use_needs fontconfig truetype
632 + vlc_use_needs libv4l2 v4l2
633 + vlc_use_needs libv4l v4l
634 + vlc_use_needs libtiger kate
635 + vlc_use_needs xv xcb
636 +
637 + if use qt4 || use skins ; then
638 + qt4_pkg_setup
639 + else
640 + ewarn "You have disabled the qt4 useflag, ${PN} will not have any"
641 + ewarn "graphical interface. Maybe that is not what you want..."
642 + fi
643 +}
644 +
645 +src_unpack() {
646 + unpack ${A}
647 + if [ "${PV%9999}" != "${PV}" ] ; then
648 + git_src_unpack
649 + fi
650 +}
651 +
652 +src_prepare() {
653 + if [ "${PV%9999}" != "${PV}" ] ; then
654 + git_src_prepare
655 + fi
656 + # Make it build with libtool 1.5
657 + rm -f m4/lt* m4/libtool.m4
658 +
659 + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
660 + epatch "${FILESDIR}"/0001-Support-building-against-NPAPI-SDK.patch
661 + eautoreconf
662 +}
663 +
664 +src_configure() {
665 +
666 + # It would fail if -fforce-addr is used due to too few registers...
667 + use x86 && filter-flags -fforce-addr
668 +
669 + econf \
670 + $(use_enable a52) \
671 + $(use_enable aalib aa) \
672 + $(use_enable aac faad) \
673 + $(use_enable alsa) \
674 + $(use_enable altivec) \
675 + --disable-asademux \
676 + $(use_enable atmo) \
677 + $(use_enable avahi bonjour) \
678 + $(use_enable bidi fribidi) \
679 + $(use_enable cdda vcd) \
680 + $(use_enable cddb libcddb) \
681 + $(use_enable dbus) $(use_enable dbus dbus-control) \
682 + $(use_enable dirac) \
683 + $(use_enable directfb) \
684 + $(use_enable dc1394) \
685 + $(use_enable debug) \
686 + $(use_enable dts dca) \
687 + $(use_enable dvb) \
688 + $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
689 + $(use_enable fbcon fb) \
690 + $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \
691 + $(use_enable flac) \
692 + $(use_enable fluidsynth) \
693 + $(use_enable fontconfig) \
694 + $(use_enable ggi) \
695 + $(use_enable gme) \
696 + $(use_enable gnome gnomevfs) \
697 + $(use_enable gnutls) \
698 + $(use_enable httpd) \
699 + $(use_enable id3tag) \
700 + $(use_enable ieee1394 dv) \
701 + $(use_enable jack) \
702 + $(use_enable kate) \
703 + $(use_with kde kde-solid) \
704 + $(use_enable libass) \
705 + $(use_enable libcaca caca) \
706 + $(use_enable gcrypt libgcrypt) \
707 + $(use_enable libnotify notify) \
708 + $(use_enable libproxy) \
709 + --disable-libtar \
710 + $(use_enable libtiger tiger) \
711 + $(use_enable libv4l) \
712 + $(use_enable libv4l2) \
713 + $(use_enable lirc) \
714 + $(use_enable live live555) \
715 + $(use_enable lua) \
716 + $(use_enable matroska mkv) \
717 + $(use_enable mmx) \
718 + $(use_enable modplug mod) \
719 + $(use_enable mp3 mad) \
720 + $(use_enable mpeg libmpeg2) \
721 + $(use_enable mtp) \
722 + $(use_enable musepack mpc) \
723 + $(use_enable ncurses) \
724 + $(use_enable nsplugin mozilla) --with-mozilla-pkg=libxul \
725 + $(use_enable ogg) \
726 + $(use_enable opengl glx) $(use_enable opengl) \
727 + $(use_enable optimisememory optimize-memory) \
728 + $(use_enable oss) \
729 + $(use_enable png) \
730 + --disable-portaudio \
731 + $(use_enable projectm) \
732 + $(use_enable pulseaudio pulse) \
733 + $(use_enable pvr) \
734 + $(use_enable qt4) \
735 + $(use_enable remoteosd) \
736 + $(use_enable rtsp realrtsp) \
737 + $(use_enable run-as-root) \
738 + $(use_enable samba smb) \
739 + $(use_enable schroedinger) \
740 + $(use_enable sdl) \
741 + $(use_enable sdl-image) \
742 + $(use_enable shine) \
743 + $(use_enable shout) \
744 + $(use_enable skins skins2) \
745 + $(use_enable speex) \
746 + $(use_enable sqlite) \
747 + $(use_enable sse) \
748 + $(use_enable stream sout) \
749 + $(use_enable svg) \
750 + $(use_enable svga svgalib) \
751 + $(use_enable taglib) \
752 + $(use_enable theora) \
753 + $(use_enable truetype freetype) \
754 + $(use_enable twolame) \
755 + $(use_enable udev) \
756 + $(use_enable upnp) \
757 + $(use_enable v4l) \
758 + $(use_enable v4l2) \
759 + $(use_enable vcdx) \
760 + $(use_enable vaapi libva) \
761 + $(use_enable vlm) \
762 + $(use_enable vorbis) \
763 + $(use_enable win32codecs loader) \
764 + $(use_enable wma-fixed) \
765 + $(use_with X x) \
766 + $(use_enable x264) \
767 + $(use_enable xcb) \
768 + $(use_enable xml libxml2) \
769 + $(use_enable xosd) \
770 + $(use_enable xv xvideo) \
771 + $(use_enable zvbi) $(use_enable !zvbi telx) \
772 + --disable-snapshot \
773 + --disable-growl \
774 + --disable-optimizations \
775 + --enable-fast-install \
776 + $(vlc_use_enable_force vlm sout) \
777 + $(vlc_use_enable_force skins qt4) \
778 + $(vlc_use_enable_force skins freetype) \
779 + $(vlc_use_enable_force remoteosd libgcrypt) \
780 + $(vlc_use_enable_force gnutls libgcrypt) \
781 + $(vlc_use_enable_force vaapi avcodec) \
782 + $(vlc_use_enable_force nsplugin xcb) \
783 + $(has_version '<media-sound/pulseaudio-0.9.22' && use pulseaudio && echo '--with-x') \
784 + $(use sdl && echo '--with-x') \
785 + $(use aalib && echo '--with-x')
786 +}
787 +
788 +src_install() {
789 + emake DESTDIR="${D}" install || die "make install failed"
790 +
791 + dodoc AUTHORS HACKING THANKS NEWS README \
792 + doc/fortunes.txt doc/intf-vcd.txt
793 +
794 + rm -rf "${D}/usr/share/doc/vlc" \
795 + "${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}
796 +
797 + if use nsplugin; then
798 + dodir "/usr/$(get_libdir)/${PLUGINS_DIR}"
799 + mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \
800 + "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/"
801 + fi
802 +
803 + use skins || rm -rf "${D}/usr/share/vlc/skins2"
804 +}
805 +
806 +pkg_postinst() {
807 + gnome2_pkg_postinst
808 +
809 + if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
810 + einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
811 + "/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
812 + else
813 + ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
814 + ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
815 + ewarn "If you do not do it, vlc will take a long time to load."
816 + fi
817 +}
818
819 diff --git a/net-misc/npapi-sdk/Manifest b/net-misc/npapi-sdk/Manifest
820 new file mode 100644
821 index 0000000..d59e9a1
822 --- /dev/null
823 +++ b/net-misc/npapi-sdk/Manifest
824 @@ -0,0 +1,14 @@
825 +-----BEGIN PGP SIGNED MESSAGE-----
826 +Hash: SHA256
827 +
828 +EBUILD npapi-sdk-9999.ebuild 620 RMD160 3ee22df2547dc41589fad679ac11c347a676f9d7 SHA1 e439e13f6e1983aa1a530858d3fd5462879aabb9 SHA256 65fefa794de9023de96ce4d070185169bc989f10e9f088a4f87f67179027a4c2
829 +MISC metadata.xml 255 RMD160 b5f39d5799b7c36dbd279e5433753376c082afa8 SHA1 a4698c0973522834fc27ba7dc0757453338268af SHA256 fbdf23d280480a82b5640acbe75500ca6067b5f565223f62fbd525bda216b972
830 +-----BEGIN PGP SIGNATURE-----
831 +Version: GnuPG v2.0.18 (GNU/Linux)
832 +
833 +iJwEAQEIAAYFAk5dGDMACgkQfXuS5UK5QB1B1AP/WX+vrsHwpRQfIguQ+WcilqbN
834 +Lfm+0cshg9JsPHdmb7QaosLQQiyR+Czcpb+LPuO01ixD5IrEko5077eZaOTB7zvq
835 +EqKWkjWivT+7raNA9Ix092SoW1uUUhmACtCIVuOI4dNXRzKcvzkrVCTTrWf3hgiA
836 +VWFFAoIVWvwBa3I26NY=
837 +=aHQ6
838 +-----END PGP SIGNATURE-----
839
840 diff --git a/net-misc/npapi-sdk/metadata.xml b/net-misc/npapi-sdk/metadata.xml
841 new file mode 100644
842 index 0000000..af81389
843 --- /dev/null
844 +++ b/net-misc/npapi-sdk/metadata.xml
845 @@ -0,0 +1,9 @@
846 +<?xml version="1.0" encoding="UTF-8"?>
847 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
848 +<pkgmetadata>
849 + <herd>no-herd</herd>
850 + <maintainer>
851 + <email>mgorny@g.o</email>
852 + <name>Michał Górny</name>
853 + </maintainer>
854 +</pkgmetadata>
855
856 diff --git a/net-misc/npapi-sdk/npapi-sdk-9999.ebuild b/net-misc/npapi-sdk/npapi-sdk-9999.ebuild
857 new file mode 100644
858 index 0000000..01d95ad
859 --- /dev/null
860 +++ b/net-misc/npapi-sdk/npapi-sdk-9999.ebuild
861 @@ -0,0 +1,33 @@
862 +# Copyright 1999-2011 Gentoo Foundation
863 +# Distributed under the terms of the GNU General Public License v2
864 +# $Header: $
865 +
866 +EAPI=4
867 +inherit autotools-utils
868 +
869 +#if LIVE
870 +EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
871 + http://github.com/mgorny/${PN}.git"
872 +inherit autotools git-2
873 +#endif
874 +
875 +DESCRIPTION="NPAPI headers bundle"
876 +HOMEPAGE="https://github.com/mgorny/npapi-sdk/"
877 +SRC_URI="http://cloud.github.com/downloads/mgorny/${PN}/${P}.tar.bz2"
878 +
879 +LICENSE="MPL-1.1"
880 +SLOT="0"
881 +KEYWORDS="~amd64 ~x86"
882 +IUSE=""
883 +
884 +RDEPEND="!net-libs/xulrunner"
885 +#if LIVE
886 +
887 +KEYWORDS=
888 +SRC_URI=
889 +
890 +src_prepare() {
891 + autotools-utils_src_prepare
892 + eautoreconf
893 +}
894 +#endif