Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Use CMake for appstream
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEvilSkeleton committed Aug 17, 2022
1 parent 3437ceb commit 0ea7e20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion help/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set( script_dir "${topdir}/scripts/mw2html_audacity" )
set( script "mw2html.py" )
set( out_dir "${_INTDIR}" )
set( out "${out_dir}/${host}/index.html" )
configure_file( ${APP_ID}.metainfo.xml.in ${_INTDIR}/${APP_ID}.metainfo.xml )

add_custom_command(
COMMENT
Expand Down Expand Up @@ -58,7 +59,7 @@ if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
DESTINATION "${_DATADIR}/audacity/help" )
install( FILES "${_SRCDIR}/audacity.1"
DESTINATION "${_MANDIR}/man1" )
install( FILES "${_SRCDIR}/${APP_ID}.metainfo.xml"
install( FILES "${_INTDIR}/${APP_ID}.metainfo.xml"
DESTINATION "${_DATADIR}/metainfo" )
endif()
endif()
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.saucedacity.Saucedacity</id>
<launchable type="desktop-id">io.github.saucedacity.Saucedacity.desktop</launchable>
<id>@APP_ID@</id>
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
<project_license>GPL-2.0 and CC-BY-3.0</project_license>
<metadata_license>CC0-1.0</metadata_license>
<name>Saucedacity</name>
<developer_name>Saucedacity Community</developer_name>
<name>@APP_NAME@</name>
<developer_name>@APP_NAME@ Community</developer_name>
<summary>Record and edit audio files</summary>
<description>
<p>Saucedacity is a free, easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems. The interface is translated into many languages.</p>
<p>You can use Saucedacity to:</p>
<p>@APP_NAME@ is a free, easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems. The interface is translated into many languages.</p>
<p>You can use @APP_NAME@ to:</p>
<ul>
<li>Record live audio</li>
<li>Convert tapes and records into digital recordings or CDs</li>
Expand Down

0 comments on commit 0ea7e20

Please sign in to comment.