<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>virt-viewer</Name>
        <Homepage>https://www.virt-viewer-space.org/</Homepage>
        <Packager>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Packager>
        <License>LGPL2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>The virtual machine console viewer application code</Summary>
        <Description>Virt Viewer provides a graphical viewer for the guest OS display. At this time is supports guest OS using the VNC or SPICE protocols. Further protocols may be supported in the future as user demand dictates.</Description>
        <Archive sha1sum="dbec4c2d36b3703ce8eaa1dc5bf4e18644bb7391" type="targz">https://gitlab.com/virt-viewer/virt-viewer/-/archive/v11.0/virt-viewer-v11.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>meson</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>vte-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>spice-devel</Dependency>
            <Dependency>libsoup-devel</Dependency>
            <Dependency>librest-devel</Dependency>
            <Dependency>libvirt-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>gtk-vnc-devel</Dependency>
            <Dependency>spice-protocol</Dependency>
            <Dependency>spice-gtk-devel</Dependency>
            <Dependency>libgovirt-devel</Dependency>
            <Dependency>bash-completion</Dependency>
            <Dependency>desktop-file-utils</Dependency>
            <Dependency>libvirt-glib-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>drop-header.patch</Patch> -->
            <Patch>41cc016278e713d3db156761fce6437dff81a53a.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>virt-viewer</Name>
        <Summary>Simple Protocol for Independent Computing Environments</Summary>
        <RuntimeDependencies>
            <Dependency>vte</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>gtk-vnc</Dependency>
            <Dependency>libvirt</Dependency>
            <Dependency>spice-gtk</Dependency>
            <Dependency>libgovirt</Dependency>
            <Dependency>libvirt-glib</Dependency>
            <Dependency>spice-protocol</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="executable">/usr/bin/</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/usr/share/metainfo</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/bash-completion</Path>
        </Files>
    </Package>

<!--     <Package>
        <Name>virt-viewer-devel</Name>
        <Summary>Development files for virt-viewer</Summary>
        <RuntimeDependencies>
            <Dependency>glib2-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency release="current">virt-viewer</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package> -->

    <History>
        <Update release="2">
            <Date>2022-11-07</Date>
            <Version>11.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2022-07-03</Date>
            <Version>11.0</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
