Bug 262647

Summary: multimedia/libxine: Packaging fails when WAYLAND option is disabled
Product: Ports & Packages Reporter: Olivier Certner <olce>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix none

Description Olivier Certner freebsd_committer freebsd_triage 2022-03-18 14:09:24 UTC
Error is:

pkg-static: Unable to access file /usr/ports/multimedia/libxine/work/stage/usr/local/lib/xine/plugins/2.10/xineplug_va_display_wl.so:No such file or directory

Prefixing by %%WAYLAND%% in the pkg-plist fixes the problem.

Patch attached.
Comment 1 Olivier Certner freebsd_committer freebsd_triage 2022-03-18 14:14:57 UTC
Created attachment 232552 [details]
Fix
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-23 15:38:05 UTC
A commit in branch main references this bug:

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(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-03-23 15:38:41 UTC
Committed,

Thanks!