[Bug 266794] Mk/Scripts/qa.sh: Fix USES=desktop-file-utils check when MimeType= isn't present

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Oct 2022 15:49:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266794

            Bug ID: 266794
           Summary: Mk/Scripts/qa.sh: Fix USES=desktop-file-utils check
                    when MimeType= isn't present
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 237050
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237050&action=edit
patch

Currently qa.sh looks for the MimeType= tag in share/applications/*.desktop
This tag isn't required and is sometimes missing, for example for the .desktop
file installed by audio/qjackctl.

The attached patch fixes this problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.