# Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
- rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4} || die
AT_M4DIR="config" eautoreconf
}
einstalldocs
- cd desktopfiles
insinto /usr/share/icons/hicolor/32x32/apps
- newins prebuilt-hi32-djview4.png djvulibre-djview4.png
+ newins desktopfiles/prebuilt-hi32-djview4.png djvulibre-djview4.png
insinto /usr/share/icons/hicolor/64x64/apps
- newins prebuilt-hi64-djview4.png djvulibre-djview4.png
+ newins desktopfiles/prebuilt-hi64-djview4.png djvulibre-djview4.png
insinto /usr/share/icons/hicolor/scalable/apps
- newins djview.svg djvulibre-djview4.svg
- sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
+ newins desktopfiles/djview.svg djvulibre-djview4.svg
+ sed -e 's/Exec=djview4/Exec=djview/' \
+ -i desktopfiles/djvulibre-djview4.desktop || die
domenu djvulibre-djview4.desktop
}