forked from mia/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
8ba90af9cd
commit
8dc0f77fa1
3 changed files with 4 additions and 2 deletions
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
<!-- Font cache directory list -->
|
<!-- Font cache directory list -->
|
||||||
|
|
||||||
<cachedir>~/Library/Application Support/Aegisub/cache/fonts</cachedir>
|
<cachedir>~/Library/Application Support/Aegisub-@FONTCONFIG_VERSION_DATA@/font_cache</cachedir>
|
||||||
|
|
||||||
|
|
||||||
<config>
|
<config>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
s/@PLIST_VERSION@/@VERSION@/g
|
s/@PLIST_VERSION@/@VERSION@/g
|
||||||
s/@PLIST_SVN_REVISION@/@SVN_REVISION@/g
|
s/@PLIST_SVN_REVISION@/@SVN_REVISION@/g
|
||||||
s/@PLIST_BUILD_DATE@/@BUILD_DATE@/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 ----"
|
echo "---- Copying Skel Files ----"
|
||||||
find ${SKEL_DIR} -type f -not -regex ".*.svn.*"
|
find ${SKEL_DIR} -type f -not -regex ".*.svn.*"
|
||||||
cp ${SKEL_DIR}/Contents/Resources/*.icns ${PKG_DIR}/Contents/Resources
|
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
|
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
|
cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Info.plist
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue