<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'https://pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>libffado</Name>
        <Homepage>https://www.ffado.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <Summary>Free firewire audio drivers</Summary>
        <Description>libffado tries to provide open-source drivers for all FireWire based pro-audio devices.</Description>
        <Archive sha1sum="5f70b1f29d4473d94f23a68179a768b85b5a6618" type="targz">https://www.ffado.org/files/libffado-2.4.9.tgz</Archive>
        <BuildDependencies>
            <Dependency>xdg-utils</Dependency>
            <Dependency>glibmm-devel</Dependency>
            <Dependency>libxmlpp-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>dbus-c++-devel</Dependency>
            <Dependency>libsigc++-devel</Dependency>
            <Dependency>libconfig-devel</Dependency>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>libiec61883-devel</Dependency>
            <Dependency>scons</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>dbus-python</Dependency>
            <Dependency>dbus-python3</Dependency>
            <Dependency>python-qt5-devel</Dependency>
            <Dependency>python3-qt5-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1">flags.patch</Patch>
            <Patch level="1">libffado-2.4.0-rme-bigendian-fix.patch</Patch>
            <Patch level="1">libffado-2.4.0-pyqt5-dbus-detection.patch</Patch>
            <Patch level="1">libffado-2.4.0-py3-pyqt5-fixes.patch</Patch>
            <Patch level="1">libffado-2.4.0-additional-py3-fixes.patch</Patch>
            <Patch level="1">libffado-2.4.0-crossbar-router-fix.patch</Patch>
            <Patch level="1">libffado-2.4.2-python38.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>libffado</Name>
        <IsA>library</IsA>
        <RuntimeDependencies>
            <Dependency>glibmm</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>dbus-c++</Dependency>
            <Dependency>libxmlpp</Dependency>
            <Dependency>libconfig</Dependency>
            <Dependency>libsigc++</Dependency>
            <Dependency>xdg-utils</Dependency>
            <Dependency>libraw1394</Dependency>
            <Dependency>libiec61883</Dependency>
            <Dependency>python-setuptools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="config">/etc/dbus-1</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="data">/usr/share/libffado</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/metainfo</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <!-- Generated with Debian's generate-udev-rules.py which reads stdin from configuration file -->
            <!--<AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/60-ffado.rules">60-ffado.rules</AdditionalFile>-->
         </AdditionalFiles>
    </Package>

    <Package>
        <Name>libffado-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files for libffado</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libffado</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>ffado-mixer</Name>
        <Icon>ffado-mixer</Icon>
        <IsA>app:gui</IsA>
        <PartOf>hardware.sound</PartOf>
        <Summary>Graphical User Interface for FFADO</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libffado</Dependency>
            <Dependency>python-setuptools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/ffado-mixer*</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/metainfo/ffado-mixer.appdata.xml</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/pisilinux-ffadomixer.desktop">pisilinux-ffadomixer.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="10">
            <Date>2024-11-29</Date>
            <Version>2.4.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Ümit Solmaz</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2022-11-30</Date>
            <Version>2.4.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-10-22</Date>
            <Version>2.4.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-11-19</Date>
            <Version>2.4.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-22</Date>
            <Version>2.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2018-08-03</Date>
            <Version>2.4.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-02-22</Date>
            <Version>2.4.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>2.3.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>2.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-28</Date>
            <Version>2.2.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
