Skip to content

Commit

Permalink
arandr: Add appstream metainfo
Browse files Browse the repository at this point in the history
**Summary**

Add appstream metainfo (Part of #1389)
  • Loading branch information
malfisya committed Jul 1, 2024
1 parent f84ca48 commit cee3ce4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 10 deletions.
31 changes: 31 additions & 0 deletions packages/a/arandr/files/com.amsuess.christian.arandr.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.amsuess.christian.arandr</id>

<name>ARandR</name>
<summary>A simple visual front end for XRandR</summary>

<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>

<description>
<p>ARandR is designed to provide a simple visual front end for XRandR. Relative monitor positions are shown graphically and can be changed in a drag-and-drop way.</p>
<p>Features:</p>
<ul>
<li>Full control over output positioning (instead of plain &quot;left of&quot;) with edge snapping</li>
<li>Saving configurations as executable shell scripts (configurations can be loaded without using this program)</li>
<li>Configuration files can be edited to include additional payload (like xsetwacom commands tablet PC users need when rotating), which is preserved when editing</li>
<li>Main widget separated from packaged application (to facilitate integration with existing solutions)</li>
</ul>
</description>

<launchable type="desktop-id">arandr.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://screenshots.debian.net/shrine/screenshot/simage/large-56ea8403b3961855d3df42fd378a69dd.png</image>
</screenshot>
<screenshot>
<image>https://screenshots.debian.net/shrine/screenshot/16190/simage/large-77495ab21277981b57899676e676c876.png</image>
</screenshot>
</screenshots>
</component>
10 changes: 7 additions & 3 deletions packages/a/arandr/package.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name : arandr
version : 0.1.11
release : 9
release : 10
source :
- http://christian.amsuess.com/tools/arandr/files/arandr-0.1.11.tar.gz : e4cbbe3698bb812b395770870174be0094bbaeb391105a811f95f42eb182ae02
homepage : http://christian.amsuess.com/tools/arandr/
- https://christian.amsuess.com/tools/arandr/files/arandr-0.1.11.tar.gz : e4cbbe3698bb812b395770870174be0094bbaeb391105a811f95f42eb182ae02
homepage : https://christian.amsuess.com/tools/arandr/
license : GPL-3.0-or-later
component : desktop
summary : A simple visual front end for XRandR
Expand All @@ -18,3 +18,7 @@ build : |
%python3_setup
install : |
%python3_install
# Install appstream metainfo
install -Dm00644 $pkgfiles/com.amsuess.christian.arandr.metainfo.xml -t $installdir/usr/share/metainfo
# It uses invalid stock icon name, replace with the correct one
sed -i 's|display|video-display|' $installdir/usr/share/applications/arandr.desktop
15 changes: 8 additions & 7 deletions packages/a/arandr/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<PISI>
<Source>
<Name>arandr</Name>
<Homepage>http://christian.amsuess.com/tools/arandr/</Homepage>
<Homepage>https://christian.amsuess.com/tools/arandr/</Homepage>
<Packager>
<Name>Joey Riches</Name>
<Email>josephriches@gmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-3.0-or-later</License>
<PartOf>desktop</PartOf>
Expand Down Expand Up @@ -86,15 +86,16 @@
<Path fileType="localedata">/usr/share/locale/zh_Hant/LC_MESSAGES/arandr.mo</Path>
<Path fileType="man">/usr/share/man/man1/arandr.1.gz</Path>
<Path fileType="man">/usr/share/man/man1/unxrandr.1.gz</Path>
<Path fileType="data">/usr/share/metainfo/com.amsuess.christian.arandr.metainfo.xml</Path>
</Files>
</Package>
<History>
<Update release="9">
<Date>2024-02-15</Date>
<Update release="10">
<Date>2024-07-01</Date>
<Version>0.1.11</Version>
<Comment>Packaging update</Comment>
<Name>Joey Riches</Name>
<Email>josephriches@gmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit cee3ce4

Please sign in to comment.