diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /x11-libs/libvdpau/libvdpau-1.5.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'x11-libs/libvdpau/libvdpau-1.5.ebuild')
-rw-r--r-- | x11-libs/libvdpau/libvdpau-1.5.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-libs/libvdpau/libvdpau-1.5.ebuild b/x11-libs/libvdpau/libvdpau-1.5.ebuild new file mode 100644 index 000000000000..6e035344ce97 --- /dev/null +++ b/x11-libs/libvdpau/libvdpau-1.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib virtualx + +DESCRIPTION="VDPAU wrapper and trace libraries" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU" +SRC_URI="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~riscv ~x86" +IUSE="doc dri" + +RDEPEND=" + x11-libs/libX11[${MULTILIB_USEDEP}] + dri? ( x11-libs/libXext[${MULTILIB_USEDEP}] )" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + media-gfx/graphviz + virtual/latex-base + )" + +src_prepare() { + default + + sed -i "/^docdir/s|${PN}|${PF}|" doc/meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_bool doc documentation) + $(meson_use dri dri2) + ) + + meson_src_configure +} + +multilib_src_test() { + virtx meson_src_test +} |