git: 8113a4a24828 - main - multimedia/libxine: Fix conditional pkg-plist

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 23 Mar 2022 15:37:43 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8113a4a248287f00ddc523533a048dbe0a0e089a

commit 8113a4a248287f00ddc523533a048dbe0a0e089a
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2022-03-23 09:24:15 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-03-23 15:35:46 +0000

    multimedia/libxine: Fix conditional pkg-plist
    
    Fixes pkg-plist when:
    
    * WAYLAND option is disabled
    * VAAPI option is disabled
    
    PR:     262715 262647
    Reported by:    Olivier Certner <olivier.freebsd@free.fr>, russo@bogodyn.org
---
 multimedia/libxine/pkg-plist | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/multimedia/libxine/pkg-plist b/multimedia/libxine/pkg-plist
index f7d745d6960c..ef0cd825e3f3 100644
--- a/multimedia/libxine/pkg-plist
+++ b/multimedia/libxine/pkg-plist
@@ -58,11 +58,11 @@ lib/libxine.so.2.10.0
 %%PLUGINSDIR%%/post/xineplug_post_switch.so
 %%PLUGINSDIR%%/post/xineplug_post_tvtime.so
 %%PLUGINSDIR%%/post/xineplug_post_visualizations.so
-%%PLUGINSDIR%%/xineplug_hw_frame_vaapi.so
-%%PLUGINSDIR%%/xineplug_va_display_drm.so
-%%PLUGINSDIR%%/xineplug_va_display_glx.so
-%%PLUGINSDIR%%/xineplug_va_display_wl.so
-%%PLUGINSDIR%%/xineplug_va_display_x11.so
+%%VAAPI%%%%PLUGINSDIR%%/xineplug_hw_frame_vaapi.so
+%%VAAPI%%%%PLUGINSDIR%%/xineplug_va_display_drm.so
+%%VAAPI%%%%PLUGINSDIR%%/xineplug_va_display_glx.so
+%%WAYLAND%%%%PLUGINSDIR%%/xineplug_va_display_wl.so
+%%VAAPI%%%%PLUGINSDIR%%/xineplug_va_display_x11.so
 %%ALSA%%%%PLUGINSDIR%%/xineplug_ao_out_alsa.so
 %%JACK%%%%PLUGINSDIR%%/xineplug_ao_out_jack.so
 %%PLUGINSDIR%%/xineplug_ao_out_oss.so