[virtual/ffmpeg] new virtual, supporting true multilib for both libav and ffmpeg

This is used by our emul-linux-x86-medialibs
This commit is contained in:
Fabio Erculiani
2013-11-12 10:15:40 +01:00
parent 241ed7ea0c
commit 10cd09f09c
2 changed files with 36 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit multilib-build
DESCRIPTION="Virtual package for FFmpeg implementation"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
IUSE="X +encode gsm jpeg2k mp3 sdl speex theora threads truetype vaapi vdpau x264"
RDEPEND="
|| (
>=media-video/ffmpeg-0.10.8:0[X?,encode?,gsm?,jpeg2k?,mp3?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?,${MULTILIB_USEDEP}]
>=media-video/libav-0.8.9-r1[X?,encode?,gsm?,jpeg2k?,mp3?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?,${MULTILIB_USEDEP}]
)
"
DEPEND=""
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>video</herd>
<maintainer>
<email>media-video@gentoo.org</email>
</maintainer>
<use>
<flag name="opus">Use the external opus library for encoding and decoding.</flag>
<flag name="vaapi">Enables VAAPI (Video Acceleration API) for hardware decoding</flag>
</use>
</pkgmetadata>