summaryrefslogtreecommitdiffstats
path: root/x11-libs/cairo
diff options
context:
space:
mode:
authorGeorge Sherwood2011-03-22 21:07:07 -0500
committerGeorge Sherwood2011-03-22 21:07:07 -0500
commit6cac3fddd58f806ea318a5c746969438516f2c51 (patch)
tree298053c1e9391b12465c4e275124828dae3b0bf7 /x11-libs/cairo
parent8341eede857689ac86a2085c29c534c43ced9f3c (diff)
cairo: Added option for tee surface backend feature.
Required for firefox 4.0
Diffstat (limited to 'x11-libs/cairo')
-rwxr-xr-xx11-libs/cairo/BUILD5
-rwxr-xr-xx11-libs/cairo/CONFIGURE1
-rw-r--r--x11-libs/cairo/HISTORY7
-rwxr-xr-xx11-libs/cairo/PRE_SUB_DEPENDS1
-rwxr-xr-xx11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS1
-rwxr-xr-xx11-libs/cairo/SUB_DEPENDS2
6 files changed, 17 insertions, 0 deletions
diff --git a/x11-libs/cairo/BUILD b/x11-libs/cairo/BUILD
new file mode 100755
index 0000000000..92da9e9b06
--- /dev/null
+++ b/x11-libs/cairo/BUILD
@@ -0,0 +1,5 @@
+if [[ "$CAIRO_TEE" == "y" ]]; then
+ OPTS="--enable-tee=yes $OPTS"
+fi &&
+
+default_build
diff --git a/x11-libs/cairo/CONFIGURE b/x11-libs/cairo/CONFIGURE
new file mode 100755
index 0000000000..e38123fc99
--- /dev/null
+++ b/x11-libs/cairo/CONFIGURE
@@ -0,0 +1 @@
+config_query CAIRO_TEE "Enable cairo's tee surface backend feature?" n
diff --git a/x11-libs/cairo/HISTORY b/x11-libs/cairo/HISTORY
index a123e6648e..49e13b8835 100644
--- a/x11-libs/cairo/HISTORY
+++ b/x11-libs/cairo/HISTORY
@@ -1,3 +1,10 @@
+2011-03-22 George Sherwood <gsherwood@sourcemage.org>
+ * CONFIGURE: Added option for tee surface backend feature
+ * BUILD: Added build to add option for TEE
+ * PRE_SUB_DEPENDS: Added sub_depends on TEE
+ * SUB_DEPENDS: Added sub_depends on TEE
+ * REPAIR^all^PRE_SUB_DEPENDS: Updated
+
2011-01-02 George Sherwood <gsherwood@sourcemage.org>
* PRE_SUB_DEPENDS: Fix to work correctly
* REPAIR^all^PRE_SUB_DEPENDS: Updated to be current with
diff --git a/x11-libs/cairo/PRE_SUB_DEPENDS b/x11-libs/cairo/PRE_SUB_DEPENDS
index b0ffc2e076..927b6106ac 100755
--- a/x11-libs/cairo/PRE_SUB_DEPENDS
+++ b/x11-libs/cairo/PRE_SUB_DEPENDS
@@ -6,6 +6,7 @@ case $THIS_SUB_DEPENDS in
PS) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-ps.h" ]];;
SVG) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-svg.h" ]];;
X) is_depends_enabled $SPELL libx11;;
+ TEE) if [[ $CAIRO_TEE != "y" ]]; then return 1; fi;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
return 1;;
esac
diff --git a/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS b/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
index b0ffc2e076..927b6106ac 100755
--- a/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
+++ b/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
@@ -6,6 +6,7 @@ case $THIS_SUB_DEPENDS in
PS) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-ps.h" ]];;
SVG) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-svg.h" ]];;
X) is_depends_enabled $SPELL libx11;;
+ TEE) if [[ $CAIRO_TEE != "y" ]]; then return 1; fi;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
return 1;;
esac
diff --git a/x11-libs/cairo/SUB_DEPENDS b/x11-libs/cairo/SUB_DEPENDS
index c592450e90..8647655321 100755
--- a/x11-libs/cairo/SUB_DEPENDS
+++ b/x11-libs/cairo/SUB_DEPENDS
@@ -11,6 +11,8 @@ case $THIS_SUB_DEPENDS in
depends libpng "--enable-png --enable-svg";;
X) message "Cairo with Xlib support requested, forcing libx11 dependency" &&
depends libx11 "--enable-xlib";;
+ TEE) message "Cairo with tee backend request, forcing it" &&
+ CAIRO_TEE=y ;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
return 1;;
esac