Ticket #9447: osx-packager_qt_plugins-ff38952612.patch

File osx-packager_qt_plugins-ff38952612.patch, 1.5 KB (added by mythtv@…, 8 years ago)
  • OSX/build/osx-packager-10.7.pl

    diff --git a/OSX/build/osx-packager-10.7.pl b/OSX/build/osx-packager-10.7.pl
    index 04cd8c9..8043fa0 100755
    a b foreach my $target ( @targets ) 
    12161216        mkdir "$res/share";
    12171217        &RecursiveCopy("$PREFIX/share/mythtv", "$res/share");
    12181218
     1219        # Install Qt plugins
     1220        &RecursiveCopy("$PREFIX/plugins", "$res/");
     1221        open(OUT, ">$res/qt.conf") || die;
     1222        print OUT "";
     1223        close OUT;
     1224
    12191225        # Correct the library paths for the filters and plugins
    1220         foreach my $lib ( glob "$libs/mythtv/*/*" )
     1226        foreach my $lib ( glob "$libs/mythtv/*/* $res/plugins/*/*" )
    12211227        {   &Syscall([ @bundler, $lib, "$PREFIX/lib/" ]) or die   }
    12221228
    12231229        if ( -e $plug )
  • OSX/build/osx-packager.pl

    diff --git a/OSX/build/osx-packager.pl b/OSX/build/osx-packager.pl
    index c364417..7db2b0f 100755
    a b foreach my $target ( @targets ) 
    11571157        mkdir "$res/share";
    11581158        &RecursiveCopy("$PREFIX/share/mythtv", "$res/share");
    11591159
     1160        # Install Qt plugins
     1161        &RecursiveCopy("$PREFIX/plugins", "$res/");
     1162        open(OUT, ">$res/qt.conf") || die;
     1163        print OUT "";
     1164        close OUT;
     1165
    11601166        # Correct the library paths for the filters and plugins
    1161         foreach my $lib ( glob "$libs/mythtv/*/*" )
     1167        foreach my $lib ( glob "$libs/mythtv/*/* $res/plugins/*/*" )
    11621168        {   &Syscall([ @bundler, $lib, "$PREFIX/lib/" ]) or die   }
    11631169
    11641170        if ( -e $plug )