Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libva: add wayland build_option
@ 2019-10-15  4:42 voidlinux-github
  2019-10-15 19:13 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-15  4:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is a new pull request by ioraff against master on the void-packages repository

https://github.com/ioraff/void-packages libva
https://github.com/void-linux/void-packages/pull/15480

libva: add wayland build_option


A patch file from https://github.com/void-linux/void-packages/pull/15480.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libva-15480.patch --]
[-- Type: text/x-diff, Size: 1641 bytes --]

From d67188723cd9f9ddc2542c5946d17414ab009ffc Mon Sep 17 00:00:00 2001
From: Owen Rafferty <owenr@fferty.me>
Date: Mon, 14 Oct 2019 23:40:44 -0500
Subject: [PATCH] libva: add wayland build_option

---
 srcpkgs/libva/template | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/libva/template b/srcpkgs/libva/template
index 9e38a090ece..dec3914117d 100644
--- a/srcpkgs/libva/template
+++ b/srcpkgs/libva/template
@@ -3,9 +3,11 @@ pkgname=libva
 version=2.5.0
 revision=1
 build_style=meson
-configure_args="-Dwith_glx=no -Dwith_wayland=yes -Dwith_egl=yes"
-hostmakedepends="pkg-config wayland-devel"
-makedepends="libXfixes-devel libXext-devel libdrm-devel wayland-devel"
+configure_args="-Dwith_glx=no $(vopt_if wayland -Dwith_wayland=yes)
+ -Dwith_egl=yes"
+hostmakedepends="pkg-config $(vopt_if wayland wayland-devel)"
+makedepends="libXfixes-devel libXext-devel libdrm-devel
+ $(vopt_if wayland wayland-devel)"
 short_desc="Video Acceleration (VA) API"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
@@ -14,12 +16,15 @@ changelog="https://raw.githubusercontent.com/intel/libva/master/NEWS"
 distfiles="https://github.com/intel/libva/archive/${version}.tar.gz"
 checksum=9b6264dade6b6d3edb59c6c4f3c9217d1d5a195635fc07da875d565f58624418
 
+build_options="wayland"
+build_options_default="wayland"
+
 post_install() {
 	vlicense COPYING
 }
 
 libva-devel_package() {
-	depends="wayland-devel ${sourcepkg}>=${version}_${revision}"
+	depends="$(vopt_if wayland wayland-devel) ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: libva: add wayland build_option
  2019-10-15  4:42 [PR PATCH] libva: add wayland build_option voidlinux-github
@ 2019-10-15 19:13 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-15 19:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

There's a merged pull request on the void-packages repository

libva: add wayland build_option
https://github.com/void-linux/void-packages/pull/15480

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-15 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15  4:42 [PR PATCH] libva: add wayland build_option voidlinux-github
2019-10-15 19:13 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).