diff --git a/Makefile b/Makefile index 64b74b6b0..6d21ea549 100644 --- a/Makefile +++ b/Makefile @@ -151,17 +151,17 @@ install: install -d $(DESTDIR)$(PREFIX)/lib/carla/resources/zynaddsubfx/ ifeq ($(CARLA_PLUGIN_SUPPORT),true) install -d $(DESTDIR)$(PREFIX)/lib/dssi/ - install -d $(DESTDIR)$(PREFIX)/lib/lv2/ install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla.lv2/ install -d $(DESTDIR)$(PREFIX)/lib/vst/ endif install -d $(DESTDIR)$(PREFIX)/share/applications/ + install -d $(DESTDIR)$(PREFIX)/share/carla/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/ - install -d $(DESTDIR)$(PREFIX)/share/carla/ + install -d $(DESTDIR)$(PREFIX)/share/mime/packages/ # Install script files install -m 755 \ @@ -193,6 +193,9 @@ endif install -m 644 resources/scalable/carla.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/ install -m 644 resources/scalable/carla-control.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/ + # Install mime package + install -m 644 data/carla.xml $(DESTDIR)$(PREFIX)/share/mime/packages/ + # Install binaries install -m 755 \ source/backend/*.so \ diff --git a/data/carla-control.desktop b/data/carla-control.desktop index e6c87fff7..3edca2d43 100644 --- a/data/carla-control.desktop +++ b/data/carla-control.desktop @@ -7,3 +7,4 @@ Icon=carla-control Terminal=false Type=Application Categories=AudioVideo;AudioEditing;Qt; +Version=1.0 diff --git a/data/carla.desktop b/data/carla.desktop index bb035b343..3cd6a2155 100644 --- a/data/carla.desktop +++ b/data/carla.desktop @@ -7,4 +7,5 @@ Icon=carla Terminal=false Type=Application Categories=AudioVideo;AudioEditing;Qt; -#MimeType= +MimeType=application/x-carla-project; +Version=1.0 diff --git a/data/carla.xml b/data/carla.xml new file mode 100644 index 000000000..2ba21daf0 --- /dev/null +++ b/data/carla.xml @@ -0,0 +1,13 @@ + + + + + Carla project + + + + + Carla plugin preset + + +