Browse Source

Move pkgconfig files to their own dir, tweak and install appdata

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.2
falkTX 3 years ago
parent
commit
cb3cf83f9f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
6 changed files with 28 additions and 23 deletions
  1. +6
    -1
      Makefile
  2. +22
    -22
      data/appdata.xml
  3. +0
    -0
      data/pkgconfig/carla-host-plugin.pc
  4. +0
    -0
      data/pkgconfig/carla-native-plugin.pc
  5. +0
    -0
      data/pkgconfig/carla-standalone.pc
  6. +0
    -0
      data/pkgconfig/carla-utils.pc

+ 6
- 1
Makefile View File

@@ -448,6 +448,7 @@ endif
ifeq ($(HAVE_PYQT),true)
# Create directories (gui)
install -d $(DESTDIR)$(LIBDIR)/carla/styles
install -d $(DESTDIR)$(PREFIX)/share/appdata
install -d $(DESTDIR)$(DATADIR)/applications
install -d $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
install -d $(DESTDIR)$(DATADIR)/icons/hicolor/32x32/apps
@@ -504,7 +505,7 @@ endif

# Install pkg-config files
install -m 644 \
data/*.pc \
data/pkgconfig/*.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig

# Adjust PREFIX, LIBDIR, INCLUDEDIR and VERSION in pkg-config files
@@ -652,6 +653,10 @@ ifeq ($(HAVE_LIBLO),true)
install -m 644 data/desktop/carla-control.desktop $(DESTDIR)$(DATADIR)/applications
endif

# Install app data
sed -e 's?X-VERSION-X?$(VERSION)?' \
data/appdata.xml > $(DESTDIR)$(PREFIX)/share/appdata/studio.kx.carla.appdata.xml

# Install mime package
install -m 644 data/carla.xml $(DESTDIR)$(DATADIR)/mime/packages



+ 22
- 22
data/appdata.xml View File

@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>studio.kx.carla</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<name>Carla</name>
<summary>Audio Plugin Host</summary>
<description>
<p>Carla is a fully-featured audio plugin host, with support for many audio drivers and plugin formats.</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://kx.studio/screenshots/carla.png</image>
<image>https://kx.studio/screenshots/carla-patchbay.png</image>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<launchable type="desktop-id">studio.kx.carla.desktop</launchable>
<url type="homepage">https://kx.studio/Applications:Carla</url>
<url type="bugtracker">https://github.com/falkTX/Carla/issues</url>
<releases>
<release version="2.4.1" date="2021-10-15" />
</releases>
</component>
<id>studio.kx.carla</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<name>Carla</name>
<summary>Audio Plugin Host</summary>
<description>
<p>Carla is a fully-featured audio plugin host, with support for many audio drivers and plugin formats.</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://kx.studio/screenshots/carla.png</image>
<image>https://kx.studio/screenshots/carla-patchbay.png</image>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<launchable type="desktop-id">studio.kx.carla.desktop</launchable>
<url type="homepage">https://kx.studio/Applications:Carla</url>
<url type="bugtracker">https://github.com/falkTX/Carla/issues</url>
<releases>
<release version="X-VERSION-X" />
</releases>
</component>

data/carla-host-plugin.pc → data/pkgconfig/carla-host-plugin.pc View File


data/carla-native-plugin.pc → data/pkgconfig/carla-native-plugin.pc View File


data/carla-standalone.pc → data/pkgconfig/carla-standalone.pc View File


data/carla-utils.pc → data/pkgconfig/carla-utils.pc View File


Loading…
Cancel
Save