File tree 4 files changed +42
-0
lines changed
4 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ [Desktop Entry]
2
+ Version =1.0
3
+ Type =Application
4
+ Terminal =false
5
+ Name =Natron
6
+ MimeType =application/x-natron
7
+ Exec =Natron %U
8
+ GenericName =Compositing software
9
+ Comment =Node-graph based compositing software
10
+ Icon =natronIcon256_linux
11
+ Categories =Graphics;2DGraphics;RasterGraphics;
12
+
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <mime-info xmlns =" http://www.freedesktop.org/standards/shared-mime-info" >
3
+ <mime-type type =" application/x-natron" >
4
+ <comment >Natron Project File</comment >
5
+ <icon name =" natronProjectIcon_linux" />
6
+ <glob-deleteall />
7
+ <glob pattern =" *.ntp" />
8
+ </mime-type >
9
+ </mime-info >
Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ macx {
29
29
}
30
30
!macx {
31
31
OCIO.path = $$OUT_PWD /OpenColorIO-Configs
32
+ unix {
33
+ isEmpty (PREFIX ) {
34
+ PREFIX = /usr/local
35
+ }
36
+ OCIO.path = $${PREFIX }/share/OpenColorIO-Configs
37
+ }
32
38
INSTALLS += OCIO
33
39
OCIO_extra.path = $$OUT_PWD /OpenColorIO-Configs
34
40
# INSTALLS += OCIO_extra
Original file line number Diff line number Diff line change @@ -415,5 +415,20 @@ coverage {
415
415
QMAKE_CLEAN += $(OBJECTS_DIR) / *.gcda $(OBJECTS_DIR) / *.gcno
416
416
}
417
417
418
+ # install targets on unix
419
+ unix :!macx {
420
+ isEmpty (PREFIX ) {
421
+ PREFIX = /usr/local
422
+ }
423
+ target.path = $${PREFIX }/bin
424
+ target_icons.path = $${PREFIX }/share/icons
425
+ target_icons.files = $PWD/../Gui/Resources/Images/natronIcon256_linux.png $PWD/../Gui/Resources/Images/natronProjectIcon_linux.png
426
+ target_mime.path = $${PREFIX }/share/mime/application
427
+ target_mime.files = $PWD/../Gui/Resources/Mime/x-natron.xml
428
+ target_desktop.path = $${PREFIX }/share/applications
429
+ target_desktop.files = $PWD/../Gui/Resources/Applications/Natron.desktop
430
+ INSTALLS += target_icons target_mime target_desktop
431
+ }
432
+
418
433
# and finally...
419
434
include (config.pri )
You can’t perform that action at this time.
0 commit comments