diff options
Diffstat (limited to 'media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch')
-rw-r--r-- | media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch new file mode 100644 index 000000000000..799afe23e264 --- /dev/null +++ b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch @@ -0,0 +1,37 @@ +From 47078d2790e8c2f982dacfe27f998b7307b600c9 Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Thu, 9 Apr 2020 13:06:54 +0200 +Subject: [PATCH] Rename appdata to metainfo + +See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html +chapter 2.1.2 "Filesystem locations" + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + CMakeLists.txt | 4 ++-- + ...recorder.appdata.xml => simplescreenrecorder.metainfo.xml} | 0 + 2 files changed, 2 insertions(+), 2 deletions(-) + rename data/{simplescreenrecorder.appdata.xml => simplescreenrecorder.metainfo.xml} (100%) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7d7167b..760c889 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -86,8 +86,8 @@ if(WITH_SIMPLESCREENRECORDER) + DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/applications + ) + install( +- FILES data/simplescreenrecorder.appdata.xml +- DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/appdata ++ FILES data/simplescreenrecorder.metainfo.xml ++ DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/metainfo + ) + + # icons +diff --git a/data/simplescreenrecorder.appdata.xml b/data/simplescreenrecorder.metainfo.xml +similarity index 100% +rename from data/simplescreenrecorder.appdata.xml +rename to data/simplescreenrecorder.metainfo.xml +-- +2.26.0 + |