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, 29 Aug 2019 05:26:57
Message-Id: 1567056398.d6b13dd81f28c88e23fad47930c5c591718aba4b.jer@gentoo
1 commit: d6b13dd81f28c88e23fad47930c5c591718aba4b
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 29 05:25:15 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 29 05:26:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b13dd8
7
8 x11-libs/libvdpau: Version 1.3
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-libs/libvdpau/Manifest | 1 +
14 x11-libs/libvdpau/libvdpau-1.3.ebuild | 56 +++++++++++++++++++++++++++++++++++
15 2 files changed, 57 insertions(+)
16
17 diff --git a/x11-libs/libvdpau/Manifest b/x11-libs/libvdpau/Manifest
18 index 1e330c7a150..efdd5694ada 100644
19 --- a/x11-libs/libvdpau/Manifest
20 +++ b/x11-libs/libvdpau/Manifest
21 @@ -1 +1,2 @@
22 +DIST libvdpau-1.3.tar.bz2 139009 BLAKE2B d535c7723638339d4e67002721e9d0d8aae89a6001fccc41d9c3b21d52f0fae9237705bca448fbf1c244dd7eeb71f5fc74ed81f05c975bed798fce503a571c90 SHA512 c06c23062816e8b207d38d9d53df43a1b193bb9836b48bd6d79a63d76522e87d383c446285b9877fe9c99faa0d290da8a49ccbb58eefa138cc38d0929a8e1330
23 DIST libvdpau-libvdpau-1.2.tar.bz2 140017 BLAKE2B 0420961c48fcd5c92e7e98f84f629946f6234c28781bd7d8c9eb4aa2ab11b76e89e05f50cc423a2935b3376ff3b919ad9e6ef1710ff3549369567f298b5efa50 SHA512 f76c2283a1bd2e854aa6b86a564f7f08c1ff7da34e971c7c39f36e77fbd51fe0440d1ba01bff0b80be6c0326817ee4e6bff719dbe8dbf5e1ec7a94fad5016b7e
24
25 diff --git a/x11-libs/libvdpau/libvdpau-1.3.ebuild b/x11-libs/libvdpau/libvdpau-1.3.ebuild
26 new file mode 100644
27 index 00000000000..2dc4d12a5fa
28 --- /dev/null
29 +++ b/x11-libs/libvdpau/libvdpau-1.3.ebuild
30 @@ -0,0 +1,56 @@
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 flag-o-matic meson 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/${PV}/${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 +
62 +src_prepare() {
63 + sed -i -e "/^docdir/s|${PN}|${PF}|g" doc/meson.build || die
64 + default
65 +}
66 +
67 +multilib_src_configure() {
68 + append-cppflags -D_GNU_SOURCE
69 + local emesonargs=(
70 + -Ddri2=$(usex dri true false)
71 + -Ddocumentation=$(usex doc true false)
72 + )
73 + meson_src_configure
74 +}
75 +
76 +multilib_src_compile() {
77 + meson_src_compile
78 +}
79 +multilib_src_test() {
80 + virtx meson_src_test
81 +}
82 +
83 +multilib_src_install() {
84 + meson_src_install
85 + find "${ED}" -name '*.la' -delete || die
86 +}