[Bug 262715] multimedia/libxine: packaging fails if optional packages not selected

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Mar 2022 03:21:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262715

            Bug ID: 262715
           Summary: multimedia/libxine: packaging fails if optional
                    packages not selected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: russo@bogodyn.org

This is similar to but not exactly bug 262647.

When I try to update libxine or build it from scratch after deleting, I get
numerous packaging errors:

pkg-static: Unable to access file
/usr/ports/multimedia/libxine/work/stage/usr/local/lib/xine/plugins/2.10/xineplug_hw_frame_vaapi.so:No
such file or directory
pkg-static: Unable to access file
/usr/ports/multimedia/libxine/work/stage/usr/local/lib/xine/plugins/2.10/xineplug_va_display_drm.so:No
such file or directory
pkg-static: Unable to access file
/usr/ports/multimedia/libxine/work/stage/usr/local/lib/xine/plugins/2.10/xineplug_va_display_glx.so:No
such file or directory
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
pkg-static: Unable to access file
/usr/ports/multimedia/libxine/work/stage/usr/local/lib/xine/plugins/2.10/xineplug_va_display_x11.so:No
such file or directory
*** Error code 1


The xplugin_va_display_wl issue is the subject of 262647.  

All of these plugins were added in the March 10th update, and it seems they
also need protecting when the associated option is not selected.  I can't see
which options immediately correspond to which plugins.

My current install of libxine has the following options:

Options        :
        AALIB          : off
        ALSA           : off
        AOM            : off
        CACA           : off
        DAV1D          : off
        DMX_IMAGE      : off
        DOCS           : on
        DVB            : on
        GNUTLS         : off
        IMAGEMAGICK    : off
        IPV6           : on
        JACK           : off
        LIBBLURAY      : off
        NFS            : off
        NLS            : on
        OPENSSL        : on
        PIXBUF         : off
        PULSEAUDIO     : off
        SDL            : off
        SFTP           : off
        SMB            : off
        SNDIO          : off
        V4L            : off
        VAAPI          : off
        WAVPACK        : off
        WAYLAND        : off
        XVMC           : off


and I'd rather not enable things that I'm not using when there are options to
turn them off.

-- 
You are receiving this mail because:
You are the assignee for the bug.