svg support
authorMartin Schlemmer <azarah@gentoo.org>
Sat, 12 Oct 2002 19:50:32 +0000 (19:50 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Sat, 12 Oct 2002 19:50:32 +0000 (19:50 +0000)
net-www/mozilla/mozilla-1.0-r3.ebuild
net-www/mozilla/mozilla-1.0.1-r1.ebuild
net-www/mozilla/mozilla-1.1-r1.ebuild

index 5a9688bf9bdf7039cb4074f627dab83d1cf215f0..a9be4d494d62cc1f05421923fdbd5dd18b3cd3a6 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.0-r3.ebuild,v 1.15 2002/10/11 18:50:20 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.0-r3.ebuild,v 1.16 2002/10/12 19:50:32 azarah Exp $
 
-IUSE="moznomail java mozp3p mozaccess gtk2 mozinterfaceinfo ssl ldap mozxmlterm mozctl gnome"
+IUSE="moznomail java mozp3p mozaccess gtk2 mozinterfaceinfo ssl ldap mozxmlterm mozctl gnome mozsvg"
 
 inherit makeedit
 # NOTE: to build without the mail and news component:  export NO_MAIL="YES"
@@ -179,6 +179,11 @@ src_compile() {
                myext="${myext},interfaceinfo"
        fi
 
+       if [ -n "`use mozsvg`" ] ; then
+               myconf="${myconf} --enable-svg"
+       else
+               myconf="${myconf} --disable-svg"
+       fi
        
        if [ -n "`use moznomail`" ] || \
           [ "${NO_MAIL}" = "YES" ] || [ "${NO_MAIL}" = "yes" ]
@@ -205,7 +210,6 @@ src_compile() {
 
        ./configure --prefix=/usr/lib/mozilla \
                --disable-pedantic \
-               --disable-svg \
                --enable-mathml \
                --without-system-nspr \
                --enable-nspr-autoconf \
index 93558e8d567817e6d91d52bee472d2c648004b60..ca8437453c9e18c0e9c530ac49c3cf39dc67de71 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.0.1-r1.ebuild,v 1.6 2002/10/11 18:50:20 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.0.1-r1.ebuild,v 1.7 2002/10/12 19:50:32 azarah Exp $
 
-IUSE="mozxmlterm moznomail java mozp3p crypt ipv6 gtk2 mozinterfaceinfo ssl ldap mozaccess mozctl gnome"
+IUSE="mozxmlterm moznomail java mozp3p crypt ipv6 gtk2 mozinterfaceinfo ssl ldap mozaccess mozctl gnome mozsvg"
 
 # NOTE: to build without the mail and news component:  export NO_MAIL="YES"
 inherit flag-o-matic gcc makeedit
@@ -168,6 +168,11 @@ src_compile() {
                myext="${myext},interfaceinfo"
        fi
 
+       if [ -n "`use mozsvg`" ] ; then
+               myconf="${myconf} --enable-svg"
+       else
+               myconf="${myconf} --disable-svg"
+       fi
        
        if [ -n "`use moznomail`" ] || \
           [ "${NO_MAIL}" = "YES" -o "${NO_MAIL}" = "yes" ]
@@ -198,7 +203,6 @@ src_compile() {
 
        ./configure --prefix=/usr/lib/mozilla \
                --disable-pedantic \
-               --disable-svg \
                --enable-mathml \
                --without-system-nspr \
                --enable-nspr-autoconf \
index 414aed7ceabcfe709f672c272b6ee20040df42df..b81262afeeeb8f5fca349c5714580183d7885efa 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.1-r1.ebuild,v 1.6 2002/10/11 18:50:20 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.1-r1.ebuild,v 1.7 2002/10/12 19:50:32 azarah Exp $
 
-IUSE="moznomail java mozp3p crypt ldap gtk2 mozinterfaceinfo ssl mozaccess mozxmlterm mozctl gnome"
+IUSE="moznomail java mozp3p crypt ldap gtk2 mozinterfaceinfo ssl mozaccess mozxmlterm mozctl gnome mozsvg"
 
 # NOTE: to build without the mail and news component:  export NO_MAIL="YES"
 inherit makeedit
@@ -160,6 +160,11 @@ src_compile() {
                myext="${myext},interfaceinfo"
        fi
 
+       if [ -n "`use mozsvg`" ] ; then
+               myconf="${myconf} --enable-svg"
+       else
+               myconf="${myconf} --disable-svg"
+       fi
        
        if [ -n "`use moznomail`" ] || \
           [ "${NO_MAIL}" = "YES" ] || [ "${NO_MAIL}" = "yes" ]
@@ -190,7 +195,6 @@ src_compile() {
 
        ./configure --prefix=/usr/lib/mozilla \
                --disable-pedantic \
-               --disable-svg \
                --enable-mathml \
                --without-system-nspr \
                --enable-nspr-autoconf \