<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qscintilla2</Name>
        <Homepage>http://www.riverbankcomputing.co.uk/qscintilla/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <IsA>library</IsA>
        <Summary>Qt port of Scintilla</Summary>
        <Description>QScintilla2 is a port to Qt4 of Neil Hodgson's Scintilla C++ editor class.</Description>
        <Archive type="targz" sha1sum="88956ae63a2cade5be1b1a6c6870963c96357505">https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10.2/QScintilla_gpl-2.10.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python-qt5-devel</Dependency>
            <Dependency>python3-qt5-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-sip</Dependency>
            <Dependency>python-sip</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-designer-devel</Dependency>
            <Dependency>chrpath</Dependency>
            <Dependency versionFrom="5.7.1">qt5-script-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-xmlpatterns-devel</Dependency>
            <Dependency versionFrom="13.0.4">mesa-devel</Dependency>
            <Dependency>qscintilla2-python-common</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch>configure.py.patch</Patch-->
            <!--<Patch>libname.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>qscintilla2</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="5.7.1">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5/plugins</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/qt5/mkspecs</Path>
            <Path fileType="localedata">/usr/share/qt5/translations</Path>
        </Files>
    </Package>

    <Package>
        <Name>qscintilla2-python-common</Name>
        <Summary>Common python qscintilla bindings files shared between qscintilla2-python and qscintilla2-python3</Summary>
        <RuntimeDependencies>
            <Dependency version="current">qscintilla2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/qt5/qsci</Path>
            <Path fileType="data">/usr/share/sip</Path>
        </Files>
    </Package>

    <Package>
        <Name>qscintilla2-python</Name>
        <Summary>Python 2.x bindings for qscintilla2</Summary>
        <RuntimeDependencies>
            <Dependency version="current">qscintilla2</Dependency>
            <Dependency version="current">qscintilla2-python-common</Dependency>
            <Dependency>qt5-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python2*</Path>
        </Files>
    </Package>

    <Package>
        <Name>qscintilla2-python3</Name>
        <Summary>Python 3.x bindings for qscintilla2</Summary>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
            <Dependency version="current">qscintilla2</Dependency>
            <Dependency version="current">qscintilla2-python-common</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*</Path>
        </Files>
    </Package>

    <Package>
        <Name>qscintilla2-doc</Name>
        <Summary>HTML documentation for qscintilla2</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc/qscintilla2/Scintilla</Path>
            <Path fileType="doc">/usr/share/doc/qscintilla2/html</Path>
        </Files>
    </Package>

    <Package>
        <Name>qscintilla2-devel</Name>
        <Summary>Development files for qscintilla2</Summary>
        <RuntimeDependencies>
            <Dependency release="current">qscintilla2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/qt5/Qsci</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-03-02</Date>
            <Version>2.10.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-02-06</Date>
            <Version>2.10.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-06-04</Date>
            <Version>2.10</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.9.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-28</Date>
            <Version>2.9.1</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
