<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>musicbrainz5</Name>
        <Homepage>https://musicbrainz.org/doc/libmusicbrainz</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>MusicBrainz Client Library.</Summary>
        <Description>MusicBrainz client library captures information about artists, the album title, track titles,the length of each track and many more.</Description>
        <Archive sha1sum="1576b474c777bb9c4ff906853ef1d3bb14915f50" type="targz">https://github.com/metabrainz/libmusicbrainz/releases/download/release-5.1.0/libmusicbrainz-5.1.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>ninja</Dependency>
            <Dependency>neon-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1"></Patch> -->
            <Patch level="1">Split_C_interface.patch</Patch>
            <Patch level="1">libxml_include_and_const_error.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>musicbrainz5</Name>
        <RuntimeDependencies>
            <Dependency>neon</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>musicbrainz5-devel</Name>
        <Summary>Development files for musicbrainz5</Summary>
        <RuntimeDependencies>
            <Dependency>neon-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency release="current">musicbrainz5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2024-12-18</Date>
            <Version>5.1.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2024-11-23</Date>
            <Version>5.1.0</Version>
            <Comment>Rebuild new SOVERSION.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2020-03-07</Date>
            <Version>5.1.0</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-09-01</Date>
            <Version>5.1.0</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-09</Date>
            <Version>5.1.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.1.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-20</Date>
            <Version>5.1.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
