File tree Expand file tree Collapse file tree 3 files changed +32
-8
lines changed
Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Name =Simple Normal Mapper
3+ Comment =Easy creation of normal maps
4+ Exec =snm
5+ Icon =snm
6+ Type =Application
7+ Categories =Utility;
8+ StartupNotify =true
9+ X-Ubuntu-Gettext-Domain =snm
10+
Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Name=Simple Normal Mapper
3+ Comment=Easy creation of normal maps
4+ Exec=/opt/snm/snm
5+ Icon=snm
6+ Type=Application
7+ Categories=Utility;
8+ StartupNotify=true
9+ X-Ubuntu-Gettext-Domain=snm
10+
Original file line number Diff line number Diff line change @@ -48,12 +48,16 @@ isEmpty(_PREFIX) {
4848 _PREFIX = /usr
4949}
5050
51- target.path = $$_PREFIX /bin
52- desktop.path = $$_PREFIX /share/applications
53- desktop.files += data/snm.desktop
54- icon1.path = $$_PREFIX /share/icons/hicolor/64x64/apps
55- icon1.files += data/icons/snm.png
56- icon2.path = $$_PREFIX /share/pixmaps
57- icon2.files += data/icons/snm.png
58- INSTALLS += target desktop icon1 icon2
51+ unix {
52+ target.path = $$_PREFIX /bin
53+ desktop.path = $$_PREFIX /share/applications
54+ desktop.name = snm.desktop
55+ desktop.files += data/snm.desktop
56+ desktop.extra = cp data/snm.desktop.in data/snm.desktop
57+ icon1.path = $$_PREFIX /share/icons/hicolor/64x64/apps
58+ icon1.files += data/icons/snm.png
59+ icon2.path = $$_PREFIX /share/pixmaps
60+ icon2.files += data/icons/snm.png
61+ INSTALLS += target desktop icon1 icon2
62+ }
5963
You can’t perform that action at this time.
0 commit comments