code:
Description: Fix waf support for PIE
Origin: vendor
Debian-Bug: https://bugs.debian.org/799738
Forwarded: not-needed
Author: Simon Ruderich <simon@ruderich.org>
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2015-09-24

--- a/waflib/Context.py
+++ b/waflib/Context.py
@@ -140,6 +140,10 @@
 	def exec_command(self,cmd,**kw):
 		subprocess=Utils.subprocess
 		kw['shell']=isinstance(cmd,str)
+		# FIXME: hacky solution to fix PIC-PIE-conflict
+		if '-shared' in cmd:
+			Logs.debug('runner: old %r'%(cmd,))
+			cmd = [x for x in cmd if x != '-fPIE' and x != '-pie']
 		Logs.debug('runner: %r'%(cmd,))
 		Logs.debug('runner_env: kw=%s'%kw)
 		if self.logger:

repo_name: ayhanyalcinsoy/main


code:
Description: Surpress ffmpeg version mismatch error
 Requiring an exact ffmpeg version isn't helpful in a distribution where all ABI
 issues should already be handled by package dependencies. Rebuilding every time
 ffmpeg is updated is also completely unmaintainable.
Author: James Cowgill <jcowgill@debian.org>
Bug-Debian: https://bugs.debian.org/831537
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/player/main.c
+++ b/player/main.c
@@ -429,18 +429,6 @@ int mp_initialize(struct MPContext *mpct

     handle_deprecated_options(mpctx);

-    if (!print_libav_versions(mp_null_log, 0)) {
-        // Using mismatched libraries can be legitimate, but even then it's
-        // a bad idea. We don't acknowledge its usefulness and stability.
-        print_libav_versions(mpctx->log, MSGL_FATAL);
-        MP_FATAL(mpctx, "\nmpv was compiled against a different version of "
-                 "FFmpeg/Libav than the shared\nlibrary it is linked against. "
-                 "This is most likely a broken build and could\nresult in "
-                 "misbehavior and crashes.\n\nmpv does not support this "
-                 "configuration and will not run - rebuild mpv instead.\n");
-        return -1;
-    }
-
     if (!mpctx->playlist->first && !opts->player_idle_mode)
         return -3;


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mpv-player</Name>
        <Homepage>http://www.mplayerhq.hu/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>app:gui</IsA>
        <Summary>mpv is based on mplayer2</Summary>
        <Description>mpv  has Wayland support, Improved OpenGL output,  Support for libavfilter (for video->video and audio->audio). This allows using most of FFmpeg's filters, which improve greatly on the old MPlayer filters in features, performance, and correctness.is a movie player that can run on many platforms. Improved OpenGL output. More correct color reproduction (color matrix generation), including support for BT.2020 (Ultra HD) and linear XYZ (Digital Cinema) inputs.</Description>
        <Archive sha1sum="d4bddb88cf7a112a295a130a091181acbe25605b" type="targz">https://github.com/mpv-player/mpv/archive/v0.27.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>samba-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libass-devel</Dependency>
            <Dependency>lua-devel</Dependency>
            <Dependency>yasm</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>libbluray-devel</Dependency>
            <Dependency>libdvdread-devel</Dependency>
            <Dependency>libdvdnav-devel</Dependency>
            <Dependency>enca-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libffado-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libcaca-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>wayland-cursor</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>libcdio-paranoia-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>libavc1394-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-opengl-backend-support-multiple-backends.patch</Patch>
            <Patch level="1">0002-vaapi-Use-libva-message-callbacks.patch</Patch>
            <Patch level="1">0003-demux_lavf-return-AVERROR_EOF-on-file-end.patch</Patch>
<!--             <Patch level="1">03_waf.patch</Patch> -->
            <Patch level="1">02_fix-config-path.patch</Patch>
<!--             <Patch level="1">04_waf-pie.patch</Patch> -->
            <Patch level="1">05_add-keywords.patch</Patch>
            <Patch level="1">06_ffmpeg-abi.patch</Patch>
        </Patches>
        </Source>

    <Package>
        <Name>mpv-player</Name>
        <RuntimeDependencies>
            <Dependency>lua</Dependency>
            <Dependency>enca</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libva</Dependency>
            <Dependency>samba</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libass</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libcaca</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libbluray</Dependency>
            <Dependency>libdvdnav</Dependency>
            <Dependency>libdvdread</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libxkbcommon</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency>wayland-cursor</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libcdio-paranoia</Dependency>
            <Dependency>jack-audio-connection-kit</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="application">/usr/share/applications</Path>
            <Path fileType="icons">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/zsh</Path>
        </Files>
        </Package>

        <Package>
        <Name>mpv-player-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">mpv-player</Dependency>
        </RuntimeDependencies>
    </Package>
    <History>
        <Update release="7">
            <Date>2018-01-13</Date>
            <Version>0.27.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-02-16</Date>
            <Version>0.24.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2017-01-11</Date>
            <Version>0.23.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-15</Date>
            <Version>0.17.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>0.16.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-03-28</Date>
            <Version>0.16.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>0.14</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr")

def build():
    cmaketools.make()

def install():
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("CONTRIBUTING", "COPYING", "README")


code:
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=obs-studio
GenericName=obs-studio
GenericName[tr]=obs-studio
Comment=OBS-Studio is a rewrite of what was formerly known as Open Broadcaster Software
Comment[tr]=OBS-Studio is a rewrite of what was formerly known as Open Broadcaster Software
Icon=/usr/share/pixmaps/obs-logo.png
Exec=/usr/bin/obs
Terminal=false
StartupNotify=false
Categories=Multimedia;Video


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>obs-studio</Name>
        <Homepage>https://obsproject.com/</Homepage>
        <Packager>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>obs-studio</Icon>
        <IsA>app:gui</IsA>
        OBS-Studio is a rewrite of what was formerly known as Open Broadcaster Software
        <Description>OBS-Studio software was originally designed for recording and streaming live  video content, efficiently</Description>
        <Archive sha1sum="c7d3b4fc48ca4b7ec2c4e5a6918b1eefbd68f63c" type="targz">https://github.com/jp9000/obs-studio/archive/17.0.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>curl-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>jansson-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>vlc-devel</Dependency>
            <Dependency>vlc-libs</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>obs-studio</Name>
        <RuntimeDependencies>
            <Dependency>curl</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>jansson</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>vlc-libs</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>qt5-x11extras</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>

        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/obs-studio.desktop">obs-studio.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/obs-logo.png">obs-logo.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>obs-studio-devel</Name>
        Development files for obs-studio
        <RuntimeDependencies>
            <Dependency release="current">obs-studio</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
        <Provides>
        </Provides>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-03</Date>
            <Version>17.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-11</Date>
            <Version>17.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-07-21</Date>
            <Version>0.15.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-07-13</Date>
            <Version>0.15.1</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>obs-studio</Name>
        <Summary xml:lang="tr">OBS-Studio is a rewrite of what was formerly known as Open Broadcaster
 Software</Summary>
        <Description xml:lang="tr">OBS-Studio software was originally designed for recording and streaming live
 video content, efficiently</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.autoreconf("-vfi")
    autotools.configure("--disable-dependency-tracking \
                         --disable-static")

def build():
    autotools.make()

def install():
    autotools.rawInstall('DESTDIR="%s"' % get.installDIR())

    pisitools.dodoc("LICENSE", "ChangeLog", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>opencore-amr</Name>
        <Homepage>http://opencore-amr.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Apache-2.0</License>
        <IsA>library</IsA>
        AMR speech codec implementation
        <Description>Opencore AMR is an implementation of Adaptive Multi Rate Narrowband and Wideband speech codec.</Description>
        <Archive sha1sum="905cce84963a241dc058fb42357259952ce2e4ab" type="targz">mirrors://sourceforge/opencore-amr/opencore-amr/opencore-amr-0.1.4.tar.gz</Archive>
    </Source>

    <Package>
        <Name>opencore-amr</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/opencore-amr</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-05</Date>
            <Version>0.1.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.1.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>0.1.3</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>opencore-amr</Name>
        AMR ses kodek sistemi
        <Description xml:lang="tr">Opencore AMR, Adaptive Multi Rate Narrowband ve Wideband ses kodek sistemi altyapısıdır.</Description>
    </Source>

    <Package>
        <Name>opencore-amr-devel</Name>
        opencore-amr için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DUSE_QT5=ON \
                          -DUSE_QT5=ON \
                          -DUSE_LINK_TIME_OPTIMIZATION=ON", sourceDir=".." )

def build():
    shelltools.cd("build")

    cmaketools.make()

def install():
    shelltools.cd("build")

    cmaketools.install()

    shelltools.cd("..")

    pisitools.dodoc("README*", "LICENSE", "TODO*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qmplay2</Name>
        <Homepage>http://zaps166.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPL</License>
        <IsA>app:gui</IsA>
        QMPlay2 is a video and audio player which can play most formats and codecs
        <Description>It can play all formats supported by FFmpeg, libmodplug (including J2B and SFX). It also supports Audio CD, raw files, Rayman 2 music and chiptunes. It contains YouTube and Prostopleer browser.</Description>
        <Archive sha1sum="4ce96a626d109de77d26f160861b68a00d88194e" type="targz">https://github.com/zaps166/QMPlay2/archive/17.12.31.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-qdbusviewer</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>qt5-assistant-devel</Dependency>
            <Dependency>qt5-designer-devel</Dependency>
            <Dependency>qt5-svg-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>libgme-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>portaudio-devel</Dependency>
            <Dependency>openal-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>libcddb-devel</Dependency>
            <Dependency>libass-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>gst-libav-next</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libva-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>qmplay2</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>qt5-x11extras</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libva</Dependency>
            <Dependency>libgme</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>libass</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>libcddb</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="data">/usr/share/qmplay2</Path>
            <Path fileType="icon">/usr/share/icons</Path>
            <Path fileType="application">/usr/share/applications</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/QMPlay2.png">QMPlay2.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/QMPlay2.desktop">QMPlay2.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/QMPlay2_enqueue.desktop">QMPlay2_enqueue.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>
    <Package>
        <Name>qmplay2-devel</Name>
        Development files for qmplay2
        <RuntimeDependencies>
            <Dependency release="current">qmplay2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-01-13</Date>
            <Version>17.12.31</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-08</Date>
            <Version>17.02.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-11</Date>
            <Version>16.12.23</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-19</Date>
            <Version>16.06.01</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-12</Date>
            <Version>16.05.06</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.configure("--disable-dependency-tracking \
                         --disable-gtk-doc \
                         --disable-static \
                         --disable-gstreamer")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.removeDir("/usr/share/gtk-doc")
    pisitools.dodoc("AUTHORS", "COPYING*", "NEWS", "TODO")


code:
--- ltmain.sh.old	2007-10-09 07:38:25.000000000 +0200
+++ ltmain.sh	2007-10-09 07:39:25.000000000 +0200
@@ -1794,6 +1794,11 @@
 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
 	;;

+      -Wl,--as-needed)
+	deplibs="$deplibs $arg"
+	continue
+	;;
+
       -Wl,*)
 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
 	arg=
@@ -2137,6 +2142,15 @@
 	lib=
 	found=no
 	case $deplib in
+	-Wl,--as-needed)
+	  if test "$linkmode,$pass" = "prog,link"; then
+	    compile_deplibs="$deplib $compile_deplibs"
+	    finalize_deplibs="$deplib $finalize_deplibs"
+	  else
+	    deplibs="$deplib $deplibs"
+	  fi
+	  continue
+	  ;;
 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
 	  if test "$linkmode,$pass" = "prog,link"; then
 	    compile_deplibs="$deplib $compile_deplibs"


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>schroedinger</Name>
        <Homepage>http://www.diracvideo.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Dirac codec library
        <Description>C-based libraries and GStreamer plugins for the Dirac video codec.</Description>
        <Archive sha1sum="c01ee0bed6c1bd7608763927f719f94ebc6aaa41" type="targz">http://www.diracvideo.org/download/schroedinger/schroedinger-1.0.11.tar.gz</Archive>
        <BuildDependencies>

            <Dependency>orc-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>ltmain_as-needed.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>schroedinger</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-11</Date>
            <Version>1.0.11</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>1.0.11</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>1.0.11</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>schroedinger</Name>
        Dirac kodek kitaplığı
        <Description xml:lang="tr">C ile kodlanmış Dirac video kodeği kitaplıkları ve GStreamer eklentileri</Description>
    </Source>

    <Package>
        <Name>schroedinger-devel</Name>
        schroedinger için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    shelltools.export("CC", get.CC())
    shelltools.export("CXX", get.CXX())
    shelltools.export("RANLIB", get.RANLIB())
    shelltools.export("AR", get.AR())

    # enable-debug is bogus, it should stay here
    options = "--with-x \
               --enable-opengl-player \
               --disable-gtk-player \
               --enable-mmx \
               --disable-assertions \
               --disable-static \
               --enable-debug"

    if get.buildTYPE() == "emul32":
        options += " --prefix=/emul32 \
                     --libdir=/usr/lib32 \
                     --bindir=/emul32/bin \
                     --includedir=/emul32/include \
                     --mandir=/emul32/man \
                     --disable-sdltest \
                     --disable-gtktest"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS())

    shelltools.system("rm -rf acinclude/lt*.m4 acinclude/libtool.m4")

    neededfilelist=["NEWS","ChangeLog","AUTHORS"]
    for i in neededfilelist:
         shelltools.touch(i)

    autotools.autoreconf("-fi -Iacinclude")
    autotools.configure(options)

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("CHANGES", "README*", "TODO")


code:
--- smpeg-0.4.5/MPEGaudio.h.orig	2006-05-01 06:18:36.000000000 +0300
+++ smpeg-0.4.5/MPEGaudio.h	2011-02-05 18:55:15.573765022 +0200
@@ -153,6 +153,13 @@
 };

 /* The actual MPEG audio class */
+class MPEGaudio;
+void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
+int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
+#ifdef THREADED_AUDIO
+int Decode_MPEGaudio(void *udata);
+#endif
+
 class MPEGaudio : public MPEGerror, public MPEGaudioaction {

 public:


code:
--- smpeg-0.4.5/Makefile.am.libsupc++	2006-05-01 04:56:06.000000000 +0300
+++ smpeg-0.4.5/Makefile.am	2011-02-05 19:15:59.707558762 +0200
@@ -64,6 +64,13 @@
         -release $(LT_RELEASE)	\
 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)

+# (gb) hackish to force link with gcc so that we don't get a
+# dependence on libstdc++.so.*. Do add necessary supc++ hereunder.
+CXXLD = $(CC)
+
+libsmpeg_la_LIBADD =		\
+	-lsupc++ -lgcc_s
+
 EXTRA_DIST =			\
 	CHANGES			\
 	COPYING			\


code:
--- Makefile.am~	2012-10-14 17:50:31.000000000 +0800
+++ Makefile.am	2012-10-14 18:22:05.000000000 +0800
@@ -119,7 +119,7 @@

 # Sources for gtv
 gtv_SOURCES = gtv.c gtv.h
-gtv_LDADD = @GTK_LIBS@ libsmpeg.la
+gtv_LDADD = @GTK_LIBS@ libsmpeg.la -lX11

 # Sources for glmovie
 glmovie_SOURCES = glmovie-tile.c glmovie.c glmovie.h


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>smpeg</Name>
        <Homepage>http://www.lokigames.com/development/smpeg.php3</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:gui</IsA>
        SDL MPEG library
        <Description>SMPEG is a SDL MPEG decoding library.</Description>
        <Archive sha1sum="a9c3c65628092b694510d596591ca20f1863cf4d" type="tarxz">http://source.pisilinux.org/1.0/smpeg-0.4.5.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>freeglut-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">smpeg-0.4.5-gcc6.patch</Patch>
            <Patch level="0">smpeg-0.4.4-format_not_a_string_literal_and_no_format_arguments.diff</Patch>
            <Patch level="1">smpeg-0.4.5-fix-header.patch</Patch>
            <Patch level="1">smpeg-0.4.5-libsupc++.patch</Patch>
            <Patch level="0">smpeg-0.4.5-link.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>smpeg</Name>
        <RuntimeDependencies>
            <Dependency>libsdl</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>mesa-glu</Dependency>
        </RuntimeDependencies>
        <Files>
            <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>
        </Files>
    </Package>

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

    <Package>
        <Name>smpeg-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for smpeg
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>freeglut-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libsdl-32bit</Dependency>
            <Dependency>mesa-glu-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">smpeg</Dependency>
            <Dependency>libsdl-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>0.4.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.4.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-06-01</Date>
            <Version>0.4.5</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>smpeg</Name>
        SDL MPEG kitaplığı
        <Description xml:lang="tr">SMPEG, MPEG formatını kullanabilen SDL kitaplığıdır.</Description>
        SDL MPEG
    </Source>

    <Package>
        <Name>smpeg-devel</Name>
        smpeg için geliştirme dosyaları
    </Package>

    <Package>
        <Name>smpeg-32bit</Name>
        smpeg için 32-bit paylaşımlı kitaplıklar
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get

def setup():
    pisitools.dosed("Makefile", "^DOC_PATH=.*$", "DOC_PATH=$(PREFIX)/share/doc/smplayer")

def build():
    autotools.make("PREFIX=/usr QMAKE=/usr/lib/qt5/bin/qmake -j1 LRELEASE=/usr/lib/qt5/bin/lrelease")

def install():
    autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))

    pisitools.copytree("../smplayer-themes-17.3.0/themes/blackPanther-Light", "%s/usr/share/smplayer/themes/blackPanther-Light" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/blackPanther-Real", "%s/usr/share/smplayer/themes/blackPanther-Real" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/blackPanther-VistaLike", "%s/usr/share/smplayer/themes/blackPanther-VistaLike" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Breeze", "%s/usr/share/smplayer/themes/Breeze" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Breeze-dark", "%s/usr/share/smplayer/themes/Breeze-dark" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/ePapirus", "%s/usr/share/smplayer/themes/ePapirus" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Faenza", "%s/usr/share/smplayer/themes/Faenza" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Faenza-Darkest", "%s/usr/share/smplayer/themes/Faenza-Darkest" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Faenza-Silver", "%s/usr/share/smplayer/themes/Faenza-Silver" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Gartoon", "%s/usr/share/smplayer/themes/Gartoon" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Gnome", "%s/usr/share/smplayer/themes/Gnome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Masalla", "%s/usr/share/smplayer/themes/Masalla" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Monochrome", "%s/usr/share/smplayer/themes/Monochrome" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Noia", "%s/usr/share/smplayer/themes/Noia" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Numix-remix", "%s/usr/share/smplayer/themes/Numix-remix" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Numix-uTouch", "%s/usr/share/smplayer/themes/Numix-uTouch" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Nuvola", "%s/usr/share/smplayer/themes/Nuvola" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Oxygen", "%s/usr/share/smplayer/themes/Oxygen" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-Air" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Oxygen-Air", "%s/usr/share/smplayer/themes/Oxygen-KDE" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Oxygen-Refit", "%s/usr/share/smplayer/themes/Oxygen-Refit" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Papirus", "%s/usr/share/smplayer/themes/Papirus" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/PapirusDark", "%s/usr/share/smplayer/themes/PapirusDark" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Silk", "%s/usr/share/smplayer/themes/Silk" % get.installDIR())
    pisitools.copytree("../smplayer-themes-17.3.0/themes/Tango", "%s/usr/share/smplayer/themes/Tango" % get.installDIR())


code:
Index: smplayer-0.6.8/smplayer.desktop
===================================================================
--- smplayer-0.6.8.orig/smplayer.desktop
+++ smplayer-0.6.8/smplayer.desktop
@@ -10,6 +10,7 @@ Comment[nl]=Een uitstekend frontend voor
 Comment[pl]=Świetna nakładka na Mplayer
 Comment[pt]=Um óptimo interface gráfico para o MPlayer
 Comment[ru]=Мощный интерфейс к MPlayer
+Comment[tr]=Gelişmiş bir MPlayer önyüzü
 Comment[uk]=Потужний інтерфейс до MPlayer
 Exec=smplayer %U
 GenericName=Media Player
@@ -18,6 +19,7 @@ GenericName[es]=Reproductor multimedia
 GenericName[hu]=Médialejátszó
 GenericName[pt]=Reprodutor de Média
 GenericName[ru]=Медиаплеер
+GenericName[tr]=Çokluortam Oynatıcı
 GenericName[uk]=Програвач медіа
 Icon=smplayer
 MimeType=audio/ac3;audio/mp4;audio/mpeg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-adpcm;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-ms-wma;audio/x-vorbis;audio/x-wav;audio/mpegurl;audio/x-mpegurl;audio/x-pn-realaudio;audio/x-scpls;video/avi;video/mp4;video/flv;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ogm;video/x-theora;


code:
Index: smplayer-0.6.7_20090703/src/preferences.cpp
===================================================================
--- smplayer-0.6.7_20090703.orig/src/preferences.cpp
+++ smplayer-0.6.7_20090703/src/preferences.cpp
@@ -179,7 +179,7 @@ void Preferences::reset() {
 	font_file = "";
 	font_name = "";
 	use_fontconfig = false;
-	subcp = "ISO-8859-1";
+	subcp = "cp1254";
 	use_enca = false;
 	enca_lang = QString(QLocale::system().name()).section("_",0,0);
 	font_autoscale = 1;


code:
<title>kde-48-pisi - Revision 691: /trunk/ext-apps/SMPlayer/files</title>

kde-48-pisi - Revision 691: /trunk/ext-apps/SMPlayer/files

..

default-to-oxygen-air.patch

desktop.patch

fix-subtitle-encodings.patch

make-default-video-player.diff

shape_mplayer_output.patch

smplayer_dvd.desktop

smplayer_vcd.desktop

use-sans-instead-of-arial.patch

workaround-for-qaction.diff

Google Code powered by Subversion


code:
diff -Naur smplayer-0.6.7_20090703-orig/smplayer.desktop smplayer-0.6.7_20090703/smplayer.desktop
--- smplayer-0.6.7_20090703-orig/smplayer.desktop	2009-07-17 14:05:03.125530048 +0300
+++ smplayer-0.6.7_20090703/smplayer.desktop	2009-07-17 14:38:51.968427462 +0300
@@ -22,7 +22,8 @@
 GenericName[uk]=Потужний інтерфейс до MPlayer
 GenericName[tr]=Gelişmiş bir MPlayer önyüzü
 Icon=smplayer
-MimeType=audio/ac3;audio/mp4;audio/mpeg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-adpcm;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-ms-wma;audio/x-vorbis;audio/x-wav;audio/mpegurl;audio/x-mpegurl;audio/x-pn-realaudio;audio/x-scpls;video/avi;video/mp4;video/flv;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ogm;video/x-theora;
+MimeType=video/avi;video/mp4;video/flv;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ogm;video/x-theora;
+InitialPreference=14
 Name=SMPlayer
 Type=Application
 X-KDE-StartupNotify=false


code:
diff -Nur smplayer-0.6.6-old/src/core.cpp smplayer-0.6.6/src/core.cpp
--- smplayer-0.6.6-old/src/core.cpp	2008-12-30 01:43:28.000000000 +0200
+++ smplayer-0.6.6/src/core.cpp	2009-01-02 05:41:54.000000000 +0200
@@ -1192,6 +1192,8 @@
 	proc->addArgument( mplayer_bin );

 	proc->addArgument("-noquiet");
+	proc->addArgument("-nomsgcolor");
+	proc->addArgument("-nomsgmodule");

 	if (pref->fullscreen && pref->use_mplayer_window) {
 		proc->addArgument("-fs");
diff -Nur smplayer-0.6.6-old/src/infoprovider.cpp smplayer-0.6.6/src/infoprovider.cpp
--- smplayer-0.6.6-old/src/infoprovider.cpp	2008-10-13 11:14:07.000000000 +0300
+++ smplayer-0.6.6/src/infoprovider.cpp	2009-01-02 05:41:54.000000000 +0200
@@ -40,6 +40,8 @@
 	proc.addArgument("null");
 	proc.addArgument("-ao");
 	proc.addArgument("null");
+	proc.addArgument("-nomsgcolor");
+	proc.addArgument("-nomsgmodule");
 	proc.addArgument(filename);

 	proc.start();
diff -Nur smplayer-0.6.6-old/src/inforeader.cpp smplayer-0.6.6/src/inforeader.cpp
--- smplayer-0.6.6-old/src/inforeader.cpp	2008-07-05 02:53:21.000000000 +0300
+++ smplayer-0.6.6/src/inforeader.cpp	2009-01-02 05:41:54.000000000 +0200
@@ -77,7 +77,7 @@
 	demuxer_list.clear();
 	mplayer_svn = -1;

-	run("-identify -vo help -ao help -demuxer help -vc help -ac help");
+	run("-identify -vo help -ao help -demuxer help -vc help -ac help -nomsgcolor -nomsgmodule");

 	//list();
 }
diff -Nur smplayer-0.6.6-old/src/videopreview/videopreview.cpp smplayer-0.6.6/src/videopreview/videopreview.cpp
--- smplayer-0.6.6-old/src/videopreview/videopreview.cpp	2008-12-22 02:50:55.000000000 +0200
+++ smplayer-0.6.6/src/videopreview/videopreview.cpp	2009-01-02 05:41:54.000000000 +0200
@@ -262,6 +262,8 @@
 bool VideoPreview::runMplayer(int seek, double aspect_ratio) {
 	QStringList args;
 	args << "-nosound";
+	args << "-nomsgcolor";
+	args << "-nomsgmodule";

 	if (prop.extract_format == PNG) {
 		args << "-vo"
@@ -442,7 +444,7 @@
 	p.setProcessChannelMode( QProcess::MergedChannels );

 	QStringList args;
-	args << "-vo" << "null" << "-ao" << "null" << "-frames" << "1" << "-identify" << "-nocache" << "-noquiet" << filename;
+	args << "-vo" << "null" << "-ao" << "null" << "-frames" << "1" << "-identify" << "-nocache" << "-noquiet" << "-nomsgcolor" << "-nomsgmodule" << filename;

 	if (!prop.dvd_device.isEmpty()) {
 		args << "-dvd-device" << prop.dvd_device;


code:
[Desktop Entry]
X-KDE-Solid-Predicate=[StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoDvd']
Actions=SMplayer;
Type=Service
X-KDE-Priority=TopLevel

[Desktop Action SMplayer]
Name=Play DVD
Name[tr]=DVD'yi Oynat
Exec=smplayer dvdnav:///%d
Icon=smplayer


code:
[Desktop Entry]
X-KDE-Solid-Predicate=[StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoCd']
Actions=SMplayer;
Type=Service
X-KDE-Priority=TopLevel

[Desktop Action SMplayer]
Name=Play VCD
Name[tr]=VCD'yi Oynat
Exec=smplayer vcd:///%d
Icon=smplayer