Skip to content

Add a Desktop entry for the job queue runner #543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ avidemux/oldFiles/
myBuild*
oprofile_data
avidemux/winInstaller/AvidemuxVersion.nsh
avidemux/qt4/xdg_data/org.avidemux.Avidemux.desktop
avidemux/qt4/xdg_data/org.avidemux.Avidemux.appdata.xml
avidemux/qt4/xdg_data/org.avidemux.AvidemuxJobs.desktop
avidemux/qt4/xdg_data/org.avidemux.AvidemuxJobs.appdata.xml
*.DS_Store
6 changes: 6 additions & 0 deletions avidemux/qt4/xdg_data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ cmake_minimum_required(VERSION 3.7)
string(TIMESTAMP BUILD_DATE "%Y-%m-%d")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.Avidemux.appdata.xml.in ${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.Avidemux.appdata.xml)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.Avidemux.desktop.in ${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.Avidemux.desktop)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.AvidemuxJobs.appdata.xml.in ${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.AvidemuxJobs.appdata.xml)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.AvidemuxJobs.desktop.in ${CMAKE_CURRENT_SOURCE_DIR}/org.avidemux.AvidemuxJobs.desktop)

install(FILES org.avidemux.Avidemux.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo COMPONENT runtime)
install(FILES org.avidemux.Avidemux.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT runtime)
install(FILES org.avidemux.Avidemux.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps COMPONENT runtime)

install(FILES org.avidemux.AvidemuxJobs.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo COMPONENT runtime)
install(FILES org.avidemux.AvidemuxJobs.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT runtime)
install(FILES org.avidemux.AvidemuxJobs.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps COMPONENT runtime)
34 changes: 34 additions & 0 deletions avidemux/qt4/xdg_data/org.avidemux.AvidemuxJobs.appdata.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Adrien Vergé -->
<component type="desktop">
<id>org.avidemux.AvidemuxJobs</id>
<metadata_license>CC0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Avidemux Jobs</name>
<summary>Execute jobs queued by the Avidemux video editing and processing software</summary>
<description>
<p>
Avidemux is a free open-source program designed for multi-purpose
video editing and processing, which can be used on almost all known
operating systems and computer platforms.
</p>
</description>
<categories>
<category>AudioVideo</category>
<category>AudioVideoEditing</category>
<category>Video</category>
</categories>
<url type="homepage">https://www.avidemux.org/</url>
<provides>
<binary>avidemux3_jobs_${QT_EXTENSION}</binary>
</provides>
<update_contact>Avidemux team -- avidemux.org/smif/</update_contact>
<screenshots>
<screenshot type="default">http://fixounet.free.fr/avidemux/index_files/screenshot1.png</screenshot>
<screenshot type="default">http://fixounet.free.fr/avidemux/index_files/screenshot2.png</screenshot>
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
<release version="${AVIDEMUX_VERSION}" date="2022-09-15"/>
</releases>
</component>
10 changes: 10 additions & 0 deletions avidemux/qt4/xdg_data/org.avidemux.AvidemuxJobs.desktop.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Avidemux Jobs
GenericName=Video Editor
Comment=Multiplatform video editor
Exec=avidemux3_jobs_${QT_EXTENSION}
Icon=org.avidemux.AvidemuxJobs
Terminal=false
Type=Application
Categories=AudioVideo;AudioVideoEditing;Video;
StartupWMClass=avidemux3_jobs_${QT_EXTENSION}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.