Skip to content

Commit

Permalink
Add metainfo for xpadneo driver (#1328) (#1338)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7eaf23e)

Co-authored-by: Cappy Ishihara <[email protected]>
  • Loading branch information
raboneko and korewaChino authored Jun 8, 2024
1 parent 7e71305 commit 8beb1a4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions anda/system/xpadneo/io.github.xpadneo.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<component type="driver">
<id>io.github.xpadneo</id>
<name>xpadneo</name>
<pkgname>xpadneo</pkgname>
<summary>Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)</summary>
<description>
<p>
Wireless Drivers for the Xbox One and Series S|X controllers.

Across all models, xpadneo won't support audio features of the controllers because the firmware doesn't support audio in Bluetooth mode. In the future, xpadneo may support audio when USB and dongle support will be added.
</p>
</description>
<url type="homepage">https://atar-axis.github.io/xpadneo/</url>
<metadata_license>CC0-1.0</metadata_license>
<!-- gplv3 -->
<project_license>GPL-3.0</project_license>

<developer id="atar-axis.github.io">
<name>Florian Dollinger</name>
</developer>

<provides>
<!-- /devices/virtual/misc/uhid/0005:045E:02FD.0008/input/input27 -->
<modalias>usb:v045Ep02FDd0008dc00dsc00dp00ic03isc00ip00in00</modalias>
</provides>
</component>
3 changes: 3 additions & 0 deletions anda/system/xpadneo/xpadneo.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ License: GPL-3.0
URL: https://github.com/atar-axis/xpadneo
Source0: %url/archive/v%version/%name-%version.tar.gz
Source1: modules-load-d-xpadneo.conf
Source2: io.github.xpadneo.metainfo.xml

%global srcname hid-%name

Expand Down Expand Up @@ -69,13 +70,15 @@ done
install -Dm644 hid-xpadneo/etc-modprobe.d/xpadneo.conf %{buildroot}%{_modprobedir}/60-xpadneo.conf
install -Dm644 %{SOURCE1} %{buildroot}%{_modulesloaddir}/xpadneo.conf
install -Dm644 hid-xpadneo/etc-udev-rules.d/60-xpadneo.rules %{buildroot}%{_udevrulesdir}/60-xpadneo.rules
install -Dm644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo/io.github.xpadneo.metainfo.xml

%files
%doc NEWS.md docs/README.md docs/CONFIGURATION.md
%license LICENSE
%{_modprobedir}/60-xpadneo.conf
%{_modulesloaddir}/xpadneo.conf
%{_udevrulesdir}/60-xpadneo.rules
%{_datadir}/metainfo/io.github.xpadneo.metainfo.xml

%changelog
* Wed Oct 12 2022 Jan Drögehoff <[email protected]> - 0.9.5-1
Expand Down

0 comments on commit 8beb1a4

Please sign in to comment.