|
Lines 101-106
Link Here
|
| 101 |
|
101 |
|
| 102 |
src_unpack() { |
102 |
src_unpack() { |
| 103 |
base_src_unpack |
103 |
base_src_unpack |
|
|
104 |
cd ${S} |
| 105 |
epatch ${FILESDIR}/gnash-0.8.5-no-boost-s-libs.patch |
| 106 |
epatch ${FILESDIR}/gnash-0.8.5-qt4-moc.patch |
| 107 |
./autogen.sh |
| 104 |
} |
108 |
} |
| 105 |
|
109 |
|
| 106 |
src_configure() { |
110 |
src_configure() { |
|
Lines 111-129
Link Here
|
| 111 |
# Set nsplugin install directory. |
115 |
# Set nsplugin install directory. |
| 112 |
use nsplugin && myconf="${myconf} --with-npapi-plugindir=/opt/netscape/plugins" |
116 |
use nsplugin && myconf="${myconf} --with-npapi-plugindir=/opt/netscape/plugins" |
| 113 |
|
117 |
|
| 114 |
# Set kde and konqueror plugin directories. |
|
|
| 115 |
if use kde; then |
| 116 |
myconf="${myconf} |
| 117 |
--with-qt4-incl=/usr/include/qt4 |
| 118 |
--with-qt4-lib=/usr/$(get_libdir)/qt4 |
| 119 |
--with-kde4-incl=${KDEDIR}/include |
| 120 |
--with-kde4-configdir=${KDEDIR}/share/config |
| 121 |
--with-kde4-prefix=${KDEDIR} |
| 122 |
--with-kde4-lib=${KDEDIR}/$(get_libdir)/kde4 |
| 123 |
--with-kde-appsdatadir=${KDEDIR}/share/apps/klash |
| 124 |
--with-kde4-servicesdir=${KDEDIR}/share/services" |
| 125 |
fi |
| 126 |
|
| 127 |
# Set rendering engine. |
118 |
# Set rendering engine. |
| 128 |
if use agg; then |
119 |
if use agg; then |
| 129 |
myconf="${myconf} --enable-renderer=agg" |
120 |
myconf="${myconf} --enable-renderer=agg" |
|
Lines 151-161
Link Here
|
| 151 |
gui=$( echo $gui|sed -e 's/,//' ) |
142 |
gui=$( echo $gui|sed -e 's/,//' ) |
| 152 |
|
143 |
|
| 153 |
econf \ |
144 |
econf \ |
|
|
145 |
--with-plugins-install=system \ |
| 154 |
--disable-dependency-tracking \ |
146 |
--disable-dependency-tracking \ |
| 155 |
--disable-kparts3 \ |
147 |
--disable-kparts3 \ |
| 156 |
--enable-nspr \ |
148 |
--enable-nspr \ |
| 157 |
--enable-expat \ |
149 |
--enable-expat \ |
| 158 |
--enable-mit-shm \ |
|
|
| 159 |
--enable-jpeg \ |
150 |
--enable-jpeg \ |
| 160 |
--enable-png \ |
151 |
--enable-png \ |
| 161 |
--enable-gif \ |
152 |
--enable-gif \ |