<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mplayer</Name>
        <Homepage>http://www.mplayerhq.hu/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <Icon>mplayer</Icon>
        <IsA>app:gui</IsA>
        <IsA>app:console</IsA>
        <Summary>Media Player for Linux</Summary>
        <Description>MPlayer is a movie player that can run on many platforms. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native codecs.</Description>
        <Archive sha1sum="11db20434a4e1aabb9c52f7712241dae1b3730e3" type="tarxz">http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz</Archive>
        <Archive sha1sum="6f7522a14c7ff0083990d32f213ff6d8e577821e" type="targz" target="MPlayer-1.3.0/mplayer-1.2_pre37124">http://source.pisilinux.org/1.0/MPlayer_default_skin-0.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gsm-devel</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>lzo-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>faac-devel</Dependency>
            <Dependency>lirc-devel</Dependency>
            <Dependency>xvid-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>enca-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>samba-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>faad2-devel</Dependency>
            <Dependency>libdv-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>libdca-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libnut-devel</Dependency>
            <Dependency>a52dec-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>openal-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libass-devel</Dependency>
            <Dependency>libmng-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>fribidi-devel</Dependency>
            <Dependency>twolame-devel</Dependency>
            <Dependency>libXvMC-devel</Dependency>
            <Dependency>live555-devel</Dependency>
            <Dependency>libcaca-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>rtmpdump-devel</Dependency>
            <Dependency>libmpeg2-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>openjpeg-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libmpcdec-devel</Dependency>
            <Dependency>libbluray-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libdvdnav-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>ladspa-sdk-devel</Dependency>
            <Dependency>libdvdread-devel</Dependency>
            <Dependency>libXxf86vm-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXxf86dga-devel</Dependency>
            <Dependency>libmatroska-devel</Dependency>
            <Dependency>libcrystalhd-devel</Dependency>
            <Dependency>schroedinger-devel</Dependency>
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>libcdio-paranoia-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>lzo-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>cdparanoia-devel</Dependency>
            <Dependency>yasm-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libmng-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Bugfix -->
            <Patch level="1">tr-locale-fix.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>mplayer</Name>
        <Icon>mplayer</Icon>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency>gsm</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>xvid</Dependency>
            <Dependency>lirc</Dependency>
            <Dependency>enca</Dependency>
            <Dependency>faac</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>faad2</Dependency>
            <Dependency>samba</Dependency>
            <Dependency>libdv</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>aalib</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libmad</Dependency>
            <Dependency>libass</Dependency>
            <Dependency>libdca</Dependency>
            <Dependency>openal</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>mpg123</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>a52dec</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libnut</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libXvMC</Dependency>
            <Dependency>libcaca</Dependency>
            <Dependency>twolame</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>openjpeg</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>rtmpdump</Dependency>
            <Dependency>libmpeg2</Dependency>
            <Dependency>libbluray</Dependency>
            <Dependency>libdvdnav</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>libvorbis</Dependency>
	        <Dependency>fribidi</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXxf86vm</Dependency>
            <Dependency>libdvdread</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXxf86dga</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>opencore-amr</Dependency>
            <Dependency>schroedinger</Dependency>
            <Dependency>libcrystalhd</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libcdio-paranoia</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
            <Dependency>lzo</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libmng</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>freetype</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/mplayer</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/mplayer.png">mplayer.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/mplayer.conf">mplayer.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/mencoder.conf">mencoder.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/mplayer/input.conf">input.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/mplayer/menu.conf">menu.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/mplayer/extensions">extensions</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/test-webcam">test-webcam</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/midentify">midentify</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/bash_completion.d/mplayer">bash_completion</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>mplayer-gui</Name>
        <Icon>mplayer</Icon>
        <IsA>app:gui</IsA>
        <Summary>MPlayer gui</Summary>
        <Description>mplayer-gui is the default graphical frontend of MPlayer.</Description>
        <RuntimeDependencies>
            <Dependency>mplayer</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gmplayer</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/mplayer/skins</Path>
            <Path fileType="data">/usr/share/icons</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/mplayer.desktop">mplayer.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="2">
            <Date>2018-08-07</Date>
            <Version>1.3.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2018-04-15</Date>
            <Version>1.3.0</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
