Don't generate desktop file form metainfo
Validator was complaining about having an icon in the metainfo, but we need the icon there to generate the desktop file. idk what to do about that so I removed the desktop file generator
This commit is contained in:
7
data/cafe.avery.Delfin.desktop.in
Normal file
7
data/cafe.avery.Delfin.desktop.in
Normal file
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Delfin
|
||||
Comment=Stream movies and TV shows from Jellyfin
|
||||
Icon=@APP_ID@
|
||||
Exec=delfin
|
||||
Categories=AudioVideo;Video;Player;TV;GTK;GNOME
|
@@ -68,8 +68,6 @@
|
||||
|
||||
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
|
||||
|
||||
<icon type="stock">@APP_ID@</icon>
|
||||
|
||||
<categories>
|
||||
<category>AudioVideo</category>
|
||||
<category>Video</category>
|
||||
|
@@ -29,15 +29,17 @@ install_data(
|
||||
install_dir: metainfodir,
|
||||
)
|
||||
|
||||
desktop_file = '@0@.desktop'.format(app_id)
|
||||
desktop_file = configure_file(
|
||||
input: 'cafe.avery.Delfin.desktop.in',
|
||||
output: '@0@.desktop'.format(app_id),
|
||||
configuration: {
|
||||
'APP_ID': app_id,
|
||||
},
|
||||
)
|
||||
|
||||
# Create desktop-entry file from metainfo
|
||||
custom_target('gen-desktop-entry',
|
||||
input : [metainfo_file],
|
||||
output : [desktop_file],
|
||||
command : [ascli_exe, 'make-desktop-file', '@INPUT@', '@OUTPUT@'],
|
||||
install: true,
|
||||
install_dir: appsdir,
|
||||
install_data(
|
||||
desktop_file,
|
||||
install_dir: appsdir,
|
||||
)
|
||||
|
||||
resources_file = configure_file(
|
||||
@@ -49,7 +51,7 @@ resources_file = configure_file(
|
||||
)
|
||||
|
||||
# Compile and install resources
|
||||
resources = gnome.compile_resources(
|
||||
gnome.compile_resources(
|
||||
'resources',
|
||||
resources_file,
|
||||
gresource_bundle: true,
|
||||
|
Reference in New Issue
Block a user