<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xine-lib</Name>
        <Homepage>http://xine.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Core libraries for Xine movie player</Summary>
        <Description>This package contains the Xine library. It can be used to play back various media, decode multimedia files from local disk drives, and display multimedia streamed over the Internet. It interprets many of the most common multimedia formats available - and some uncommon formats, too.</Description>
        <Archive sha1sum="ad6e72b7d8ff6172a8a170ab1bc38577ae321371" type="tarxz">http://sourceforge.net/projects/xine/files/xine-lib/1.2.9/xine-lib-1.2.9.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="src/xine-engine/accel_vaapi.h">accel_vaapi.h</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>libXext-devel</Dependency>
            <!--<Dependency>libcaca-devel</Dependency>-->
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libXvMC-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libdvdcss-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>samba-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libmodplug-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>a52dec-devel</Dependency>
            <!--<Dependency>faad2-devel</Dependency>-->
            <Dependency>libv4l-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <!--<Dependency>vcdimager-devel</Dependency>-->
            <Dependency>libdca-devel</Dependency>
            <Dependency>libbluray-devel</Dependency>
            <Dependency>libmng-devel</Dependency>
            <!--<Dependency>gconf-devel</Dependency>-->
            <Dependency>libSM-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">xine-lib-ffmpeg3.patch</Patch> -->
            <Patch level="1">list.patch</Patch>
<!--             <Patch level="1">multilib.patch</Patch> -->
            <Patch level="1">no_autopoint.patch</Patch>
            <Patch level="1">dmo.patch</Patch>
            <Patch level="1">tr_segfault_fix.patch</Patch>
            <Patch level="1">deepbind.patch</Patch>
            <Patch level="1">lpthread.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xine-lib</Name>
        <RuntimeDependencies>
            <Dependency>mesa</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>flac</Dependency>
            <!--<Dependency>libcaca</Dependency>-->
            <Dependency>speex</Dependency>
            <Dependency>aalib</Dependency>
            <Dependency>libXv</Dependency>
            <!--<Dependency>faad2</Dependency>-->
            <Dependency>libmad</Dependency>
            <Dependency>a52dec</Dependency>
            <!--<Dependency>libmng</Dependency>-->
            <Dependency>libdca</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <!--<Dependency versionFrom="0.90">libcdio</Dependency>-->
            <Dependency>libXvMC</Dependency>
            <!--<Dependency>wavpack</Dependency>-->
            <Dependency>libXext</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>mesa-glu</Dependency>
            <!--<Dependency>gnome-vfs</Dependency>-->
            <!--<Dependency>vcdimager</Dependency>-->
            <!--<Dependency>libmpcdec</Dependency>-->
            <Dependency>libtheora</Dependency>
            <Dependency>libbluray</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libmodplug</Dependency>
            <!--<Dependency>libjpeg-turbo</Dependency>-->
            <Dependency>pulseaudio-libs</Dependency>
            <!--<Dependency>libva</Dependency>-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/xine</Path>
            <Path fileType="data">/usr/share/xine-lib/fonts</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc/xine-lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>xine-lib-devel</Name>
        <Summary>Development files for xine-lib</Summary>
        <RuntimeDependencies>
            <Dependency release="current">xine-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/xine-config</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-04-26</Date>
            <Version>1.2.9</Version>
            <Comment>Rebuild ffmpeg.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-03-24</Date>
            <Version>1.2.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-05</Date>
            <Version>1.2.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-14</Date>
            <Version>1.2.6</Version>
            <Comment>Release bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>1.2.6</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
