<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>fltk</Name>
        <Homepage>http://www.fltk.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit</Summary>
        <Description>FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation. FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes.</Description>
        <Archive sha1sum="239f0d915c80c0be91dad3f64dacbfad82133bee" type="targz">http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.gz</Archive>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="fluid/x-fluid.desktop">x-fluid.desktop</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">tigervnc.patch</Patch> -->
            <Patch level="1">fltk-config-dynlibs.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>fltk</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>mesa-glu</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>fltk-32bit</Name>
        <PartOf>emul32</PartOf>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libXft-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>mesa-glu-32bit</Dependency>
            <Dependency>libXfixes-32bit</Dependency>
            <Dependency>libXcursor-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
       </BuildDependencies>
       <RuntimeDependencies>
            <Dependency release="current">fltk</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libXft-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>mesa-glu-32bit</Dependency>
            <Dependency>libXfixes-32bit</Dependency>
            <Dependency>libXcursor-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <Package>
        <Name>fltk-devel</Name>
        <IsA>app:console</IsA>
        <IsA>app:gui</IsA>
        <Summary>Development files and utilities for FLTK</Summary>
        <RuntimeDependencies>
            <Dependency release="current">fltk</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/env.d</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/mimelnk</Path>
            <Path fileType="doc">/usr/share/doc/*/html</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/env.d/99fltk">99fltk</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-07</Date>
            <Version>1.3.4.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-12</Date>
            <Version>1.3.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.3.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-09</Date>
            <Version>1.3.3</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
