LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File transmission-appdata.patch of Package transmission (Project home:sagiben)

Index: transmission-2.92/gtk/Makefile.am
===================================================================
--- transmission-2.92.orig/gtk/Makefile.am
+++ transmission-2.92/gtk/Makefile.am
@@ -97,6 +97,11 @@ DESKTOP_IN_FILES=transmission-gtk.deskto
 DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+APPDATAdir = $(datadir)/appdata
+APPDATA_IN_FILES = transmission-gtk.appdata.xml.in
+APPDATA_DATA = $(APPDATA_IN_FILES:.appdata.xml.in=.appdata.xml)
+@INTLTOOL_XML_RULE@
+
 Productivitydir = $(datadir)/applications
 Productivity_DATA = $(DESKTOP_FILES)
 
@@ -124,7 +129,8 @@ EXTRA_DIST = \
 	$(DESKTOP_IN_FILES) \
 	$(UI_FILES) \
 	transmission.gresource.xml \
-	transmission.png
+	transmission.png \
+	$(APPDATA_IN_FILES)
 
 DISTCLEANFILES = \
 	transmission-gtk.desktop
Index: transmission-2.92/gtk/transmission-gtk.appdata.xml.in
===================================================================
--- /dev/null
+++ transmission-2.92/gtk/transmission-gtk.appdata.xml.in
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+  <id type="desktop">transmission-gtk.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <_name>Transmission BitTorrent Client</_name>
+  <project_license>(GPL-2.0 or GPL-3.0) and MIT</project_license>
+  <_summary>Lightweight, yet powerful BitTorrent client</_summary>
+  <url type="homepage">http://www.transmissionbt.com/</url>
+  <description>
+    <_p>Transmission is a fast, easy, and free multi-platform BitTorrent client
+with a focus on being lightweight yet feature-filled. Its simple,
+intuitive interface is designed to integrate tightly with whatever
+computing environment you choose to use. Transmission strikes a balance
+between providing useful functionality without feature bloat.
+Furthermore, it is free for anyone to use or modify.</_p>
+    <_p>This installs the GTK interface for transmission.</_p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image height="805" width="1252">https://www.transmissionbt.com/images/screenshots/GTK-Large.jpg</image>
+      <caption>Transmission in action</caption>
+    </screenshot>
+  </screenshots>
+  <update_contact>dev@transmissionbt.com</update_contact>
+  <translation type="gettext">transmission-gtk</translation>
+</component>
Index: transmission-2.92/po/POTFILES.in
===================================================================
--- transmission-2.92.orig/po/POTFILES.in
+++ transmission-2.92/po/POTFILES.in
@@ -15,6 +15,7 @@ gtk/open-dialog.c
 gtk/relocate.c
 gtk/stats.c
 gtk/torrent-cell-renderer.c
+gtk/transmission-gtk.appdata.xml.in
 gtk/transmission-gtk.desktop.in
 gtk/tr-core.c
 gtk/tr-icon.c