<?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="ac929eef2b7bf5c27699bbed612b953a01fccba5" type="tarxz">http://sourceforge.net/projects/xine/files/xine-lib/1.2.6/xine-lib-1.2.6.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 versionFrom="1.7.1">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 versionFrom="0.90">libcdio-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <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 versionFrom="1.7.1">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="8">
            <Date>2014-07-07</Date>
            <Version>1.2.6</Version>
            <Comment>Rebuild for ffmpeg</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2014-07-07</Date>
            <Version>1.2.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2014-05-20</Date>
            <Version>1.2.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-12-20</Date>
            <Version>1.2.3</Version>
            <Comment>Fix unneeded dependencies, remove DirectBD-devel from runtime deps.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-11-30</Date>
            <Version>1.2.3</Version>
            <Comment>Rebuild for ffmpeg.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-10-14</Date>
            <Version>1.2.3</Version>
            <Comment>rebuild for DirectFB.</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>erdincgultekin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-07-07</Date>
            <Version>1.2.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-12-30</Date>
            <Version>1.2.2</Version>
            <Comment>First release</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
