Skip to content

Commit

Permalink
virtualbox: 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 Jan 10, 2025
1 parent 3272c3a commit b029183
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 14 deletions.
32 changes: 32 additions & 0 deletions packages/v/virtualbox/files/org.virtualbox.virtualbox.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.virtualbox.virtualbox</id>

<name>Virtualbox</name>
<summary>Powerful open source virtualization</summary>

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

<description>
<p>
VirtualBox is a general-purpose full virtualization software for x86_64 hardware (with version 7.1 additionally for macOS/Arm), targeted at laptop, desktop, server and embedded use.
</p>
</description>

<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/getsolus/packages/3272c3a2a713d05d1eca1f5dfc56bce515e17d0f/packages/v/virtualbox/files/screenshot/virtualbox1.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/getsolus/packages/3272c3a2a713d05d1eca1f5dfc56bce515e17d0f/packages/v/virtualbox/files/screenshot/virtualbox2.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/getsolus/packages/3272c3a2a713d05d1eca1f5dfc56bce515e17d0f/packages/v/virtualbox/files/screenshot/virtualbox3.png</image>
</screenshot>
</screenshots>

<url type="homepage">https://www.virtualbox.org/</url>
<launchable type="desktop-id">virtualbox.desktop</launchable>
</component>

7 changes: 5 additions & 2 deletions packages/v/virtualbox/package.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name : virtualbox
version : 7.1.4
release : 342
release : 343
source :
- https://download.virtualbox.org/virtualbox/7.1.4/VirtualBox-7.1.4.tar.bz2 : 872e7a42b41f8558abbf887f1bdc7aac932bb88b2764d07cbce270cab57e3b5e
- https://download.virtualbox.org/virtualbox/7.1.4/VBoxGuestAdditions_7.1.4.iso : 80c91d35742f68217cf47b13e5b50d53f54c22c485bacce41ad7fdc321649e61
license : GPL-2.0-only
homepage : https://www.virtualbox.org
license : GPL-2.0-only
component :
- virt
- common : virt
Expand Down Expand Up @@ -204,6 +204,9 @@ install : |
install -Dm00644 virtualbox.desktop $installdir/usr/share/applications/virtualbox.desktop
install -Dm00644 virtualbox.xml $installdir/usr/share/mime/packages/virtualbox.xml
# appstream metainfo
install -Dm00644 $pkgfiles/org.virtualbox.virtualbox.metainfo.xml -t $installdir/usr/share/metainfo
# kernel modules
for kern in "%kernel_version_lts%" "%kernel_version_current%"; do
pushd ${kern}
Expand Down
25 changes: 13 additions & 12 deletions packages/v/virtualbox/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>virtualbox</Name>
<Homepage>https://www.virtualbox.org</Homepage>
<Packager>
<Name>Troy Harvey</Name>
<Email>harveydevel@gmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-2.0-only</License>
<PartOf>virt</PartOf>
Expand All @@ -24,7 +24,7 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
</Description>
<PartOf>virt</PartOf>
<RuntimeDependencies>
<Dependency releaseFrom="342">virtualbox-common</Dependency>
<Dependency releaseFrom="343">virtualbox-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/lib64/modules/6.6.66-262.lts/extra/vboxdrv.ko.zst</Path>
Expand Down Expand Up @@ -212,6 +212,7 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
<Path fileType="data">/usr/share/icons/hicolor/96x96/mimetypes/virtualbox-vhd.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/96x96/mimetypes/virtualbox-vmdk.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/scalable/mimetypes/virtualbox.svg</Path>
<Path fileType="data">/usr/share/metainfo/org.virtualbox.virtualbox.metainfo.xml</Path>
<Path fileType="data">/usr/share/mime/packages/virtualbox.xml</Path>
<Path fileType="data">/usr/share/pixmaps/VBox.png</Path>
<Path fileType="data">/usr/share/virtualbox/nls/VBoxManageNls_ru.qm</Path>
Expand Down Expand Up @@ -306,7 +307,7 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
</Description>
<PartOf>virt</PartOf>
<RuntimeDependencies>
<Dependency releaseFrom="342">virtualbox-common</Dependency>
<Dependency releaseFrom="343">virtualbox-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/lib64/modules/6.12.5-311.current/extra/vboxdrv.ko.zst</Path>
Expand All @@ -326,8 +327,8 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="342">virtualbox</Dependency>
<Dependency releaseFrom="342">virtualbox-common</Dependency>
<Dependency release="343">virtualbox</Dependency>
<Dependency releaseFrom="343">virtualbox-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3.11/site-packages/vboxapi-1-py3.11.egg-info/PKG-INFO</Path>
Expand Down Expand Up @@ -618,7 +619,7 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
</Description>
<PartOf>virt</PartOf>
<RuntimeDependencies>
<Dependency releaseFrom="342">virtualbox-guest-common</Dependency>
<Dependency releaseFrom="343">virtualbox-guest-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/lib64/modules/6.6.66-262.lts/misc/vboxguest.ko.zst</Path>
Expand Down Expand Up @@ -673,7 +674,7 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
</Description>
<PartOf>virt</PartOf>
<RuntimeDependencies>
<Dependency releaseFrom="342">virtualbox-guest-common</Dependency>
<Dependency releaseFrom="343">virtualbox-guest-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/lib64/modules/6.12.5-311.current/misc/vboxguest.ko.zst</Path>
Expand All @@ -685,12 +686,12 @@ Installation Guide: https://help.getsol.us/docs/user/software/virtualization/vir
</Files>
</Package>
<History>
<Update release="342">
<Date>2024-12-21</Date>
<Update release="343">
<Date>2025-01-10</Date>
<Version>7.1.4</Version>
<Comment>Packaging update</Comment>
<Name>Troy Harvey</Name>
<Email>harveydevel@gmail.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit b029183

Please sign in to comment.