Skip to content

Commit

Permalink
audacity: fix menu items in wrong language
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-akram committed May 11, 2024
1 parent 8150e90 commit a2fca7b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions audio/audacity/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ categories audio
license GPL-3
maintainers {makr @mohd-akram} openmaintainer

set audacity_dir ${applications_dir}/Audacity.app/Contents

subport ${name} {
PortGroup cmake 1.1
PortGroup wxWidgets 1.0

github.setup audacity audacity ${version} Audacity-
github.tarball_from releases
revision 0
revision 1
conflicts audacity-legacy
description multi-track audio editor

Expand Down Expand Up @@ -60,6 +62,9 @@ subport ${name} {

compiler.cxx_standard 2017

# if not present some menu items appear in another language
destroot.keepdirs ${destroot}${audacity_dir}/Resources/en.lproj

post-destroot {
platform darwin {
move ${destroot}${prefix}/Audacity.app ${destroot}${applications_dir}/
Expand Down Expand Up @@ -87,7 +92,7 @@ subport ${name}-manual {

set data_dir ${prefix}/share/audacity
platform darwin {
set data_dir ${applications_dir}/Audacity.app/Contents
set data_dir ${audacity_dir}
}

destroot {
Expand Down

0 comments on commit a2fca7b

Please sign in to comment.