summaryrefslogtreecommitdiff
path: root/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.0-metainfo.patch
blob: 799afe23e2649baa4d10564a968e4052c692bb35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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