<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>colord</Name>
        <Homepage>http://www.freedesktop.org/software/colord</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Colord is a system activated daemon that maps devices to color profiles</Summary>
        <Description>Colord is a system activated daemon that maps devices to color profiles. It is used by GNOME Color Manager for system integration and use when there are no users logged in.</Description>
        <Archive sha1sum="5f1819ecd0b1b38fa070a3f9419030fb23513033" type="tarxz">https://www.freedesktop.org/software/colord/releases/colord-1.4.7.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>meson</Dependency>
            <Dependency>valgrind-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>argyllcms</Dependency>
            <Dependency>vala-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>sane-backends-devel</Dependency>
            <Dependency>bash-completion</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libtool</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>elogind-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libgudev-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>icu4c-devel</Dependency>
            <Dependency>libgusb-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>0001-Make-cd_color_get_blackbody_rgb_full-safer.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>colord</Name>
        <RuntimeDependencies>
            <Dependency>lcms2</Dependency>
            <Dependency>libgusb</Dependency>
            <Dependency>shared-color-profiles</Dependency>
            <Dependency>sane-backends</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>polkit</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="libexec">/usr/libexec/colord-session</Path>
            <Path fileType="data">/var/lib/colord/icc/</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec/colord</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/polkit-1</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/var</Path>
            <Path fileType="data">/usr/share/colord</Path>
            <Path fileType="data">/usr/share/glib-2.0</Path>
            <Path fileType="data">/usr/share/bash-completion</Path>
            <Path fileType="data">/usr/libexec/colord-sane</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="data">/usr/share/vala/vapi/colord.deps</Path>
        </Files>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>colord-devel</Name>
        <Summary>Development files for colord</Summary>
        <RuntimeDependencies>
            <Dependency release="current">colord</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>libgusb-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/vala/vapi/colord.vapi</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>
 
    <Package>
        <Name>shared-color-profiles</Name>
        <Files>
            <Path fileType="data">/usr/share/color</Path>
        </Files>
    </Package>

    <History>
        <Update release="11">
            <Date>2024-04-01</Date>
            <Version>1.4.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2023-10-30</Date>
            <Version>1.4.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-05-31</Date>
            <Version>1.4.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-05-25</Date>
            <Version>1.4.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-01-31</Date>
            <Version>1.4.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-11-05</Date>
            <Version>1.4.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-03-24</Date>
            <Version>1.4.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-11-08</Date>
            <Version>1.4.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2018-07-30</Date>
            <Version>1.4.1</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2017-02-16</Date>
            <Version>1.3.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-17</Date>
            <Version>1.3.3</Version>
            <Comment>First Release.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
