Bug 262647 - multimedia/libxine: Packaging fails when WAYLAND option is disabled
Summary: multimedia/libxine: Packaging fails when WAYLAND option is disabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-18 14:09 UTC by Olivier Certner
Modified: 2022-03-23 15:38 UTC (History)
1 user (show)

See Also:


Attachments
Fix (992 bytes, patch)
2022-03-18 14:14 UTC, Olivier Certner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!