Skip to content

Commit

Permalink
input-remapper: Housekeeping
Browse files Browse the repository at this point in the history
**Summary**

- Fix appstream generation
   - Remove duplicate appstream metainfo
   - Rename desktop file to match appstream metainfo
- Add monitoring.yaml (Part of #4121)
  • Loading branch information
malfisya committed Jan 14, 2025
1 parent a983927 commit 02499fa
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
6 changes: 6 additions & 0 deletions packages/i/input-remapper/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
releases:
id: 369286
rss: https://github.com/sezanzeb/input-remapper/tags.atom
# No known CPE, checked 2025-01-11
security:
cpe: ~
8 changes: 7 additions & 1 deletion packages/i/input-remapper/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : input-remapper
version : 2.0.1
release : 4
release : 5
source :
- https://github.com/sezanzeb/input-remapper/archive/refs/tags/2.0.1.tar.gz : 823b2a569654778acb1a79b36b43b179c99a4e7a7a666f15c29650143d830662
homepage : https://github.com/sezanzeb/input-remapper
Expand Down Expand Up @@ -29,3 +29,9 @@ install : |
install -dm00644 $installdir/usr/share/xdg/autostart/
mv $installdir/etc/xdg/autostart/input-remapper-autoload.desktop $installdir/usr/share/xdg/autostart/input-remapper-autoload.desktop
rm -fr $installdir/etc
# remove duplicate appstream metainfo
rm -rfv $installdir/usr/share/input-remapper/*.metainfo.xml
# rename desktop file
mv $installdir/usr/share/applications/input-remapper-gtk.desktop $installdir/usr/share/applications/input-remapper.desktop
15 changes: 7 additions & 8 deletions packages/i/input-remapper/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>input-remapper</Name>
<Homepage>https://github.com/sezanzeb/input-remapper</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>system.utils</PartOf>
Expand Down Expand Up @@ -165,7 +165,7 @@
<Path fileType="library">/usr/lib/python3.11/site-packages/inputremapper/utils.py</Path>
<Path fileType="library">/usr/lib/systemd/system/input-remapper.service</Path>
<Path fileType="library">/usr/lib/udev/rules.d/99-input-remapper.rules</Path>
<Path fileType="data">/usr/share/applications/input-remapper-gtk.desktop</Path>
<Path fileType="data">/usr/share/applications/input-remapper.desktop</Path>
<Path fileType="data">/usr/share/dbus-1/system.d/inputremapper.Control.conf</Path>
<Path fileType="data">/usr/share/icons/hicolor/scalable/apps/input-remapper.svg</Path>
<Path fileType="data">/usr/share/input-remapper/99-input-remapper.rules</Path>
Expand All @@ -177,7 +177,6 @@
<Path fileType="data">/usr/share/input-remapper/input-remapper.service</Path>
<Path fileType="data">/usr/share/input-remapper/input-remapper.svg</Path>
<Path fileType="data">/usr/share/input-remapper/inputremapper.Control.conf</Path>
<Path fileType="data">/usr/share/input-remapper/io.github.sezanzeb.input_remapper.metainfo.xml</Path>
<Path fileType="data">/usr/share/input-remapper/lang/fr/LC_MESSAGES/input-remapper.mo</Path>
<Path fileType="data">/usr/share/input-remapper/lang/fr_FR/LC_MESSAGES/input-remapper.mo</Path>
<Path fileType="data">/usr/share/input-remapper/lang/it/LC_MESSAGES/input-remapper.mo</Path>
Expand All @@ -199,12 +198,12 @@
</Files>
</Package>
<History>
<Update release="4">
<Date>2024-09-14</Date>
<Update release="5">
<Date>2025-01-11</Date>
<Version>2.0.1</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 02499fa

Please sign in to comment.