Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-vaapi/
Date: Tue, 29 Dec 2015 13:42:40
Message-Id: 1451396458.87e7fa87c6819ebac10c103af9720a05c65f18e9.pacho@gentoo
1 commit: 87e7fa87c6819ebac10c103af9720a05c65f18e9
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 13:40:58 2015 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 13:40:58 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e7fa87
7
8 media-plugins/gst-plugins-vaapi: Version bump
9
10 Package-Manager: portage-2.2.26
11
12 media-plugins/gst-plugins-vaapi/Manifest | 1 +
13 .../gst-plugins-vaapi-0.7.0.ebuild | 60 ++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest
17 index fd0de24..7891d83 100644
18 --- a/media-plugins/gst-plugins-vaapi/Manifest
19 +++ b/media-plugins/gst-plugins-vaapi/Manifest
20 @@ -1 +1,2 @@
21 DIST gstreamer-vaapi-0.6.1.tar.bz2 1403160 SHA256 36fc8afeb7ec679ea8df34671a34dba57dcc0b66255fb0991acb485e3efd67b3 SHA512 94dab46414da2b43b9f0fc119c8d901848ad637b1161644888072a733423c60c2b858a37467fc26a4341133c88940304fc70fd328dde9ac0bfba129722771ea8 WHIRLPOOL 49efe4f708810bc786c78f0950ed8249bcbb44113f8a3ce3518ef26eb5168397053314030d324b45346cf50c539d92c0aca5993e949b572a74772da025c4a7af
22 +DIST gstreamer-vaapi-0.7.0.tar.bz2 2362818 SHA256 abe8ea4dfb3177d038b38610537c651b943707ed110882782a19b95a9ea04a92 SHA512 8594b97320b34c586fde0ab76f44cd6b8ee2404101259a65d2a457a89d75f158368c35471d85d82cd47beb5163fb075142fc2aeb0364566e1da7971a98a92357 WHIRLPOOL 4624d59a88482896da43da940c203181dcf66cd1ede82faa45efe200d30e1efda6872f08b758df2deadbce1fee476815ef0653f45234da81c1590c953ca613d5
23
24 diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.7.0.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.7.0.ebuild
25 new file mode 100644
26 index 0000000..c2d0d53
27 --- /dev/null
28 +++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.7.0.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +
36 +inherit eutils multilib-minimal
37 +
38 +MY_PN="gstreamer-vaapi"
39 +DESCRIPTION="Hardware accelerated video decoding through VA-API plugin"
40 +HOMEPAGE="https://github.com/01org/gstreamer-vaapi"
41 +SRC_URI="http://www.freedesktop.org/software/vaapi/releases/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="1.0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="+drm opengl wayland +X"
47 +REQUIRED_USE="|| ( drm opengl wayland X )"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
51 + >=media-libs/gstreamer-1.6:1.0[${MULTILIB_USEDEP}]
52 + >=media-libs/gst-plugins-base-1.6:1.0[${MULTILIB_USEDEP}]
53 + >=media-libs/gst-plugins-bad-1.6:1.0[opengl?,${MULTILIB_USEDEP}]
54 + >=x11-libs/libva-1.4.0[drm?,X?,opengl?,wayland?,${MULTILIB_USEDEP}]
55 + drm? (
56 + >=virtual/libudev-208:=[${MULTILIB_USEDEP}]
57 + >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] )
58 + X? (
59 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
60 + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] )
61 + opengl? (
62 + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
63 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
64 + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] )
65 + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )
66 +"
67 +DEPEND="${RDEPEND}
68 + >=dev-util/gtk-doc-am-1.12
69 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
70 +"
71 +
72 +S="${WORKDIR}/${MY_PN}-${PV}"
73 +
74 +multilib_src_configure() {
75 + ECONF_SOURCE=${S} \
76 + econf \
77 + --enable-builtin-libvpx=no \
78 + --disable-static \
79 + --enable-egl \
80 + $(use_enable drm) \
81 + $(use_enable opengl glx) \
82 + $(use_enable wayland) \
83 + $(use_enable X x11)
84 +}
85 +
86 +multilib_src_install_all() {
87 + einstalldocs
88 + prune_libtool_files --modules
89 +}