Skip to content

Commit

Permalink
brscan4: Add appstream metainfo (#3161)
Browse files Browse the repository at this point in the history
**Summary**

- Add appstream metainfo (Part of #1389)
- Resolved #3083

**Test Plan**

<!-- Short description of how the package was tested -->
Verify metainfo with appstream-builder --packages-dir=. --include-failed
-v

**Checklist**

- [x] Package was built and tested against unstable
  • Loading branch information
joebonrichie authored Jul 5, 2024
2 parents 02e24f8 + f66b441 commit b07a68d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
27 changes: 27 additions & 0 deletions packages/b/brscan4/files/brscan4.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="driver">
<id>brscan4</id>
<name>Brscan4 drivers</name>
<summary>Brscan4 drivers for Brother scanners</summary>
<description>
<p>
Brscan4 provides a variety of scanning drivers for various Brother scanners
and multi-function printers.
</p>
<p>
Note that some portions are binary and provided for hardware enablement
so may not meet typical Solus packaging standards for paths.
</p>
</description>
<url type="homepage">https://global.brother</url>
<icon type="stock">scanner</icon>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LicenseRef-proprietary:BROTHER</project_license>
<developer_name>Brother Industries</developer_name>
<keywords>
<keyword>Scanner</keyword>
<keyword>Brother</keyword>
</keywords>
<url type="bugtracker">http://issues.getsol.us/</url>
<update_contact>[email protected]</update_contact>
</component>
5 changes: 4 additions & 1 deletion packages/b/brscan4/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : brscan4
version : 0.4.11_1
release : 6
release : 7
source :
- https://download.brother.com/welcome/dlf105203/brscan4-0.4.11-1.x86_64.rpm : 7d7dcbe8349ae4d4ab816e4551017f2f1fd9fd6bf3f4f3c570fbd9576248dd9f
homepage : https://global.brother
Expand Down Expand Up @@ -39,3 +39,6 @@ install : |
# rm brsanenetdevice4.cfg you can generate it
rm -rf $installdir/opt/brother/scanner/brscan4/brsanenetdevice4.cfg
# Install AppStream Metainfo
install -Dm00644 $pkgfiles/brscan4.metainfo.xml -t $installdir/usr/share/metainfo
5 changes: 3 additions & 2 deletions packages/b/brscan4/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ Note that some portions are binary and provided for hardware enablement so may n
<Path fileType="library">/usr/lib64/sane/libsane-brother4.so.1</Path>
<Path fileType="library">/usr/lib64/sane/libsane-brother4.so.1.0.7</Path>
<Path fileType="library">/usr/lib64/udev/hwdb.d/70-brscan4.hwdb</Path>
<Path fileType="data">/usr/share/metainfo/brscan4.metainfo.xml</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2023-12-23</Date>
<Update release="7">
<Date>2024-07-01</Date>
<Version>0.4.11_1</Version>
<Comment>Packaging update</Comment>
<Name>Muhammad Alfi Syahrin</Name>
Expand Down

0 comments on commit b07a68d

Please sign in to comment.