<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt6-phonon</Name>
        <Homepage>http://phonon.kde.org</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>The multimedia framework by KDE</Summary>
        <Description>Phonon was created as a solution to several problems with multimedia commonly faced by Unix desktops, especially KDE 3's outdated multimedia framework aRts. Phonon itself is not a multimedia framework, but interfaces with existing frameworks such as GStreamer or Xine via backends.</Description>
        <Archive sha1sum="716232eca543cf4b1996dcf48db7877365966934" type="tarxz">https://download.kde.org/stable/phonon/4.12.0/phonon-4.12.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency versionFrom="6.5.3">qt6-declarative-devel</Dependency>
            <Dependency versionFrom="6.5.3">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.5.3">qt6-5compat-devel</Dependency>
            <Dependency versionFrom="6.5.3">qt6-designer-devel</Dependency>
            <Dependency versionFrom="6.5.3">qt6-linguist</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency versionFrom="18.2.5">mesa-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>phonon-qt6.12.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>qt6-phonon</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="6.5.3">qt6-base</Dependency>
            <Dependency versionFrom="6.5.3">qt6-designer</Dependency>
            <Dependency versionFrom="6.5.3">qt6-5compat</Dependency>
<!--             <Dependency>qt6-quick1</Dependency> -->
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/libphonon*</Path>
            <Path fileType="library">/usr/lib/qt6</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/phonon4qt6</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt6-phonon-devel</Name>
        <Summary>Development files for phonon-qt6</Summary>
        <RuntimeDependencies>
            <Dependency release="current">qt6-phonon</Dependency>
            <Dependency versionFrom="6.5.3">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.5.3">qt6-designer-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-11-18</Date>
            <Version>4.12.0</Version>
            <Comment>Rebuild qt6-6.0.0</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2023-11-06</Date>
            <Version>4.12.0</Version>
            <Comment>First release</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
