diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-27 18:38:06 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-06-03 18:14:15 -0700 |
commit | 314ab3c52435ecd859b551e730eecec3af16d92b (patch) | |
tree | 93e07ec3926ea8356f1feffbc36ca4066d0d799c /x11-libs/libvdpau | |
parent | x11-libs/libnotify: Switch to meson-multilib (diff) | |
download | gentoo-314ab3c52435ecd859b551e730eecec3af16d92b.tar.gz gentoo-314ab3c52435ecd859b551e730eecec3af16d92b.tar.bz2 gentoo-314ab3c52435ecd859b551e730eecec3af16d92b.zip |
x11-libs/libvdpau: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/libvdpau')
-rw-r--r-- | x11-libs/libvdpau/libvdpau-1.4.ebuild | 14 | ||||
-rw-r--r-- | x11-libs/libvdpau/libvdpau-99999.ebuild | 14 |
2 files changed, 6 insertions, 22 deletions
diff --git a/x11-libs/libvdpau/libvdpau-1.4.ebuild b/x11-libs/libvdpau/libvdpau-1.4.ebuild index a531acdf58b4..ab328e5779fd 100644 --- a/x11-libs/libvdpau/libvdpau-1.4.ebuild +++ b/x11-libs/libvdpau/libvdpau-1.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 VIRTUALX_REQUIRED="test" -inherit flag-o-matic meson virtualx multilib-minimal +inherit flag-o-matic meson-multilib virtualx DESCRIPTION="VDPAU wrapper and trace libraries" HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU" @@ -38,20 +38,12 @@ src_prepare() { multilib_src_configure() { append-cppflags -D_GNU_SOURCE local emesonargs=( - -Ddri2=$(usex dri true false) - -Ddocumentation=$(usex doc true false) + $(meson_use dri dri2) + $(meson_native_use_bool doc documentation) ) 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 -} diff --git a/x11-libs/libvdpau/libvdpau-99999.ebuild b/x11-libs/libvdpau/libvdpau-99999.ebuild index c5bd93bb1cb6..2817d03b9638 100644 --- a/x11-libs/libvdpau/libvdpau-99999.ebuild +++ b/x11-libs/libvdpau/libvdpau-99999.ebuild @@ -3,7 +3,7 @@ EAPI=7 VIRTUALX_REQUIRED="test" -inherit flag-o-matic git-r3 meson virtualx multilib-minimal +inherit flag-o-matic git-r3 meson-multilib virtualx DESCRIPTION="VDPAU wrapper and trace libraries" HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU" @@ -38,20 +38,12 @@ src_prepare() { multilib_src_configure() { append-cppflags -D_GNU_SOURCE local emesonargs=( - -Ddri2=$(usex dri true false) - -Ddocumentation=$(usex doc true false) + $(meson_use dri dri2) + $(meson_native_use_bool doc documentation) ) 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 -} |