Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/fceux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjbudd77 <mjbudd77@gmail.com>2021-10-09 02:55:11 +0300
committermjbudd77 <mjbudd77@gmail.com>2021-10-09 02:55:11 +0300
commita0ab302b3cc62af8876c3bc9a42b48b3e386e32c (patch)
tree31c82d4dad539329482253c1ddef8288ca7db7d8 /pipelines
parentcd4d22cc6a3d92c6a1a93832975b68d5473feec5 (diff)
MacOSX pipeline bundling library fix.
Diffstat (limited to 'pipelines')
-rwxr-xr-xpipelines/macOS_BundleFFmpegFix.pl42
-rwxr-xr-xpipelines/macOS_build.sh3
2 files changed, 0 insertions, 45 deletions
diff --git a/pipelines/macOS_BundleFFmpegFix.pl b/pipelines/macOS_BundleFFmpegFix.pl
deleted file mode 100755
index 77bcb494..00000000
--- a/pipelines/macOS_BundleFFmpegFix.pl
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-
-# MacOSX homebrew version of ffmpeg comes with 5 libraries. These libraries depend on each other
-# and it seems that macdeployqt doesn't fix all the library paths when bundling them.
-# This script fixes those bundling issues.
-my $i; my $j; my $k;
-my $LIBPATH=`brew --prefix ffmpeg`;
-my @libList = ( "libavutil", "libavcodec", "libavformat", "libswscale", "libswresample" );
-my $lib; my $otool;
-my @lines;
-
-for ($i=0; $i<=$#libList; $i++)
-{
- #print "LIB: $libList[$i]\n";
-
- $lib="$LIBPATH/lib/$libList[$i].dylib";
- $lib=~s/\n//;
-
- print "Fixing lib: '$lib'\n";
-
- $otool=`otool -L $lib`;
-
- #print "otool: '$otool'\n";
-
- @lines = split /\n/, $otool;
-
- for ($j=0; $j<=$#lines; $j++)
- {
- for ($k=0; $k<=$#libList; $k++)
- {
- if ( $lines[$j] =~ m/\s+(\/.*\/($libList[$k].*\.dylib))/ )
- {
- #print "$1 $2\n";
-
- print("install_name_tool -change $1 \@executable_path/../Frameworks/$2 $lib\n");
- system("install_name_tool -change $1 \@executable_path/../Frameworks/$2 $lib");
- }
- }
- }
-}
diff --git a/pipelines/macOS_build.sh b/pipelines/macOS_build.sh
index b2e1e974..1af19682 100755
--- a/pipelines/macOS_build.sh
+++ b/pipelines/macOS_build.sh
@@ -77,9 +77,6 @@ echo 'Install Optional Dependency ffmpeg'
echo '****************************************'
brew install ffmpeg
-# Fix homebrew ffmpeg libraries so that they work in the bundle.
-sudo $SCRIPT_DIR/macOS_BundleFFmpegFix.pl
-
#brew install zlib # Already installed in appveyor macOS
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig: