From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46FA3138334 for ; Thu, 28 Feb 2019 22:11:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF721E0874; Thu, 28 Feb 2019 22:11:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2857E0874 for ; Thu, 28 Feb 2019 22:11:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E95EF335C7A for ; Thu, 28 Feb 2019 22:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8F47551 for ; Thu, 28 Feb 2019 22:11:11 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1551391869.6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libvdpau/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libvdpau/libvdpau-99999.ebuild X-VCS-Directories: x11-libs/libvdpau/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1 X-VCS-Branch: master Date: Thu, 28 Feb 2019 22:11:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5589034f-4ed3-4289-bed1-8f61b73ebec6 X-Archives-Hash: 77b27c500992077831bec3cb386a1644 commit: 6571257c67a8e9f3fd5eb8ef5e9c5a0dab9ac7f1 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Feb 28 22:10:53 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Feb 28 22:11:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6571257c x11-libs/libvdpau: Add live ebuild Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> x11-libs/libvdpau/libvdpau-99999.ebuild | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/x11-libs/libvdpau/libvdpau-99999.ebuild b/x11-libs/libvdpau/libvdpau-99999.ebuild new file mode 100644 index 00000000000..ecc84d2648b --- /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 +}