[Lunar-commits] gtk+-2 made the flash patch optional

Samuel Verstraete elangelo at lunar-linux.org
Thu Jan 24 08:03:00 CET 2008


commit 66cb3b79714da69a89cf61768e38a864cc57b701
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Thu Jan 24 08:03:00 2008 +0100

    gtk+-2 made the flash patch optional
---
 graphics/gtk+-2/BUILD     |    5 ++++-
 graphics/gtk+-2/CONFIGURE |    2 ++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/graphics/gtk+-2/BUILD b/graphics/gtk+-2/BUILD
index bab3d15..f981483 100644
--- a/graphics/gtk+-2/BUILD
+++ b/graphics/gtk+-2/BUILD
@@ -4,8 +4,11 @@
     # XInput support is needed for Wacom tablets to work in GIMP
      OPTS="$OPTS --with-xinput=yes --enable-debug=no"
   fi
+  if [ "$FLASH_PATCH" == "y" ]; then
+    # This patch is necessary so flash 9.0.48 works with qt browsers
+    patch_it $SOURCE2 0 &&
+  fi
 
-  patch_it $SOURCE2 0 &&
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/gtk+-2/CONFIGURE b/graphics/gtk+-2/CONFIGURE
index 96c931d..37b68fb 100644
--- a/graphics/gtk+-2/CONFIGURE
+++ b/graphics/gtk+-2/CONFIGURE
@@ -1 +1,3 @@
 mquery USE_XINPUT "Install XINPUT support? This is needed for wacom tablets in gimp!" y
+mquery FLASH_PATCH "You want to patch gtk+-2 so you can use flash with
+opera or konqueror?" n


More information about the Lunar-commits mailing list