<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>darktable</Name>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPL-3.0</License>
        <PartOf>multimedia.graphics</PartOf>
        <Summary>darktable is an open source photography workflow application and RAW developer.</Summary>
        <Description>darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers. 
</Description>
        <Archive type="tarxz" sha1sum="f60ab3f9118e96c311f286a87102ad0d647cb111">https://github.com/darktable-org/darktable/releases/download/release-2.2.5/darktable-2.2.5.tar.xz</Archive>          
        <Patches>
            <!--Patch level="1">0002-CMake-modules-update-our-copy-of-LibFindMacros.patch</Patch-->
            <!--Patch level="1">0003-Fix-warning-in-FindGIO.cmake.patch</Patch-->
            <!--Patch level="1">0001-debcherry-fixup-patch.patch</Patch-->            
        </Patches>
        <BuildDependencies>
            <Dependency>exiv2-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>cmake</Dependency>            
            <Dependency>gconf-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>lensfun-devel</Dependency>
            <Dependency>libgnome-keyring-devel</Dependency>
            <Dependency>libgphoto2-devel</Dependency>
            <Dependency>librsvg-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>openexr-devel</Dependency>
            <Dependency>tiff-devel</Dependency>            
            <Dependency>libsoup-devel</Dependency>
            <Dependency>json-glib-devel</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>            
            <Dependency>libpng-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>pugixml-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libsecret-devel</Dependency>
            <Dependency>openjpeg-devel</Dependency>
            <Dependency>ghostscript-devel</Dependency>
            <Dependency>GraphicsMagick-devel</Dependency>
            <Dependency>webp-devel</Dependency>
        </BuildDependencies>
    </Source>
    
    <Package>
        <Name>darktable</Name>
        <RuntimeDependencies>
            <Dependency>webp</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>pugixml</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libsecret</Dependency>            
            <Dependency>mesa</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>            
            <Dependency>libsdl</Dependency>
            <Dependency>ilmbase</Dependency>
            <Dependency>lensfun</Dependency>
            <Dependency>librsvg</Dependency>
            <Dependency>libsoup</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>mesa-glu</Dependency>
            <Dependency>openjpeg</Dependency>
            <Dependency>json-glib</Dependency>            
            <Dependency>exiv2-libs</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libgphoto2</Dependency>
            <Dependency>ghostscript</Dependency>
            <Dependency>openexr-libs</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>GraphicsMagick</Dependency>
            <Dependency>libgnome-keyring</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/darktable</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/appdata</Path>
            <Path fileType="data">/usr/share/darktable</Path>
            <Path fileType="doc">/usr/share/doc/darktable</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>                    
        </Files>        
    </Package>
    
    <History>
        <Update release="4">
            <Date>2018-02-14</Date>
            <Version>2.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-10-06</Date>
            <Version>2.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2017-04-15</Date>
            <Version>2.2.4</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-13</Date>
            <Version>2.0.7</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
