Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 123627
Collapse All | Expand All

(-)a/configure (-14 / +13 lines)
Lines 240-262 Link Here
240
#- Setting dirs and start qmake -----------------------------------------------
240
#- Setting dirs and start qmake -----------------------------------------------
241
241
242
echo
242
echo
243
sed 's%^.*cb2bibdata.path .*$%cb2bibdata.path = '$f_datadir'%g' src/src.pro > tmp.pro
243
sed -i  -e 's%^.*cb2bibdata.path .*$%cb2bibdata.path = '$f_datadir'%g' \
244
sed 's%^.*target.path .*$%target.path = '$f_bindir'%g' tmp.pro > src/src.pro
244
	-e 's%^.*target.path .*$%target.path = '$f_bindir'%g' \
245
sed 's%^.*script.path .*$%script.path = '$f_bindir'%g' src/src.pro > tmp.pro
245
	-e 's%^.*script.path .*$%script.path = '$f_bindir'%g' \
246
sed 's%^.*desktop.path .*$%desktop.path = '$f_desktopdatadir'%g' tmp.pro > src/src.pro
246
	-e 's%^.*desktop.path .*$%desktop.path = '$f_desktopdatadir'%g' \
247
sed 's%^.*icons.path .*$%icons.path = '$f_icondir'%g' src/src.pro > tmp.pro
247
	-e 's%^.*icons.path .*$%icons.path = '$f_icondir'%g' src/src.pro 
248
mv -f tmp.pro src/src.pro
248
	
249
if test "$f_disable_cbpoll" = y; then
249
if test "$f_disable_cbpoll" = y; then
250
  echo "Setting clipboardPoll disabled"
250
	echo "Setting clipboardPoll disabled"
251
  sed 's% disable_cbpoll%%g' src/src.pro > tmp.pro
251
	sed -i -e 's% disable_cbpoll%%g' \
252
  sed 's%^CONFIG.*= %CONFIG += disable_cbpoll %g' tmp.pro > src/src.pro
252
	-e 's%^CONFIG.*= %CONFIG += disable_cbpoll %g' src/src.pro
253
else
253
else
254
  echo "Setting clipboardPoll enabled (Unix/Linux only)"
254
	echo "Setting clipboardPoll enabled (Unix/Linux only)"
255
  sed 's% disable_cbpoll%%g' src/src.pro > tmp.pro
255
	sed -i 's% disable_cbpoll%%g' src/src.pro 
256
  mv -f tmp.pro src/src.pro
257
fi
256
fi
258
sed 's%^const QString C2B_DATA_DIR.*$%const QString C2B_DATA_DIR("'$f_datadir'/");%g' src/c2b/cb2bib_parameters.h > tmp.par
257
sed -i 's%^const QString C2B_DATA_DIR.*$%const QString C2B_DATA_DIR("'$f_datadir'/");%g' \
259
mv -f tmp.par src/c2b/cb2bib_parameters.h
258
	src/c2b/cb2bib_parameters.h 
260
259
261
f_configs=
260
f_configs=
262
if test "$f_disable_lzo" = y; then
261
if test "$f_disable_lzo" = y; then

Return to bug 123627