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

Commit

Permalink
Further improve
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEvilSkeleton committed Aug 16, 2022
1 parent 6e1c200 commit 4ef37c6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ else()
set( APP_NAME "saucedacity" )
endif()

# Define Application ID
set( APP_ID "io.github.saucedacity.Saucedacity" )

# Create short and full version strings
set( AUDACITY_DIST_VERSION ${AUDACITY_VERSION}.${AUDACITY_RELEASE}.${AUDACITY_REVISION} )
set( AUDACITY_INFO_VERSION ${AUDACITY_VERSION}.${AUDACITY_RELEASE}.${AUDACITY_REVISION}.${AUDACITY_MODLEVEL} )
Expand Down
5 changes: 5 additions & 0 deletions help/io.github.saucedacity.Saucedacity.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<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>
<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>
Expand Down Expand Up @@ -59,4 +60,8 @@
</description>
</release>
</releases>
<supports>
<control>pointing</control>
<control>keyboard</control>
</supports>
</component>
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ else()
endif()

# Create the desktop file
configure_file( io.github.saucedacity.Saucedacity.desktop.in ${_INTDIR}/saucedacity.desktop )
configure_file( io.github.saucedacity.Saucedacity.desktop.in ${_INTDIR}/io.github.saucedacity.Saucedacity.desktop )

# Copy the required wxWidgets libs into the bundle
add_custom_command(
Expand Down Expand Up @@ -1424,7 +1424,7 @@ else()
DESTINATION "${_LIBDIR}"
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.so*" )
install( FILES "${_INTDIR}/saucedacity.desktop"
install( FILES "${_INTDIR}/io.github.saucedacity.Saucedacity.desktop"
DESTINATION "${_DATADIR}/applications" )
install( FILES "${topdir}/LICENSE.txt" "${topdir}/README.md"
DESTINATION "${_DATADIR}/doc/${APP_NAME}" )
Expand Down
10 changes: 6 additions & 4 deletions src/io.github.saucedacity.Saucedacity.desktop.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Name=Saucedacity
Name=@APP_NAME@
GenericName=Sound Editor
GenericName[ar]=محرر أصوات
GenericName[ca]=Editor d'àudio
Expand Down Expand Up @@ -45,12 +45,14 @@ Comment[uk]=Запис і редагування звукових файлів
Comment[zh_CN]=录音和编辑音频文件
Comment[zh_TW]=錄音和編輯音訊檔案

Icon=@APP_NAME@
Icon=@APP_ID@
StartupWMClass=@APP_NAME@

Type=Application
Categories=AudioVideo;Audio;AudioVideoEditing;
Categories=AudioVideo;Audio;AudioVideoEditing;Midi;Recorder;
Keywords=audio;editor;audacity;sound;ton;wave;

Exec=env UBUNTU_MENUPROXY=0 @APP_NAME@ %F
Exec=env UBUNTU_MENUPROXY=0 @APP_ID@ %F
StartupNotify=false
Terminal=false
MimeType=@MIMETYPES@;

0 comments on commit 4ef37c6

Please sign in to comment.