Lines 151-156
Link Here
|
151 |
# Build failure with txt2tags > 3 (dropped --css-sugar & --css-inside) |
151 |
# Build failure with txt2tags > 3 (dropped --css-sugar & --css-inside) |
152 |
# https://github.com/qgis/QGIS/issues/33516 |
152 |
# https://github.com/qgis/QGIS/issues/33516 |
153 |
@${REINPLACE_CMD} -e 's|--css-sugar --css-inside||' ${WRKSRC}/doc/INSTALL.t2t ${WRKSRC}/doc/news.t2t |
153 |
@${REINPLACE_CMD} -e 's|--css-sugar --css-inside||' ${WRKSRC}/doc/INSTALL.t2t ${WRKSRC}/doc/news.t2t |
|
|
154 |
# Workaround, until QGIS project removes --encoding for txt2tags versions > 3.4 |
155 |
@${REINPLACE_CMD} -e 's|ARGS --encoding=utf-8|ARGS|g' \ |
156 |
${WRKSRC}/cmake/Txt2Tags.cmake |
157 |
@${REINPLACE_CMD} -e 's|txt2tags -\\-encoding=utf-8|txt2tags|' \ |
158 |
${WRKSRC}/doc/INSTALL.html \ |
159 |
${WRKSRC}/doc/news.html |
160 |
@${REINPLACE_CMD} -e 's|encoding: iso-8859-1|encoding: utf-8|g' \ |
161 |
${WRKSRC}/doc/INSTALL.t2t \ |
162 |
${WRKSRC}/doc/news.t2t |
163 |
@${REINPLACE_CMD} -e 's|txt2tags --encoding=utf-8|txt2tags|g' \ |
164 |
${WRKSRC}/scripts/release.pl \ |
165 |
${WRKSRC}/scripts/update-news.pl |
154 |
|
166 |
|
155 |
pre-configure: |
167 |
pre-configure: |
156 |
${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 |
168 |
${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 |