<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-base</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Cross platform application and UI framework</Summary>
        <Description>Cross platform application and UI development framework</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="3703c6a584193e759f5b9cbf0ea6022d685ab827" type="tarxz">http://download.qt.io/official_releases/qt/5.4/5.4.2/submodules/qtbase-opensource-src-5.4.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>at-spi2-core-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>desktop-file-utils</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>harfbuzz-devel</Dependency>
            <Dependency>icon-theme-hicolor</Dependency>
            <Dependency>leveldb-devel</Dependency>
            <Dependency>firebird-superserver</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libmtdev-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>postgresql-server</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency> 
            <!--<Dependency>ruby-devel</Dependency>4?-->    
            <Dependency>sqlite-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>xcb-proto</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>xcb-util-image-devel</Dependency>
            <Dependency>xcb-util-keysyms-devel</Dependency>
            <Dependency>xcb-util-wm-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>firebird-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>xcb-util-renderutil-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
        </BuildDependencies>
        <Patches>
        <!-- Pisilinux Patches -->
            <Patch level="1">mkspecs1.patch</Patch>
            <Patch level="1">mkspecs2.patch</Patch>
            <Patch level="1">mkspecs3.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>qt5-base</Name>
        <RuntimeDependencies>
            <Dependency>libpcre</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>libmtdev</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>xcb-util-wm</Dependency>
            <Dependency>libxkbcommon</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>xcb-util-image</Dependency>
            <Dependency>xcb-util-keysyms</Dependency>
            <Dependency>xcb-util-renderutil</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5/imports</Path>
            <Path fileType="library">/usr/lib/qt5/qml</Path>
            <Path fileType="library">/usr/lib/qt5/plugins</Path>
            <Path fileType="localdata">/usr/share/qt5/translations</Path>
            <Path fileType="executable">/usr/lib/qt5/bin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-base-devel</Name>
        <Summary>Development files for Qt 5</Summary>
        <Description>Development files for Qt 5</Description>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="data">/usr/lib/qt5/mkspecs</Path>
            <Path fileType="data">/usr/lib/*.prl</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-base</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-sql-mysql</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>mariadb-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlmysql.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-sql-postgresql</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>postgresql-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlpsql.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-sql-sqlite</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>sqlite</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlite.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-sql-odbc</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>unixODBC</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlodbc.so</Path>
        </Files>
    </Package>

        <Package>
        <Name>qt5-base-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for qt5</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>cups-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>gtk2-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>glibc-32bit</Dependency>
            <Dependency>icu4c-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libdrm-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>sqlite-32bit</Dependency>
            <Dependency>eudev-32bit</Dependency>
            <Dependency>openssl-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>harfbuzz-32bit</Dependency>
            <Dependency>libmtdev-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>cups-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>gtk2-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>glibc-32bit</Dependency>
            <Dependency>icu4c-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libdrm-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>sqlite-32bit</Dependency>
	    <Dependency>eudev-32bit</Dependency>
            <Dependency>openssl-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>harfbuzz-32bit</Dependency>
            <Dependency>libmtdev-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2015-07-19</Date>
            <Version>5.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-23</Date>
            <Version>5.4.1</Version>
            <Comment>First Release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
