Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libvdpau/
Date: Thu, 28 Feb 2019 21:40:33
Message-Id: 1551390025.7a23b9bba3f0e68881bdd660553ac860cef5d005.jer@gentoo
1 commit: 7a23b9bba3f0e68881bdd660553ac860cef5d005
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 28 21:40:16 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 21:40:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a23b9bb
7
8 x11-libs/libvdpau: Version 1.2
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-libs/libvdpau/Manifest | 1 +
14 x11-libs/libvdpau/libvdpau-1.2.ebuild | 50 +++++++++++++++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/x11-libs/libvdpau/Manifest b/x11-libs/libvdpau/Manifest
18 index 349ebbbc5bd..2dfe563abd9 100644
19 --- a/x11-libs/libvdpau/Manifest
20 +++ b/x11-libs/libvdpau/Manifest
21 @@ -1 +1,2 @@
22 DIST libvdpau-1.1.1.tar.gz 541752 BLAKE2B 346dad1ee83193fb489a67016874b1cb9eccc88833766f1df987ed7369078cf259c168546d64ab847d81baceb4e4969d859c29a4081befbe100925d457dfb6df SHA512 e094494fc820c2395c9dbb4e69daa89334b9186e2ad1a6c06671c7f844568db191ce4d1d9df95c4536579864bcc8541eb6fd159c377bc73c228cdf2a0fea50fb
23 +DIST libvdpau-libvdpau-1.2.tar.bz2 140017 BLAKE2B 0420961c48fcd5c92e7e98f84f629946f6234c28781bd7d8c9eb4aa2ab11b76e89e05f50cc423a2935b3376ff3b919ad9e6ef1710ff3549369567f298b5efa50 SHA512 f76c2283a1bd2e854aa6b86a564f7f08c1ff7da34e971c7c39f36e77fbd51fe0440d1ba01bff0b80be6c0326817ee4e6bff719dbe8dbf5e1ec7a94fad5016b7e
24
25 diff --git a/x11-libs/libvdpau/libvdpau-1.2.ebuild b/x11-libs/libvdpau/libvdpau-1.2.ebuild
26 new file mode 100644
27 index 00000000000..b0205ff8244
28 --- /dev/null
29 +++ b/x11-libs/libvdpau/libvdpau-1.2.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +VIRTUALX_REQUIRED="test"
36 +inherit autotools flag-o-matic virtualx multilib-minimal
37 +
38 +DESCRIPTION="VDPAU wrapper and trace libraries"
39 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU"
40 +SRC_URI="https://gitlab.freedesktop.org/vdpau/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm64 ~x86 ~amd64-fbsd ~x86-fbsd"
45 +IUSE="doc dri"
46 +
47 +RDEPEND="
48 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
49 + dri? ( >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] )
50 +"
51 +DEPEND="
52 + ${RDEPEND}
53 + virtual/pkgconfig
54 + doc? (
55 + app-doc/doxygen
56 + media-gfx/graphviz
57 + virtual/latex-base
58 + )
59 + dri? ( x11-base/xorg-proto )
60 +"
61 +S=${WORKDIR}/${PN}-${P}
62 +
63 +src_prepare() {
64 + default
65 + eautoreconf
66 +
67 + multilib_copy_sources
68 +}
69 +
70 +multilib_src_configure() {
71 + append-cppflags -D_GNU_SOURCE
72 + econf \
73 + $(use dri || echo --disable-dri2) \
74 + $(use_enable doc documentation) \
75 + --docdir="${EPREFIX}"/usr/share/doc/${PF}
76 +}
77 +
78 +multilib_src_test() {
79 + virtx emake check
80 +}