summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-04-10 08:54:29 +0200
committerJeroen Roovers <jer@gentoo.org>2020-04-10 08:55:31 +0200
commitfa62ad31de9b01c8fe38e02acca23b06cd6a6004 (patch)
tree6868ca8d59abf222a5718260b3d314336c6f5012 /x11-libs
parentnet-mail/mailman: Allow Python 3.7 (diff)
downloadgentoo-fa62ad31de9b01c8fe38e02acca23b06cd6a6004.tar.gz
gentoo-fa62ad31de9b01c8fe38e02acca23b06cd6a6004.tar.bz2
gentoo-fa62ad31de9b01c8fe38e02acca23b06cd6a6004.zip
x11-libs/libvdpau: Version 1.4
Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libvdpau/Manifest1
-rw-r--r--x11-libs/libvdpau/libvdpau-1.4.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/x11-libs/libvdpau/Manifest b/x11-libs/libvdpau/Manifest
index efdd5694ada3..dfb193c70bd2 100644
--- a/x11-libs/libvdpau/Manifest
+++ b/x11-libs/libvdpau/Manifest
@@ -1,2 +1,3 @@
DIST libvdpau-1.3.tar.bz2 139009 BLAKE2B d535c7723638339d4e67002721e9d0d8aae89a6001fccc41d9c3b21d52f0fae9237705bca448fbf1c244dd7eeb71f5fc74ed81f05c975bed798fce503a571c90 SHA512 c06c23062816e8b207d38d9d53df43a1b193bb9836b48bd6d79a63d76522e87d383c446285b9877fe9c99faa0d290da8a49ccbb58eefa138cc38d0929a8e1330
+DIST libvdpau-1.4.tar.bz2 139525 BLAKE2B 74c56d8d26b0dc3eb0658ef4c61cb18a6b2008c65dd0ef63e7d244d90366c64842708e07b9b1ef28f8a2b67d1ebc331bd83ee1968d80489531d3e90c6197ebf2 SHA512 2eeb4cddf7ea58cb59a6ac6cc49094d47910f60035ceea752756d9d817a189c95b268ef6819bb5fd7af5addc4f6eb6482f1bf8ca7f25840ef522a79ddab96805
DIST libvdpau-libvdpau-1.2.tar.bz2 140017 BLAKE2B 0420961c48fcd5c92e7e98f84f629946f6234c28781bd7d8c9eb4aa2ab11b76e89e05f50cc423a2935b3376ff3b919ad9e6ef1710ff3549369567f298b5efa50 SHA512 f76c2283a1bd2e854aa6b86a564f7f08c1ff7da34e971c7c39f36e77fbd51fe0440d1ba01bff0b80be6c0326817ee4e6bff719dbe8dbf5e1ec7a94fad5016b7e
diff --git a/x11-libs/libvdpau/libvdpau-1.4.ebuild b/x11-libs/libvdpau/libvdpau-1.4.ebuild
new file mode 100644
index 000000000000..d971e801f496
--- /dev/null
+++ b/x11-libs/libvdpau/libvdpau-1.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+VIRTUALX_REQUIRED="test"
+inherit flag-o-matic meson virtualx multilib-minimal
+
+DESCRIPTION="VDPAU wrapper and trace libraries"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/VDPAU"
+SRC_URI="https://gitlab.freedesktop.org/vdpau/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~x86"
+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 )
+"
+S=${WORKDIR}/${PN}-${P}
+
+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
+}