File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed
Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -955,7 +955,7 @@ AC_ARG_WITH([desktopdir],
955955 esac] )
956956AC_SUBST ( [ DESKTOPDIR] )
957957
958- ICONDIR="${datadir}/icons"
958+ ICONDIR="${datadir}/icons/hicolor/512x512/apps "
959959AC_ARG_WITH ( [ icondir] ,
960960 AS_HELP_STRING ( [ --with-icondir=DIR] ,[ change icon directory] ) ,
961961 [ case "${withval}" in
@@ -969,6 +969,23 @@ AC_ARG_WITH([icondir],
969969 esac] )
970970AC_SUBST ( [ ICONDIR] )
971971
972+ SVGDIR="${datadir}/icons/hicolor/scalable/apps"
973+ AC_ARG_WITH ( [ svgdir] ,
974+ AS_HELP_STRING ( [ --with-svgdir=DIR] ,[ change svg directory] ) ,
975+ [ case "${withval}" in
976+ yes)
977+ ;;
978+ no)
979+ ;;
980+ *)
981+ SVGDIR="${withval}"
982+ ;;
983+ esac] )
984+ AC_SUBST ( [ SVGDIR] )
985+
986+ METADIR="${datadir}/metainfo"
987+ AC_SUBST ( [ METADIR] )
988+
972989# ---------------------------------------------------------------------
973990# Workaround for 'ar' warning in libtool
974991# ---------------------------------------------------------------------
Original file line number Diff line number Diff line change 11icondir = $(ICONDIR )
22desktopdir = $(DESKTOPDIR )
3+ svgdir = $(SVGDIR )
4+ metadir = $(METADIR )
35
46if BUILD_STUDIO
57dist_desktop_DATA = info.exult.exult.desktop info.exult.exult.studio.desktop
6- dist_icon_DATA = info.exult.exult.png info.exult.exult.studio.png info.exult.exult.svg info.exult.exult.studio.svg
8+ dist_icon_DATA = info.exult.exult.png info.exult.exult.studio.png
9+ dist_svg_DATA = info.exult.exult.svg info.exult.exult.studio.svg
10+ dist_meta_DATA = info.exult.exult.metainfo.xml info.exult.exult.studio.metainfo.xml
711else
812dist_desktop_DATA = info.exult.exult.desktop
9- dist_icon_DATA = info.exult.exult.png info.exult.exult.svg
13+ dist_icon_DATA = info.exult.exult.png
14+ dist_svg_DATA = info.exult.exult.svg
15+ dist_meta_DATA = info.exult.exult.metainfo.xml
1016endif
You can’t perform that action at this time.
0 commit comments