mirror of https://github.com/odrling/Aegisub
Substitute the FontConfig Cache dir in fonts.conf to use the proper (versioned)
path: ~/Library/Application Data/Aegisub-<AEGISUB_VERSION_DATA> Originally committed to SVN as r2736.
This commit is contained in:
parent
ea31698587
commit
8fab7c9ddc
|
@ -74,7 +74,7 @@
|
|||
|
||||
<!-- Font cache directory list -->
|
||||
|
||||
<cachedir>~/Library/Application Support/Aegisub/cache/fonts</cachedir>
|
||||
<cachedir>~/Library/Application Support/Aegisub-@FONTCONFIG_VERSION_DATA@/font_cache</cachedir>
|
||||
|
||||
|
||||
<config>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
s/@PLIST_VERSION@/@VERSION@/g
|
||||
s/@PLIST_SVN_REVISION@/@SVN_REVISION@/g
|
||||
s/@PLIST_BUILD_DATE@/@BUILD_DATE@/g
|
||||
s/@FONTCONFIG_VERSION_DATA@/@AEGISUB_VERSION_DATA@/g
|
||||
|
|
|
@ -34,7 +34,8 @@ echo
|
|||
echo "---- Copying Skel Files ----"
|
||||
find ${SKEL_DIR} -type f -not -regex ".*.svn.*"
|
||||
cp ${SKEL_DIR}/Contents/Resources/*.icns ${PKG_DIR}/Contents/Resources
|
||||
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.* ${PKG_DIR}/Contents/Resources/etc/fonts
|
||||
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.dtd ${PKG_DIR}/Contents/Resources/etc/fonts
|
||||
cat ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.conf |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Resources/etc/fonts/fonts.conf
|
||||
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/conf.d/*.conf ${PKG_DIR}/Contents/Resources/etc/fonts/conf.d
|
||||
cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Info.plist
|
||||
|
||||
|
|
Loading…
Reference in New Issue