File tree 3 files changed +17
-4
lines changed
3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ endif(uchardet_FOUND)
577
577
if (NOT WIN32 )
578
578
set (AEGISUB_COMMAND "aegisub" CACHE STRING "The executable name of Aegisub" )
579
579
set_target_properties (Aegisub PROPERTIES OUTPUT_NAME aegisub)
580
- configure_file ("packages/desktop/aegisub.desktop.template.in" "aegisub.desktop" @ONLY)
580
+ configure_file ("packages/desktop/aegisub.desktop.template.cmake. in" "aegisub.desktop" @ONLY)
581
581
install (FILES "${CMAKE_BINARY_DIR} /aegisub.desktop" DESTINATION "share/applications" )
582
582
install (FILES "packages/desktop/16x16.png" DESTINATION "share/icons/hicolor/16x16/apps" RENAME aegisub.png)
583
583
install (FILES "packages/desktop/22x22.png" DESTINATION "share/icons/hicolor/22x22/apps" RENAME aegisub.png)
Original file line number Diff line number Diff line change
1
+ [Desktop Entry]
2
+ Version =1.0
3
+ Type =Application
4
+ Name =Aegisub
5
+ GenericName=Subtitle Editor
6
+ Comment =Create and edit subtitles for film and videos.
7
+ Exec=env GDK_BACKEND=x11 @AEGISUB_COMMAND@ %f
8
+ TryExec=@AEGISUB_COMMAND@
9
+ Icon=aegisub
10
+ Terminal=false
11
+ Categories=AudioVideo;AudioVideoEditing;
12
+ MimeType=application/x-srt;text/plain;text/x-ass;text/x-microdvd;text/x-ssa;
13
+ StartupNotify=true
Original file line number Diff line number Diff line change 1
1
[Desktop Entry]
2
2
Version=1.0
3
3
Type=Application
4
- Name =Aegisub
5
- GenericName =Subtitle Editor
6
- Comment =Create and edit subtitles for film and videos.
4
+ _Name =Aegisub
5
+ _GenericName =Subtitle Editor
6
+ _Comment =Create and edit subtitles for film and videos.
7
7
Exec=env GDK_BACKEND=x11 @AEGISUB_COMMAND@ %f
8
8
TryExec=@AEGISUB_COMMAND@
9
9
Icon=aegisub
You can’t perform that action at this time.
0 commit comments