<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>portmidi</Name>
        <Homepage>http://portmedia.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Real-time MIDI I/O library</Summary>
        <Description>PortMedia is a set of simple clean APIs and cross-platform library implementations for music and other media. PortMidi sub-project provides a real-time MIDI input/output library. This package contains the PortMidi libraries.</Description>
        <Archive sha1sum="f45bf4e247c0d7617deacd6a65d23d9fddae6117" type="zip">mirrors://sourceforge/portmedia/portmidi-src-217.zip</Archive>
        <AdditionalFiles>
            <AdditionalFile target="build-pyportmidi" permission="0755">build-pyportmidi</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>python-devel</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">portmidi-cmake.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>portmidi</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-portmidi</Name>
        <PartOf>programming.language.python</PartOf>
        <Summary>Python bindings for portmidi</Summary>
        <RuntimeDependencies>
            <Dependency>python</Dependency>
            <Dependency release="current">portmidi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python*</Path>
        </Files>
    </Package>

    <Package>
        <Name>portmidi-devel</Name>
        <Summary>Development files for portmidi</Summary>
        <RuntimeDependencies>
            <Dependency release="current">portmidi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-02-18</Date>
            <Version>217</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-21</Date>
            <Version>217</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>        
    </History>
</PISI>
