[Xfce4-commits] <midori:master> makedist: Make gstreamer version switchable.

Christian Dywan noreply at xfce.org
Wed Apr 3 01:24:01 CEST 2013


Updating branch refs/heads/master
         to 04a37a8fb427cb30ad346c4157b1feee2f183b75 (commit)
       from 3b6cfde8306aece485f37e36698eb9153163ef45 (commit)

commit 04a37a8fb427cb30ad346c4157b1feee2f183b75
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Tue Apr 2 23:15:35 2013 +0200

    makedist: Make gstreamer version switchable.

 win32/makedist/makedist.midori |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index e58b9ee..38114a3 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -24,6 +24,10 @@
 # a bit of configuration
 root_dir=$MINGW_PREFIX
 
+if [ "$GSTREAMER_API_VERSION" == "" ]; then
+    GSTREAMER_API_VERSION=0.10
+fi
+
 if [ "$MINGW_PREFIX" == "" ]; then
    echo "Error: MINGW_PREFIX variable is empty!"
    exit
@@ -115,7 +119,7 @@ pushd $root_dir/bin > /dev/null
 dll_recursive midori*.exe gspawn-*-helper*.exe libhunspell*.dll > $temp_dir/midori.exe.lst
 dll_recursive ../lib/gio/modules/*.dll >> $temp_dir/midori.exe.lst
 dll_recursive iconv.dll >> $temp_dir/midori.exe.lst
-dll_recursive ../lib/gstreamer-0.10/*.dll >> $temp_dir/midori.exe.lst
+dll_recursive ../lib/gstreamer-$GSTREAMER_API_VERSION/*.dll >> $temp_dir/midori.exe.lst
 
 if [ "$DEBUG_BUILD" != "" ]; then
     dll_recursive gdb.exe GtkLauncher.exe >> $temp_dir/midori.exe.lst
@@ -172,7 +176,7 @@ grab_files lib gio
 # Fedora ships on-demand pango modules, check just in case
 grab_files lib pango
 
-grab_files lib gstreamer-0.10
+grab_files lib gstreamer-$GSTREAMER_API_VERSION
 
 echo "<*> Copying resources and translations..."
 


More information about the Xfce4-commits mailing list