[Bug 258107] audio/audacity: Upgrade to 3.0.5

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 09 Oct 2021 09:09:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258107

--- Comment #46 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Jack from comment #45)

Sorry, 3.0.5 still has the empty directory issue.
If "@${FIND} ${STAGEDIR} -type d -empty -delete" is to be removed, the
following part of audacity-Audacity-3.0.5/src/CMakeLists.txt must not be
executed.

   # Copy the required wxWidgets libs into the bundle
   add_custom_command(
      TARGET
         ${TARGET}
      COMMAND
         ${CMAKE_COMMAND} -D SRC="${_EXEDIR}/audacity"
                          -D DST="${_DEST}/${_PKGLIB}"
                          -D WXWIN="${_SHARED_PROXY_BASE_PATH}/$<CONFIG>"
                          -P ${AUDACITY_MODULE_PATH}/CopyLibs.cmake
      POST_BUILD
   )

I think it is better to delete it once before entering stage phase, because
stagedir is created during build phase.

post-build:
    # delete empty directories: https://github.com/audacity/audacity/issues/808
    @${RM} -r ${STAGEDIR}

However, that part has been added by yuri@FreeBSD (Bug 254598 comment #22),
we'll leave it untouched. :)
I just want to write down here what I found out about the cause of the issue.
So that other people can save time doing the same thing. :)

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