[vlc-commits] macOS package: Install InfoPlist.strings for different langs

David Fuhrmann git at videolan.org
Wed Dec 2 19:38:10 UTC 2020


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Dec  2 19:53:31 2020 +0100| [5b6d90bada44fc99ca0adf029d5ba5df5a496ae4] | committer: David Fuhrmann

macOS package: Install InfoPlist.strings for different langs

Also, move the template file, InfoPlist.strings, into Base.lproj
to simplify the install rules.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b6d90bada44fc99ca0adf029d5ba5df5a496ae4
---

 extras/package/macosx/package.mak                               | 4 ++--
 modules/gui/macosx/Makefile.am                                  | 2 +-
 modules/gui/macosx/Resources/{ => Base.lproj}/InfoPlist.strings | 0
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index af41f0fbae..21d5c4292b 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -26,8 +26,8 @@ VLC.app: macos-install
 	## Copy Contents
 	cp -R "$(macos_destdir)$(datadir)/macosx/" $@
 	## Copy .strings file and .nib files
-	cp -R "$(top_builddir)/modules/gui/macosx/UI" $@/Contents/Resources/Base.lproj
-	cp "$(srcdir)/modules/gui/macosx/Resources/InfoPlist.strings" $@/Contents/Resources/Base.lproj/
+	cp -R "$(srcdir)/modules/gui/macosx/Resources/"*.lproj $@/Contents/Resources/
+	cp -R "$(top_builddir)/modules/gui/macosx/UI/." $@/Contents/Resources/Base.lproj/
 	## Copy Info.plist and convert to binary
 	cp -R "$(top_builddir)/share/macosx/Info.plist" $@/Contents/
 	xcrun plutil -convert binary1 $@/Contents/Info.plist
diff --git a/modules/gui/macosx/Makefile.am b/modules/gui/macosx/Makefile.am
index 9540ae5bd7..90a629aa85 100644
--- a/modules/gui/macosx/Makefile.am
+++ b/modules/gui/macosx/Makefile.am
@@ -490,7 +490,7 @@ libmacosx_plugin_la_RES += \
 	gui/macosx/Resources/vlc.scriptTerminology
 
 libmacosx_plugin_la_RES += \
-	gui/macosx/Resources/InfoPlist.strings
+	gui/macosx/Resources/Base.lproj/InfoPlist.strings
 
 if ENABLE_MACOSX_UI
 dist_libmacosx_plugin_la_DATA = $(libmacosx_plugin_la_RES)
diff --git a/modules/gui/macosx/Resources/InfoPlist.strings b/modules/gui/macosx/Resources/Base.lproj/InfoPlist.strings
similarity index 100%
rename from modules/gui/macosx/Resources/InfoPlist.strings
rename to modules/gui/macosx/Resources/Base.lproj/InfoPlist.strings



More information about the vlc-commits mailing list