/[gentoo-x86]/media-video/hwdecode-demos/hwdecode-demos-0.9.5.ebuild
Gentoo

Contents of /media-video/hwdecode-demos/hwdecode-demos-0.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 17 21:30:01 2013 UTC (19 months, 1 week ago) by aballier
Branch: MAIN
Changes since 1.3: +6 -3 lines
Fix build with latest ffmpeg. Part of bug #443430

(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/hwdecode-demos/hwdecode-demos-0.9.5.ebuild,v 1.3 2012/05/05 08:58:59 jdhore Exp $
4
5 EAPI=2
6
7 inherit base
8
9 DESCRIPTION="Standalone programs showing off various HW acceleration APIs"
10 HOMEPAGE="http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/"
11 SRC_URI="http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE="opengl vaapi vdpau"
17
18 RDEPEND="virtual/ffmpeg
19 opengl? ( virtual/opengl virtual/glu )
20 vaapi? ( x11-libs/libva )
21 vdpau? ( x11-libs/libvdpau )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 PATCHES=(
26 "${FILESDIR}/ffmpeg.patch"
27 "${FILESDIR}/ffmpeg-1.patch"
28 )
29
30 src_configure() {
31 econf \
32 --disable-crystalhd \
33 $(use_enable opengl glx) \
34 $(use_enable vaapi) \
35 $(use_enable vdpau) \
36 --disable-xvba
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install || die
41 dodoc NEWS README
42 }

  ViewVC Help
Powered by ViewVC 1.1.20