diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-02-28 23:10:53 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-02-28 23:11:09 +0100 |
commit | 6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1 (patch) | |
tree | 9f5423dfdfbd79f4873b7c343f8a4e94800a37b8 /x11-libs/libvdpau | |
parent | x11-libs/libvdpau: Drop .la files (diff) | |
download | gentoo-6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1.tar.gz gentoo-6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1.tar.bz2 gentoo-6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1.zip |
x11-libs/libvdpau: Add live ebuild
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-libs/libvdpau')
-rw-r--r-- | x11-libs/libvdpau/libvdpau-99999.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/x11-libs/libvdpau/libvdpau-99999.ebuild b/x11-libs/libvdpau/libvdpau-99999.ebuild new file mode 100644 index 000000000000..ecc84d2648b3 --- /dev/null +++ b/x11-libs/libvdpau/libvdpau-99999.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VIRTUALX_REQUIRED="test" +inherit flag-o-matic git-r3 meson virtualx multilib-minimal + +DESCRIPTION="VDPAU wrapper and trace libraries" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU" +EGIT_REPO_URI="https://gitlab.freedesktop.org/vdpau/${PN}/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="doc dri" + +RDEPEND=" + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + dri? ( >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + doc? ( + app-doc/doxygen + media-gfx/graphviz + virtual/latex-base + ) + dri? ( x11-base/xorg-proto ) +" + +src_prepare() { + sed -i -e "/^docdir/s|${PN}|${PF}|g" doc/meson.build || die + default +} + +multilib_src_configure() { + append-cppflags -D_GNU_SOURCE + local emesonargs=( + -Ddri2=$(usex dri true false) + -Ddocumentation=$(usex doc true false) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} +multilib_src_test() { + virtx meson_src_test +} + +multilib_src_install() { + meson_src_install + find "${ED}" -name '*.la' -delete || die +} |