Browse Source

Associate carla with *.carxp files on linux

tags/1.9.4
falkTX 11 years ago
parent
commit
9f6978dd41
4 changed files with 21 additions and 3 deletions
  1. +5
    -2
      Makefile
  2. +1
    -0
      data/carla-control.desktop
  3. +2
    -1
      data/carla.desktop
  4. +13
    -0
      data/carla.xml

+ 5
- 2
Makefile View File

@@ -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 \


+ 1
- 0
data/carla-control.desktop View File

@@ -7,3 +7,4 @@ Icon=carla-control
Terminal=false
Type=Application
Categories=AudioVideo;AudioEditing;Qt;
Version=1.0

+ 2
- 1
data/carla.desktop View File

@@ -7,4 +7,5 @@ Icon=carla
Terminal=false
Type=Application
Categories=AudioVideo;AudioEditing;Qt;
#MimeType=
MimeType=application/x-carla-project;
Version=1.0

+ 13
- 0
data/carla.xml View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-carla-project">
<sub-class-of type="text/xml"/>
<comment>Carla project</comment>
<glob pattern="*.carxp"/>
</mime-type>
<mime-type type="application/x-carla-plugin-preset">
<sub-class-of type="text/xml"/>
<comment>Carla plugin preset</comment>
<glob pattern="*.carxs"/>
</mime-type>
</mime-info>

Loading…
Cancel
Save