mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Finally fixed OS X release scripts. I think.
This commit is contained in:
@@ -58,11 +58,11 @@ VERSION=$1
|
|||||||
# cp $ROOT/../admin/mac/Info.plist Contents/Info.plist
|
# cp $ROOT/../admin/mac/Info.plist Contents/Info.plist
|
||||||
|
|
||||||
header "Copying VLC plugins into bundle"
|
header "Copying VLC plugins into bundle"
|
||||||
mkdir -p Contents/MacOS/plugins
|
mkdir -p Contents/plugins
|
||||||
cp -R /usr/local/Cellar/vlc-git/HEAD/lib/vlc/plugins/ Contents/MacOS/plugins
|
cp -R /usr/local/Cellar/vlc-git/HEAD/lib/vlc/plugins/ Contents/plugins
|
||||||
rm -rf Contents/MacOS/plugins/video_* Contents/MacOS/plugins/gui Contents/MacOS/plugins/*/libold* Contents/MacOS/plugins/*/libvcd* Contents/MacOS/plugins/*/libdvd* \
|
rm -rf Contents/plugins/video_* Contents/plugins/gui Contents/plugins/*/libold* Contents/plugins/*/libvcd* Contents/plugins/*/libdvd* \
|
||||||
Contents/MacOS/plugins/*/liblibass* Contents/MacOS/plugins/*/libx264* Contents/MacOS/plugins/*/libschroe* Contents/MacOS/plugins/*/liblibmpeg2* \
|
Contents/plugins/*/liblibass* Contents/plugins/*/libx264* Contents/plugins/*/libschroe* Contents/plugins/*/liblibmpeg2* \
|
||||||
Contents/MacOS/plugins/*/libstream_out_* Contents/MacOS/plugins/*/libmjpeg_plugin* Contents/MacOS/plugins/*/libh264_plugin* Contents/MacOS/plugins/*/libzvbi_plugin* Contents/MacOS/plugins/*/lib*sub*
|
Contents/plugins/*/libstream_out_* Contents/plugins/*/libmjpeg_plugin* Contents/plugins/*/libh264_plugin* Contents/plugins/*/libzvbi_plugin* Contents/plugins/*/lib*sub*
|
||||||
|
|
||||||
header "Running install_name_tool"
|
header "Running install_name_tool"
|
||||||
$ROOT/../admin/mac/deposx.sh
|
$ROOT/../admin/mac/deposx.sh
|
||||||
|
@@ -23,7 +23,7 @@ cd Contents
|
|||||||
|
|
||||||
QTLIBS=`ls Frameworks | cut -d. -f1`
|
QTLIBS=`ls Frameworks | cut -d. -f1`
|
||||||
LIBS=`cd MacOS && ls -fR1 | grep dylib`
|
LIBS=`cd MacOS && ls -fR1 | grep dylib`
|
||||||
PLUGINFOLDERS=`ls MacOS/plugins | cut -d. -f1`
|
PLUGINFOLDERS=`ls plugins | cut -d. -f1`
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
@@ -153,12 +153,12 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# now VLC plugins
|
# now VLC plugins
|
||||||
for x in MacOS/plugins/$PLUGINFOLDERS
|
for x in plugins/$PLUGINFOLDERS
|
||||||
do
|
do
|
||||||
for plugin in `ls MacOS/plugins/$x | cut -f1`
|
for plugin in `ls plugins/$x | cut -f1`
|
||||||
do
|
do
|
||||||
echo "Fixing VLC plugin: $plugin"
|
echo "Fixing VLC plugin: $plugin"
|
||||||
chmod 644 MacOS/plugins/$x/$plugin
|
chmod 644 plugins/$x/$plugin
|
||||||
deplib_change MacOS/plugins/$x/$plugin
|
deplib_change plugins/$x/$plugin
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
[Paths]
|
[Paths]
|
||||||
Plugins = PlugIns
|
Plugins = plugins
|
||||||
|
Reference in New Issue
Block a user