videoplayer new
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>multimedia.videoplayer</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/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 get
|
||||
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
|
||||
pisitools.dodoc("NOTES", "Changelog", "COPYING-DOCS", "COPYING", "README.md")
|
||||
@@ -0,0 +1,142 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kaffeine</Name>
|
||||
<Homepage>http://www.kde.org/applications/multimedia/kaffeine/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv1</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Kaffeine Media Player for KDE5</Summary>
|
||||
<Description>Awesome media player and vcr for KDE5.</Description>
|
||||
<Archive sha1sum="ede427338ca50f044b5e646d8c8212934842d6d3" type="tarxz">https://download.kde.org/stable/kaffeine/kaffeine-2.0.18.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-sql-sqlite</Dependency>
|
||||
<Dependency>qt5-sql-odbc</Dependency>
|
||||
<Dependency>qt5-sql-postgresql</Dependency>
|
||||
<Dependency>qt5-sql-mysql</Dependency>
|
||||
<Dependency>qt5-assistant-devel</Dependency>
|
||||
<Dependency>qt5-designer-devel</Dependency>
|
||||
<Dependency>libXScrnSaver-devel</Dependency>
|
||||
<Dependency>ki18n-devel</Dependency>
|
||||
<Dependency>kwidgetsaddons-devel</Dependency>
|
||||
<Dependency>kxmlgui-devel</Dependency>
|
||||
<Dependency>kio-devel</Dependency>
|
||||
<Dependency>solid-devel</Dependency>
|
||||
<Dependency>knotifications-devel</Dependency>
|
||||
<Dependency>kidletime-devel</Dependency>
|
||||
<Dependency>kdbusaddons-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency>qt5-x11extras-devel</Dependency>
|
||||
<Dependency>libv4l-devel</Dependency>
|
||||
<Dependency>vlc-devel</Dependency>
|
||||
<Dependency>kconfig-devel</Dependency>
|
||||
<Dependency>kcoreaddons-devel</Dependency>
|
||||
<Dependency>kconfigwidgets-devel</Dependency>
|
||||
<Dependency>pkgconfig</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
<Dependency>kdoctools-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kaffeine</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-sql-sqlite</Dependency>
|
||||
<Dependency>qt5-sql-odbc</Dependency>
|
||||
<Dependency>qt5-sql-postgresql</Dependency>
|
||||
<Dependency>qt5-sql-mysql</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libXScrnSaver</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
<Dependency>kxmlgui</Dependency>
|
||||
<Dependency>kio</Dependency>
|
||||
<Dependency>solid</Dependency>
|
||||
<Dependency>knotifications</Dependency>
|
||||
<Dependency>kidletime</Dependency>
|
||||
<Dependency>kdbusaddons</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>vlc-libs</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libv4l</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kconfigwidgets</Dependency>
|
||||
<Dependency>kwindowsystem</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2020-03-08</Date>
|
||||
<Version>2.0.18</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2019-07-11</Date>
|
||||
<Version>2.0.18</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-05-04</Date>
|
||||
<Version>2.0.15</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2018-02-18</Date>
|
||||
<Version>2.0.13</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2017-10-09</Date>
|
||||
<Version>2.0.13</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2017-01-11</Date>
|
||||
<Version>2.0.5</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>2.0.1</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-06-04</Date>
|
||||
<Version>2.0.1</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kaffeine</Name>
|
||||
<Summary xml:lang="tr">KDE4 için Kaffeine Ortam Oynatıcı</Summary>
|
||||
<Description xml:lang="tr">KDE4 için harika bir video oynatıcı</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Executable
+58
@@ -0,0 +1,58 @@
|
||||
#!/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 get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pythonmodules
|
||||
|
||||
pisitools.flags.sub("-O[\ds]+", "-O3")
|
||||
|
||||
def setup():
|
||||
shelltools.system("mv ffmpeg-4.2.4 ffmpeg")
|
||||
|
||||
autotools.rawConfigure('\
|
||||
--prefix=/usr \
|
||||
--confdir=/usr/share/mplayer \
|
||||
--enable-dynamic-plugins \
|
||||
--disable-ossaudio \
|
||||
--enable-menu \
|
||||
--datadir=/usr/share/mplayer \
|
||||
--charset=UTF-8 \
|
||||
--language=en \
|
||||
--enable-gui')
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install("prefix=%(D)s/usr \
|
||||
BINDIR=%(D)s/usr/bin \
|
||||
LIBDIR=%(D)s/usr/lib \
|
||||
CONFDIR=%(D)s/usr/share/mplayer \
|
||||
DATADIR=%(D)s/usr/share/mplayer \
|
||||
MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()})
|
||||
|
||||
# set the default skin for gui
|
||||
#shelltools.copytree("mplayer-1.2_pre37124/Blue-multilingual", "%s/usr/share/mplayer/skins/default" % get.installDIR())
|
||||
shelltools.copytree("../Clearlooks-multilingual", "%s/usr/share/mplayer/skins/default" % get.installDIR())
|
||||
|
||||
# codecs conf, not something user will interact with
|
||||
pisitools.insinto("/etc/mplayer", "etc/*.conf")
|
||||
|
||||
# example dvb conf
|
||||
#pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf")
|
||||
|
||||
# just for fast access to conf
|
||||
#pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf")
|
||||
#pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf")
|
||||
|
||||
# install docs, tools, examples
|
||||
pisitools.dodoc("AUTHORS", "Changelog", "README", "LICENSE")
|
||||
pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "TOOLS")
|
||||
pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "DOCS/tech")
|
||||
pythonmodules.fixCompiledPy("/usr/share/doc")
|
||||
@@ -0,0 +1,75 @@
|
||||
Submitted By: Bruce Dubbs <bdubbs@linuxfromscratch.org>
|
||||
Date: 2018-08-24
|
||||
Initial Package Version: 1.3.0
|
||||
Upstream Status: Applied
|
||||
Origin: Upstream commit log (http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2a111c99a60fdf4fe5eea2b073901630190c6c93) + local changes
|
||||
Description: Fixes compilation with x264.
|
||||
|
||||
--- ffmpeg/libavcodec/libx264.c.orig 2018-08-24 12:27:37.716498689 -0500
|
||||
+++ ffmpeg/libavcodec/libx264.c 2018-08-24 12:33:56.339997152 -0500
|
||||
@@ -268,7 +268,7 @@
|
||||
|
||||
x264_picture_init( &x4->pic );
|
||||
x4->pic.img.i_csp = x4->params.i_csp;
|
||||
- if (x264_bit_depth > 8)
|
||||
+ if (X264_BIT_DEPTH > 8)
|
||||
x4->pic.img.i_csp |= X264_CSP_HIGH_DEPTH;
|
||||
x4->pic.img.i_plane = avfmt2_num_planes(ctx->pix_fmt);
|
||||
|
||||
@@ -745,6 +745,9 @@
|
||||
|
||||
x4->params.i_width = avctx->width;
|
||||
x4->params.i_height = avctx->height;
|
||||
+#if X264_BUILD >= 153
|
||||
+ x4->params.i_bitdepth = av_pix_fmt_desc_get(avctx->pix_fmt)->comp[0].depth;
|
||||
+#endif
|
||||
av_reduce(&sw, &sh, avctx->sample_aspect_ratio.num, avctx->sample_aspect_ratio.den, 4096);
|
||||
x4->params.vui.i_sar_width = sw;
|
||||
x4->params.vui.i_sar_height = sh;
|
||||
@@ -858,6 +861,28 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+static const enum AVPixelFormat pix_fmts[] = {
|
||||
+ AV_PIX_FMT_YUV420P,
|
||||
+ AV_PIX_FMT_YUVJ420P,
|
||||
+ AV_PIX_FMT_YUV422P,
|
||||
+ AV_PIX_FMT_YUVJ422P,
|
||||
+ AV_PIX_FMT_YUV444P,
|
||||
+ AV_PIX_FMT_YUVJ444P,
|
||||
+ AV_PIX_FMT_YUV420P10,
|
||||
+ AV_PIX_FMT_YUV422P10,
|
||||
+ AV_PIX_FMT_YUV444P10,
|
||||
+ AV_PIX_FMT_NV12,
|
||||
+ AV_PIX_FMT_NV16,
|
||||
+ AV_PIX_FMT_NV20,
|
||||
+#ifdef X264_CSP_NV21
|
||||
+ AV_PIX_FMT_NV21,
|
||||
+#endif
|
||||
+ AV_PIX_FMT_NONE
|
||||
+};
|
||||
+
|
||||
+
|
||||
+
|
||||
+
|
||||
static const enum AVPixelFormat pix_fmts_8bit[] = {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_YUVJ420P,
|
||||
@@ -895,12 +920,14 @@
|
||||
|
||||
static av_cold void X264_init_static(AVCodec *codec)
|
||||
{
|
||||
- if (x264_bit_depth == 8)
|
||||
+ if (X264_BIT_DEPTH == 8)
|
||||
codec->pix_fmts = pix_fmts_8bit;
|
||||
- else if (x264_bit_depth == 9)
|
||||
+ else if (X264_BIT_DEPTH == 9)
|
||||
codec->pix_fmts = pix_fmts_9bit;
|
||||
- else if (x264_bit_depth == 10)
|
||||
+ else if (X264_BIT_DEPTH == 10)
|
||||
codec->pix_fmts = pix_fmts_10bit;
|
||||
+ else /* X264_BIT_DEPTH == 0 */
|
||||
+ codec->pix_fmts = pix_fmts;
|
||||
}
|
||||
|
||||
#define OFFSET(x) offsetof(X264Context, x)
|
||||
@@ -0,0 +1,340 @@
|
||||
#-*- mode: shell-script;-*-
|
||||
|
||||
# mplayer(1) bash completion support
|
||||
# this file is maintained within mplayer package
|
||||
|
||||
if type mplayer &> /dev/null ; then
|
||||
|
||||
_mplayer_options_list()
|
||||
{
|
||||
cur=${cur%\\}
|
||||
COMPREPLY=( $( $1 $2 help 2> /dev/null | \
|
||||
sed -e '1,/^Available/d' | awk '{print $1}' | \
|
||||
sed -e 's/:$//' -e 's/^'${2#-}'$//' -e 's/<.*//' | \
|
||||
grep "^$cur" ) )
|
||||
}
|
||||
|
||||
_mplayer()
|
||||
{
|
||||
local cmd cur prev skinsdir IFS=$' \t\n' i j k=0
|
||||
|
||||
COMPREPLY=()
|
||||
cmd=${COMP_WORDS[0]}
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
|
||||
case "$prev" in
|
||||
-@(ac|afm|vc|vfm|ao|vo|vop|fstype))
|
||||
_mplayer_options_list mplayer $prev
|
||||
return 0
|
||||
;;
|
||||
-@(oac|ovc|of))
|
||||
_mplayer_options_list mencoder $prev
|
||||
return 0
|
||||
;;
|
||||
-audiofile)
|
||||
_filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV|mid|MID)'
|
||||
return 0
|
||||
;;
|
||||
-font)
|
||||
_filedir '@(desc|ttf)'
|
||||
return 0
|
||||
;;
|
||||
-sub)
|
||||
_filedir '@(srt|SRT|sub|SUB|txt|TXT|utf|UTF|rar|RAR|mpsub|smi|js|ass|ASS|ssa|SSA)'
|
||||
return 0
|
||||
;;
|
||||
-vobsub)
|
||||
_filedir '@(idx|IDX|ifo|IFO|sub|SUB)'
|
||||
IFS=$'\t\n'
|
||||
COMPREPLY=( $( for i in ${COMPREPLY[@]}; do
|
||||
if [ -f $i -a -r $i ]; then
|
||||
echo ${i%.*}
|
||||
else
|
||||
echo $i
|
||||
fi
|
||||
done ) )
|
||||
IFS=$' \t\n'
|
||||
return 0
|
||||
;;
|
||||
-ifo)
|
||||
_filedir '@(ifo|IFO)'
|
||||
return 0
|
||||
;;
|
||||
-cuefile)
|
||||
_filedir '@(bin|BIN|cue|CUE)'
|
||||
return 0
|
||||
;;
|
||||
-skin)
|
||||
# if you don't have installed mplayer in /usr/local you
|
||||
# may want to set the MPLAYER_SKINS_DIR global variable
|
||||
if [ -n "$MPLAYER_SKINS_DIR" ]; then
|
||||
skinsdir=$MPLAYER_SKINS_DIR
|
||||
else
|
||||
skinsdir=/usr/share/mplayer/skins
|
||||
fi
|
||||
|
||||
IFS=$'\t\n'
|
||||
for i in ~/.mplayer/Skin $skinsdir; do
|
||||
if [ -d $i -a -r $i ]; then
|
||||
for j in $( compgen -d $i/$cur ); do
|
||||
COMPREPLY[$k]=${j#$i/}
|
||||
k=$((++k))
|
||||
done
|
||||
fi
|
||||
done
|
||||
IFS=$' \t\n'
|
||||
return 0
|
||||
;;
|
||||
-@(mixer|@(cdrom|dvd)-device|dvdauth|fb|zrdev))
|
||||
cur=${cur:=/dev/}
|
||||
_filedir
|
||||
return 0
|
||||
;;
|
||||
-@(edl?(out)|lircconf|menu-cfg|playlist|csslib|dumpfile)| \
|
||||
-@(subfile|vobsub|aofile|fbmodeconfig|include|o|dvdkey)| \
|
||||
-passlogfile)
|
||||
_filedir
|
||||
return 0
|
||||
;;
|
||||
-@(auto@(q|sync)|loop|menu-root|speed|sstep|aid|alang)| \
|
||||
-@(?(@(audio|sub)-)demuxer|bandwidth|cache|chapter)| \
|
||||
-@(dvd?(angle)|fps|frames|mc|passwd|user|sb|srate|ss|vcd)| \
|
||||
-@(vi?(d|vo)|ffactor|sid|slang|spu@(align|aa|gauss))| \
|
||||
-@(vobsubid|delay|bpp|brightness|contrast|dfbopts|display)| \
|
||||
-@(fbmode|geometry|guiwid|hue|icelayer|screen[wh]|wid)| \
|
||||
-@(monitor@(aspect|-@(dotclock|[hv]freq))|panscan|saturation)| \
|
||||
-@(xineramascreen|zr@(crop|norm|quality|[xy]doff|[vh]dec))| \
|
||||
-@(aspect|pp|x|y|xy|z|stereo|audio-@(density|delay|preload))| \
|
||||
-@(endpos|osdlevel|ffourcc|sws|channels|skiplimit|format)| \
|
||||
-@(ofps|aa@(driver|@(osd|sub)color)|vobsubout?(i@(ndex|d)))| \
|
||||
-sub@(-bg-@(alpha|color)|cp|delay|fps|pos|align|width)| \
|
||||
-sub@(font-@(blur|outline|autoscale|encoding|@(osd|text)-scale)))
|
||||
return 0
|
||||
;;
|
||||
-lavdopts)
|
||||
COMPREPLY=( $( compgen -W 'ec er= bug= idct= gray' \
|
||||
-- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-lavcopts)
|
||||
COMPREPLY=( $( compgen -W 'vcodec= vqmin= vqscale= \
|
||||
vqmax= mbqmin= mbqmax= vqdiff= \
|
||||
vmax_b_frames= vme= vhq v4mv \
|
||||
keyint= vb_strategy= vpass= \
|
||||
aspect= vbitrate= vratetol= \
|
||||
vrc_maxrate= vrc_minrate= \
|
||||
vrc_buf_size= vb_qfactor= vi_qfactor= \
|
||||
vb_qoffset= vi_qoffset= vqblur= \
|
||||
vqcomp= vrc_eq= vrc_override= \
|
||||
vrc_init_cplx= vqsquish= vlelim= \
|
||||
vcelim= vstrict= vdpart vpsize= gray \
|
||||
vfdct= idct= lumi_mask= dark_mask= \
|
||||
tcplx_mask= scplx_mask= naq ildct \
|
||||
format= pred qpel precmp= cmp= \
|
||||
subcmp= predia= dia= trell last_pred= \
|
||||
preme= subq= psnr mpeg_quant aic umv' \
|
||||
-- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-ssf)
|
||||
COMPREPLY=( $( compgen -W 'lgb= cgb= ls= cs= chs= \
|
||||
cvs=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-jpeg)
|
||||
COMPREPLY=( $( compgen -W 'noprogressive progressive \
|
||||
nobaseline baseline optimize= \
|
||||
smooth= quality= outdir=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-xvidopts)
|
||||
COMPREPLY=( $( compgen -W 'dr2 nodr2' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-xvidencopts)
|
||||
COMPREPLY=( $( compgen -W 'pass= bitrate= \
|
||||
fixed_quant= me_quality= 4mv \
|
||||
rc_reaction_delay_factor= \
|
||||
rc_averaging_period= rc_buffer= \
|
||||
quant_range= min_key_interval= \
|
||||
max_key_interval= mpeg_quant \
|
||||
mod_quant lumi_mask hintedme \
|
||||
hintfile debug keyframe_boost= \
|
||||
kfthreshold= kfreduction=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-divx4opts)
|
||||
COMPREPLY=( $( compgen -W 'br= key= deinterlace q= \
|
||||
min_quant= max_quant= rc_period= \
|
||||
rc_reaction_period= crispness= \
|
||||
rc_reaction_ratio= pass= vbrpass= \
|
||||
help' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-info)
|
||||
COMPREPLY=( $( compgen -W 'name= artist= genre= \
|
||||
subject= copyright= srcform= \
|
||||
comment= help' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-lameopts)
|
||||
COMPREPLY=( $( compgen -W 'vbr= abr cbr br= q= aq= \
|
||||
ratio= vol= mode= padding= fast \
|
||||
preset= help' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-rawaudio)
|
||||
COMPREPLY=( $( compgen -W 'on channels= rate= \
|
||||
samplesize= format=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-rawvideo)
|
||||
COMPREPLY=( $( compgen -W 'on fps= sqcif qcif cif \
|
||||
4cif pal ntsc w= h= y420 yv12 yuy2 \
|
||||
y8 format= size=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-aop)
|
||||
COMPREPLY=( $( compgen -W 'list= delay= format= fout= \
|
||||
volume= mul= softclip' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-dxr2)
|
||||
COMPREPLY=( $( compgen -W 'ar-mode= iec958-encoded \
|
||||
iec958-decoded mute ucode= 75ire bw \
|
||||
color interlaced macrovision= norm= \
|
||||
square-pixel ccir601-pixel cr-left= \
|
||||
cr-right= cr-top= cr-bot= ck-rmin= \
|
||||
ck-gmin= ck-bmin= ck-rmax= ck-gmax= \
|
||||
ck-bmax= ck-r= ck-g= ck-b= \
|
||||
ignore-cache= ol-osd= olh-cor= \
|
||||
olw-cor= olx-cor= oly-cor= overlay \
|
||||
overlay-ratio= update-cache' -- $cur ))
|
||||
return 0
|
||||
;;
|
||||
-tv)
|
||||
COMPREPLY=( $( compgen -W 'on noaudio driver= device= \
|
||||
input= freq= outfmt= width= height= \
|
||||
buffersize= norm= channel= chanlist= \
|
||||
audiorate= forceaudio alsa amode= \
|
||||
forcechan= adevice= audioid= volume= \
|
||||
bass= treble= balance= fps= \
|
||||
channels= immediatemode=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-mf)
|
||||
COMPREPLY=( $( compgen -W 'on w= h= fps= type=' \
|
||||
-- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-cdda)
|
||||
COMPREPLY=( $( compgen -W 'speed= paranoia= \
|
||||
generic-dev= sector-size= overlap= \
|
||||
toc-bias toc-offset= skip noskip' \
|
||||
-- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-input)
|
||||
COMPREPLY=( $( compgen -W 'conf= ar-delay ar-rate \
|
||||
keylist cmdlist js-dev file' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-af)
|
||||
COMPREPLY=( $( compgen -W 'resample resample= \
|
||||
channels channels= format format= \
|
||||
volume volume= delay delay= pan \
|
||||
pan= sub sub= surround surround=' \
|
||||
-- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-af-adv)
|
||||
COMPREPLY=( $( compgen -W 'force= list=' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W '-aid -alang -audio-demuxer \
|
||||
-audiofile -cdrom-device -cache -nocache -cdda \
|
||||
-channels -chapter -csslib -demuxer \
|
||||
-dvd -dvd-device -dvdangle -dvdauth \
|
||||
-dvdkey -dvdnav -forceidx -fps -frames \
|
||||
-hr-mp3-seek -idx -mc -mf -ni -nobps \
|
||||
-passwd -rawaudio -rtsp-stream-over-tcp\
|
||||
-skipopening -sb -srate -ss -tv -user \
|
||||
-vcd -vid -vivo -ifo -ffactor -font \
|
||||
-noautosub -nooverlapsub -sid -slang \
|
||||
-sub -subcc -subcp -sub-demuxer \
|
||||
-subdelay -subfont-autoscale \
|
||||
-subfont-blur -subfont-encoding \
|
||||
-subfont-osd-scale -subfont-outline \
|
||||
-subfont-text-scale -subfps -subfile \
|
||||
-subpos -unicode -utf8 -vobsub \
|
||||
-vobsubid -ac -afm -aspect -flip \
|
||||
-lavdopts -noaspect -nosound -pp -ssf \
|
||||
-stereo -sws -vc -vfm -vop -xvidopts\
|
||||
-xy -zoom -bandwidth -cuefile \
|
||||
-noextbased -rawvideo -overlapsub \
|
||||
-sub-bg-alpha -sub-bg-color -subalign \
|
||||
-subwidth -sub-no-text-pp -spualign \
|
||||
-spuaa -spugauss -pphelp -verbose -v \
|
||||
-noni -noidx -nohr-mp3-seek -extbased \
|
||||
-bps -oldpp -nozoom -noflip -nounicode \
|
||||
-noutf8' -- $cur ) )
|
||||
# add mplayer specific options
|
||||
[[ "$cmd" == @(?(g)mplayer) ]] && COMPREPLY=( ${COMPREPLY[@]} \
|
||||
$(compgen -W '-autoq -autosync -benchmark \
|
||||
-framedrop -h -help -hardframedrop \
|
||||
-identify -input -lircconf -loop \
|
||||
-nojoystick -nolirc -nortc -playlist \
|
||||
-quiet -really-quiet -rnd -sdp -skin \
|
||||
-slave -softsleep -speed -sstep \
|
||||
-use-stdin -dumpaudio -dumpfile \
|
||||
-dumpstream -dumpvideo -dumpmicrodvdsub\
|
||||
-dumpmpsub -dumpsrtsub -dumpjacosub \
|
||||
-dumpsami -dumpsub -osdlevel -af \
|
||||
-af-adv -ao -aofile -aop -delay -mixer -mixer-channel \
|
||||
-nowaveheader -bpp -brightness \
|
||||
-contrast -display -double -dr -dxr2 \
|
||||
-fb -fbmode -fbmodeconfig -forcexv -fs \
|
||||
-geometry -hue -icelayer -jpeg \
|
||||
-monitor-dotclock -monitor-hfreq \
|
||||
-monitor-vfreq -monitoraspect \
|
||||
-nograbpointer -noslices -panscan \
|
||||
-rootwin -saturation -screenw -screenh \
|
||||
-stop-xscreensaver -vm -vo -vsync -wid \
|
||||
-xineramascreen -z -zrbw -zrcrop \
|
||||
-zrdev -zrfd -zrhelp -zrnorm -zrquality \
|
||||
-zrvdec -zrhdec -zrxdoff -zrydoff -y \
|
||||
-edl -edlout -enqueue -fixed-vo \
|
||||
-menu -menu-root -menu-cfg -shuffle \
|
||||
-format -aahelp -dfbopts -fstype \
|
||||
-guiwid -nokeepaspect -x --help \
|
||||
-aaosdcolor -aasubcolor -aadriver \
|
||||
-aaextended -aaeight' -- $cur) )
|
||||
# add mencoder specific options
|
||||
[[ "$cmd" = mencoder ]] && COMPREPLY=( ${COMPREPLY[@]} \
|
||||
$(compgen -W '-audio-density -audio-delay \
|
||||
-audio-preload -divx4opts -endpos \
|
||||
-ffourcc -include -info -lameopts \
|
||||
-lavcopts -noskip -o -oac -ofps -ovc \
|
||||
-passlogfile -skiplimit -vobsubout \
|
||||
-vobsuboutindex -vobsuboutid \
|
||||
-xvidencopts -of --verbose' -- $cur) )
|
||||
;;
|
||||
*)
|
||||
_filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gmv]|OG[GMV]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|ape|APE|m2v|M2V|m2p|M2Pdv|DV|rmvb|RMVB|mid|MID|ts|TS|3gp|mpc|MPC|flac|FLAC|264|26l|26L|302|3g2|3G2|ac3|AC3|amv|AMV|asx|ASX|avs|AVS|cif|CIF|dif|DIF|dts|DTS|fla|FLA|flc|FLC|flv|FLV|gxf|GXF|h261|H261|h263|H263|h264|H264|h26l|H26L|it|IT|m2a|M2A|m3u|M3U|m4v|M4V|midi|MIDI|mjpeg|MJPEG|mjpg|MJPG|mod|MOD|mp2|MP2|mpe|MPE|mxf|MXF|nsa|NSA|nsv|NSV|nut|NUT|pls|PLS|qcif|QCIF|s3m|S3M|shn|SHN|smil|SMIL|swf|SWF|tta|TTA|vivo|VIVO|vqf|VQF|xm|XM|y4m|Y4M|yuv4|YUV4)'
|
||||
;;
|
||||
esac
|
||||
|
||||
return 0
|
||||
}
|
||||
complete $filenames -F _mplayer mplayer mencoder gmplayer kplayer
|
||||
|
||||
fi
|
||||
|
||||
### Local Variables:
|
||||
### mode: shell-script
|
||||
### End:
|
||||
@@ -0,0 +1,76 @@
|
||||
264
|
||||
26l
|
||||
302
|
||||
3gp
|
||||
3g2
|
||||
aac
|
||||
ac3
|
||||
ape
|
||||
asf
|
||||
asx
|
||||
avi
|
||||
avs
|
||||
cif
|
||||
dat
|
||||
dif
|
||||
dts
|
||||
dv
|
||||
fla
|
||||
flac
|
||||
flc
|
||||
fli
|
||||
flv
|
||||
gxf
|
||||
h261
|
||||
h263
|
||||
h264
|
||||
h26l
|
||||
it
|
||||
m2a
|
||||
m2p
|
||||
m2v
|
||||
m3u
|
||||
m4v
|
||||
mid
|
||||
midi
|
||||
mjpeg
|
||||
mjpg
|
||||
mkv
|
||||
mod
|
||||
mov
|
||||
mp2
|
||||
mp3
|
||||
mp4
|
||||
mpc
|
||||
mpe
|
||||
mpeg
|
||||
mpg
|
||||
mxf
|
||||
nsa
|
||||
nsv
|
||||
nut
|
||||
ogg
|
||||
ogm
|
||||
pls
|
||||
qcif
|
||||
qt
|
||||
ra
|
||||
ram
|
||||
rm
|
||||
rmvb
|
||||
s3m
|
||||
shn
|
||||
smil
|
||||
swf
|
||||
tta
|
||||
viv
|
||||
vivo
|
||||
vob
|
||||
vqf
|
||||
wav
|
||||
wma
|
||||
wmv
|
||||
xm
|
||||
y4m
|
||||
yuv
|
||||
yuv4
|
||||
@@ -0,0 +1,2 @@
|
||||
this is a better way to patch since it uses ffmpeg IMGFMT_IS_HWACCEL but it has font problem with ass
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -rupN a/stream/stream_smb.c b/stream/stream_smb.c
|
||||
--- a/stream/stream_smb.c 2013-03-16 13:38:34.000000000 +0000
|
||||
+++ b/stream/stream_smb.c 2013-10-31 20:05:32.473947926 +0000
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
-#include <libsmbclient.h>
|
||||
+#include <samba-4.0/libsmbclient.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "mp_msg.h"
|
||||
@@ -0,0 +1,178 @@
|
||||
##
|
||||
## MPlayer input control file
|
||||
##
|
||||
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
|
||||
## add new ones here.
|
||||
## See DOCS/tech/slave.txt for possible commands that can be bound.
|
||||
## Also see mplayer -input cmdlist for other possible options.
|
||||
## The file should be placed in the $HOME/.mplayer directory.
|
||||
##
|
||||
## If you wish to unbind a key, use key ignore.
|
||||
## e.g. ENTER ignore
|
||||
##
|
||||
|
||||
RIGHT seek +10
|
||||
LEFT seek -10
|
||||
DOWN seek -60
|
||||
UP seek +60
|
||||
PGUP seek 600
|
||||
PGDWN seek -600
|
||||
m mute
|
||||
# switch_audio # switch audio streams
|
||||
+ audio_delay 0.100
|
||||
- audio_delay -0.100
|
||||
[ speed_mult 0.9091 # scale playback speed
|
||||
] speed_mult 1.1
|
||||
{ speed_mult 0.5
|
||||
} speed_mult 2.0
|
||||
BS speed_set 1.0 # reset speed to normal
|
||||
q quit
|
||||
ESC quit
|
||||
ENTER pt_step 1 1 # skip to next file
|
||||
p pause
|
||||
. frame_step # advance one frame and pause
|
||||
SPACE pause
|
||||
HOME pt_up_step 1
|
||||
END pt_up_step -1
|
||||
> pt_step 1 # skip to next file
|
||||
< pt_step -1 # previous
|
||||
INS alt_src_step 1
|
||||
DEL alt_src_step -1
|
||||
o osd
|
||||
I osd_show_property_text "${filename}" 2500 # display filename in osd
|
||||
z sub_delay -0.1 # subtract 100 ms delay from subs
|
||||
x sub_delay +0.1 # add
|
||||
9 volume -1
|
||||
/ volume -1
|
||||
0 volume 1
|
||||
* volume 1
|
||||
1 contrast -1
|
||||
2 contrast 1
|
||||
3 brightness -1
|
||||
4 brightness 1
|
||||
5 hue -1
|
||||
6 hue 1
|
||||
7 saturation -1
|
||||
8 saturation 1
|
||||
( balance -0.1 # adjust audio balance in favor of left
|
||||
) balance +0.1 # right
|
||||
d frame_drop
|
||||
D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint
|
||||
r sub_pos -1 # move subtitles up
|
||||
t sub_pos +1 # down
|
||||
#? sub_step +1 # immediately display next subtitle
|
||||
#? sub_step -1 # previous
|
||||
#? sub_scale +0.1 # increase subtitle font size
|
||||
#? sub_scale -0.1 # decrease subtitle font size
|
||||
f vo_fullscreen
|
||||
#T vo_ontop # toggle video window ontop of other windows
|
||||
w panscan -0.1 # zoom out with -panscan 0 -fs
|
||||
e panscan +0.1 # in
|
||||
s screenshot # take a png screenshot with -vf screenshot
|
||||
# S will take a png screenshot of every frame
|
||||
|
||||
h tv_step_channel 1
|
||||
l tv_step_channel -1
|
||||
n tv_step_norm
|
||||
b tv_step_chanlist
|
||||
|
||||
##
|
||||
## GUI
|
||||
##
|
||||
|
||||
#l gui_loadfile
|
||||
#t gui_loadsubtitle
|
||||
#a gui_about
|
||||
#s gui_stop
|
||||
#p gui_playlist
|
||||
#r gui_preferences
|
||||
#c gui_skinbrowser
|
||||
|
||||
##
|
||||
## Joystick section
|
||||
## WARNING: joystick support has to be explicitly enabled at
|
||||
## compiletime with --enable-joystick
|
||||
##
|
||||
|
||||
JOY_RIGHT seek 10
|
||||
JOY_LEFT seek -10
|
||||
JOY_UP seek 60
|
||||
JOY_DOWN seek -60
|
||||
JOY_BTN0 pause
|
||||
JOY_BTN1 osd
|
||||
JOY_BTN2 volume 1
|
||||
JOY_BTN3 volume -1
|
||||
JOY_BTN4 set_menu main
|
||||
|
||||
##
|
||||
## Apple Remote section
|
||||
##
|
||||
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
|
||||
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
|
||||
##
|
||||
|
||||
# AR_PLAY pause
|
||||
# AR_PLAY_HOLD quit
|
||||
# AR_NEXT seek 30
|
||||
# AR_NEXT_HOLD seek 120
|
||||
# AR_PREV seek -10
|
||||
# AR_PREV_HOLD seek -120
|
||||
# AR_MENU menu up
|
||||
# #AR_MENU menu cancel
|
||||
# AR_MENU_HOLD mute
|
||||
# AR_VUP volume 1
|
||||
# AR_VDOWN volume -1
|
||||
|
||||
##
|
||||
## OSD Menu movement keys
|
||||
##
|
||||
## If you are using only the keyboard it is enough to define one command (like
|
||||
## "menu up"), because then that single key will display the menu, which can
|
||||
## then be navigated with the cursor keys and ENTER.
|
||||
##
|
||||
## LIRC users should bind each "menu" command to a button on their remote.
|
||||
##
|
||||
## The set_menu command directly displays the (sub)menu specified as
|
||||
## its argument. Usage should be self-explanatory (although not likely
|
||||
## to be needed), after reading input.conf.
|
||||
##
|
||||
|
||||
#MOUSE_BTN0 menu up
|
||||
#y menu down
|
||||
#y menu ok
|
||||
#y menu cancel
|
||||
#y menu hide
|
||||
#y set_menu general_pref
|
||||
|
||||
F1 menu up
|
||||
|
||||
##
|
||||
## DVDNAV
|
||||
## Requires dvdnav://
|
||||
##
|
||||
|
||||
# these are old style keys
|
||||
# KP8 dvdnav 1 # DVDNav UP
|
||||
# KP2 dvdnav 2 # DVDNav DOWN
|
||||
# KP4 dvdnav 3 # DVDNav LEFT
|
||||
# KP6 dvdnav 4 # DVDNav RIGHT
|
||||
# KP5 dvdnav 5 # DVDNav MENU
|
||||
# KP_ENTER dvdnav 6 # DVDNav SELECT (ok)
|
||||
# KP7 dvdnav 7 # DVDNav PREVIOUS menu (in the order chapter->title->root)
|
||||
UP {dvdnav} dvdnav up # DVDNav UP
|
||||
DOWN {dvdnav} dvdnav down # DVDNav DOWN
|
||||
LEFT {dvdnav} dvdnav left # DVDNav LEFT
|
||||
RIGHT {dvdnav} dvdnav right # DVDNav RIGHT
|
||||
ESC {dvdnav} dvdnav menu # DVDNav MENU
|
||||
ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok)
|
||||
BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root)
|
||||
|
||||
# AR_VUP {dvdnav} dvdnav up # DVDNav UP
|
||||
# AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN
|
||||
# AR_PREV {dvdnav} dvdnav left # DVDNav LEFT
|
||||
# AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT
|
||||
# AR_MENU {dvdnav} dvdnav menu # DVDNav MENU
|
||||
# AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok)
|
||||
|
||||
#? seek_chapter -1 # skip to previous dvd chapter
|
||||
#? seek_chapter +1 # next
|
||||
@@ -0,0 +1,316 @@
|
||||
#
|
||||
# Mencoder configuration file
|
||||
#
|
||||
# Configuration files are read system-wide from /etc/mencoder.conf
|
||||
# and per user from ~/.mplayer/mencoder.conf, where per-user settings override
|
||||
# system-wide settings, all of which are overrriden by the command line.
|
||||
#
|
||||
# The configuration file settings are the same as the command line
|
||||
# options without the preceding '-'.
|
||||
#
|
||||
# See the CONFIGURATION FILES section in the man page
|
||||
# for a detailed description of the syntax.
|
||||
|
||||
|
||||
####################
|
||||
# default settings #
|
||||
####################
|
||||
|
||||
# Some font enhancements using fontconfig as default
|
||||
fontconfig = 1
|
||||
subcp = cp1254
|
||||
spuaa = 4
|
||||
subfont-text-scale = 3
|
||||
font = "Dejavu Sans Condensed"
|
||||
|
||||
############
|
||||
# profiles #
|
||||
############
|
||||
|
||||
[yuy2]
|
||||
profile-desc="RAW uncompressed YUY2"
|
||||
mf=fps=25
|
||||
oac=copy=yes
|
||||
ovc=raw=yes
|
||||
vf=format=yuy2
|
||||
|
||||
[mpeg1]
|
||||
profile-desc="MPEG-1 Video MP2 Audio"
|
||||
of=mpeg=1
|
||||
mpegopts=format=mpeg1:tsaf=1:muxrate=2000
|
||||
oac=lavc=1
|
||||
ovc=lavc=1
|
||||
lavcopts=acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
|
||||
|
||||
[mpeg2]
|
||||
profile-desc="MPEG-2 Video MP2 Audio - Slow because Full Encoding"
|
||||
lavdopts=threads=2
|
||||
vf=pp=md,harddup
|
||||
ovc=lavc=1
|
||||
oac=lavc=1
|
||||
lavcopts=vcodec=mpeg2video:vqscale=1:acodec=mp2:abitrate=320:threads=2
|
||||
of=lavf=1
|
||||
lavfopts=format=dvd
|
||||
|
||||
[mpeg4]
|
||||
profile-desc="MPEG4 video"
|
||||
ovc=lavc=1
|
||||
oac=mp3lame=1
|
||||
lameopts=preset=standard
|
||||
lavcopts=vcodec=mpeg4:vbitrate=1200
|
||||
|
||||
[mpeg4-hq]
|
||||
profile-desc="MPEG4 video HQ"
|
||||
profile=mpeg4
|
||||
lavcopts=mbd=2:trell=yes:v4mv=yes
|
||||
|
||||
[x264]
|
||||
profile-desc="x264 video MP3 audio"
|
||||
ovc=x264=1
|
||||
x264encopts=subq=5:frameref=2:b_pyramid=1:weight_b=1:nr=500
|
||||
oac=mp3lame=1
|
||||
lameopts=preset=standard
|
||||
|
||||
[x264-hq]
|
||||
profile-desc="x264 video MP3 audio HQ"
|
||||
lavdopts=threads=2
|
||||
ovc=x264=1
|
||||
x264encopts=subq=6:partitions=all:8x8dct=yes:me=umh:frameref=5:bframes=3:b_pyramid=yes:weight_b=yes:threads=auto
|
||||
ofps=25
|
||||
alang=it
|
||||
oac=mp3lame=yes
|
||||
lameopts=vbr=3:br=128
|
||||
|
||||
[xvid]
|
||||
profile-desc="MPEG4 (XviD) video MP3 audio"
|
||||
ovc=xvid=yes
|
||||
xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg
|
||||
ofps=25
|
||||
oac=mp3lame=yes
|
||||
lameopts=vbr=3:br=128
|
||||
|
||||
[xvid-hq]
|
||||
profile-desc="MPEG4 (XviD) video MP3 audio HQ"
|
||||
ovc=xvid=yes
|
||||
xvidencopts=bitrate=5000:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg
|
||||
ofps=25
|
||||
oac=mp3lame=yes
|
||||
lameopts=vbr=3:br=192
|
||||
|
||||
[xvid-cartoon]
|
||||
profile-desc="MPEG4 (XviD) video MP3 audio Cartoon optimised"
|
||||
ovc=xvid=yes
|
||||
xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg:cartoon=yes
|
||||
ofps=25
|
||||
oac=mp3lame=yes
|
||||
lameopts=vbr=3:br=128
|
||||
|
||||
[divx]
|
||||
profile-desc="MPEG4 (DivX) video MP3 audio"
|
||||
ovc=lavc=yes
|
||||
lavcopts=mbd=2:trell=yes:v4mv=yes:vbitrate=1200:autoaspect=yes:acodec=mp3:abitrate=128
|
||||
# this is for compatibility with divx players, hint to use with other profiles
|
||||
ffourcc=DX50
|
||||
ofps=25
|
||||
oac=mp3lame=yes
|
||||
lameopts=vbr=3:br=128
|
||||
|
||||
[wmv]
|
||||
profile-desc="WMV Good Quality"
|
||||
lavdopts=threads=2
|
||||
vf=pp=md,harddup
|
||||
ovc=lavc=1
|
||||
oac=lavc=1
|
||||
lavcopts=vcodec=wmv2:vqscale=4:acodec=wmav2:abitrate=128
|
||||
of=lavf=yes
|
||||
|
||||
[lameaudio]
|
||||
profile-desc="Lame Audio"
|
||||
oac=mp3lame=1
|
||||
srate=48000
|
||||
lameopts=abr=yes:br=128
|
||||
|
||||
[hd-1080p]
|
||||
profile-desc="HD 1080p video AC3 audio"
|
||||
ovc=xvid=1
|
||||
vf=pp=l5,crop=1920:1056
|
||||
xvidencopts=vhq=4:bvhq=1:nogmc=1:me_quality=6:chroma_me=1:chroma_opt=1:min_iquant=1:min_pquant=1:fixed_quant=5
|
||||
oac=lavc=1
|
||||
lavcopts=acodec=ac3:abitrate=384
|
||||
|
||||
[dvrms2xvid]
|
||||
profile-desc="Convert DVRMS to XviD"
|
||||
profile=lameaudio
|
||||
quiet=1
|
||||
demuxer=35
|
||||
sws=2
|
||||
vfm=ffmpeg
|
||||
vf=pp=md,scale=624:352
|
||||
ovc=xvid=1
|
||||
xvidencopts=threads=2:bitrate=900:vhq=1:max_bframes=2
|
||||
lavdopts=threads=2
|
||||
noodml=1
|
||||
forceidx=1
|
||||
ffourcc=DX50
|
||||
|
||||
[dvd]
|
||||
profile-desc="MPEG2 (PAL DVD) video AC3 audio"
|
||||
ovc=lavc=yes
|
||||
lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes
|
||||
of=mpeg=yes
|
||||
mpegopts=format=dvd:tsaf=yes
|
||||
vf=scale=720:576,harddup
|
||||
ofps=25
|
||||
srate=48000
|
||||
af=lavcresample=48000
|
||||
oac=lavc=yes
|
||||
|
||||
[dvdi]
|
||||
profile-desc="MPEG2 (PAL DVD interlaced source) video AC3 audio"
|
||||
ovc=lavc=yes
|
||||
lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes:ildct=yes:ilme=yes
|
||||
of=mpeg=yes
|
||||
mpegopts=format=dvd:tsaf=yes
|
||||
vf=scale=720:576,harddup
|
||||
ofps=25
|
||||
srate=48000
|
||||
af=lavcresample=48000
|
||||
oac=lavc=yes
|
||||
|
||||
[dvd-wide]
|
||||
profile-desc="MPEG2 (PAL DVD wide screen source) video AC3 audio"
|
||||
ovc=lavc=yes
|
||||
lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192
|
||||
of=mpeg=yes
|
||||
mpegopts=format=dvd:tsaf=yes
|
||||
vf=scale=720:-2,expand=720:576,harddup
|
||||
ofps=25
|
||||
srate=48000
|
||||
af=lavcresample=48000
|
||||
oac=lavc=yes
|
||||
|
||||
[dvd-16_9]
|
||||
profile-desc="MPEG2 (PAL DVD 16/9) video AC3 audio"
|
||||
ovc=lavc=yes
|
||||
lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9
|
||||
of=mpeg=yes
|
||||
mpegopts=format=dvd:tsaf=yes
|
||||
vf=scale=720:576,harddup
|
||||
ofps=25
|
||||
srate=48000
|
||||
af=lavcresample=48000
|
||||
oac=lavc=yes
|
||||
|
||||
[webcam]
|
||||
profile-desc="Webcam capture with MJPEG/nosound"
|
||||
oac=pcm=1
|
||||
ovc=lavc=1
|
||||
lavcopts=vcodec=mjpeg
|
||||
tv=driver=v4l:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24
|
||||
vf=pp=hb:a/vb:a,hqdn3d,mirror
|
||||
nosound=1
|
||||
|
||||
[webcam-v4l2]
|
||||
profile-desc="Webcam capture with MJPEG/nosound (V4L2)"
|
||||
oac=pcm=1
|
||||
ovc=lavc=1
|
||||
lavcopts=vcodec=mjpeg
|
||||
tv=driver=v4l2:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24
|
||||
vf=pp=hb:a/vb:a,hqdn3d,mirror
|
||||
nosound=1
|
||||
|
||||
[tv]
|
||||
profile-desc="TV capture with MP3 audio"
|
||||
tv=driver=v4l:normid=4:width=640:height=480:chanlist=europe-west
|
||||
tv=alsa=yes:adevice=hw.1,1:audiorate=32000
|
||||
srate=32000
|
||||
vf=crop=624:464:0:8,pp=lb,denoise3d,decimate
|
||||
oac=mp3lame=1
|
||||
ovc=lavc=1
|
||||
lavcopts=vqscale=5
|
||||
lameopts=q=6
|
||||
|
||||
[tv-v4l2]
|
||||
profile-desc="TV capture with MP3 audio (V4L2)"
|
||||
tv=driver=v4l2:normid=4:width=640:height=480:chanlist=europe-west
|
||||
tv=alsa=yes:adevice=hw.1,1:audiorate=32000
|
||||
srate=32000
|
||||
vf=crop=624:464:0:8,pp=lb,denoise3d,decimate
|
||||
oac=mp3lame=1
|
||||
ovc=lavc=1
|
||||
lavcopts=vqscale=5
|
||||
lameopts=q=6
|
||||
|
||||
[psp]
|
||||
profile-desc="PSP H264/AAC (AVC/AAC)"
|
||||
sws=9
|
||||
vf=pullup,softskip,scale=368:208,harddup,unsharp=l3x3:0.7
|
||||
ofps=30000/1001
|
||||
ovc=x264=1
|
||||
x264encopts=bitrate=650:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30
|
||||
oac=faac=1
|
||||
faacopts=br=128:mpeg=4:object=2:raw=yes
|
||||
of=lavf=1
|
||||
lavfopts=format=psp
|
||||
|
||||
[psp-lavc]
|
||||
profile-desc="PSP H264/AAC (AVC/AAC) with FFmpeg"
|
||||
vf=hqdn3d,scale=368:208
|
||||
af=lavcresample=48000
|
||||
ofps=30000/1001
|
||||
ovc=lavc=1
|
||||
oac=lavc=1
|
||||
lavcopts=aglobal=1:vglobal=1:vcodec=libx264:acodec=libfaac:vbitrate=320:abitrate=97:coder=1
|
||||
of=lavf=1
|
||||
lavfopts=format=psp
|
||||
|
||||
[psp-fast]
|
||||
profile-desc="PSP MPEG4/AAC Medium Quality"
|
||||
lavdopts=threads=2
|
||||
vf=pp=md,scale=368:208,harddup
|
||||
af=lavcresample=24000
|
||||
ofps=30000/1001
|
||||
ovc=lavc=1
|
||||
oac=lavc=1
|
||||
lavcopts=aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac:vbitrate=500
|
||||
of=lavf=1
|
||||
lavfopts=format=psp
|
||||
|
||||
[youtube]
|
||||
profile-desc="YouTube output"
|
||||
ovc=lavc=1
|
||||
oac=lavc=1
|
||||
vf-add=scale=320:200
|
||||
vf-add=expand=320:240
|
||||
lavcopts=vhq=yes:vcodec=mpeg4:vrc_buf_size=1835:vrc_maxrate=350:vbitrate=350:v4mv=yes:aspect=4/3:trell=yes:cbp=yes
|
||||
ffourcc=XVID
|
||||
|
||||
[pda-z-napisami]
|
||||
profile-desc="PDA"
|
||||
ovc=lavc=1
|
||||
lavcopts=vcodec=mpeg4:vbitrate=300
|
||||
oac=mp3lame=1
|
||||
lameopts=preset=112
|
||||
vf=scale=320:-3
|
||||
af=resample=44100:0:0
|
||||
|
||||
[mswin]
|
||||
profile-desc="MS Win compatible MPEG1 video MPEG2 audio"
|
||||
of=mpeg=1
|
||||
mpegopts=format=mpeg1:tsaf=1
|
||||
oac=lavc=1
|
||||
lavcopts=acodec=mp2:abitrate=192
|
||||
ovc=lavc=1
|
||||
lavcopts=vcodec=mpeg1video:trell=1:autoaspect=1
|
||||
vf=hqdn3d=2:1:2
|
||||
|
||||
[treo650]
|
||||
profile-desc="Treo 650 compatible"
|
||||
aspect=4:3
|
||||
ovc=lavc=1
|
||||
lavcopts=vcodec=mpeg4:mbd=2:turbo=yes:vbitrate=300:aspect=4/3:acodec=libmp3lame:abitrate=96
|
||||
oac=lavc=1
|
||||
vf-pre=pp=lb
|
||||
vf=scale=320:200
|
||||
af=volnorm=1
|
||||
|
||||
@@ -0,0 +1,167 @@
|
||||
<keybindings name="default">
|
||||
<binding key="UP" cmd="menu up" />
|
||||
<binding key="DOWN" cmd="menu down" />
|
||||
<binding key="LEFT" cmd="menu left" />
|
||||
<binding key="RIGHT" cmd="menu right" />
|
||||
<binding key="ENTER" cmd="menu ok" />
|
||||
<binding key="ESC" cmd="menu cancel" />
|
||||
<binding key="HOME" cmd="menu home" />
|
||||
<binding key="END" cmd="menu end" />
|
||||
<binding key="PGUP" cmd="menu pageup" />
|
||||
<binding key="PGDWN" cmd="menu pagedown" />
|
||||
<binding key="JOY_UP" cmd="menu up" />
|
||||
<binding key="JOY_DOWN" cmd="menu down" />
|
||||
<binding key="JOY_LEFT" cmd="menu left" />
|
||||
<binding key="JOY_RIGHT" cmd="menu right" />
|
||||
<binding key="JOY_BTN0" cmd="menu ok" />
|
||||
<binding key="JOY_BTN1" cmd="menu cancel" />
|
||||
<binding key="AR_VUP" cmd="menu up" />
|
||||
<binding key="AR_VDOWN" cmd="menu down" />
|
||||
<binding key="AR_PREV" cmd="menu left" />
|
||||
<binding key="AR_NEXT" cmd="menu right" />
|
||||
<binding key="AR_PLAY" cmd="menu ok" />
|
||||
<binding key="AR_MENU" cmd="menu cancel" />
|
||||
<binding key="AR_PREV_HOLD" cmd="menu home" />
|
||||
<binding key="AR_NEXT_HOLD" cmd="menu end" />
|
||||
<binding key="MOUSE_BTN0" cmd="menu click" />
|
||||
<binding key="MOUSE_BTN2" cmd="menu cancel" />
|
||||
</keybindings>
|
||||
<keybindings name="list" parent="default">
|
||||
<binding key="AR_PREV" cmd="menu pageup" />
|
||||
<binding key="AR_NEXT" cmd="menu pagedown" />
|
||||
</keybindings>
|
||||
<keybindings name="filesel" parent="list">
|
||||
<binding key="BS" cmd="menu left" />
|
||||
</keybindings>
|
||||
<keybindings name="chapsel" parent="list" />
|
||||
<keybindings name="cmdlist" parent="list">
|
||||
<binding key="AR_PREV" cmd="menu left" />
|
||||
<binding key="AR_NEXT" cmd="menu right" />
|
||||
</keybindings>
|
||||
<keybindings name="txt" parent="list" />
|
||||
<keybindings name="pt" parent="list" />
|
||||
<keybindings name="pref" parent="list">
|
||||
<binding key="AR_PREV" cmd="menu left" />
|
||||
<binding key="AR_NEXT" cmd="menu right" />
|
||||
<binding key="AR_PREV_HOLD" cmd="menu left" />
|
||||
<binding key="AR_NEXT_HOLD" cmd="menu right" />
|
||||
</keybindings>
|
||||
|
||||
<txt name="man" file="manpage.txt"/>
|
||||
|
||||
<filesel name="open_file" file-action="loadfile '%p' menu cancel"
|
||||
title="File: %p" />
|
||||
<filesel name="open_list" file-action="loadlist '%p' menu cancel"
|
||||
title="List: %p" />
|
||||
<filesel name="open_sub" file-action="sub_load '%p' menu cancel"
|
||||
title="Subtitle: %p" />
|
||||
|
||||
<chapsel name="select_chapter" />
|
||||
|
||||
<pt name="jump_to"/>
|
||||
|
||||
<console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
|
||||
|
||||
<pref name="general_pref" title="General" ptr=">">
|
||||
<e property="osdlevel" name="OSD level"/>
|
||||
<e property="speed" name="Speed"/>
|
||||
</pref>
|
||||
|
||||
<pref name="demuxer_pref" title="Demuxer">
|
||||
</pref>
|
||||
|
||||
|
||||
<pref name="osd_sub_pref" title="Subtitles" ptr=">">
|
||||
<e property="sub" name="Subtitle"/>
|
||||
<e property="sub_visibility" name="Visible"/>
|
||||
<e property="sub_forced_only" name="Forced only"/>
|
||||
<e property="sub_alignment" name="Alignment"/>
|
||||
<e property="sub_pos" name="Position"/>
|
||||
<e property="sub_delay" name="Delay"/>
|
||||
</pref>
|
||||
|
||||
<pref name="audio_pref" title="Ses" ptr=">">
|
||||
<e property="switch_audio" name="Switch audio"/>
|
||||
<e property="volume" name="Volume"/>
|
||||
<e property="mute" name="Mute"/>
|
||||
<e property="audio_delay" name="Delay"/>
|
||||
</pref>
|
||||
|
||||
<pref name="colors_pref" title="Colors" ptr=">">
|
||||
<e property="gamma" name="Gamma"/>
|
||||
<e property="brightness" name="Brightness"/>
|
||||
<e property="contrast" name="Contrast"/>
|
||||
<e property="saturation" name="Saturation"/>
|
||||
<e property="hue" name="Hue"/>
|
||||
</pref>
|
||||
|
||||
<cmdlist name="aspect_ratio" title="Aspect Ratio" ptr=">">
|
||||
<e name="4 / 3" ok="switch_ratio 1.3333"/>
|
||||
<e name="16 / 9" ok="switch_ratio 1.7777"/>
|
||||
<e name="1 / 1" ok="switch_ratio 1.0"/>
|
||||
<e name="2.3" ok="switch_ratio 2.21"/>
|
||||
<e name="1.85" ok="switch_ratio 1.85"/>
|
||||
<e name="1.2" ok="switch_ratio 1.2"/>
|
||||
<e name="Automatic" ok="switch_ratio 0"/>
|
||||
<e name="Back" ok="menu cancel"/>
|
||||
</cmdlist>
|
||||
|
||||
<pref name="video_pref" title="Video " ptr=">">
|
||||
<e property="fullscreen" name="Fullscreen"/>
|
||||
<menu menu="aspect_ratio" name="Aspect ratio"/>
|
||||
<e property="panscan" name="Panscan"/>
|
||||
<menu menu="colors_pref" name="Colors"/>
|
||||
<e property="ontop" name="On top"/>
|
||||
<e property="rootwin" name="Root window"/>
|
||||
<e property="framedropping" name="Frame dropping"/>
|
||||
<e property="vsync" name="VSync"/>
|
||||
</pref>
|
||||
|
||||
|
||||
<cmdlist name="pref_main" title="Preferences" ptr=">">
|
||||
<e name="General" ok="set_menu general_pref"/>
|
||||
<e name="Audio" ok="set_menu audio_pref"/>
|
||||
<e name="Video" ok="set_menu video_pref"/>
|
||||
<e name="Subtitle" ok="set_menu osd_sub_pref"/>
|
||||
<e name="Back" ok="menu cancel"/>
|
||||
</cmdlist>
|
||||
|
||||
<pref name="properties" title="Properties">
|
||||
<e txt="${filename}" name="Source"/>
|
||||
<e txt="${video_format}" name="Video"/>
|
||||
<e txt="${video_bitrate}" name="Video bitrate"/>
|
||||
<e txt="${width} x ${height}" name="Resolution"/>
|
||||
<e txt="${audio_codec}" name="Audio codec"/>
|
||||
<e txt="${audio_bitrate}" name="Audio bitrate"/>
|
||||
<e txt="${samplerate}" name="Samplerate"/>
|
||||
<e txt="${metadata/Title}" name="Title"/>
|
||||
<e txt="${metadata/Artist}" name="Artist"/>
|
||||
<e txt="${metadata/Album}" name="Album"/>
|
||||
<e txt="${metadata/Year}" name="Year"/>
|
||||
<e txt="${metadata/Comment}" name="Comment"/>
|
||||
<e txt="${metadata/Track}" name="Track"/>
|
||||
<e txt="${metadata/Genre}" name="Genre"/>
|
||||
<e txt="${metadata/Software}" name="Software"/>
|
||||
</pref>
|
||||
|
||||
<cmdlist name="load_main" title="Load " ptr=">">
|
||||
<e name="File" ok="set_menu open_file"/>
|
||||
<e name="List" ok="set_menu open_list"/>
|
||||
<e name="Subtitle" ok="set_menu open_sub"/>
|
||||
</cmdlist>
|
||||
|
||||
<cmdlist name="main" title="MPlayer OSD" ptr=">">
|
||||
<e name="Select from list" ok="set_menu jump_to"/>
|
||||
<e name="Load" ok="set_menu load_main"/>
|
||||
<e name="Select chapter" ok="set_menu select_chapter" left="seek_chapter -1" right="seek_chapter +1"/>
|
||||
<e name="Pause" ok="pause"/>
|
||||
<e name="Frame step" ok="frame_step"/>
|
||||
<e name="Screenshot" ok="screenshot"/>
|
||||
<e name="Previous/Next" right="pt_step 1" left="pt_step -1"/>
|
||||
<e name="Preferences" ok="set_menu pref_main"/>
|
||||
<e name="Properties" ok="set_menu properties"/>
|
||||
<e name="Console" ok="set_menu console0"/>
|
||||
<e name="Quit" ok="quit"/>
|
||||
</cmdlist>
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# A wrapper for mplayer -identify to easily get info of a file
|
||||
#
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: midentify <file> [<file> ...]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
|
||||
grep IDENTIFY |
|
||||
sed -n -e 's/.*ID_/ID_/' -e 's/[]()|&;<>`'"'"'\\!$" []/\\&/g;p'
|
||||
|
||||
@@ -0,0 +1,278 @@
|
||||
#
|
||||
# MPlayer configuration file
|
||||
#
|
||||
# Configuration files are read system-wide from /etc/mplayer.conf
|
||||
# and per user from ~/.mplayer/config, where per-user settings override
|
||||
# system-wide settings, all of which are overrriden by the command line.
|
||||
#
|
||||
# The configuration file settings are the same as the command line
|
||||
# options without the preceding '-'.
|
||||
#
|
||||
# See the CONFIGURATION FILES section in the man page
|
||||
# for a detailed description of the syntax.
|
||||
|
||||
|
||||
##################
|
||||
# video settings #
|
||||
##################
|
||||
|
||||
# Specify default video driver (see -vo help for a list).
|
||||
#vo=xv
|
||||
vo=xv,x11
|
||||
|
||||
# Init once for multiple inputs, has many advantages
|
||||
fixed-vo=1
|
||||
|
||||
# Specify vdpau codecs when using -vo vdpau.
|
||||
# [vo.vdpau]
|
||||
# vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,
|
||||
|
||||
# Use SDL video with the aalib subdriver by default.
|
||||
#vo = sdl:aalib
|
||||
|
||||
# FBdev driver:
|
||||
#
|
||||
# mode to use (read from fb.modes)
|
||||
#fbmode = 640x480-120
|
||||
#
|
||||
# location of the fb.modes file
|
||||
#fbmodeconfig = /etc/fb.modes
|
||||
|
||||
# Specify your monitor timings for the vesa and fbdev video output drivers.
|
||||
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
|
||||
# that exceed the capabilities of your monitor, you may damage it.
|
||||
#
|
||||
# horizontal frequency range (k stands for 1000)
|
||||
#monitor-hfreq = 31.5k-50k,70k
|
||||
#
|
||||
# vertical frequency range
|
||||
#monitor-vfreq = 50-90
|
||||
#
|
||||
# dotclock (or pixelclock) range (m stands for 1000000)
|
||||
#monitor-dotclock = 30M-300M
|
||||
|
||||
# Start in fullscreen mode by default.
|
||||
#fs=yes
|
||||
fs=no
|
||||
|
||||
# Choose where the video will start, default is to let WM handle it
|
||||
geometry=50%:50%
|
||||
|
||||
# Change to a different videomode when going fullscreen.
|
||||
#vm=yes
|
||||
|
||||
# Override the autodetected color depth, may need 'vm=yes' as well.
|
||||
#bpp=0
|
||||
|
||||
# Enable software scaling (powerful CPU needed) for video output
|
||||
# drivers that do not support hardware scaling.
|
||||
zoom=yes
|
||||
|
||||
# standard monitor size, with square pixels
|
||||
#monitoraspect=4:3
|
||||
|
||||
# Use this for a widescreen monitor, non-square pixels.
|
||||
#monitoraspect=16:9
|
||||
|
||||
# Keep the player window on top of all other windows.
|
||||
#ontop=yes
|
||||
|
||||
# Some example postprocessing filters, from less quality to more complex pp
|
||||
# vf=pp=ac/l5
|
||||
# vf=pp=lb,denoise3d,decimate
|
||||
# vf=pp=hb:a/vb:a/dr:a/al:a
|
||||
|
||||
|
||||
##################
|
||||
# audio settings #
|
||||
##################
|
||||
|
||||
# Specify default audio driver (see -ao help for a list).
|
||||
#ao=oss
|
||||
|
||||
# Use SDL audio driver with the esd subdriver by default.
|
||||
#ao = sdl:esd
|
||||
# ao = alsa:noblock,oss
|
||||
ao=pulse,alsa:noblock,oss
|
||||
|
||||
# Specify the mixer device.
|
||||
#mixer = /dev/mixer
|
||||
|
||||
# Output audio to S/PDIF
|
||||
# #ao=alsa:device=spdif
|
||||
# #ac=hwac3,hwdts,hwmpa,
|
||||
|
||||
# Resample the sound to 44100Hz with the lavcresample audio filter.
|
||||
#af=lavcresample=44100
|
||||
|
||||
# Use this if your soundcard produces too low volume
|
||||
# warning, may cause distortion depending on input and speaker
|
||||
# af=volume=10.1:0,volnorm=1
|
||||
|
||||
# Add advanced audio filters
|
||||
# 0 is full automatic, 5 is automatic and use float where possible
|
||||
# af-adv=force=0
|
||||
# af-adv=force=5
|
||||
|
||||
|
||||
##################
|
||||
# input settings #
|
||||
##################
|
||||
|
||||
# Let MPlayer grab mouse movements
|
||||
# Useful if you want to use OSD menu with mouse or dvdnav
|
||||
# mouse-movements = 1
|
||||
|
||||
# Ignore keyboard events, useful if you don't want anything pressed
|
||||
# on your keyboard affect what you are watching (babies, cats etc.)
|
||||
# noconsolecontrols = 1
|
||||
|
||||
# Ignore mouse events
|
||||
# nomouseinput = 1
|
||||
|
||||
nojoystick = 1
|
||||
|
||||
##################
|
||||
# other settings #
|
||||
##################
|
||||
|
||||
# Drop frames to preserve audio/video sync.
|
||||
#framedrop = yes
|
||||
framedrop = yes
|
||||
|
||||
# Doublebuffering can help remove flicker from subtitles/OSD.
|
||||
# double=yes
|
||||
double = yes
|
||||
|
||||
# Specify your preferred skin here (skins are searched for in
|
||||
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
|
||||
#skin = Abyss
|
||||
|
||||
# Resample the font alphamap.
|
||||
# 0 plain white fonts
|
||||
# 0.75 very narrow black outline (default)
|
||||
# 1 narrow black outline
|
||||
# 10 bold black outline
|
||||
#ffactor = 0.75
|
||||
|
||||
# Some font enhancements
|
||||
fontconfig = 1
|
||||
embeddedfonts = 1
|
||||
subfont-autoscale = 3
|
||||
subfont-osd-scale = 3
|
||||
subcp = cp1254
|
||||
spuaa = 4
|
||||
font = "Dejavu Sans Condensed"
|
||||
|
||||
# enable ass for flexibility and better rendering
|
||||
ass = 1
|
||||
ass-color = FFFFFF00
|
||||
ass-use-margins = 1
|
||||
# use this to make empty space below video for subtitles
|
||||
# ass-bottom-margin = 64
|
||||
|
||||
# cache settings
|
||||
#
|
||||
# Use 8MB input cache by default.
|
||||
cache = 8192
|
||||
|
||||
# Prefill 20% of the cache before starting playback.
|
||||
cache-min = 20.0
|
||||
|
||||
# Prefill 50% of the cache before restarting playback after the cache emptied.
|
||||
cache-seek-min = 50
|
||||
|
||||
# DVD: Display English subtitles if available.
|
||||
#slang = en
|
||||
|
||||
# DVD: Play English audio tracks if available.
|
||||
#alang = en
|
||||
|
||||
# Default to Turkish for subtitles
|
||||
slang = tr,en
|
||||
alang = tr,en
|
||||
|
||||
# Enable menu
|
||||
menu = 1
|
||||
|
||||
# Enable screenshot grabbing
|
||||
# vf = screenshot
|
||||
|
||||
# Stop Xscreensaver by default
|
||||
stop-xscreensaver = 1
|
||||
|
||||
# enable color output in console
|
||||
msgcolor = 1
|
||||
|
||||
# enable module info color
|
||||
msgmodule = 1
|
||||
|
||||
# Pretend to be Window Media Player.
|
||||
# Fixes playback when playlist and media file use the same URL.
|
||||
#user-agent=NSPlayer/4.1.0.3856
|
||||
|
||||
# Pretend to be Quicktime
|
||||
# Fixes playback for apple.com/trailers redirects
|
||||
#user-agent="QuickTime"
|
||||
|
||||
|
||||
############################
|
||||
# extension based settings #
|
||||
############################
|
||||
|
||||
# You can define options for case insensitive file extensions
|
||||
# [extension.flv]
|
||||
# correct-pts = 1
|
||||
|
||||
#[extension.mkv]
|
||||
#nocorrect-pts = 1
|
||||
|
||||
###########################
|
||||
# protocol based settings #
|
||||
###########################
|
||||
|
||||
[protocol.http]
|
||||
cache = 256
|
||||
|
||||
[protocol.http_proxy]
|
||||
cache = 256
|
||||
|
||||
[protocol.mmst]
|
||||
cache = 256
|
||||
|
||||
[protocol.mms]
|
||||
cache = 256
|
||||
|
||||
[protocol.rtp]
|
||||
cache = 256
|
||||
|
||||
[protocol.rtsp]
|
||||
cache = 256
|
||||
|
||||
[protocol.icyx]
|
||||
cache = 256
|
||||
|
||||
[protocol.dvdnav]
|
||||
vc=ffmpeg12,
|
||||
mouse-movements=yes
|
||||
nocache=yes
|
||||
|
||||
|
||||
# enable rar subs (both normal and vobsub) in runtime
|
||||
unrarexec = /usr/bin/unrar
|
||||
|
||||
# Print input name (without path) and duration in terminal window caption
|
||||
# playing-msg = "\e]0;MPlayer - ${filename}?(length: - ${length})\x07"
|
||||
|
||||
# You can also include other configuration files.
|
||||
#include = /path/to/the/file/you/want/to/include
|
||||
|
||||
###########################
|
||||
# Generic profiles #
|
||||
###########################
|
||||
|
||||
[2chto6ch]
|
||||
af=pan=6:1:0:.4:0:.6:2:0:1:0:.4:.6:2
|
||||
channels=6
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=MPlayer
|
||||
Name[tr]=MPlayer
|
||||
Name[de]=MPlayer
|
||||
Name[es]=MPlayer
|
||||
Name[fr]=MPlayer
|
||||
Name[it]=MPlayer
|
||||
GenericName=Multimedia Player
|
||||
GenericName[tr]=Medya Oynatıcı
|
||||
GenericName[de]=Multimedia Player
|
||||
GenericName[es]=Reproductor multimedia
|
||||
GenericName[fr]=Lecteur multimedia
|
||||
GenericName[it]=Lettore multimediale
|
||||
Icon=mplayer
|
||||
Exec=gmplayer -really-quiet 1> /dev/null 2>&1 %U
|
||||
Terminal=false
|
||||
Categories=GTK;Application;AudioVideo;Audio;Video;Player;TV;
|
||||
MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;video/x-flv;video/avi;video/mp4;video/x-ogm;video/3gpp;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,54 @@
|
||||
#!/bin/bash
|
||||
# a tiny script to test webcams using mplayer
|
||||
# options are self explanatory :)
|
||||
|
||||
DEVICE="video0"
|
||||
AUDIO=":noaudio"
|
||||
FILTER="-vf-add pp=hb:a/vb:a,hqdn3d,mirror"
|
||||
V4L=""
|
||||
EXTRA=""
|
||||
WIDTH="640"
|
||||
HEIGHT="480"
|
||||
RESOLUTION="-x 800 -y 600"
|
||||
FPS=""
|
||||
|
||||
for x in $*; do
|
||||
case "${x}" in
|
||||
video[0-9]*)
|
||||
DEVICE="${x}"
|
||||
;;
|
||||
-v4l2)
|
||||
V4L=":driver=v4l2"
|
||||
FPS="-fps 60"
|
||||
;;
|
||||
-v4l)
|
||||
V4L=":driver=v4l"
|
||||
FPS="-fps 60"
|
||||
;;
|
||||
-audio)
|
||||
AUDIO=""
|
||||
;;
|
||||
-w[0-9]*)
|
||||
WIDTH=`echo "${x}"|cut -c 4-`
|
||||
;;
|
||||
-h[0-9]*)
|
||||
HEIGHT=`echo "${x}"|cut -c 4-`
|
||||
;;
|
||||
-forcefps)
|
||||
FPS="-fps 30"
|
||||
;;
|
||||
-nores)
|
||||
RESOLUTION=""
|
||||
;;
|
||||
-nofilter)
|
||||
FILTER=""
|
||||
;;
|
||||
*)
|
||||
EXTRA="$EXTRA ${x}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# main
|
||||
mplayer tv:// -tv device=/dev/$DEVICE:width=$WIDTH:height=$HEIGHT$V4L$AUDIO $RESOLUTION $FILTER $FPS $EXTRA
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
diff -Nur mplayer-old/libmpcodecs/dec_audio.c mplayer/libmpcodecs/dec_audio.c
|
||||
--- mplayer-old/libmpcodecs/dec_audio.c 2010-05-27 19:02:33.346258636 +0300
|
||||
+++ mplayer/libmpcodecs/dec_audio.c 2010-05-27 19:02:41.915422106 +0300
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "mp_msg.h"
|
||||
@@ -143,6 +144,9 @@
|
||||
static int init_audio(sh_audio_t *sh_audio, char *codecname, char *afm,
|
||||
int status, stringset_t *selected)
|
||||
{
|
||||
+ char *locale_data = setlocale(LC_CTYPE, "");
|
||||
+ setlocale(LC_CTYPE, "C");
|
||||
+
|
||||
unsigned int orig_fourcc = sh_audio->wf ? sh_audio->wf->wFormatTag : 0;
|
||||
int force = 0;
|
||||
if (codecname && codecname[0] == '+') {
|
||||
@@ -231,8 +235,10 @@
|
||||
continue; // try next...
|
||||
}
|
||||
// Yeah! We got it!
|
||||
+ setlocale(LC_CTYPE, locale_data);
|
||||
return 1;
|
||||
}
|
||||
+ setlocale(LC_CTYPE, locale_data);
|
||||
return 0;
|
||||
}
|
||||
|
||||
diff -Nur mplayer-old/libmpcodecs/dec_video.c mplayer/libmpcodecs/dec_video.c
|
||||
--- mplayer-old/libmpcodecs/dec_video.c 2010-05-27 19:02:33.342258404 +0300
|
||||
+++ mplayer/libmpcodecs/dec_video.c 2010-05-27 19:04:23.349261664 +0300
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include "mp_msg.h"
|
||||
#include "help_mp.h"
|
||||
@@ -204,6 +205,10 @@
|
||||
static int init_video(sh_video_t *sh_video, char *codecname, char *vfm,
|
||||
int status, stringset_t *selected)
|
||||
{
|
||||
+
|
||||
+ char *locale_data = setlocale(LC_CTYPE, "");
|
||||
+ setlocale(LC_CTYPE, "C");
|
||||
+
|
||||
int force = 0;
|
||||
unsigned int orig_fourcc =
|
||||
sh_video->bih ? sh_video->bih->biCompression : 0;
|
||||
@@ -320,8 +325,10 @@
|
||||
}
|
||||
// Yeah! We got it!
|
||||
sh_video->initialized = 1;
|
||||
+ setlocale(LC_CTYPE, locale_data);
|
||||
return 1;
|
||||
}
|
||||
+ setlocale(LC_CTYPE, locale_data);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- ./configure.orig
|
||||
+++ ./configure
|
||||
@@ -4394,6 +4394,7 @@
|
||||
if test "$_x11" = yes ; then
|
||||
def_x11='#define CONFIG_X11 1'
|
||||
vomodules="x11 xover $vomodules"
|
||||
+ libs_mplayer="$libs_mplayer -lX11 -lXext"
|
||||
else
|
||||
_x11=no
|
||||
def_x11='#undef CONFIG_X11'
|
||||
|
||||
Executable
+290
@@ -0,0 +1,290 @@
|
||||
<?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/design7/news.html</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="f4fe16af08b51f6695dfabfdf49a7d340e7b73b5" type="targz">https://sourceforge.net/projects/pisilinux/files/source/MPlayer-38184.tar.gz</Archive>
|
||||
<Archive sha1sum="b733a5b9d4586fb7c068f31796eef35680a4cee3" type="tarbz2" target="MPlayer-38184">https://ffmpeg.org/releases/ffmpeg-4.2.4.tar.bz2</Archive>
|
||||
<!-- <Archive sha1sum="b17c9081a31e6d7c6555b29dae49918350ca178a" type="tarbz2" target="mplayer-r38161/mplayer-1.2_pre37124">https://sourceforge.net/projects/pisilinux/files/source/Blue-multilingual-1.13.2.tar.bz2</Archive> -->
|
||||
<Archive sha1sum="2905179b06a0ddb937bbfbfd71b9f2d00cbdb875" type="tarbz2">https://mplayerhq.hu/MPlayer/skins/Clearlooks-multilingual-2.0.3.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gsm-devel</Dependency>
|
||||
<Dependency>aom-devel</Dependency>
|
||||
<Dependency>glib2-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>libglvnd-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>libbs2b-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>openjpeg2-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>
|
||||
<Dependency>libdvdcss-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- Bugfix -->
|
||||
<Patch level="1">tr-locale-fix.patch</Patch>
|
||||
<!-- <Patch>MPlayer-1.3.0-x264_fix-1.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mplayer</Name>
|
||||
<Icon>mplayer</Icon>
|
||||
<IsA>app:console</IsA>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gsm</Dependency>
|
||||
<Dependency>aom</Dependency>
|
||||
<Dependency>glib2</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>libglvnd</Dependency>
|
||||
<Dependency>libbs2b</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>openjpeg2</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="8">
|
||||
<Date>2021-01-31</Date>
|
||||
<Version>1.4_38184</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2020-09-18</Date>
|
||||
<Version>1.4_38184</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2019-10-25</Date>
|
||||
<Version>1.4_38152</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2019-04-27</Date>
|
||||
<Version>1.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2019-04-13</Date>
|
||||
<Version>1.3.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2018-12-28</Date>
|
||||
<Version>1.3.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<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>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mplayer</Name>
|
||||
<Summary xml:lang="tr">Linux için ses ve görüntü oynatıcı</Summary>
|
||||
<Description xml:lang="tr">MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA dosyalarını çalabilen ve farklı platformaların kütüphanelerini de kullanarak ses ve görüntü dosyaları oynatmaya yarayan uygulama.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mplayer-gui</Name>
|
||||
<Summary xml:lang="tr">MPlayer arayüzü</Summary>
|
||||
<Description xml:lang="tr">mplayer-gui, MPlayer öntanımlı grafik arayüzünü içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/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 get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pythonmodules
|
||||
|
||||
shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
|
||||
shelltools.export("LDFLAGS", "%s -Wl,--as-needed" % get.LDFLAGS())
|
||||
|
||||
def setup():
|
||||
shelltools.system("./bootstrap.py")
|
||||
shelltools.system("python3 waf configure --prefix=/usr \
|
||||
--confdir=/etc/mpv \
|
||||
--enable-dvb \
|
||||
--enable-cdda \
|
||||
--enable-dvdnav \
|
||||
--enable-libarchive \
|
||||
--enable-libmpv-shared")
|
||||
|
||||
def build():
|
||||
shelltools.system("python3 waf build -v")
|
||||
|
||||
def install():
|
||||
shelltools.system("DESTDIR=%s python3 waf install" % get.installDIR())
|
||||
pisitools.insinto("/usr/share/mpv/scripts", "TOOLS/lua/*")
|
||||
|
||||
pisitools.dodoc("Copyright", "RELEASE_NOTES", "README.md")
|
||||
+291
@@ -0,0 +1,291 @@
|
||||
From 9c397af0dabfff7177bcb76409af5b8f9ae608cf Mon Sep 17 00:00:00 2001
|
||||
From: Drew DeVault <sir@cmpwn.com>
|
||||
Date: Thu, 27 Apr 2017 17:19:58 -0400
|
||||
Subject: [PATCH 1/4] --opengl-backend: support multiple backends
|
||||
|
||||
Will attempt each backend specified in order. The x11 backend is still
|
||||
preferred, even on Wayland, but the user can now use
|
||||
--opengl-backend=wayland,x11 to prefer wayland and fall back to x11 if
|
||||
wayland is unavailable.
|
||||
---
|
||||
video/out/opengl/context.c | 66 +++++++++++++++++++++++++++++++++++++++++-----
|
||||
video/out/opengl/context.h | 8 ++----
|
||||
video/out/vo_opengl.c | 7 +++--
|
||||
3 files changed, 64 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
|
||||
index 72311e11fa..568bb662b8 100644
|
||||
--- a/video/out/opengl/context.c
|
||||
+++ b/video/out/opengl/context.c
|
||||
@@ -89,6 +89,30 @@ static const struct mpgl_driver *const backends[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
+static bool get_desc(struct m_obj_desc *dst, int index)
|
||||
+{
|
||||
+ if (index >= MP_ARRAY_SIZE(backends) - 1)
|
||||
+ return false;
|
||||
+ const struct mpgl_driver *driver = backends[index];
|
||||
+ *dst = (struct m_obj_desc) {
|
||||
+ .name = driver->name,
|
||||
+ .description = driver->name,
|
||||
+ .priv_size = sizeof(struct mpgl_driver),
|
||||
+ .p = driver,
|
||||
+ };
|
||||
+ return true;
|
||||
+}
|
||||
+
|
||||
+// for backend option
|
||||
+const struct m_obj_list mpgl_backend_list = {
|
||||
+ .get_desc = get_desc,
|
||||
+ .description = "OpenGL windowing backends",
|
||||
+ .allow_unknown_entries = true,
|
||||
+ .allow_disable_entries = true,
|
||||
+ .allow_trailer = true,
|
||||
+ .disallow_positional_parameters = true,
|
||||
+};
|
||||
+
|
||||
// 0-terminated list of desktop GL versions a backend should try to
|
||||
// initialize. The first entry is the most preferred version.
|
||||
const int mpgl_preferred_gl_versions[] = {
|
||||
@@ -100,7 +124,7 @@ const int mpgl_preferred_gl_versions[] = {
|
||||
0
|
||||
};
|
||||
|
||||
-int mpgl_find_backend(const char *name)
|
||||
+static int mpgl_find_backend(const char *name)
|
||||
{
|
||||
if (name == NULL || strcmp(name, "auto") == 0)
|
||||
return -1;
|
||||
@@ -126,7 +150,7 @@ int mpgl_validate_backend_opt(struct mp_log *log, const struct m_option *opt,
|
||||
return mpgl_find_backend(s) >= -1 ? 1 : M_OPT_INVALID;
|
||||
}
|
||||
|
||||
-static void *get_native_display(void *pctx, const char *name)
|
||||
+static void *get_native_display(const char *name)
|
||||
{
|
||||
MPGLContext *ctx = pctx;
|
||||
if (!ctx->native_display_type || !name)
|
||||
@@ -186,11 +210,41 @@ cleanup:
|
||||
|
||||
// Create a VO window and create a GL context on it.
|
||||
// vo_flags: passed to the backend's create window function
|
||||
-MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags)
|
||||
+MPGLContext *mpgl_init(struct vo *vo, struct m_obj_settings *backend_list, int vo_flags)
|
||||
{
|
||||
MPGLContext *ctx = NULL;
|
||||
- int index = mpgl_find_backend(backend_name);
|
||||
- if (index == -1) {
|
||||
+ if (backend_list && backend_list[0].name) {
|
||||
+ int n;
|
||||
+ for (n = 0; backend_list[n].name; n++) {
|
||||
+ // Something like "--opengl-backend=name," allows fallback to autoprobing.
|
||||
+ int index = mpgl_find_backend(backend_list[n].name);
|
||||
+ if (index == -1 || strlen(backend_list[n].name) == 0)
|
||||
+ goto autoprobe;
|
||||
+ if (index == -2) {
|
||||
+ MP_FATAL(vo, "Unknown opengl backend '%s'\n", backend_list[n].name);
|
||||
+ exit(-2);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ ctx = init_backend(vo, backends[index], true, vo_flags);
|
||||
+ if (ctx)
|
||||
+ break;
|
||||
+ }
|
||||
+ if (!ctx && !vo->probing) {
|
||||
+ // Now try with probing off
|
||||
+ for (n = 0; backend_list[n].name; n++) {
|
||||
+ int index = mpgl_find_backend(backend_list[n].name);
|
||||
+ ctx = init_backend(vo, backends[index], false, vo_flags);
|
||||
+ if (ctx)
|
||||
+ break;
|
||||
+ }
|
||||
+ if (!ctx) {
|
||||
+ // Backend explicitly requested, but unable to fulfill
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (!ctx) {
|
||||
+autoprobe:
|
||||
for (int n = 0; n < MP_ARRAY_SIZE(backends); n++) {
|
||||
ctx = init_backend(vo, backends[n], true, vo_flags);
|
||||
if (ctx)
|
||||
@@ -204,8 +258,6 @@ MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags)
|
||||
break;
|
||||
}
|
||||
}
|
||||
- } else if (index >= 0) {
|
||||
- ctx = init_backend(vo, backends[index], false, vo_flags);
|
||||
}
|
||||
return ctx;
|
||||
}
|
||||
diff --git a/video/out/opengl/context.h b/video/out/opengl/context.h
|
||||
index 229c5ef54f..7cf439c1a0 100644
|
||||
--- a/video/out/opengl/context.h
|
||||
+++ b/video/out/opengl/context.h
|
||||
@@ -100,17 +100,13 @@ typedef struct MPGLContext {
|
||||
void *priv;
|
||||
} MPGLContext;
|
||||
|
||||
-MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags);
|
||||
+MPGLContext *mpgl_init(struct vo *vo, struct m_obj_settings *backend_list, int vo_flags);
|
||||
void mpgl_uninit(MPGLContext *ctx);
|
||||
int mpgl_reconfig_window(struct MPGLContext *ctx);
|
||||
int mpgl_control(struct MPGLContext *ctx, int *events, int request, void *arg);
|
||||
void mpgl_start_frame(struct MPGLContext *ctx);
|
||||
void mpgl_swap_buffers(struct MPGLContext *ctx);
|
||||
|
||||
-int mpgl_find_backend(const char *name);
|
||||
-
|
||||
-struct m_option;
|
||||
-int mpgl_validate_backend_opt(struct mp_log *log, const struct m_option *opt,
|
||||
- struct bstr name, struct bstr param);
|
||||
+extern const struct m_obj_list mpgl_backend_list;
|
||||
|
||||
#endif
|
||||
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
|
||||
index 9b3f944e21..91e55b3b2f 100644
|
||||
--- a/video/out/vo_opengl.c
|
||||
+++ b/video/out/vo_opengl.c
|
||||
@@ -55,7 +55,7 @@ struct vo_opengl_opts {
|
||||
int allow_sw;
|
||||
int swap_interval;
|
||||
int vsync_fences;
|
||||
- char *backend;
|
||||
+ struct m_obj_settings *backend_list;
|
||||
int es;
|
||||
int pattern[2];
|
||||
};
|
||||
@@ -383,7 +383,7 @@ static int preinit(struct vo *vo)
|
||||
if (p->opts.allow_sw)
|
||||
vo_flags |= VOFLAG_SW;
|
||||
|
||||
- p->glctx = mpgl_init(vo, p->opts.backend, vo_flags);
|
||||
+ p->glctx = mpgl_init(vo, p->opts.backend_list, vo_flags);
|
||||
if (!p->glctx)
|
||||
goto err_out;
|
||||
p->gl = p->glctx->gl;
|
||||
@@ -438,8 +438,7 @@ const struct vo_driver video_out_opengl = {
|
||||
OPT_FLAG("opengl-waitvsync", opts.waitvsync, 0),
|
||||
OPT_INT("opengl-swapinterval", opts.swap_interval, 0),
|
||||
OPT_FLAG("opengl-debug", opts.use_gl_debug, 0),
|
||||
- OPT_STRING_VALIDATE("opengl-backend", opts.backend, 0,
|
||||
- mpgl_validate_backend_opt),
|
||||
+ OPT_SETTINGSLIST("opengl-backend", opts.backend_list, 0, &mpgl_backend_list ),
|
||||
OPT_FLAG("opengl-sw", opts.allow_sw, 0),
|
||||
OPT_CHOICE("opengl-es", opts.es, 0, ({"no", -1}, {"auto", 0},
|
||||
{"yes", 1}, {"force2", 2})),
|
||||
From 4e89fae50f70d065ff8ffee40aa8dffe8131210e Mon Sep 17 00:00:00 2001
|
||||
From: Drew DeVault <sir@cmpwn.com>
|
||||
Date: Thu, 27 Apr 2017 17:51:39 -0400
|
||||
Subject: [PATCH 2/4] Update mpv.1
|
||||
---
|
||||
DOCS/man/options.rst | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
|
||||
index 925c501881..5d57720e3d 100644
|
||||
--- a/DOCS/man/options.rst
|
||||
+++ b/DOCS/man/options.rst
|
||||
@@ -4480,9 +4480,10 @@ The following video options are currently all specific to ``--vo=opengl`` and
|
||||
Continue even if a software renderer is detected.
|
||||
|
||||
``--opengl-backend=<sys>``
|
||||
- The value ``auto`` (the default) selects the windowing backend. You can
|
||||
- also pass ``help`` to get a complete list of compiled in backends (sorted
|
||||
- by autoprobe order).
|
||||
+ Specify a priority list of windowing backends to use with OpenGL. The value
|
||||
+ ``auto`` (the default) automatically probes for the most suitable backend.
|
||||
+ You can also pass ``help`` to get a complete list of compiled in backends
|
||||
+ (sorted by autoprobe order).
|
||||
|
||||
auto
|
||||
auto-select (default)
|
||||
From 3fb437fa09ebf20635c02f41ce0e3d13423d1454 Mon Sep 17 00:00:00 2001
|
||||
From: Drew DeVault <sir@cmpwn.com>
|
||||
Date: Thu, 27 Apr 2017 20:12:51 -0400
|
||||
Subject: [PATCH 3/4] Let options handle invalid backends
|
||||
---
|
||||
video/out/opengl/context.c | 17 +++++++++--------
|
||||
1 file changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
|
||||
index 568bb662b8..8aa44b67cc 100644
|
||||
--- a/video/out/opengl/context.c
|
||||
+++ b/video/out/opengl/context.c
|
||||
@@ -91,6 +91,14 @@ static const struct mpgl_driver *const backends[] = {
|
||||
|
||||
static bool get_desc(struct m_obj_desc *dst, int index)
|
||||
{
|
||||
+ if (index == 0) {
|
||||
+ *dst = (struct m_obj_desc) {
|
||||
+ .name = "auto",
|
||||
+ .description = "automatically select most suitable backend"
|
||||
+ };
|
||||
+ return true;
|
||||
+ }
|
||||
+ index--;
|
||||
if (index >= MP_ARRAY_SIZE(backends) - 1)
|
||||
return false;
|
||||
const struct mpgl_driver *driver = backends[index];
|
||||
@@ -107,8 +115,6 @@ static bool get_desc(struct m_obj_desc *dst, int index)
|
||||
const struct m_obj_list mpgl_backend_list = {
|
||||
.get_desc = get_desc,
|
||||
.description = "OpenGL windowing backends",
|
||||
- .allow_unknown_entries = true,
|
||||
- .allow_disable_entries = true,
|
||||
.allow_trailer = true,
|
||||
.disallow_positional_parameters = true,
|
||||
};
|
||||
@@ -218,13 +224,8 @@ MPGLContext *mpgl_init(struct vo *vo, struct m_obj_settings *backend_list, int v
|
||||
for (n = 0; backend_list[n].name; n++) {
|
||||
// Something like "--opengl-backend=name," allows fallback to autoprobing.
|
||||
int index = mpgl_find_backend(backend_list[n].name);
|
||||
- if (index == -1 || strlen(backend_list[n].name) == 0)
|
||||
+ if (index < 0 || strlen(backend_list[n].name) == 0)
|
||||
goto autoprobe;
|
||||
- if (index == -2) {
|
||||
- MP_FATAL(vo, "Unknown opengl backend '%s'\n", backend_list[n].name);
|
||||
- exit(-2);
|
||||
- return NULL;
|
||||
- }
|
||||
ctx = init_backend(vo, backends[index], true, vo_flags);
|
||||
if (ctx)
|
||||
break;
|
||||
From 605785c4846ecaa969309f7fb63cfba59751ba61 Mon Sep 17 00:00:00 2001
|
||||
From: Drew DeVault <sir@cmpwn.com>
|
||||
Date: Fri, 26 May 2017 15:31:24 -0400
|
||||
Subject: [PATCH 4/4] Updates following HEAD
|
||||
---
|
||||
video/out/opengl/context.c | 17 +----------------
|
||||
1 file changed, 1 insertion(+), 16 deletions(-)
|
||||
|
||||
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
|
||||
index 8aa44b67cc..4cc0829c90 100644
|
||||
--- a/video/out/opengl/context.c
|
||||
+++ b/video/out/opengl/context.c
|
||||
@@ -141,22 +141,7 @@ static int mpgl_find_backend(const char *name)
|
||||
return -2;
|
||||
}
|
||||
|
||||
-int mpgl_validate_backend_opt(struct mp_log *log, const struct m_option *opt,
|
||||
- struct bstr name, struct bstr param)
|
||||
-{
|
||||
- if (bstr_equals0(param, "help")) {
|
||||
- mp_info(log, "OpenGL windowing backends:\n");
|
||||
- mp_info(log, " auto (autodetect)\n");
|
||||
- for (int n = 0; n < MP_ARRAY_SIZE(backends); n++)
|
||||
- mp_info(log, " %s\n", backends[n]->name);
|
||||
- return M_OPT_EXIT;
|
||||
- }
|
||||
- char s[20];
|
||||
- snprintf(s, sizeof(s), "%.*s", BSTR_P(param));
|
||||
- return mpgl_find_backend(s) >= -1 ? 1 : M_OPT_INVALID;
|
||||
-}
|
||||
-
|
||||
-static void *get_native_display(const char *name)
|
||||
+static void *get_native_display(void *pctx, const char *name)
|
||||
{
|
||||
MPGLContext *ctx = pctx;
|
||||
if (!ctx->native_display_type || !name)
|
||||
@@ -0,0 +1,91 @@
|
||||
From 2ecf240b1cd20875991a5b18efafbe799864ff7f Mon Sep 17 00:00:00 2001
|
||||
From: Mark Thompson <sw@jkqxz.net>
|
||||
Date: Mon, 9 Oct 2017 20:10:26 +0100
|
||||
Subject: vaapi: Use libva2 message callbacks
|
||||
|
||||
They are no longer global, so they work vaguely sensibly.
|
||||
---
|
||||
video/vaapi.c | 32 +++++++++++++++++++++++++++++---
|
||||
1 file changed, 29 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/video/vaapi.c b/video/vaapi.c
|
||||
index 6bedbbaa18..3b1cb9cc41 100644
|
||||
--- a/video/vaapi.c
|
||||
+++ b/video/vaapi.c
|
||||
@@ -40,9 +40,27 @@ int va_get_colorspace_flag(enum mp_csp csp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
-// VA message callbacks are global and do not have a context parameter, so it's
|
||||
-// impossible to know from which VADisplay they originate. Try to route them
|
||||
-// to existing mpv/libmpv instances within this process.
|
||||
+#if VA_CHECK_VERSION(1, 0, 0)
|
||||
+static void va_message_callback(void *context, const char *msg, int mp_level)
|
||||
+{
|
||||
+ struct mp_vaapi_ctx *res = context;
|
||||
+ mp_msg(res->log, mp_level, "libva: %s", msg);
|
||||
+}
|
||||
+
|
||||
+static void va_error_callback(void *context, const char *msg)
|
||||
+{
|
||||
+ va_message_callback(context, msg, MSGL_ERR);
|
||||
+}
|
||||
+
|
||||
+static void va_info_callback(void *context, const char *msg)
|
||||
+{
|
||||
+ va_message_callback(context, msg, MSGL_V);
|
||||
+}
|
||||
+#else
|
||||
+// Pre-libva2 VA message callbacks are global and do not have a context
|
||||
+// parameter, so it's impossible to know from which VADisplay they
|
||||
+// originate. Try to route them to existing mpv/libmpv instances within
|
||||
+// this process.
|
||||
static pthread_mutex_t va_log_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
static struct mp_vaapi_ctx **va_mpv_clients;
|
||||
static int num_va_mpv_clients;
|
||||
@@ -77,6 +95,7 @@ static void va_info_callback(const char *msg)
|
||||
{
|
||||
va_message_callback(msg, MSGL_V);
|
||||
}
|
||||
+#endif
|
||||
|
||||
static void open_lavu_vaapi_device(struct mp_vaapi_ctx *ctx)
|
||||
{
|
||||
@@ -108,6 +127,10 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog,
|
||||
},
|
||||
};
|
||||
|
||||
+#if VA_CHECK_VERSION(1, 0, 0)
|
||||
+ vaSetErrorCallback(display, va_error_callback, res);
|
||||
+ vaSetInfoCallback(display, va_info_callback, res);
|
||||
+#else
|
||||
pthread_mutex_lock(&va_log_mutex);
|
||||
MP_TARRAY_APPEND(NULL, va_mpv_clients, num_va_mpv_clients, res);
|
||||
pthread_mutex_unlock(&va_log_mutex);
|
||||
@@ -117,6 +140,7 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog,
|
||||
#ifdef VA_FOURCC_I010
|
||||
vaSetErrorCallback(va_error_callback);
|
||||
vaSetInfoCallback(va_info_callback);
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
int major, minor;
|
||||
@@ -154,6 +178,7 @@ void va_destroy(struct mp_vaapi_ctx *ctx)
|
||||
if (ctx->destroy_native_ctx)
|
||||
ctx->destroy_native_ctx(ctx->native_ctx);
|
||||
|
||||
+#if !VA_CHECK_VERSION(1, 0, 0)
|
||||
pthread_mutex_lock(&va_log_mutex);
|
||||
for (int n = 0; n < num_va_mpv_clients; n++) {
|
||||
if (va_mpv_clients[n] == ctx) {
|
||||
@@ -164,6 +189,7 @@ void va_destroy(struct mp_vaapi_ctx *ctx)
|
||||
if (num_va_mpv_clients == 0)
|
||||
TA_FREEP(&va_mpv_clients); // avoid triggering leak detectors
|
||||
pthread_mutex_unlock(&va_log_mutex);
|
||||
+#endif
|
||||
|
||||
talloc_free(ctx);
|
||||
}
|
||||
--
|
||||
cgit v1.1-22-g1649
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
From e9dc4ac86f9dbd59147963d08ec8447bba3ed0bb Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kucera <daniel.kucera@gmail.com>
|
||||
Date: Mon, 23 Oct 2017 15:29:17 +0200
|
||||
Subject: [PATCH] demux_lavf: return AVERROR_EOF on file end
|
||||
|
||||
Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
|
||||
Signed-off-by: wm4 <wm4@nowhere>
|
||||
|
||||
Uses different style and different logic from original PR.
|
||||
---
|
||||
demux/demux_lavf.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
|
||||
index c11f7739e1..11fa1c59b6 100644
|
||||
--- a/demux/demux_lavf.c
|
||||
+++ b/demux/demux_lavf.c
|
||||
@@ -242,7 +242,7 @@ static int mp_read(void *opaque, uint8_t *buf, int size)
|
||||
|
||||
MP_TRACE(demuxer, "%d=mp_read(%p, %p, %d), pos: %"PRId64", eof:%d\n",
|
||||
ret, stream, buf, size, stream_tell(stream), stream->eof);
|
||||
- return ret;
|
||||
+ return ret ? ret : AVERROR_EOF;
|
||||
}
|
||||
|
||||
static int64_t mp_seek(void *opaque, int64_t pos, int whence)
|
||||
@@ -0,0 +1,18 @@
|
||||
Description: System-wide config directory is /etc/mpv
|
||||
Origin: vendor
|
||||
Bug-Debian: https://bugs.debian.org/732214
|
||||
Forwarded: not-needed
|
||||
Author: Alessandro Ghedini <ghedo@debian.org>
|
||||
Last-Update: 2015-05-03
|
||||
|
||||
--- a/DOCS/man/mpv.rst
|
||||
+++ b/DOCS/man/mpv.rst
|
||||
@@ -956,7 +956,7 @@ FILES
|
||||
|
||||
For Windows-specifics, see `FILES ON WINDOWS`_ section.
|
||||
|
||||
-``/usr/local/etc/mpv/mpv.conf``
|
||||
+``/etc/mpv/mpv.conf``
|
||||
mpv system-wide settings (depends on ``--prefix`` passed to configure - mpv
|
||||
in default configuration will use ``/usr/local/etc/mpv/`` as config
|
||||
directory, while most Linux distributions will set it to ``/etc/mpv/``).
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
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:
|
||||
@@ -0,0 +1,8 @@
|
||||
diff -Nuar a/etc/mpv.desktop b/etc/mpv.desktop
|
||||
--- a/etc/mpv.desktop 2020-11-22 20:46:28.000000000 +0300
|
||||
+++ b/etc/mpv.desktop 2021-01-17 18:49:04.133086291 +0300
|
||||
@@ -34,3 +34,4 @@
|
||||
Categories=AudioVideo;Audio;Video;Player;TV;
|
||||
MimeType=application/ogg;application/x-ogg;application/mxf;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/aiff;audio/x-aiff;audio/m4a;audio/x-m4a;application/x-extension-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/mpeg2;audio/mpeg3;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/musepack;audio/x-musepack;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg2;video/x-mpeg3;video/mp4v-es;video/x-m4v;video/mp4;application/x-extension-mp4;video/divx;video/vnd.divx;video/msvideo;video/x-msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;audio/x-ms-asf;application/vnd.ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/avi;video/x-flic;video/fli;video/x-flc;video/flv;video/x-flv;video/x-theora;video/x-theora+ogg;video/x-matroska;video/mkv;audio/x-matroska;application/x-matroska;video/webm;audio/webm;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;video/x-ogm;video/x-ogm+ogg;application/x-ogm;application/x-ogm-audio;application/x-ogm-video;application/x-shorten;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;audio/eac3;audio/amr-wb;video/mp2t;audio/flac;audio/mp4;application/x-mpegurl;video/vnd.mpegurl;application/vnd.apple.mpegurl;audio/x-pn-au;video/3gp;video/3gpp;video/3gpp2;audio/3gpp;audio/3gpp2;video/dv;audio/dv;audio/opus;audio/vnd.dts;audio/vnd.dts.hd;audio/x-adpcm;application/x-cue;audio/m3u;
|
||||
X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb,srt
|
||||
+Keywords=mpv;media;player;video;audio;tv;
|
||||
@@ -0,0 +1,29 @@
|
||||
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;
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c
|
||||
index b4587c5..d852fdf 100644
|
||||
--- a/video/out/opengl/hwdec_vaegl.c
|
||||
+++ b/video/out/opengl/hwdec_vaegl.c
|
||||
@@ -52,6 +52,35 @@ typedef void *EGLImageKHR;
|
||||
#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
|
||||
#endif
|
||||
|
||||
+#ifndef EGL_EXT_image_dma_buf_import_modifiers
|
||||
+#define EGL_EXT_image_dma_buf_import_modifiers 1
|
||||
+#define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440
|
||||
+#define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441
|
||||
+#define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442
|
||||
+#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443
|
||||
+#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444
|
||||
+#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445
|
||||
+#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446
|
||||
+#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447
|
||||
+#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448
|
||||
+#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449
|
||||
+#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A
|
||||
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
|
||||
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFMODIFIERSEXTPROC) (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers);
|
||||
+#ifdef EGL_EGLEXT_PROTOTYPES
|
||||
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
|
||||
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers);
|
||||
+#endif
|
||||
+#endif /* EGL_EXT_image_dma_buf_import_modifiers */
|
||||
+
|
||||
+#ifndef EGL_EXT_image_implicit_sync_control
|
||||
+#define EGL_EXT_image_implicit_sync_control 1
|
||||
+#define EGL_IMPORT_SYNC_TYPE_EXT 0x3470
|
||||
+#define EGL_IMPORT_IMPLICIT_SYNC_EXT 0x3471
|
||||
+#define EGL_IMPORT_EXPLICIT_SYNC_EXT 0x3472
|
||||
+#endif /* EGL_EXT_image_implicit_sync_control */
|
||||
+
|
||||
+
|
||||
#if HAVE_VAAPI_X11
|
||||
#include <va/va_x11.h>
|
||||
@@ -0,0 +1,276 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mpv-player</Name>
|
||||
<Homepage>https://mpv.io/</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="62ba4778773624546aeb039bb39c33b7a21579f9" type="targz">https://github.com/mpv-player/mpv/archive/v0.33.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>libzimg-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>wayland-devel</Dependency>
|
||||
<Dependency>libarchive-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>libglvnd-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>lua52-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
<Dependency>yasm</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>rubberband-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-devel</Dependency>
|
||||
<Dependency>wayland-cursor</Dependency>
|
||||
<Dependency>wayland-protocols-devel</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>
|
||||
<Dependency>libarchive-devel</Dependency>
|
||||
<Dependency>python3-youtube_dl</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">02_fix-config-path.patch</Patch>
|
||||
<Patch level="1">05_add-keywords.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mpv-player</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libzimg</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>wayland</Dependency>
|
||||
<Dependency>libarchive</Dependency>
|
||||
<Dependency>lua52</Dependency>
|
||||
<Dependency>enca</Dependency>
|
||||
<Dependency>libglvnd</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>rubberband</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>python3-setuptools</Dependency>
|
||||
<Dependency>python3-youtube_dl</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</Path>
|
||||
<Path fileType="data">/usr/share/zsh</Path>
|
||||
<Path fileType="data">/usr/share/mpv</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="19">
|
||||
<Date>2021-01-29</Date>
|
||||
<Version>0.33.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2020-10-05</Date>
|
||||
<Version>0.32.0</Version>
|
||||
<Comment>rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2020-04-15</Date>
|
||||
<Version>0.32.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2020-01-22</Date>
|
||||
<Version>0.31.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>İdris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2019-10-28</Date>
|
||||
<Version>0.30.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2019-10-14</Date>
|
||||
<Version>0.29.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2019-04-12</Date>
|
||||
<Version>0.29.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2018-12-28</Date>
|
||||
<Version>0.29.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2018-10-03</Date>
|
||||
<Version>0.29.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2018-08-06</Date>
|
||||
<Version>0.29.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2018-05-05</Date>
|
||||
<Version>0.28.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2018-04-27</Date>
|
||||
<Version>0.27.2</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<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>
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/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 \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("CONTRIBUTING*", "COPYING*", "README*")
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,14 @@
|
||||
[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
|
||||
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/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>
|
||||
<Summary>OBS-Studio is a rewrite of what was formerly known as Open Broadcaster Software</Summary>
|
||||
<Description>OBS-Studio software was originally designed for recording and streaming live video content, efficiently</Description>
|
||||
<Archive sha1sum="4a769dffc5484c78441779dc0d0ccfca4b0426c1" type="targz">https://github.com/obsproject/obs-studio/archive/26.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>luajit-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-svg-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>libfdk-aac-devel</Dependency>
|
||||
<Dependency>libXfixes-devel</Dependency>
|
||||
<Dependency>speexdsp-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>luajit</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libv4l</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>speexdsp</Dependency>
|
||||
<Dependency>jansson</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>qt5-svg</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libXfixes</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>vlc-libs</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>libfdk-aac</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>
|
||||
<Summary>Development files for obs-studio</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">obs-studio</Dependency>
|
||||
<Dependency>libX11-devel</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="11">
|
||||
<Date>2020-10-19</Date>
|
||||
<Version>26.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2020-03-04</Date>
|
||||
<Version>24.0.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2019-11-04</Date>
|
||||
<Version>24.0.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2019-04-12</Date>
|
||||
<Version>23.0.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2019-03-14</Date>
|
||||
<Version>23.0.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-04-28</Date>
|
||||
<Version>21.0.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2018-02-18</Date>
|
||||
<Version>21.0.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<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>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/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")
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Exec=QMPlay2
|
||||
Icon=QMPlay2
|
||||
Name=QMPlay2
|
||||
StartupNotify=false
|
||||
Type=Application
|
||||
Categories=Qt;AudioVideo;Player;Audio;Video;
|
||||
MimeType=video/mp4;video/mpeg;video/ogg;video/quicktime;video/x-msvideo;video/x-flv;application/x-shockwave-flash;application/vnd.rn-realmedia;video/vnd.rn-realvideo;video/3gpp;video/3gpp2;video/dv;video/webm;video/x-matroska;application/x-matroska;video/x-ms-asf;video/x-ms-wmv;video/x-ogm+ogg;video/x-theora+ogg;video/mp2t;audio/x-ape;audio/mp4;audio/AMR;audio/aac;audio/webm;audio/x-matroska;audio/ac3;audio/flac;audio/mp2;audio/ogg;audio/x-flac+ogg;audio/x-aiff;audio/x-wav;audio/x-vorbis+ogg;audio/x-tta;audio/x-wavpack;audio/x-musepack;audio/x-ms-wma;audio/x-ms-asx;audio/x-mod;audio/x-s3m;audio/x-stm;audio/x-xi;audio/x-xm;audio/x-it;audio/mpeg;audio/x-mpegurl;audio/x-scpls;audio/prs.sid;audio/x-j2b;audio/x-sfx;audio/x-umx;audio/x-gme;video/x-bink;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Exec=QMPlay2 --enqueue
|
||||
Icon=QMPlay2
|
||||
Name=Enqueue in QMPlay2
|
||||
Name[pl]=Kolejkuj w QMPlay2
|
||||
StartupNotify=false
|
||||
Type=Application
|
||||
Categories=Qt;AudioVideo;Player;Audio;Video;
|
||||
MimeType=video/mp4;video/mpeg;video/ogg;video/quicktime;video/x-msvideo;video/x-flv;application/x-shockwave-flash;application/vnd.rn-realmedia;video/vnd.rn-realvideo;video/3gpp;video/3gpp2;video/dv;video/webm;video/x-matroska;application/x-matroska;video/x-ms-asf;video/x-ms-wmv;video/x-ogm+ogg;video/x-theora+ogg;video/mp2t;audio/x-ape;audio/mp4;audio/AMR;audio/aac;audio/webm;audio/x-matroska;audio/ac3;audio/flac;audio/mp2;audio/ogg;audio/x-flac+ogg;audio/x-aiff;audio/x-wav;audio/x-vorbis+ogg;audio/x-tta;audio/x-wavpack;audio/x-musepack;audio/x-ms-wma;audio/x-ms-asx;audio/x-mod;audio/x-s3m;audio/x-stm;audio/x-xi;audio/x-xm;audio/x-it;audio/mpeg;audio/x-mpegurl;audio/x-scpls;audio/prs.sid;audio/x-j2b;audio/x-sfx;audio/x-umx;audio/x-gme;video/x-bink;
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,154 @@
|
||||
<?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>
|
||||
<Summary>QMPlay2 is a video and audio player which can play most formats and codecs</Summary>
|
||||
<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="fa902a014159e72ec53558edc52e8290a79cf027" type="tarxz">https://github.com/zaps166/QMPlay2/releases/download/19.12.19/QMPlay2-src-19.12.19.tar.xz</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>qt5-declarative-devel</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</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>
|
||||
<Summary>Development files for qmplay2</Summary>
|
||||
<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="8">
|
||||
<Date>2020-03-04</Date>
|
||||
<Version>19.12.19</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2019-07-10</Date>
|
||||
<Version>18.12.26</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-04-27</Date>
|
||||
<Version>17.12.31</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<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>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env 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 get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DWITH_QT5=TRUE \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DLRELEASE=/usr/lib/qt5/bin/lrelease")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS.md","CHANGELOG.md", "COPYING")
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>simplescreenrecorder</Name>
|
||||
<Homepage>https://www.maartenbaert.be/simplescreenrecorder/</Homepage>
|
||||
<Packager>
|
||||
<Name>ali algul</Name>
|
||||
<Email>aligulle3801@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>LGPLv3</License>
|
||||
<IsA>app</IsA>
|
||||
<Summary>creen recorder that is actually quite complex, but 'simple' in the sense that it's easy to use</Summary>
|
||||
<Description>creen recorder that is actually quite complex, but 'simple' in the sense that it's easy to use</Description>
|
||||
<Archive sha1sum="965d3c18b63f36d5ca1b9d3b642859fa84b6a6db" type="targz">https://codeload.github.com/MaartenBaert/ssr/tar.gz/0.4.3</Archive>
|
||||
|
||||
<BuildDependencies>
|
||||
<Dependency>libv4l-devel</Dependency>
|
||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-x11extras-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>libXinerama-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>simplescreenrecorder</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libv4l</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>libXfixes</Dependency>
|
||||
<Dependency>libXinerama</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>jack-audio-connection-kit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
-->
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="info">/usr/share/mateinfo</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-02-11</Date>
|
||||
<Version>0.4.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>ali algul</Name>
|
||||
<Email>aligulle3801@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>simplescreenrecorder</Name>
|
||||
<Summary xml:lang="tr">creen recorder that is actually quite complex, but 'simple' in the sense that it's easy to use</Summary>
|
||||
<Description xml:lang="tr">creen recorder that is actually quite complex, but 'simple' in the sense that it's easy to use</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,36 @@
|
||||
#!/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")
|
||||
pisitools.dosed("Makefile", "PREFIX=/usr/local", "PREFIX=/usr")
|
||||
|
||||
def build():
|
||||
autotools.make("PREFIX=/usr QMAKE=/usr/bin/qmake -j1 LRELEASE=/usr/bin/lrelease")
|
||||
|
||||
shelltools.cd("smplayer-skins-20.11.0")
|
||||
autotools.make("PREFIX=/usr")
|
||||
|
||||
shelltools.cd("..")
|
||||
shelltools.cd("smplayer-themes-20.11.0")
|
||||
autotools.make("PREFIX=/usr")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))
|
||||
|
||||
shelltools.cd("smplayer-skins-20.11.0")
|
||||
autotools.rawInstall("DESTDIR=%s PREFIX=/usr install" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
shelltools.cd("smplayer-themes-20.11.0")
|
||||
autotools.rawInstall("DESTDIR=%s PREFIX=/usr install" % get.installDIR())
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
Index: src/mpvprocess.cpp
|
||||
===================================================================
|
||||
--- src/mpvprocess.cpp (revision 9231)
|
||||
+++ src/mpvprocess.cpp (revision 9232)
|
||||
@@ -122,7 +122,7 @@
|
||||
|
||||
void MPVProcess::initializeRX() {
|
||||
#ifdef CUSTOM_STATUS
|
||||
- rx_av.setPattern("^STATUS: ([0-9\\.-]+) / ([0-9\\.-]+) P: (yes|no) B: (yes|no) I: (yes|no) VB: ([0-9\\.-]+) AB: ([0-9\\.-]+)");
|
||||
+ rx_av.setPattern("STATUS: ([0-9\\.-]+) / ([0-9\\.-]+) P: (yes|no) B: (yes|no) I: (yes|no) VB: ([0-9\\.-]+) AB: ([0-9\\.-]+)");
|
||||
#else
|
||||
rx_av.setPattern("^(\\((.*)\\) |)(AV|V|A): ([0-9]+):([0-9]+):([0-9]+) / ([0-9]+):([0-9]+):([0-9]+)"); //AV: 00:02:15 / 00:09:56
|
||||
#endif
|
||||
@@ -197,7 +197,7 @@
|
||||
static double last_sec = -1;
|
||||
|
||||
// Parse A: V: line
|
||||
- //qDebug("MPVProcess::parseLine: %s", line.toUtf8().data());
|
||||
+ //qDebug() << "MPVProcess::parseLine:" << line;
|
||||
if (rx_av.indexIn(line) > -1) {
|
||||
#ifdef CUSTOM_STATUS
|
||||
double sec = rx_av.cap(1).toDouble();
|
||||
Index: src/mpvoptions.cpp
|
||||
===================================================================
|
||||
--- src/mpvoptions.cpp (revision 9233)
|
||||
+++ src/mpvoptions.cpp (revision 9234)
|
||||
@@ -63,7 +63,8 @@
|
||||
arg << "--term-playing-msg="
|
||||
"MPV_VERSION=${=mpv-version:}\n"
|
||||
"INFO_VIDEO_WIDTH=${=width}\nINFO_VIDEO_HEIGHT=${=height}\n"
|
||||
- "INFO_VIDEO_ASPECT=${=video-aspect}\n"
|
||||
+// "INFO_VIDEO_ASPECT=${=video-aspect}\n" // old
|
||||
+ "INFO_VIDEO_ASPECT=${=video-params/aspect}\n"
|
||||
// "INFO_VIDEO_DSIZE=${=dwidth}x${=dheight}\n"
|
||||
"INFO_VIDEO_FPS=${=container-fps:${=fps}}\n"
|
||||
// "INFO_VIDEO_BITRATE=${=video-bitrate}\n"
|
||||
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
@@ -0,0 +1,17 @@
|
||||
<html><head><title>kde-48-pisi - Revision 691: /trunk/ext-apps/SMPlayer/files</title></head>
|
||||
<body>
|
||||
<h2>kde-48-pisi - Revision 691: /trunk/ext-apps/SMPlayer/files</h2>
|
||||
<ul>
|
||||
<li><a href="../">..</a></li>
|
||||
<li><a href="default-to-oxygen-air.patch">default-to-oxygen-air.patch</a></li>
|
||||
<li><a href="desktop.patch">desktop.patch</a></li>
|
||||
<li><a href="fix-subtitle-encodings.patch">fix-subtitle-encodings.patch</a></li>
|
||||
<li><a href="make-default-video-player.diff">make-default-video-player.diff</a></li>
|
||||
<li><a href="shape_mplayer_output.patch">shape_mplayer_output.patch</a></li>
|
||||
<li><a href="smplayer_dvd.desktop">smplayer_dvd.desktop</a></li>
|
||||
<li><a href="smplayer_vcd.desktop">smplayer_vcd.desktop</a></li>
|
||||
<li><a href="use-sans-instead-of-arial.patch">use-sans-instead-of-arial.patch</a></li>
|
||||
<li><a href="workaround-for-qaction.diff">workaround-for-qaction.diff</a></li>
|
||||
</ul>
|
||||
<hr noshade><em><a href="http://code.google.com/">Google Code</a> powered by <a href="http://subversion.apache.org/">Subversion</a></em>
|
||||
</body></html>
|
||||
@@ -0,0 +1,13 @@
|
||||
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
|
||||
@@ -0,0 +1,57 @@
|
||||
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;
|
||||
@@ -0,0 +1,11 @@
|
||||
[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
|
||||
@@ -0,0 +1,11 @@
|
||||
[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
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,26 @@
|
||||
Index: smplayer-0.6.7_20090703/src/assstyles.cpp
|
||||
===================================================================
|
||||
--- smplayer-0.6.7_20090703.orig/src/assstyles.cpp
|
||||
+++ smplayer-0.6.7_20090703/src/assstyles.cpp
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "colorutils.h"
|
||||
|
||||
AssStyles::AssStyles() {
|
||||
- fontname = "Arial";
|
||||
+ fontname = "Sans";
|
||||
fontsize = 20;
|
||||
primarycolor = 0xFFFFFF;
|
||||
backcolor = 0;
|
||||
Index: smplayer-0.6.7_20090703/src/videopreview/videopreview.cpp
|
||||
===================================================================
|
||||
--- smplayer-0.6.7_20090703.orig/src/videopreview/videopreview.cpp
|
||||
+++ smplayer-0.6.7_20090703/src/videopreview/videopreview.cpp
|
||||
@@ -339,7 +339,7 @@ bool VideoPreview::addPicture(const QStr
|
||||
// Add current time text
|
||||
if (prop.display_osd) {
|
||||
QString stime = QTime().addSecs(time).toString("hh:mm:ss");
|
||||
- QFont font("Arial");
|
||||
+ QFont font("Sans");
|
||||
font.setBold(true);
|
||||
QPainter painter(&scaled_picture);
|
||||
painter.setPen( Qt::white );
|
||||
@@ -0,0 +1,21 @@
|
||||
Index: smplayer-0.6.9_20100211/src/myaction.cpp
|
||||
===================================================================
|
||||
--- smplayer-0.6.9_20100211.orig/src/myaction.cpp
|
||||
+++ smplayer-0.6.9_20100211/src/myaction.cpp
|
||||
@@ -72,14 +72,14 @@ void MyAction::change(const QIcon & icon
|
||||
}
|
||||
|
||||
void MyAction::change(const QString & text ) {
|
||||
- setText( text );
|
||||
+ setText( text.trimmed() );
|
||||
|
||||
QString accel_text = shortcut().toString();
|
||||
|
||||
QString s = text;
|
||||
s.replace("&","");
|
||||
if (!accel_text.isEmpty()) {
|
||||
- setToolTip( s + " ("+ accel_text +")");
|
||||
+ setToolTip( s.trimmed() + " ("+ tr(accel_text.toAscii().constData()) +")");
|
||||
setIconText( s );
|
||||
}
|
||||
|
||||
@@ -0,0 +1,215 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smplayer</Name>
|
||||
<Homepage>https://www.smplayer.info/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>smplayer</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>A complete front-end for MPlayer</Summary>
|
||||
<Description>smplayer is Qt application which intends to be a complete front-end for MPlayer, from basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more.</Description>
|
||||
<Archive sha1sum="2b9bf973ef58181465639a4da6a24da3eb859342" type="tarbz2">https://sourceforge.net/projects/smplayer/files/SMPlayer/21.1.0/smplayer-21.1.0.tar.bz2</Archive>
|
||||
<Archive sha1sum="4bf069a2261350ba8121f05eea0ff91788a5ba69" type="tarbz2" target="smplayer-21.1.0">https://downloads.sourceforge.net/smplayer/smplayer-themes-20.11.0.tar.bz2</Archive>
|
||||
<Archive sha1sum="36ded4c2996a8ead1eb3c894d6aadf925f682a76" type="tarbz2" target="smplayer-21.1.0">https://downloads.sourceforge.net/smplayer/smplayer-skins-20.11.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-script-devel</Dependency>
|
||||
<Dependency>libxkbcommon-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch>Fix_control_problem_with_mpv-0.30.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>smplayer</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-script</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>mpv-player</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/smplayer</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/kde4</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc/smplayer</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="22">
|
||||
<Date>2021-01-17</Date>
|
||||
<Version>21.1.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="21">
|
||||
<Date>2020-07-08</Date>
|
||||
<Version>20.6.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="20">
|
||||
<Date>2020-04-15</Date>
|
||||
<Version>20.4.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="19">
|
||||
<Date>2020-03-03</Date>
|
||||
<Version>19.10.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2019-10-29</Date>
|
||||
<Version>19.10.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2019-10-28</Date>
|
||||
<Version>19.5.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2019-06-03</Date>
|
||||
<Version>19.5.0</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2019-01-30</Date>
|
||||
<Version>19.1.0</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2018-12-26</Date>
|
||||
<Version>18.10.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2018-10-03</Date>
|
||||
<Version>18.10.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2018-10-03</Date>
|
||||
<Version>18.9.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2018-08-15</Date>
|
||||
<Version>18.6.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2018-05-27</Date>
|
||||
<Version>18.5.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2018-04-30</Date>
|
||||
<Version>18.4.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2018-03-26</Date>
|
||||
<Version>18.3.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2018-03-02</Date>
|
||||
<Version>18.2.2</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-02-10</Date>
|
||||
<Version>18.2.0</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2018-01-13</Date>
|
||||
<Version>18.1.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2017-12-09</Date>
|
||||
<Version>17.11.2</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2017-02-03</Date>
|
||||
<Version>17.1</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2017-01-11</Date>
|
||||
<Version>15.11</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>15.11</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-01-09</Date>
|
||||
<Version>15.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smplayer</Name>
|
||||
<Summary xml:lang="tr">Gelişmiş bir mplayer önyüzü</Summary>
|
||||
<Summary xml:lang="es">SMPlayer es un frontend de Mplayer</Summary>
|
||||
<Description xml:lang="tr">smplayer Qt ile yazılmış, gelişmiş bir mplayer önyüzüdür. Basit özelliklerinin yanı sıra, TV, DVD, VCD oynatma, mplayer filtrelerini kullanabilme gibi yetenekleri de bulunmaktadır.</Description>
|
||||
<Description xml:lang="es">SMPlayer es un reproductor multimedia gratuito y para Windows y Linux con códecs incorporados, que puede reproducir prácticamente cualquier formato de vídeo y audio. No necesita ningún códec externo. Simplemente instala SMPlayer y podrás reproducir cualquier formato sin la molestia de tener que buscar e instalar paquetes de códecs.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import qt5
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
#pisitools.dosed("Makefile", "^DOC_PATH=.*$", "DOC_PATH=$(PREFIX)/share/doc/smplayer")
|
||||
pisitools.dosed("Makefile", "PREFIX=/usr/local", "PREFIX=/usr")
|
||||
|
||||
def build():
|
||||
qt5.make()
|
||||
#autotools.make("PREFIX=/usr QMAKE=/usr/bin/qmake LRELEASE=/usr/bin/lrelease")
|
||||
|
||||
def install():
|
||||
qt5.install()
|
||||
#autotools.rawInstall("PREFIX=/usr DESTDIR=%s DOC_PATH=/usr/share/doc/%s" % (get.installDIR(),get.srcNAME()))
|
||||
pisitools.dodoc("Readme.txt","Release_notes.txt","Changelog","Copying.txt")
|
||||
|
||||
pisitools.dosed("%s/usr/share/applications/smtube.desktop" % get.installDIR(), "Icon=smtube", "Icon=smtube.png")
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -22,7 +22,7 @@ DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" \
|
||||
|
||||
src/smtube:
|
||||
# ./get_svn_revision.sh
|
||||
- +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) $(MAKE)
|
||||
+ +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) $(MAKE) $(MAKEFLAGS)
|
||||
cd src && $(LRELEASE) smtube.pro
|
||||
|
||||
clean:
|
||||
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smtube</Name>
|
||||
<Homepage>http://smplayer.sourceforge.net/en/info</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Play and download Youtube videos</Summary>
|
||||
<Description>SMTube allows to search, play and download Youtube videos.</Description>
|
||||
<Archive sha1sum="01bc15b02e19b8bee670fdda819ef92996024719" type="tarbz2">https://sourceforge.net/projects/smtube/files/SMTube/20.6.0/smtube-20.6.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-script-devel</Dependency>
|
||||
<Dependency>qt5-location-devel</Dependency>
|
||||
<Dependency>qt5-webkit-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">smtube-makeflags.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>smtube</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-script</Dependency>
|
||||
<Dependency>qt5-webkit</Dependency>
|
||||
<Dependency>qt5-location</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2020-06-28</Date>
|
||||
<Version>20.6.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2020-03-04</Date>
|
||||
<Version>20.1.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2019-10-29</Date>
|
||||
<Version>19.6.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2018-08-15</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-03-26</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2017-03-10</Date>
|
||||
<Version>17.1.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2017-02-03</Date>
|
||||
<Version>17.1.0</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.7.0</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>15.11</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-01-06</Date>
|
||||
<Version>15.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smtube</Name>
|
||||
<Summary xml:lang="tr">Youtube video indirme yöneticisi</Summary>
|
||||
<Description xml:lang="tr">SMTube, youtube videolarını oynatmak indirmek ve videolar içerisinde arama yapmak için bir uygulamadır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
|
||||
@@ -0,0 +1,146 @@
|
||||
#!/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 get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
# Make it build with libtool 1.5
|
||||
#shelltools.system("rm -rf m4/lt* m4/libtool.m4")
|
||||
shelltools.system("sed -i '/DEPRECATED/s:^://:' modules/text_renderer/freetype/text_layout.c")
|
||||
#shelltools.system("export CFLAGS+=-I/usr/include/samba-4.0")
|
||||
#shelltools.system("export CPPFLAGS+=-I/usr/include/samba-4.0")
|
||||
#shelltools.system("export CXXFLAGS+=-std=c++11")
|
||||
|
||||
shelltools.export("AUTOPOINT", "true")
|
||||
#shelltools.export("CC", "clang")
|
||||
#shelltools.export("CXX", "clang++")
|
||||
shelltools.export("LDFLAGS", "-L/usr/lib -llua")
|
||||
shelltools.export("CFLAGS", "-I/usr/include/samba-4.0")
|
||||
shelltools.export("CPPFLAGS", "-I/usr/include/samba-4.0")
|
||||
shelltools.export("CXXFLAGS", "-I/usr/include/samba-4.0 -std=c++11")
|
||||
shelltools.export("LUAC", "/usr/bin/luac")
|
||||
shelltools.export("LUA_LIBS", "$(pkg-config --libs lua)")
|
||||
shelltools.export("RCC", "/usr/bin/rcc")
|
||||
shelltools.system("./bootstrap")
|
||||
#autotools.autoreconf("-vfi")
|
||||
autotools.rawConfigure("\
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--with-kde-solid=/usr/share/solid/actions/ \
|
||||
--with-default-font-family=Sans \
|
||||
--with-default-monospace-font-family=Monospace \
|
||||
--with-default-font=/usr/share/fonts/dejavu/DejaVuSans.ttf \
|
||||
--with-default-monospace-font=/usr/share/fonts/dejavu/DejaVuSansMono.ttf \
|
||||
--with-x \
|
||||
BUILDCC=gcc \
|
||||
LUAC=luac LUA_LIBS='`pkg-config --libs lua`' \
|
||||
RCC=/usr/bin/rcc \
|
||||
--disable-asdcp \
|
||||
--disable-coverage \
|
||||
--disable-cprof \
|
||||
--disable-crystalhd \
|
||||
--disable-decklink \
|
||||
--disable-goom \
|
||||
--disable-kai \
|
||||
--disable-kva \
|
||||
--disable-maintainer-mode \
|
||||
--disable-opensles \
|
||||
--disable-rpi-omxil \
|
||||
--disable-shine \
|
||||
--disable-sndio \
|
||||
--disable-vsxu \
|
||||
--disable-wasapi \
|
||||
--disable-altivec \
|
||||
--disable-dependency-tracking \
|
||||
--disable-optimizations \
|
||||
--disable-jack \
|
||||
--disable-oss \
|
||||
--disable-opencv \
|
||||
--disable-rpath \
|
||||
--disable-static \
|
||||
--disable-update-check \
|
||||
--disable-silent-rules \
|
||||
--disable-mfx \
|
||||
--enable-ncurses \
|
||||
--enable-a52 \
|
||||
--enable-aa \
|
||||
--enable-alsa \
|
||||
--enable-archive \
|
||||
--enable-avcodec \
|
||||
--enable-avformat \
|
||||
--enable-postproc \
|
||||
--enable-bluray \
|
||||
--enable-dc1394 \
|
||||
--enable-dbus \
|
||||
--enable-dca \
|
||||
--enable-dvbpsi \
|
||||
--enable-dvdnav \
|
||||
--enable-dvdread \
|
||||
--enable-faad \
|
||||
--enable-fast-install \
|
||||
--enable-flac \
|
||||
--enable-freetype \
|
||||
--enable-fribidi \
|
||||
--enable-gnutls \
|
||||
--enable-libcddb \
|
||||
--enable-libmpeg2 \
|
||||
--enable-libxml2 \
|
||||
--enable-lirc \
|
||||
--enable-libva \
|
||||
--enable-live555 \
|
||||
--enable-lua \
|
||||
--enable-mad \
|
||||
--enable-mod \
|
||||
--enable-mpc \
|
||||
--enable-nls \
|
||||
--enable-ogg \
|
||||
--enable-opus \
|
||||
--enable-png \
|
||||
--enable-projectm \
|
||||
--enable-pulse \
|
||||
--enable-realrtsp \
|
||||
--enable-screen \
|
||||
--enable-sftp \
|
||||
--enable-schroedinger \
|
||||
--enable-shared \
|
||||
--enable-smbclient \
|
||||
--enable-sout \
|
||||
--enable-speex \
|
||||
--enable-svg \
|
||||
--enable-theora \
|
||||
--enable-twolame \
|
||||
--enable-upnp \
|
||||
--enable-v4l2 \
|
||||
--enable-vlc \
|
||||
--enable-vcd \
|
||||
--enable-mtp \
|
||||
--enable-vlm \
|
||||
--enable-vorbis \
|
||||
--enable-x264 \
|
||||
--enable-x265 \
|
||||
--enable-aribsub \
|
||||
--enable-xvideo \
|
||||
")
|
||||
#enable-skins2 \ --disable-qt4 \
|
||||
#shelltools.export("CFLAGS", "%s -fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1" % get.CFLAGS())
|
||||
|
||||
# for fix unused dependency
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
for icon in ("128x128", "48x48", "32x32", "16x16"):
|
||||
pisitools.insinto("/usr/share/icons/hicolor/%s/apps/" % icon, "share/icons/%s/vlc*.png" % icon)
|
||||
|
||||
pisitools.dodoc("AUTHORS", "THANKS", "NEWS", "README", "COPYING")
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import glob
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.system("/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins")
|
||||
|
||||
def preRemove():
|
||||
for cache in glob.glob("/usr/lib/vlc/plugins/plugins-*-*.dat"):
|
||||
try:
|
||||
os.unlink(cache)
|
||||
except OSError:
|
||||
pass
|
||||
@@ -0,0 +1,37 @@
|
||||
From 622360c2c4335fff793f81f5e673326a581f5c0c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
|
||||
Date: Thu, 19 Apr 2018 18:25:07 +0300
|
||||
Subject: [PATCH] aom: Remove unsupported pixel formats
|
||||
|
||||
Support for these was apparently never in the codebase, and the enum
|
||||
values were recently removed from the public headers [1].
|
||||
|
||||
This fixes build with latest libaom build.
|
||||
|
||||
[1] https://aomedia.googlesource.com/aom/+/3f29cc20e3a4c348cb41a797c68de856ddb84e12
|
||||
---
|
||||
modules/codec/aom.c | 11 -----------
|
||||
1 file changed, 11 deletions(-)
|
||||
|
||||
diff --git a/modules/codec/aom.c b/modules/codec/aom.c
|
||||
index 5bb442b5d50..60034158c47 100644
|
||||
--- a/modules/codec/aom.c
|
||||
+++ b/modules/codec/aom.c
|
||||
@@ -116,17 +116,6 @@ static const struct
|
||||
|
||||
{ VLC_CODEC_YV12, AOM_IMG_FMT_YV12, 8, 0 },
|
||||
{ VLC_CODEC_YUVA, AOM_IMG_FMT_444A, 8, 0 },
|
||||
- { VLC_CODEC_YUYV, AOM_IMG_FMT_YUY2, 8, 0 },
|
||||
- { VLC_CODEC_UYVY, AOM_IMG_FMT_UYVY, 8, 0 },
|
||||
- { VLC_CODEC_YVYU, AOM_IMG_FMT_YVYU, 8, 0 },
|
||||
-
|
||||
- { VLC_CODEC_RGB15, AOM_IMG_FMT_RGB555, 8, 0 },
|
||||
- { VLC_CODEC_RGB16, AOM_IMG_FMT_RGB565, 8, 0 },
|
||||
- { VLC_CODEC_RGB24, AOM_IMG_FMT_RGB24, 8, 0 },
|
||||
- { VLC_CODEC_RGB32, AOM_IMG_FMT_RGB32, 8, 0 },
|
||||
-
|
||||
- { VLC_CODEC_ARGB, AOM_IMG_FMT_ARGB, 8, 0 },
|
||||
- { VLC_CODEC_BGRA, AOM_IMG_FMT_ARGB_LE, 8, 0 },
|
||||
|
||||
{ VLC_CODEC_GBR_PLANAR, AOM_IMG_FMT_I444, 8, 1 },
|
||||
{ VLC_CODEC_GBR_PLANAR_10L, AOM_IMG_FMT_I44416, 10, 1 },
|
||||
@@ -0,0 +1,208 @@
|
||||
diff -ruNp vlc-2.2.3.orig/configure.ac vlc-2.2.3/configure.ac
|
||||
--- vlc-2.2.3.orig/configure.ac 2016-04-05 02:45:40.000000000 +0200
|
||||
+++ vlc-2.2.3/configure.ac 2016-05-21 19:19:05.527202127 +0200
|
||||
@@ -2323,9 +2323,6 @@ AC_ARG_ENABLE(avcodec,
|
||||
[ --enable-avcodec libavcodec codec (default enabled)])
|
||||
AS_IF([test "${enable_avcodec}" != "no"], [
|
||||
PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
|
||||
- PKG_CHECK_EXISTS([libavutil < 55],, [
|
||||
- AC_MSG_ERROR([libavutil versions 55 and later are not supported.])
|
||||
- ])
|
||||
VLC_SAVE_FLAGS
|
||||
CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
|
||||
CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
|
||||
@@ -2382,9 +2379,6 @@ have_avcodec_vaapi="no"
|
||||
AS_IF([test "${have_vaapi}" = "yes" -a "${have_avcodec}" = "yes"], [
|
||||
case "${avfork}" in
|
||||
ffmpeg)
|
||||
- PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
|
||||
- AC_MSG_ERROR([VA API requires FFmpeg libavcodec < 57.10 or libav.])
|
||||
- ])
|
||||
;;
|
||||
esac
|
||||
VLC_SAVE_FLAGS
|
||||
@@ -2416,9 +2410,6 @@ AS_IF([test "${enable_dxva2}" != "no"],
|
||||
AS_IF([test "x${have_avcodec}" = "xyes"], [
|
||||
case "${avfork}" in
|
||||
ffmpeg)
|
||||
- PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
|
||||
- AC_MSG_ERROR([DXVA2 requires FFmpeg libavcodec < 57.10 or libav.])
|
||||
- ])
|
||||
;;
|
||||
esac
|
||||
AC_CHECK_HEADERS(dxva2api.h,
|
||||
@@ -3180,9 +3171,6 @@ AS_IF([test "${have_vdpau}" = "yes" -a "
|
||||
case "${avfork}" in
|
||||
libav) av_vdpau_ver="55.26.0" ;;
|
||||
ffmpeg) av_vdpau_ver="55.42.100"
|
||||
- PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
|
||||
- AC_MSG_ERROR([VDPAU requires FFmpeg libavcodec < 57.10 or libav.])
|
||||
- ])
|
||||
;;
|
||||
esac
|
||||
PKG_CHECK_EXISTS([libavutil >= 52.4.0 libavcodec >= ${av_vdpau_ver}], [
|
||||
diff -ruNp vlc-2.2.3.orig/modules/codec/avcodec/audio.c vlc-2.2.3/modules/codec/avcodec/audio.c
|
||||
--- vlc-2.2.3.orig/modules/codec/avcodec/audio.c 2015-12-08 17:18:56.000000000 +0100
|
||||
+++ vlc-2.2.3/modules/codec/avcodec/audio.c 2016-05-21 19:19:05.527202127 +0200
|
||||
@@ -39,7 +39,6 @@
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/mem.h>
|
||||
|
||||
-#include <libavutil/audioconvert.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
|
||||
diff -ruNp vlc-2.2.3.orig/modules/codec/avcodec/encoder.c vlc-2.2.3/modules/codec/avcodec/encoder.c
|
||||
--- vlc-2.2.3.orig/modules/codec/avcodec/encoder.c 2015-10-21 18:36:45.000000000 +0200
|
||||
+++ vlc-2.2.3/modules/codec/avcodec/encoder.c 2016-05-21 19:19:07.451194268 +0200
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <vlc_cpu.h>
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
-#include <libavutil/audioconvert.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "avcommon.h"
|
||||
@@ -311,7 +310,7 @@ int OpenEncoder( vlc_object_t *p_this )
|
||||
else if( !GetFfmpegCodec( p_enc->fmt_out.i_codec, &i_cat, &i_codec_id,
|
||||
&psz_namecodec ) )
|
||||
{
|
||||
- if( FindFfmpegChroma( p_enc->fmt_out.i_codec ) == PIX_FMT_NONE )
|
||||
+ if( FindFfmpegChroma( p_enc->fmt_out.i_codec ) == AV_PIX_FMT_NONE )
|
||||
return VLC_EGENERIC; /* handed chroma output */
|
||||
|
||||
i_cat = VIDEO_ES;
|
||||
@@ -555,7 +554,7 @@ int OpenEncoder( vlc_object_t *p_this )
|
||||
|
||||
if( p_codec->pix_fmts )
|
||||
{
|
||||
- const enum PixelFormat *p = p_codec->pix_fmts;
|
||||
+ const enum AVPixelFormat *p = p_codec->pix_fmts;
|
||||
for( ; *p != -1; p++ )
|
||||
{
|
||||
if( *p == p_context->pix_fmt ) break;
|
||||
@@ -1017,7 +1016,7 @@ errmsg:
|
||||
}
|
||||
}
|
||||
|
||||
- p_sys->frame = avcodec_alloc_frame();
|
||||
+ p_sys->frame = av_frame_alloc();
|
||||
if( !p_sys->frame )
|
||||
{
|
||||
goto error;
|
||||
@@ -1088,7 +1087,7 @@ static block_t *EncodeVideo( encoder_t *
|
||||
AVFrame *frame = NULL;
|
||||
if( likely(p_pict) ) {
|
||||
frame = p_sys->frame;
|
||||
- avcodec_get_frame_defaults( frame );
|
||||
+ av_frame_unref( frame );
|
||||
for( i_plane = 0; i_plane < p_pict->i_planes; i_plane++ )
|
||||
{
|
||||
p_sys->frame->data[i_plane] = p_pict->p[i_plane].p_pixels;
|
||||
@@ -1329,7 +1328,7 @@ static block_t *handle_delay_buffer( enc
|
||||
//How much we need to copy from new packet
|
||||
const int leftover = leftover_samples * p_sys->p_context->channels * p_sys->i_sample_bytes;
|
||||
|
||||
- avcodec_get_frame_defaults( p_sys->frame );
|
||||
+ av_frame_unref( p_sys->frame );
|
||||
p_sys->frame->format = p_sys->p_context->sample_fmt;
|
||||
p_sys->frame->nb_samples = leftover_samples + p_sys->i_samples_delay;
|
||||
|
||||
@@ -1451,7 +1450,7 @@ static block_t *EncodeAudio( encoder_t *
|
||||
while( ( p_aout_buf->i_nb_samples >= p_sys->i_frame_size ) ||
|
||||
( p_sys->b_variable && p_aout_buf->i_nb_samples ) )
|
||||
{
|
||||
- avcodec_get_frame_defaults( p_sys->frame );
|
||||
+ av_frame_unref( p_sys->frame );
|
||||
if( p_sys->b_variable )
|
||||
p_sys->frame->nb_samples = p_aout_buf->i_nb_samples;
|
||||
else
|
||||
@@ -1514,7 +1513,7 @@ void CloseEncoder( vlc_object_t *p_this
|
||||
encoder_t *p_enc = (encoder_t *)p_this;
|
||||
encoder_sys_t *p_sys = p_enc->p_sys;
|
||||
|
||||
- /*FIXME: we should use avcodec_free_frame, but we don't require so new avcodec that has it*/
|
||||
+ /*FIXME: we should use av_frame_free, but we don't require so new avcodec that has it*/
|
||||
av_freep( &p_sys->frame );
|
||||
|
||||
vlc_avcodec_lock();
|
||||
diff -ruNp vlc-2.2.3.orig/modules/codec/avcodec/vaapi.c vlc-2.2.3/modules/codec/avcodec/vaapi.c
|
||||
--- vlc-2.2.3.orig/modules/codec/avcodec/vaapi.c 2014-11-16 19:57:58.000000000 +0100
|
||||
+++ vlc-2.2.3/modules/codec/avcodec/vaapi.c 2016-05-21 19:19:07.452194264 +0200
|
||||
@@ -595,7 +595,7 @@ static int Create( vlc_va_t *p_va, AVCod
|
||||
return err;
|
||||
|
||||
/* Only VLD supported */
|
||||
- p_va->pix_fmt = PIX_FMT_VAAPI_VLD;
|
||||
+ p_va->pix_fmt = AV_PIX_FMT_VAAPI_VLD;
|
||||
p_va->setup = Setup;
|
||||
p_va->get = Get;
|
||||
p_va->release = Release;
|
||||
diff -ruNp vlc-2.2.3.orig/modules/codec/avcodec/video.c vlc-2.2.3/modules/codec/avcodec/video.c
|
||||
--- vlc-2.2.3.orig/modules/codec/avcodec/video.c 2016-04-05 02:45:24.000000000 +0200
|
||||
+++ vlc-2.2.3/modules/codec/avcodec/video.c 2016-05-21 19:19:07.453194260 +0200
|
||||
@@ -108,8 +108,8 @@ static int lavc_GetFrame(struct AVCodecC
|
||||
static int ffmpeg_GetFrameBuf ( struct AVCodecContext *, AVFrame * );
|
||||
static void ffmpeg_ReleaseFrameBuf( struct AVCodecContext *, AVFrame * );
|
||||
#endif
|
||||
-static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *,
|
||||
- const enum PixelFormat * );
|
||||
+static enum AVPixelFormat ffmpeg_GetFormat( AVCodecContext *,
|
||||
+ const enum AVPixelFormat * );
|
||||
|
||||
static uint32_t ffmpeg_CodecTag( vlc_fourcc_t fcc )
|
||||
{
|
||||
@@ -234,7 +234,7 @@ int InitVideoDec( decoder_t *p_dec, AVCo
|
||||
p_sys->p_codec = p_codec;
|
||||
p_sys->i_codec_id = i_codec_id;
|
||||
p_sys->psz_namecodec = psz_namecodec;
|
||||
- p_sys->p_ff_pic = avcodec_alloc_frame();
|
||||
+ p_sys->p_ff_pic = av_frame_alloc();
|
||||
p_sys->b_delayed_open = true;
|
||||
p_sys->p_va = NULL;
|
||||
vlc_sem_init( &p_sys->sem_mt, 0 );
|
||||
@@ -446,7 +446,7 @@ int InitVideoDec( decoder_t *p_dec, AVCo
|
||||
if( ffmpeg_OpenCodec( p_dec ) < 0 )
|
||||
{
|
||||
msg_Err( p_dec, "cannot open codec (%s)", p_sys->psz_namecodec );
|
||||
- avcodec_free_frame( &p_sys->p_ff_pic );
|
||||
+ av_frame_free( &p_sys->p_ff_pic );
|
||||
vlc_sem_destroy( &p_sys->sem_mt );
|
||||
free( p_sys );
|
||||
return VLC_EGENERIC;
|
||||
@@ -826,7 +826,7 @@ void EndVideoDec( decoder_t *p_dec )
|
||||
wait_mt( p_sys );
|
||||
|
||||
if( p_sys->p_ff_pic )
|
||||
- avcodec_free_frame( &p_sys->p_ff_pic );
|
||||
+ av_frame_free( &p_sys->p_ff_pic );
|
||||
|
||||
if( p_sys->p_va )
|
||||
vlc_va_Delete( p_sys->p_va );
|
||||
@@ -1313,8 +1313,8 @@ static void ffmpeg_ReleaseFrameBuf( stru
|
||||
}
|
||||
#endif
|
||||
|
||||
-static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
|
||||
- const enum PixelFormat *pi_fmt )
|
||||
+static enum AVPixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
|
||||
+ const enum AVPixelFormat *pi_fmt )
|
||||
{
|
||||
decoder_t *p_dec = p_context->opaque;
|
||||
decoder_sys_t *p_sys = p_dec->p_sys;
|
||||
@@ -1341,6 +1341,15 @@ static enum PixelFormat ffmpeg_GetFormat
|
||||
if (!can_hwaccel)
|
||||
goto end;
|
||||
|
||||
+#if (LIBAVCODEC_VERSION_MICRO >= 100) /* FFmpeg only */
|
||||
+ if (p_context->active_thread_type)
|
||||
+ {
|
||||
+ msg_Warn(p_dec, "thread type %d: disabling hardware acceleration",
|
||||
+ p_context->active_thread_type);
|
||||
+ goto end;
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
/* Profile and level information is needed now.
|
||||
* TODO: avoid code duplication with avcodec.c */
|
||||
if( p_context->profile != FF_PROFILE_UNKNOWN)
|
||||
@@ -0,0 +1,16 @@
|
||||
https://github.com/videolan/vlc/commit/c354efa3a2843d479c8fa9e929ff1064e5526bfa
|
||||
--- modules/hw/vdpau/Makefile.am.orig 2015-04-16 22:29:26.299342749 -0700
|
||||
+++ modules/hw/vdpau/Makefile.am 2015-04-16 22:31:40.886340950 -0700
|
||||
@@ -45,6 +45,7 @@
|
||||
libvdpau_chroma_plugin_la_LIBADD = libvlc_vdpau.la
|
||||
vdpau_LTLIBRARIES += libvdpau_chroma_plugin.la
|
||||
|
||||
+if HAVE_XCB
|
||||
libvdpau_display_plugin_la_SOURCES = display.c
|
||||
libvdpau_display_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../video_output/xcb
|
||||
libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
|
||||
@@ -52,3 +53,4 @@
|
||||
../../video_output/libvlc_xcb_events.la \
|
||||
$(AM_LIBADD) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS)
|
||||
vdpau_LTLIBRARIES += libvdpau_display_plugin.la
|
||||
+endif
|
||||
@@ -0,0 +1,30 @@
|
||||
commit 41caaa08cde60c4fec4bf2e5f9610e2a1b9e6a23
|
||||
Author: Vinson Lee <vlee@freedesktop.org>
|
||||
Date: Thu Feb 5 14:48:53 2015 -0800
|
||||
|
||||
lua: Define LUA_COMPAT_APIINTCASTS for Lua >= 5.3.0 compatibility.
|
||||
|
||||
In Lua 5.3.0, luaL_checkint was deprecated.
|
||||
|
||||
This patch fixes this build error with Lua 5.3.0.
|
||||
|
||||
lua/demux.c: In function ‘vlclua_demux_peek’:
|
||||
lua/demux.c:55:5: error: implicit declaration of function ‘luaL_checkint’ [-Werror=implicit-function-declaration]
|
||||
int n = luaL_checkint( L, 1 );
|
||||
^
|
||||
|
||||
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
|
||||
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
|
||||
|
||||
diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h
|
||||
index efd94f1..85c7fc1 100644
|
||||
--- a/modules/lua/vlc.h
|
||||
+++ b/modules/lua/vlc.h
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <vlc_stream.h>
|
||||
#include <vlc_demux.h>
|
||||
|
||||
+#define LUA_COMPAT_APIINTCASTS
|
||||
#define LUA_COMPAT_MODULE
|
||||
#include <lua.h> /* Low level lua C API */
|
||||
#include <lauxlib.h> /* Higher level C API */
|
||||
@@ -0,0 +1,51 @@
|
||||
https://gist.github.com/karolherbst/fb9e3d8f6ba05f1f5d54
|
||||
For use until upstream ever accepts this patch or fixes it themsleves
|
||||
--- configure.ac.orig 2015-03-01 02:28:48.983932684 +0100
|
||||
+++ configure.ac 2015-03-01 02:41:29.641927072 +0100
|
||||
@@ -3709,7 +3709,8 @@
|
||||
])
|
||||
])
|
||||
AS_IF([test "${enable_qt}" != "no"], [
|
||||
- PKG_CHECK_MODULES([QT], [Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui], [
|
||||
+ AS_IF([test "${enable_qt}" != "4"], [
|
||||
+ PKG_CHECK_MODULES([QT], [Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui], [
|
||||
PKG_CHECK_MODULES([QTX11], [Qt5X11Extras], [
|
||||
VLC_ADD_LIBS([qt4],[${QTX11_LIBS}])
|
||||
VLC_ADD_CXXFLAGS([qt4],[${QTX11_CFLAGS} -DQT5_HAS_X11])
|
||||
@@ -3721,20 +3722,23 @@
|
||||
AC_PATH_PROGS(MOC, [moc-qt5 moc], moc, ["${QT_HOST_PATH}" "${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
AC_PATH_PROGS(RCC, [rcc-qt5 rcc], rcc, ["${QT_HOST_PATH}" "${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
AC_PATH_PROGS(UIC, [uic-qt5 uic], uic, ["${QT_HOST_PATH}" "${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
+ enable_qt="5"
|
||||
- ], [
|
||||
- PKG_CHECK_MODULES([QT], [QtCore QtGui >= 4.6.0],, [
|
||||
- AS_IF([test -n "${enable_qt}"],[
|
||||
- AC_MSG_ERROR([${QT_PKG_ERRORS}.])
|
||||
- ],[
|
||||
- AC_MSG_WARN([${QT_PKG_ERRORS}.])
|
||||
- ])
|
||||
- enable_qt="no"
|
||||
+ ])
|
||||
+ ])
|
||||
+ AS_IF([test "${enable_qt}" != "5"], [
|
||||
+ PKG_CHECK_MODULES([QT], [QtCore QtGui >= 4.6.0],, [
|
||||
+ AS_IF([test -n "${enable_qt}"],[
|
||||
+ AC_MSG_ERROR([${QT_PKG_ERRORS}.])
|
||||
+ ],[
|
||||
+ AC_MSG_WARN([${QT_PKG_ERRORS}.])
|
||||
])
|
||||
- QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix QtCore)"
|
||||
- AC_PATH_PROGS(MOC, [moc-qt4 moc], moc, ["${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
- AC_PATH_PROG(RCC, rcc, rcc, [${QT_PATH}/bin ${CONTRIB_DIR}/bin])
|
||||
- AC_PATH_PROGS(UIC, [uic-qt4 uic], uic, ["${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
+ enable_qt="no"
|
||||
])
|
||||
+ QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix QtCore)"
|
||||
+ AC_PATH_PROGS(MOC, [moc-qt4 moc], moc, ["${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
+ AC_PATH_PROG(RCC, rcc, rcc, [${QT_PATH}/bin ${CONTRIB_DIR}/bin])
|
||||
+ AC_PATH_PROGS(UIC, [uic-qt4 uic], uic, ["${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
+ ])
|
||||
])
|
||||
AS_IF([test "${enable_qt}" != "no"], [
|
||||
VLC_ADD_PLUGIN([qt4])
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
diff -u -r vlc-3.0.10/modules/gui/qt/components/playlist/views.cpp vlc-3.0.10-qt-5.15/modules/gui/qt/components/playlist/views.cpp
|
||||
--- vlc-3.0.10/modules/gui/qt/components/playlist/views.cpp 2017-11-24 15:29:17.000000000 +0000
|
||||
+++ vlc-3.0.10-qt-5.15/modules/gui/qt/components/playlist/views.cpp 2020-05-29 20:50:09.267959371 +0000
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "input_manager.hpp" /* THEMIM */
|
||||
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QRect>
|
||||
#include <QStyleOptionViewItem>
|
||||
#include <QFontMetrics>
|
||||
diff -u -r vlc-3.0.10/modules/gui/qt/dialogs/plugins.cpp vlc-3.0.10-qt-5.15/modules/gui/qt/dialogs/plugins.cpp
|
||||
--- vlc-3.0.10/modules/gui/qt/dialogs/plugins.cpp 2017-11-24 15:29:17.000000000 +0000
|
||||
+++ vlc-3.0.10-qt-5.15/modules/gui/qt/dialogs/plugins.cpp 2020-05-29 20:49:44.114275108 +0000
|
||||
@@ -53,6 +53,7 @@
|
||||
#include <QListView>
|
||||
#include <QListWidget>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QStyleOptionViewItem>
|
||||
#include <QKeyEvent>
|
||||
#include <QPushButton>
|
||||
diff -u -r vlc-3.0.10/modules/gui/qt/util/timetooltip.hpp vlc-3.0.10-qt-5.15/modules/gui/qt/util/timetooltip.hpp
|
||||
--- vlc-3.0.10/modules/gui/qt/util/timetooltip.hpp 2018-05-03 12:03:21.000000000 +0000
|
||||
+++ vlc-3.0.10-qt-5.15/modules/gui/qt/util/timetooltip.hpp 2020-05-29 20:40:30.306628713 +0000
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "qt.hpp"
|
||||
|
||||
+#include <QPainterPath>
|
||||
#include <QWidget>
|
||||
|
||||
class TimeTooltip : public QWidget
|
||||
@@ -0,0 +1,11 @@
|
||||
--- modules/codec/dmo/dmo.c~ 2012-09-14 00:02:04.000000000 +0800
|
||||
+++ modules/codec/dmo/dmo.c 2012-10-16 07:10:41.145463290 +0800
|
||||
@@ -546,7 +546,7 @@
|
||||
}
|
||||
|
||||
p_bih = &p_vih->bmiHeader;
|
||||
- p_bih->biCompression = i_chroma == VLC_CODEC_RGB24 ? BI_RGB : i_chroma;
|
||||
+ p_bih->biCompression = i_chroma == VLC_CODEC_RGB24 ? 0L : i_chroma;
|
||||
p_bih->biHeight *= -1;
|
||||
p_bih->biBitCount = p_dec->fmt_out.video.i_bits_per_pixel;
|
||||
p_bih->biSizeImage = p_dec->fmt_in.video.i_width *
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -rupN a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
|
||||
--- a/modules/codec/avcodec/vaapi.c 2013-01-22 09:51:40.000000000 +0000
|
||||
+++ b/modules/codec/avcodec/vaapi.c 2013-07-27 17:23:37.965202118 +0000
|
||||
@@ -47,6 +47,7 @@
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <va/va_x11.h>
|
||||
+#include <va/va_compat.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -0,0 +1,23 @@
|
||||
index 2debbcd..72e7fcf 100644
|
||||
--- a/modules/audio_output/pulse.c
|
||||
+++ b/modules/audio_output/pulse.c
|
||||
@@ -472,8 +472,17 @@ static void stream_underflow_cb(pa_stream *s, void *userdata)
|
||||
{
|
||||
+ uint32_t rate = pa_stream_get_sample_spec(s)->rate;
|
||||
audio_output_t *aout = userdata;
|
||||
|
||||
- msg_Dbg(aout, "underflow");
|
||||
- (void) s;
|
||||
+ msg_Warn(aout, "underflow");
|
||||
+ stream_stop(s, aout);
|
||||
+
|
||||
+ aout_sys_t *sys = aout->sys;
|
||||
+ sys->first_pts = VLC_TS_INVALID;
|
||||
+
|
||||
+ pa_operation *op = pa_stream_update_sample_rate(s, rate, NULL, NULL);
|
||||
+ if (unlikely(op == NULL))
|
||||
+ return;
|
||||
+ pa_operation_unref(op);
|
||||
}
|
||||
|
||||
static int stream_wait(pa_stream *stream, pa_threaded_mainloop *mainloop)
|
||||
@@ -0,0 +1,9 @@
|
||||
--- share/vlc.desktop.in.OSmanOS 2013-06-24 21:00:39.000000000 +0300
|
||||
+++ share/vlc.desktop.in 2013-11-16 18:49:06.848928443 +0200
|
||||
@@ -73,6 +73,7 @@
|
||||
GenericName[sv]=Mediaspelare
|
||||
Comment[sv]=Spelare för film och musik
|
||||
+Comment[tr]=VLC medya oynatıcı
|
||||
Name[te]=VLC మాధ్యమ ప్రదర్శకం
|
||||
GenericName[te]=మాధ్యమ ప్రదర్శకం
|
||||
Comment[te]=మీ బహుళమాధ్యమ ప్రవాహాలను చదువు, బంధించు మరియు ప్రసారం చేయి
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a684338..053713a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2242,8 +2242,8 @@ AC_ARG_ENABLE(avcodec,
|
||||
[ --enable-avcodec libavcodec codec (default enabled)])
|
||||
AS_IF([test "${enable_avcodec}" != "no"], [
|
||||
PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
|
||||
- PKG_CHECK_EXISTS([libavcodec < 56],, [
|
||||
- AC_MSG_ERROR([libavcodec versions 56 and later are not supported yet.])
|
||||
+ PKG_CHECK_EXISTS([libavcodec < 57],, [
|
||||
+ AC_MSG_ERROR([libavcodec versions 57 and later are not supported yet.])
|
||||
])
|
||||
VLC_SAVE_FLAGS
|
||||
CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
|
||||
@@ -0,0 +1,23 @@
|
||||
--- a/modules/access/rdp.c 2014-11-22 01:40:52.044973648 -0800
|
||||
+++ b/modules/access/rdp.c 2014-11-22 01:36:44.291975380 -0800
|
||||
@@ -399,7 +404,9 @@
|
||||
if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0;
|
||||
p_sys->i_frame_interval = 1000000 / p_sys->f_fps;
|
||||
|
||||
+#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2))
|
||||
freerdp_channels_global_init();
|
||||
+#endif
|
||||
|
||||
p_sys->p_instance = freerdp_new();
|
||||
if ( !p_sys->p_instance )
|
||||
@@ -475,7 +482,10 @@
|
||||
|
||||
freerdp_disconnect( p_sys->p_instance );
|
||||
freerdp_free( p_sys->p_instance );
|
||||
+
|
||||
+#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2))
|
||||
freerdp_channels_global_uninit();
|
||||
+#endif
|
||||
|
||||
if ( p_sys->p_block )
|
||||
block_Release( p_sys->p_block );
|
||||
@@ -0,0 +1,13 @@
|
||||
--- vlc-2.2.2/configure.ac
|
||||
+++ vlc-2.2.2/configure.ac
|
||||
@@ -3754,10 +3754,6 @@
|
||||
AC_MSG_WARN([Not building Qt Interface with X11 helpers.])
|
||||
])
|
||||
|
||||
- PKG_CHECK_EXISTS([Qt5Core >= 5.5.0 Qt5Core < 5.6.0], [
|
||||
- AC_MSG_ERROR(["You cannot build VLC with Qt-5.5.0. You need to backport I78ef29975181ee22429c9bd4b11d96d9e68b7a9c"])
|
||||
- ])
|
||||
-
|
||||
QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)"
|
||||
QT_HOST_PATH="$(eval $PKG_CONFIG --variable=host_bins Qt5Core)"
|
||||
AC_PATH_PROGS(MOC, [moc-qt5 moc], moc, ["${QT_HOST_PATH}" "${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])
|
||||
@@ -0,0 +1,47 @@
|
||||
X-Git-Url: https://git.videolan.org/?p=vlc.git;a=blobdiff_plain;f=modules%2Faudio_output%2Falsa.c;h=4e9fd53592d048baa8b57f30df15ab5806139d07;hp=2d1f99e9cb743bca12c6bdf32cc84a92d07fda8b;hb=47f74a83c161173b0d15e95dab8ceb7c97de51b4;hpb=6ae2905ef7fbc7de3a3a4a1bdf8ad6df46ce570a
|
||||
|
||||
diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
|
||||
index 2d1f99e..4e9fd53 100644
|
||||
--- a/modules/audio_output/alsa.c
|
||||
+++ b/modules/audio_output/alsa.c
|
||||
@@ -495,6 +495,15 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
|
||||
}
|
||||
sys->rate = fmt->i_rate;
|
||||
|
||||
+#if 1 /* work-around for period-long latency outputs (e.g. PulseAudio): */
|
||||
+ param = AOUT_MIN_PREPARE_TIME;
|
||||
+ val = snd_pcm_hw_params_set_period_time_near (pcm, hw, ¶m, NULL);
|
||||
+ if (val)
|
||||
+ {
|
||||
+ msg_Err (aout, "cannot set period: %s", snd_strerror (val));
|
||||
+ goto error;
|
||||
+ }
|
||||
+#endif
|
||||
/* Set buffer size */
|
||||
param = AOUT_MAX_ADVANCE_TIME;
|
||||
val = snd_pcm_hw_params_set_buffer_time_near (pcm, hw, ¶m, NULL);
|
||||
@@ -503,14 +512,22 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
|
||||
msg_Err (aout, "cannot set buffer duration: %s", snd_strerror (val));
|
||||
goto error;
|
||||
}
|
||||
-
|
||||
- param = AOUT_MIN_PREPARE_TIME;
|
||||
+#if 0
|
||||
+ val = snd_pcm_hw_params_get_buffer_time (hw, ¶m, NULL);
|
||||
+ if (val)
|
||||
+ {
|
||||
+ msg_Warn (aout, "cannot get buffer time: %s", snd_strerror(val));
|
||||
+ param = AOUT_MIN_PREPARE_TIME;
|
||||
+ }
|
||||
+ else
|
||||
+ param /= 2;
|
||||
val = snd_pcm_hw_params_set_period_time_near (pcm, hw, ¶m, NULL);
|
||||
if (val)
|
||||
{
|
||||
msg_Err (aout, "cannot set period: %s", snd_strerror (val));
|
||||
goto error;
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* Commit hardware parameters */
|
||||
val = snd_pcm_hw_params (pcm, hw);
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/configure.ac 2016-09-21 07:10:58.885508665 +0200
|
||||
+++ b/configure.ac 2016-09-21 07:19:17.835725004 +0200
|
||||
@@ -3746,7 +3746,7 @@
|
||||
PKG_CHECK_MODULES([QT], [Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui], [
|
||||
PKG_CHECK_MODULES([QTX11], [Qt5X11Extras], [
|
||||
VLC_ADD_LIBS([qt4],[${QTX11_LIBS}])
|
||||
- VLC_ADD_CXXFLAGS([qt4],[${QTX11_CFLAGS} -DQT5_HAS_X11])
|
||||
+ VLC_ADD_CXXFLAGS([qt4],[${QTX11_CFLAGS} -DQT5_HAS_X11 -std=c++0x])
|
||||
PKG_CHECK_MODULES([XI], [xi], [
|
||||
VLC_ADD_LIBS([qt4], [${XI_LIBS}])
|
||||
VLC_ADD_CXXFLAGS([qt4], [${XI_CFLAGS} -DHAVE_XI])
|
||||
@@ -0,0 +1,47 @@
|
||||
X-Git-Url: https://git.videolan.org/?p=vlc.git;a=blobdiff_plain;f=src%2Finput%2Fdecoder.c;h=fe3cd428c65c18bfbdadb55baf11521afdc2bfc7;hp=83aa5bf54e2c29ad93fae803117558e4fcd0f658;hb=6ae2905ef7fbc7de3a3a4a1bdf8ad6df46ce570a;hpb=5b2de76965ee8b1ab5e3257f8b6d71bbb4e9e3f9
|
||||
|
||||
--- a/src/input/decoder.c
|
||||
+++ b/src/input/decoder.c
|
||||
@@ -1162,7 +1162,10 @@
|
||||
b_paused = p_owner->b_paused;
|
||||
|
||||
if (!p_audio)
|
||||
+ {
|
||||
+ vlc_mutex_unlock( &p_owner->lock );
|
||||
break;
|
||||
+ }
|
||||
|
||||
/* */
|
||||
int i_rate = INPUT_RATE_DEFAULT;
|
||||
@@ -1180,6 +1183,9 @@
|
||||
|
||||
if( unlikely(p_owner->b_paused != b_paused) )
|
||||
continue; /* race with input thread? retry... */
|
||||
+
|
||||
+ vlc_mutex_unlock( &p_owner->lock );
|
||||
+
|
||||
if( p_aout == NULL )
|
||||
b_reject = true;
|
||||
|
||||
@@ -1199,7 +1205,6 @@
|
||||
|
||||
break;
|
||||
}
|
||||
- vlc_mutex_unlock( &p_owner->lock );
|
||||
}
|
||||
|
||||
static void DecoderDecodeAudio( decoder_t *p_dec, block_t *p_block )
|
||||
@@ -1961,11 +1966,10 @@
|
||||
|
||||
/* Parameters changed, restart the aout */
|
||||
vlc_mutex_lock( &p_owner->lock );
|
||||
-
|
||||
- aout_DecDelete( p_owner->p_aout );
|
||||
p_owner->p_aout = NULL;
|
||||
-
|
||||
vlc_mutex_unlock( &p_owner->lock );
|
||||
+ aout_DecDelete( p_owner->p_aout );
|
||||
+
|
||||
input_resource_PutAout( p_owner->p_resource, p_aout );
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
--- a/modules/codec/avcodec/audio.c 2016-09-10 13:46:51.066453337 -0700
|
||||
+++ a/modules/codec/avcodec/audio.c 2016-09-10 13:42:26.061451090 -0700
|
||||
@@ -38,6 +38,7 @@
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/mem.h>
|
||||
+#include <libavutil/channel_layout.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
@@ -0,0 +1,284 @@
|
||||
As the 2.2 headers are still using vlc_atomics (picture)
|
||||
we cannot have a way to avoid collisions with early
|
||||
or late <atomic> inclusion when using GCC >= 4.7
|
||||
|
||||
Conditionals in vlc_atomic won't work.
|
||||
|
||||
Happens in ProjectM and Qt5.
|
||||
---
|
||||
modules/gui/qt4/actions_manager.cpp | 2 ++
|
||||
modules/gui/qt4/adapters/seekpoints.cpp | 4 +--
|
||||
modules/gui/qt4/adapters/seekpoints.hpp | 4 +--
|
||||
modules/gui/qt4/components/controller.cpp | 2 ++
|
||||
.../gui/qt4/components/playlist/playlist_model.hpp | 4 +--
|
||||
modules/gui/qt4/components/playlist/views.cpp | 6 ++++
|
||||
modules/gui/qt4/dialogs/messages.cpp | 2 ++
|
||||
modules/gui/qt4/dialogs/vlm.cpp | 4 ---
|
||||
modules/gui/qt4/dialogs/vlm.hpp | 4 ++-
|
||||
modules/gui/qt4/input_manager.cpp | 2 ++
|
||||
modules/gui/qt4/input_manager.hpp | 3 +-
|
||||
modules/gui/qt4/menus.cpp | 2 ++
|
||||
modules/gui/qt4/qt4.hpp | 32 ++++++++++++++++++----
|
||||
modules/gui/qt4/util/pictureflow.cpp | 2 ++
|
||||
modules/visualization/projectm.cpp | 4 +++
|
||||
15 files changed, 56 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/modules/gui/qt4/actions_manager.cpp b/modules/gui/qt4/actions_manager.cpp
|
||||
index eff40d9..b7ca967 100644
|
||||
--- a/modules/gui/qt4/actions_manager.cpp
|
||||
+++ b/modules/gui/qt4/actions_manager.cpp
|
||||
@@ -25,6 +25,8 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include <vlc_vout.h>
|
||||
#include <vlc_keys.h>
|
||||
|
||||
diff --git a/modules/gui/qt4/adapters/seekpoints.cpp b/modules/gui/qt4/adapters/seekpoints.cpp
|
||||
index fbf2957..a3564bb 100644
|
||||
--- a/modules/gui/qt4/adapters/seekpoints.cpp
|
||||
+++ b/modules/gui/qt4/adapters/seekpoints.cpp
|
||||
@@ -19,14 +19,12 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
+#include "seekpoints.hpp"
|
||||
|
||||
#include "recents.hpp"
|
||||
#include "dialogs_provider.hpp"
|
||||
#include "menus.hpp"
|
||||
|
||||
-#include "seekpoints.hpp"
|
||||
-
|
||||
-#include "qt4.hpp"
|
||||
#include "input_manager.hpp"
|
||||
|
||||
SeekPoints::SeekPoints( QObject *parent, intf_thread_t *p_intf_ ) :
|
||||
diff --git a/modules/gui/qt4/adapters/seekpoints.hpp b/modules/gui/qt4/adapters/seekpoints.hpp
|
||||
index 0083989..bbb9214 100644
|
||||
--- a/modules/gui/qt4/adapters/seekpoints.hpp
|
||||
+++ b/modules/gui/qt4/adapters/seekpoints.hpp
|
||||
@@ -22,9 +22,7 @@
|
||||
#ifndef SEEKPOINTS_HPP
|
||||
#define SEEKPOINTS_HPP
|
||||
|
||||
-#ifdef HAVE_CONFIG_H
|
||||
-#include "config.h"
|
||||
-#endif
|
||||
+#include "qt4.hpp"
|
||||
|
||||
#include <vlc_common.h>
|
||||
#include <vlc_interface.h>
|
||||
diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
|
||||
index d93e0db..c43d929 100644
|
||||
--- a/modules/gui/qt4/components/controller.cpp
|
||||
+++ b/modules/gui/qt4/components/controller.cpp
|
||||
@@ -26,6 +26,8 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include <vlc_vout.h> /* vout_thread_t for FSC */
|
||||
|
||||
/* Widgets */
|
||||
diff --git a/modules/gui/qt4/components/playlist/playlist_model.hpp b/modules/gui/qt4/components/playlist/playlist_model.hpp
|
||||
index f9d1d0c..1f71ac9 100644
|
||||
--- a/modules/gui/qt4/components/playlist/playlist_model.hpp
|
||||
+++ b/modules/gui/qt4/components/playlist/playlist_model.hpp
|
||||
@@ -25,9 +25,7 @@
|
||||
#ifndef _PLAYLIST_MODEL_H_
|
||||
#define _PLAYLIST_MODEL_H_
|
||||
|
||||
-#ifdef HAVE_CONFIG_H
|
||||
-# include "config.h"
|
||||
-#endif
|
||||
+#include "qt4.hpp"
|
||||
|
||||
#include <vlc_input.h>
|
||||
#include <vlc_playlist.h>
|
||||
diff --git a/modules/gui/qt4/components/playlist/views.cpp b/modules/gui/qt4/components/playlist/views.cpp
|
||||
index 59f6535..0066205 100644
|
||||
--- a/modules/gui/qt4/components/playlist/views.cpp
|
||||
+++ b/modules/gui/qt4/components/playlist/views.cpp
|
||||
@@ -21,6 +21,12 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include "config.h"
|
||||
+#endif
|
||||
+
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include "components/playlist/views.hpp"
|
||||
#include "components/playlist/vlc_model.hpp" /* VLCModel */
|
||||
#include "components/playlist/sorting.h" /* Columns List */
|
||||
diff --git a/modules/gui/qt4/dialogs/messages.cpp b/modules/gui/qt4/dialogs/messages.cpp
|
||||
index 30793a2..9c79c99 100644
|
||||
--- a/modules/gui/qt4/dialogs/messages.cpp
|
||||
+++ b/modules/gui/qt4/dialogs/messages.cpp
|
||||
@@ -24,6 +24,8 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include "dialogs/messages.hpp"
|
||||
|
||||
#include <QPlainTextEdit>
|
||||
diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
|
||||
index 0da88cc..595f015 100644
|
||||
--- a/modules/gui/qt4/dialogs/vlm.cpp
|
||||
+++ b/modules/gui/qt4/dialogs/vlm.cpp
|
||||
@@ -23,10 +23,6 @@
|
||||
* Foundation, Inc., 51 Franklin street, Fifth Floor, Boston MA 02110-1301, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
-#ifdef HAVE_CONFIG_H
|
||||
-# include "config.h"
|
||||
-#endif
|
||||
-
|
||||
#include "dialogs/vlm.hpp"
|
||||
|
||||
#ifdef ENABLE_VLM
|
||||
diff --git a/modules/gui/qt4/dialogs/vlm.hpp b/modules/gui/qt4/dialogs/vlm.hpp
|
||||
index a3c6e5d..dcf7110 100644
|
||||
--- a/modules/gui/qt4/dialogs/vlm.hpp
|
||||
+++ b/modules/gui/qt4/dialogs/vlm.hpp
|
||||
@@ -25,8 +25,10 @@
|
||||
#ifndef QVLC_VLM_DIALOG_H_
|
||||
#define QVLC_VLM_DIALOG_H_ 1
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#ifdef HAVE_CONFIG_H
|
||||
-# include "config.h"
|
||||
+#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_VLM
|
||||
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
|
||||
index fd45f4a..c50cb6c 100644
|
||||
--- a/modules/gui/qt4/input_manager.cpp
|
||||
+++ b/modules/gui/qt4/input_manager.cpp
|
||||
@@ -30,6 +30,8 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include "input_manager.hpp"
|
||||
#include "recents.hpp"
|
||||
|
||||
diff --git a/modules/gui/qt4/input_manager.hpp b/modules/gui/qt4/input_manager.hpp
|
||||
index 7d3b76a..4fbecbb 100644
|
||||
--- a/modules/gui/qt4/input_manager.hpp
|
||||
+++ b/modules/gui/qt4/input_manager.hpp
|
||||
@@ -29,9 +29,10 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include <vlc_input.h>
|
||||
|
||||
-#include "qt4.hpp"
|
||||
#include "util/singleton.hpp"
|
||||
#include "adapters/variables.hpp"
|
||||
|
||||
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
|
||||
index 116e98c..46240b0 100644
|
||||
--- a/modules/gui/qt4/menus.cpp
|
||||
+++ b/modules/gui/qt4/menus.cpp
|
||||
@@ -34,6 +34,8 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include <vlc_common.h>
|
||||
#include <vlc_intf_strings.h>
|
||||
#include <vlc_vout.h> /* vout_thread_t */
|
||||
diff --git a/modules/gui/qt4/qt4.hpp b/modules/gui/qt4/qt4.hpp
|
||||
index 44d7db6..5aec957 100644
|
||||
--- a/modules/gui/qt4/qt4.hpp
|
||||
+++ b/modules/gui/qt4/qt4.hpp
|
||||
@@ -29,12 +29,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
-#include <vlc_common.h> /* VLC_COMMON_MEMBERS for vlc_interface.h */
|
||||
-#include <vlc_interface.h> /* intf_thread_t */
|
||||
-#include <vlc_playlist.h> /* playlist_t */
|
||||
-
|
||||
-#define QT_NO_CAST_TO_ASCII
|
||||
-#include <QString>
|
||||
+#include <QtGlobal>
|
||||
|
||||
#if ( QT_VERSION < 0x040600 )
|
||||
# error Update your Qt version to at least 4.6.0
|
||||
@@ -43,6 +38,31 @@
|
||||
#define HAS_QT47 ( QT_VERSION >= 0x040700 )
|
||||
#define HAS_QT5 ( QT_VERSION >= 0x050000 )
|
||||
|
||||
+#if HAS_QT5
|
||||
+ #include <QtCore/qcompilerdetection.h>
|
||||
+ #if defined(Q_COMPILER_ATOMICS) && \
|
||||
+ ( __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7 ) )
|
||||
+ #define VLC_ATOMIC_H
|
||||
+ #include <atomic>
|
||||
+ using namespace std;
|
||||
+ # define atomic_store(object,desired) \
|
||||
+ do { \
|
||||
+ *(object) = (desired); \
|
||||
+ __sync_synchronize(); \
|
||||
+ } while (0)
|
||||
+
|
||||
+ # define atomic_load(object) \
|
||||
+ (__sync_synchronize(), *(object))
|
||||
+ #endif
|
||||
+#endif
|
||||
+
|
||||
+#include <vlc_common.h> /* VLC_COMMON_MEMBERS for vlc_interface.h */
|
||||
+#include <vlc_interface.h> /* intf_thread_t */
|
||||
+#include <vlc_playlist.h> /* playlist_t */
|
||||
+
|
||||
+#define QT_NO_CAST_TO_ASCII
|
||||
+#include <QString>
|
||||
+
|
||||
enum {
|
||||
DialogEventTypeOffset = 0,
|
||||
IMEventTypeOffset = 100,
|
||||
diff --git a/modules/gui/qt4/util/pictureflow.cpp b/modules/gui/qt4/util/pictureflow.cpp
|
||||
index 9318953..a7e6a01 100644
|
||||
--- a/modules/gui/qt4/util/pictureflow.cpp
|
||||
+++ b/modules/gui/qt4/util/pictureflow.cpp
|
||||
@@ -29,6 +29,8 @@
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
+#include "qt4.hpp"
|
||||
+
|
||||
#include "pictureflow.hpp"
|
||||
|
||||
#include <QApplication>
|
||||
diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
|
||||
index e80fbf4..96d532d 100644
|
||||
--- a/modules/visualization/projectm.cpp
|
||||
+++ b/modules/visualization/projectm.cpp
|
||||
@@ -30,6 +30,10 @@
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
+#if defined(__GNUC__) && \
|
||||
+ ( __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7 ) )
|
||||
+ #define VLC_ATOMIC_H /* Ensure C atomics wont collide with old intrinsics */
|
||||
+#endif
|
||||
|
||||
#include <vlc_common.h>
|
||||
#include <vlc_plugin.h>
|
||||
--
|
||||
2.7.4
|
||||
@@ -0,0 +1,12 @@
|
||||
--- a/modules/codec/avcodec/vaapi.c
|
||||
+++ b/modules/codec/avcodec/vaapi.c
|
||||
@@ -34,6 +34,9 @@
|
||||
#ifdef VLC_VA_BACKEND_XLIB
|
||||
# include <vlc_xlib.h>
|
||||
# include <va/va_x11.h>
|
||||
+#if VA_MINOR_VERSION >= 34
|
||||
+# include <va/va_compat.h>
|
||||
+#endif
|
||||
#endif
|
||||
#ifdef VLC_VA_BACKEND_DRM
|
||||
# include <sys/types.h>
|
||||
@@ -0,0 +1,388 @@
|
||||
From 66842e08e177e3c458fa0e4db970deae84feb625 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Baptiste Kempf <jb@videolan.org>
|
||||
Date: Tue, 26 May 2015 13:39:00 +0200
|
||||
Subject: [PATCH 01/13] Fix C++11 compilation of atomic
|
||||
|
||||
Close #14569
|
||||
---
|
||||
include/vlc_atomic.h | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 72 insertions(+)
|
||||
|
||||
Index: vlc-2.2.3/include/vlc_atomic.h
|
||||
===================================================================
|
||||
--- vlc-2.2.3.orig/include/vlc_atomic.h
|
||||
+++ vlc-2.2.3/include/vlc_atomic.h
|
||||
@@ -26,13 +26,20 @@
|
||||
* Atomic operations do not require locking, but they are not very powerful.
|
||||
*/
|
||||
|
||||
-# if !defined (__cplusplus) && (__STDC_VERSION__ >= 201112L) \
|
||||
- && !defined (__STDC_NO_ATOMICS__)
|
||||
+/* Clang older versions support atomics but lacks the stdatomic.h header */
|
||||
+#if defined(__clang__)
|
||||
+# if !defined(__has_include) || !__has_include(<stdatomic.h>)
|
||||
+# define __STDC_NO_ATOMICS__ 1
|
||||
+# endif
|
||||
+#endif
|
||||
|
||||
+# ifndef __cplusplus
|
||||
+# if (__STDC_VERSION__ >= 201112L) && !defined (__STDC_NO_ATOMICS__)
|
||||
/*** Native C11 atomics ***/
|
||||
-# include <stdatomic.h>
|
||||
+# include <stdatomic.h>
|
||||
|
||||
-# else
|
||||
+# else
|
||||
+/*** Intel/GCC atomics ***/
|
||||
|
||||
# define ATOMIC_FLAG_INIT false
|
||||
|
||||
@@ -53,22 +60,6 @@
|
||||
# define atomic_is_lock_free(obj) \
|
||||
false
|
||||
|
||||
-/* In principles, __sync_*() only supports int, long and long long and their
|
||||
- * unsigned equivalents, i.e. 4-bytes and 8-bytes types, although GCC also
|
||||
- * supports 1 and 2-bytes types. Some non-x86 architectures do not support
|
||||
- * 8-byte atomic types (or not efficiently). */
|
||||
-# if defined (_MSC_VER)
|
||||
-/* Some atomic operations of the Interlocked API are only
|
||||
- available for desktop apps. Thus we define the atomic types to
|
||||
- be at least 32 bits wide. */
|
||||
-typedef int_least32_t atomic_flag;
|
||||
-typedef int_least32_t atomic_bool;
|
||||
-typedef int_least32_t atomic_char;
|
||||
-typedef int_least32_t atomic_schar;
|
||||
-typedef uint_least32_t atomic_uchar;
|
||||
-typedef int_least32_t atomic_short;
|
||||
-typedef uint_least32_t atomic_ushort;
|
||||
-# else
|
||||
typedef bool atomic_flag;
|
||||
typedef bool atomic_bool;
|
||||
typedef char atomic_char;
|
||||
@@ -76,7 +67,6 @@ typedef signed char atomic_schar;
|
||||
typedef unsigned char atomic_uchar;
|
||||
typedef short atomic_short;
|
||||
typedef unsigned short atomic_ushort;
|
||||
-# endif
|
||||
typedef int atomic_int;
|
||||
typedef unsigned int atomic_uint;
|
||||
typedef long atomic_long;
|
||||
@@ -109,10 +99,6 @@ typedef ptrdiff_t atomic_ptrdiff
|
||||
typedef intmax_t atomic_intmax_t;
|
||||
typedef uintmax_t atomic_uintmax_t;
|
||||
|
||||
-# if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || (defined (__clang__) && (defined (__x86_64__) || defined (__i386__)))
|
||||
-
|
||||
-/*** Intel/GCC atomics ***/
|
||||
-
|
||||
# define atomic_store(object,desired) \
|
||||
do { \
|
||||
*(object) = (desired); \
|
||||
@@ -203,204 +189,7 @@ typedef uintmax_t atomic_uintmax
|
||||
# define atomic_flag_clear_explicit(object,order) \
|
||||
atomic_flag_clear(object)
|
||||
|
||||
-# elif defined (__GNUC__)
|
||||
-
|
||||
-/*** No atomics ***/
|
||||
-
|
||||
-# define atomic_store(object,desired) \
|
||||
- do { \
|
||||
- typeof (object) _obj = (object); \
|
||||
- typeof (*object) _des = (desired); \
|
||||
- vlc_global_lock(VLC_ATOMIC_MUTEX); \
|
||||
- *_obj = _des; \
|
||||
- vlc_global_unlock(VLC_ATOMIC_MUTEX); \
|
||||
- } while (0)
|
||||
-# define atomic_store_explicit(object,desired,order) \
|
||||
- atomic_store(object,desired)
|
||||
-
|
||||
-# define atomic_load(object) \
|
||||
-({ \
|
||||
- typeof (object) _obj = (object); \
|
||||
- typeof (*object) _old; \
|
||||
- vlc_global_lock(VLC_ATOMIC_MUTEX); \
|
||||
- _old = *_obj; \
|
||||
- vlc_global_unlock(VLC_ATOMIC_MUTEX); \
|
||||
- _old; \
|
||||
-})
|
||||
-# define atomic_load_explicit(object,order) \
|
||||
- atomic_load(object)
|
||||
-
|
||||
-# define atomic_exchange(object,desired) \
|
||||
-({ \
|
||||
- typeof (object) _obj = (object); \
|
||||
- typeof (*object) _des = (desired); \
|
||||
- typeof (*object) _old; \
|
||||
- vlc_global_lock(VLC_ATOMIC_MUTEX); \
|
||||
- _old = *_obj; \
|
||||
- *_obj = _des; \
|
||||
- vlc_global_unlock(VLC_ATOMIC_MUTEX); \
|
||||
- _old; \
|
||||
-})
|
||||
-# define atomic_exchange_explicit(object,desired,order) \
|
||||
- atomic_exchange(object,desired)
|
||||
-
|
||||
-# define atomic_compare_exchange_strong(object,expected,desired) \
|
||||
-({ \
|
||||
- typeof (object) _obj = (object); \
|
||||
- typeof (object) _exp = (expected); \
|
||||
- typeof (*object) _des = (desired); \
|
||||
- bool ret; \
|
||||
- vlc_global_lock(VLC_ATOMIC_MUTEX); \
|
||||
- ret = *_obj == *_exp; \
|
||||
- if (ret) \
|
||||
- *_obj = _des; \
|
||||
- else \
|
||||
- *_exp = *_obj; \
|
||||
- vlc_global_unlock(VLC_ATOMIC_MUTEX); \
|
||||
- ret; \
|
||||
-})
|
||||
-# define atomic_compare_exchange_strong_explicit(object,expected,desired,order) \
|
||||
- atomic_compare_exchange_strong(object, expected, desired)
|
||||
-# define atomic_compare_exchange_weak(object,expected,desired) \
|
||||
- atomic_compare_exchange_strong(object, expected, desired)
|
||||
-# define atomic_compare_exchange_weak_explicit(object,expected,desired,order) \
|
||||
- atomic_compare_exchange_weak(object, expected, desired)
|
||||
-
|
||||
-# define atomic_fetch_OP(object,desired,op) \
|
||||
-({ \
|
||||
- typeof (object) _obj = (object); \
|
||||
- typeof (*object) _des = (desired); \
|
||||
- typeof (*object) _old; \
|
||||
- vlc_global_lock(VLC_ATOMIC_MUTEX); \
|
||||
- _old = *_obj; \
|
||||
- *_obj = (*_obj) op (_des); \
|
||||
- vlc_global_unlock(VLC_ATOMIC_MUTEX); \
|
||||
- _old; \
|
||||
-})
|
||||
-
|
||||
-# define atomic_fetch_add(object,operand) \
|
||||
- atomic_fetch_OP(object,operand,+)
|
||||
-# define atomic_fetch_add_explicit(object,operand,order) \
|
||||
- atomic_fetch_add(object,operand)
|
||||
-
|
||||
-# define atomic_fetch_sub(object,operand) \
|
||||
- atomic_fetch_OP(object,operand,-)
|
||||
-# define atomic_fetch_sub_explicit(object,operand,order) \
|
||||
- atomic_fetch_sub(object,operand)
|
||||
-
|
||||
-# define atomic_fetch_or(object,operand) \
|
||||
- atomic_fetch_OP(object,operand,|)
|
||||
-# define atomic_fetch_or_explicit(object,operand,order) \
|
||||
- atomic_fetch_or(object,operand)
|
||||
-
|
||||
-# define atomic_fetch_xor(object,operand) \
|
||||
- atomic_fetch_OP(object,operand,^)
|
||||
-# define atomic_fetch_xor_explicit(object,operand,order) \
|
||||
- atomic_fetch_sub(object,operand)
|
||||
-
|
||||
-# define atomic_fetch_and(object,operand) \
|
||||
- atomic_fetch_OP(object,operand,&)
|
||||
-# define atomic_fetch_and_explicit(object,operand,order) \
|
||||
- atomic_fetch_and(object,operand)
|
||||
-
|
||||
-# define atomic_flag_test_and_set(object) \
|
||||
- atomic_exchange(object, true)
|
||||
-
|
||||
-# define atomic_flag_test_and_set_explicit(object,order) \
|
||||
- atomic_flag_test_and_set(object)
|
||||
-
|
||||
-# define atomic_flag_clear(object) \
|
||||
- atomic_store(object, false)
|
||||
-
|
||||
-# define atomic_flag_clear_explicit(object,order) \
|
||||
- atomic_flag_clear(object)
|
||||
-
|
||||
-# elif defined (_MSC_VER)
|
||||
-
|
||||
-# include <windows.h>
|
||||
-
|
||||
-/*** Use the Interlocked API. ***/
|
||||
-
|
||||
-/* Define macros in order to dispatch to the correct function depending on the type.
|
||||
- Several ranges are need because some operations are not implemented for all types. */
|
||||
-# define atomic_type_dispatch_32_64(operation, object, ...) \
|
||||
- (sizeof(*object) == 4 ? operation((LONG *)object, __VA_ARGS__) : \
|
||||
- sizeof(*object) == 8 ? operation##64((LONGLONG *)object, __VA_ARGS__) : \
|
||||
- (abort(), 0))
|
||||
-
|
||||
-# define atomic_type_dispatch_16_64(operation, object, ...) \
|
||||
- (sizeof(*object) == 2 ? operation##16((short *)object, __VA_ARGS__) : \
|
||||
- atomic_type_dispatch_32_64(operation, object, __VA_ARGS__))
|
||||
-
|
||||
-# define atomic_type_dispatch_8_64(operation, object, ...) \
|
||||
- (sizeof(*object) == 1 ? operation##8((char *)object, __VA_ARGS__) : \
|
||||
- atomic_type_dispatch_16_64(operation, object, __VA_ARGS__))
|
||||
-
|
||||
-# define atomic_store(object,desired) \
|
||||
- atomic_type_dispatch_16_64(InterlockedExchange, object, desired)
|
||||
-# define atomic_store_explicit(object,desired,order) \
|
||||
- atomic_store(object, desired)
|
||||
-
|
||||
-# define atomic_load(object) \
|
||||
- atomic_type_dispatch_16_64(InterlockedCompareExchange, object, 0, 0)
|
||||
-# define atomic_load_explicit(object,order) \
|
||||
- atomic_load(object)
|
||||
-
|
||||
-# define atomic_exchange(object,desired) \
|
||||
- atomic_type_dispatch_16_64(InterlockedExchange, object, desired)
|
||||
-# define atomic_exchange_explicit(object,desired,order) \
|
||||
- atomic_exchange(object, desired)
|
||||
-
|
||||
-# define atomic_compare_exchange_strong(object,expected,desired) \
|
||||
- atomic_type_dispatch_16_64(InterlockedCompareExchange, object, *expected, desired) == *expected
|
||||
-# define atomic_compare_exchange_strong_explicit(object,expected,desired,order) \
|
||||
- atomic_compare_exchange_strong(object, expected, desired)
|
||||
-# define atomic_compare_exchange_weak(object,expected,desired) \
|
||||
- atomic_compare_exchange_strong(object, expected, desired)
|
||||
-# define atomic_compare_exchange_weak_explicit(object,expected,desired,order) \
|
||||
- atomic_compare_exchange_weak(object, expected, desired)
|
||||
-
|
||||
-# define atomic_fetch_add(object,operand) \
|
||||
- atomic_type_dispatch_32_64(InterlockedExchangeAdd, object, operand)
|
||||
-# define atomic_fetch_add_explicit(object,operand,order) \
|
||||
- atomic_fetch_add(object, operand)
|
||||
-
|
||||
-# define atomic_fetch_sub(object,operand) \
|
||||
- atomic_type_dispatch_32_64(InterlockedExchangeAdd, object, -(LONGLONG)operand)
|
||||
-# define atomic_fetch_sub_explicit(object,operand,order) \
|
||||
- atomic_fetch_sub(object, operand)
|
||||
-
|
||||
-# define atomic_fetch_or(object,operand) \
|
||||
- atomic_type_dispatch_8_64(InterlockedOr, object, operand)
|
||||
-# define atomic_fetch_or_explicit(object,operand,order) \
|
||||
- atomic_fetch_or(object, operand)
|
||||
-
|
||||
-# define atomic_fetch_xor(object,operand) \
|
||||
- atomic_type_dispatch_8_64(InterlockedXor, object, operand)
|
||||
-# define atomic_fetch_xor_explicit(object,operand,order) \
|
||||
- atomic_fetch_sub(object, operand)
|
||||
-
|
||||
-# define atomic_fetch_and(object,operand) \
|
||||
- atomic_type_dispatch_8_64(InterlockedAnd, object, operand)
|
||||
-# define atomic_fetch_and_explicit(object,operand,order) \
|
||||
- atomic_fetch_and(object, operand)
|
||||
-
|
||||
-# define atomic_flag_test_and_set(object) \
|
||||
- atomic_exchange(object, true)
|
||||
-
|
||||
-# define atomic_flag_test_and_set_explicit(object,order) \
|
||||
- atomic_flag_test_and_set(object)
|
||||
-
|
||||
-# define atomic_flag_clear(object) \
|
||||
- atomic_store(object, false)
|
||||
-
|
||||
-# define atomic_flag_clear_explicit(object,order) \
|
||||
- atomic_flag_clear(object)
|
||||
-
|
||||
-# else
|
||||
-# error FIXME: implement atomic operations for this compiler.
|
||||
-# endif
|
||||
-# endif
|
||||
+# endif /* !C11 */
|
||||
|
||||
typedef atomic_uint_least32_t vlc_atomic_float;
|
||||
|
||||
@@ -427,4 +216,9 @@ static inline void vlc_atomic_store_floa
|
||||
atomic_store(atom, u.i);
|
||||
}
|
||||
|
||||
+# else /* C++ */
|
||||
+/*** Native C++11 atomics ***/
|
||||
+# include <atomic>
|
||||
+# endif /* C++ */
|
||||
+
|
||||
#endif
|
||||
Index: vlc-2.2.3/include/vlc_spu.h
|
||||
===================================================================
|
||||
--- vlc-2.2.3.orig/include/vlc_spu.h
|
||||
+++ vlc-2.2.3/include/vlc_spu.h
|
||||
@@ -45,9 +45,6 @@ extern "C" {
|
||||
|
||||
typedef struct spu_private_t spu_private_t;
|
||||
|
||||
-/* Default subpicture channel ID */
|
||||
-#define SPU_DEFAULT_CHANNEL (1)
|
||||
-
|
||||
/**
|
||||
* Subpicture unit descriptor
|
||||
*/
|
||||
Index: vlc-2.2.3/include/vlc_vout_osd.h
|
||||
===================================================================
|
||||
--- vlc-2.2.3.orig/include/vlc_vout_osd.h
|
||||
+++ vlc-2.2.3/include/vlc_vout_osd.h
|
||||
@@ -26,12 +26,13 @@
|
||||
#ifndef VLC_VOUT_OSD_H
|
||||
#define VLC_VOUT_OSD_H 1
|
||||
|
||||
-#include <vlc_spu.h>
|
||||
-
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+//* Default subpicture channel ID */
|
||||
+#define SPU_DEFAULT_CHANNEL (1)
|
||||
+
|
||||
/**
|
||||
* OSD menu position and picture type defines
|
||||
*/
|
||||
Index: vlc-2.2.3/src/video_output/video_output.c
|
||||
===================================================================
|
||||
--- vlc-2.2.3.orig/src/video_output/video_output.c
|
||||
+++ vlc-2.2.3/src/video_output/video_output.c
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <vlc_vout.h>
|
||||
|
||||
#include <vlc_filter.h>
|
||||
+#include <vlc_spu.h>
|
||||
#include <vlc_vout_osd.h>
|
||||
#include <vlc_image.h>
|
||||
|
||||
Index: vlc-2.2.3/modules/gui/qt4/dialogs/messages.hpp
|
||||
===================================================================
|
||||
--- vlc-2.2.3.orig/modules/gui/qt4/dialogs/messages.hpp
|
||||
+++ vlc-2.2.3/modules/gui/qt4/dialogs/messages.hpp
|
||||
@@ -28,8 +28,8 @@
|
||||
#include "util/singleton.hpp"
|
||||
#include "ui/messages_panel.h"
|
||||
#include <stdarg.h>
|
||||
-#include <vlc_atomic.h>
|
||||
#include <QMutex>
|
||||
+#include <QAtomicInt>
|
||||
|
||||
class QTabWidget;
|
||||
class QPushButton;
|
||||
@@ -55,7 +55,7 @@ private:
|
||||
void sinkMessage( const MsgEvent * );
|
||||
bool matchFilter( const QString& );
|
||||
|
||||
- atomic_uint verbosity;
|
||||
+ QAtomicInt verbosity;
|
||||
static void MsgCallback( void *, int, const vlc_log_t *, const char *,
|
||||
va_list );
|
||||
|
||||
Index: vlc-2.2.3/modules/gui/qt4/dialogs/messages.cpp
|
||||
===================================================================
|
||||
--- vlc-2.2.3.orig/modules/gui/qt4/dialogs/messages.cpp
|
||||
+++ vlc-2.2.3/modules/gui/qt4/dialogs/messages.cpp
|
||||
@@ -143,7 +143,7 @@ MessagesDialog::~MessagesDialog()
|
||||
|
||||
void MessagesDialog::changeVerbosity( int i_verbosity )
|
||||
{
|
||||
- atomic_store( &this->verbosity, i_verbosity );
|
||||
+ verbosity = i_verbosity;
|
||||
}
|
||||
|
||||
void MessagesDialog::updateConfig()
|
||||
@@ -337,7 +337,7 @@ void MessagesDialog::MsgCallback( void *
|
||||
{
|
||||
MessagesDialog *dialog = (MessagesDialog *)self;
|
||||
char *str;
|
||||
- int verbosity = atomic_load( &dialog->verbosity );
|
||||
+ int verbosity = dialog->verbosity;
|
||||
|
||||
if( verbosity < 0 || verbosity < (type - VLC_MSG_ERR)
|
||||
|| unlikely(vasprintf( &str, format, ap ) == -1) )
|
||||
@@ -0,0 +1,466 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>vlc</Name>
|
||||
<Homepage>http://www.videolan.org/vlc</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<Icon>vlc</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>VLC media player</Summary>
|
||||
<Description>VLC is a famous video player and streamer.</Description>
|
||||
<Archive sha1sum="39ef414a07202ec6569acda4c5d91e8576d453bf" type="tarxz">http://mirrors.netix.net/vlc/vlc/3.0.12/vlc-3.0.12.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-svg-devel</Dependency>
|
||||
<Dependency>wayland-client</Dependency>
|
||||
<Dependency>libcdio-devel</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>lua-devel</Dependency>
|
||||
<Dependency>libgcrypt-devel</Dependency>
|
||||
<Dependency>xcb-proto</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>zvbi-devel</Dependency>
|
||||
<Dependency>faac-devel</Dependency>
|
||||
<Dependency>flac-devel</Dependency>
|
||||
<Dependency>lirc-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>x265-devel</Dependency>
|
||||
<Dependency>x264-devel</Dependency>
|
||||
<Dependency>dbus-devel</Dependency>
|
||||
<Dependency>avahi-devel</Dependency>
|
||||
<Dependency>samba-devel</Dependency>
|
||||
<Dependency>aalib-devel</Dependency>
|
||||
<Dependency>faad2-devel</Dependency>
|
||||
<Dependency>speex-devel</Dependency>
|
||||
<Dependency>libva-devel</Dependency>
|
||||
<Dependency>libXt-devel</Dependency>
|
||||
<Dependency>libXv-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>util-macros</Dependency>
|
||||
<Dependency>libxcb-devel</Dependency>
|
||||
<Dependency>libarchive-devel</Dependency>
|
||||
<Dependency>libXau-devel</Dependency>
|
||||
<Dependency>libtar-devel</Dependency>
|
||||
<Dependency>libvpx-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>libass-devel</Dependency>
|
||||
<Dependency>libXpm-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>libv4l-devel</Dependency>
|
||||
<Dependency>libdca-devel</Dependency>
|
||||
<Dependency>libmtp-devel</Dependency>
|
||||
<Dependency>libmad-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
<Dependency>taglib-devel</Dependency>
|
||||
<Dependency>a52dec-devel</Dependency>
|
||||
<Dependency>libebml-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>libcddb-devel</Dependency>
|
||||
<Dependency>libcaca-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>libcdio-devel</Dependency>
|
||||
<Dependency>fribidi-devel</Dependency>
|
||||
<Dependency>libupnp-devel</Dependency>
|
||||
<Dependency>libkate-devel</Dependency>
|
||||
<Dependency>freerdp-devel</Dependency>
|
||||
<Dependency>twolame-devel</Dependency>
|
||||
<Dependency>minizip-devel</Dependency>
|
||||
<Dependency>live555-devel</Dependency>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>libXdmcp-devel</Dependency>
|
||||
<Dependency>kernel-headers</Dependency>
|
||||
<Dependency>xcb-util-devel</Dependency>
|
||||
<Dependency>libmpeg2-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libshout-devel</Dependency>
|
||||
<Dependency>libdvbpsi-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libbluray-devel</Dependency>
|
||||
<Dependency>libgcrypt-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>libssh2-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libdc1394-devel</Dependency>
|
||||
<Dependency>ncurses-devel</Dependency>
|
||||
<Dependency>libid3tag-devel</Dependency>
|
||||
<Dependency>sdl-image-devel</Dependency>
|
||||
<Dependency>libmpcdec-devel</Dependency>
|
||||
<Dependency>libdvdcss-devel</Dependency>
|
||||
<Dependency>libdvdnav-devel</Dependency>
|
||||
<Dependency>vcdimager-devel</Dependency>
|
||||
<Dependency>libraw1394-devel</Dependency>
|
||||
<Dependency>fluidsynth-devel</Dependency>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>libavc1394-devel</Dependency>
|
||||
<Dependency>libmodplug-devel</Dependency>
|
||||
<Dependency>libXxf86vm-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libmatroska-devel</Dependency>
|
||||
<Dependency>libXinerama-devel</Dependency>
|
||||
<Dependency>schroedinger-devel</Dependency>
|
||||
<Dependency>crystalhd-firmware</Dependency>
|
||||
<Dependency>libgpg-error-devel</Dependency>
|
||||
<Dependency>libvncserver-devel</Dependency>
|
||||
<Dependency>libsamplerate-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt5-x11extras-devel</Dependency>
|
||||
<Dependency>libchromaprint-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>xcb-util-keysyms-devel</Dependency>
|
||||
<Dependency>gst-plugins-base-devel</Dependency>
|
||||
<Dependency>zvbi-devel</Dependency>
|
||||
<Dependency>wayland-protocols-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">lua53_compat.patch</Patch>
|
||||
<Patch level="1">qt_5_15.patch</Patch>
|
||||
<!-- <Patch level="1">build_fix.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>vlc</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lua</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-svg</Dependency>
|
||||
<Dependency>wayland-client</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>ncurses</Dependency>
|
||||
<Dependency>libtar</Dependency>
|
||||
<Dependency>libXpm</Dependency>
|
||||
<Dependency>fribidi</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>minizip</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency version="current">vlc-libs</Dependency>
|
||||
<Dependency>libXinerama</Dependency>
|
||||
<Dependency>dejavu-fonts</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<!-- Gui library files. -->
|
||||
<Path fileType="library">/usr/lib/vlc/plugins/gui</Path>
|
||||
|
||||
<Path fileType="data">/usr/share/vlc</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/kde4/apps/solid/actions</Path>
|
||||
<Path fileType="data">/usr/share/metainfo</Path>
|
||||
<Path fileType="data">/usr/share/solid</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>vlc-lua</Name>
|
||||
<Summary>Lua scripting for VLC</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lua</Dependency>
|
||||
<Dependency version="current">vlc-libs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/vlc/lua</Path>
|
||||
<Path fileType="library">/usr/lib/vlc/plugins/lua/liblua_plugin.so</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>vlc-libs</Name>
|
||||
<Summary>Codec and plugin library files for VLC</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lua</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>x264</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>lirc</Dependency>
|
||||
<Dependency>flac</Dependency>
|
||||
<Dependency>zvbi</Dependency>
|
||||
<Dependency>x265</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>libva</Dependency>
|
||||
<Dependency>faad2</Dependency>
|
||||
<Dependency>samba</Dependency>
|
||||
<Dependency>speex</Dependency>
|
||||
<Dependency>aalib</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
<Dependency>libidn</Dependency>
|
||||
<Dependency>libmad</Dependency>
|
||||
<Dependency>libass</Dependency>
|
||||
<Dependency>gnutls</Dependency>
|
||||
<Dependency>libdca</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>a52dec</Dependency>
|
||||
<Dependency>libmtp</Dependency>
|
||||
<Dependency>taglib</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>libvpx</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>libssh2</Dependency>
|
||||
<Dependency>libcddb</Dependency>
|
||||
<Dependency>freerdp</Dependency>
|
||||
<Dependency>libopus</Dependency>
|
||||
<Dependency>libcaca</Dependency>
|
||||
<Dependency>twolame</Dependency>
|
||||
<Dependency>libebml</Dependency>
|
||||
<Dependency>libcdio</Dependency>
|
||||
<Dependency>librsvg</Dependency>
|
||||
<Dependency>live555</Dependency>
|
||||
<Dependency>minizip</Dependency>
|
||||
<Dependency>fribidi</Dependency>
|
||||
<Dependency>libkate</Dependency>
|
||||
<Dependency>libupnp</Dependency>
|
||||
<Dependency>libshout</Dependency>
|
||||
<Dependency>libarchive</Dependency>
|
||||
<Dependency>avahi-libs</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libvdpau</Dependency>
|
||||
<Dependency>libmpeg2</Dependency>
|
||||
<Dependency>libdvbpsi</Dependency>
|
||||
<Dependency>libdc1394</Dependency>
|
||||
<Dependency>sdl-image</Dependency>
|
||||
<Dependency>vcdimager</Dependency>
|
||||
<Dependency>libbluray</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>libdvdnav</Dependency>
|
||||
<Dependency>libmpcdec</Dependency>
|
||||
<Dependency>libtheora</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libgcrypt</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libraw1394</Dependency>
|
||||
<Dependency>fluidsynth</Dependency>
|
||||
<Dependency>libmodplug</Dependency>
|
||||
<Dependency>libdvdread</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libavc1394</Dependency>
|
||||
<Dependency>libmatroska</Dependency>
|
||||
<Dependency>schroedinger</Dependency>
|
||||
<Dependency>wayland-client</Dependency>
|
||||
<Dependency>libvncserver</Dependency>
|
||||
<Dependency>libgpg-error</Dependency>
|
||||
<Dependency>libsamplerate</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>gstreamer</Dependency>
|
||||
<Dependency>libchromaprint</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>xcb-util-keysyms</Dependency>
|
||||
<Dependency>crystalhd-firmware</Dependency>
|
||||
<Dependency>gst-plugins-base</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libvlc*</Path>
|
||||
<Path fileType="library">/usr/lib/vlc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>vlc-devel</Name>
|
||||
<Summary>Development files for vlc</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency version="current">vlc-libs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="22">
|
||||
<Date>2021-02-13</Date>
|
||||
<Version>3.0.12</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="21">
|
||||
<Date>2020-12-17</Date>
|
||||
<Version>3.0.11.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="20">
|
||||
<Date>2020-09-19</Date>
|
||||
<Version>3.0.11.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="19">
|
||||
<Date>2020-06-17</Date>
|
||||
<Version>3.0.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2020-04-29</Date>
|
||||
<Version>3.0.10</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2020-03-03</Date>
|
||||
<Version>3.0.8</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2019-10-14</Date>
|
||||
<Version>3.0.8</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2019-09-15</Date>
|
||||
<Version>3.0.8</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2019-04-12</Date>
|
||||
<Version>3.0.6</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2019-01-22</Date>
|
||||
<Version>3.0.6</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2018-12-28</Date>
|
||||
<Version>3.0.5</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2018-09-16</Date>
|
||||
<Version>3.0.3</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2018-05-19</Date>
|
||||
<Version>3.0.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2018-04-28</Date>
|
||||
<Version>3.0.2</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2018-03-03</Date>
|
||||
<Version>3.0.1</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2018-02-18</Date>
|
||||
<Version>3.0.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2018-01-13</Date>
|
||||
<Version>2.2.8</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2017-12-21</Date>
|
||||
<Version>2.2.8</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2017-03-05</Date>
|
||||
<Version>2.2.4</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2016-12-24</Date>
|
||||
<Version>2.2.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2016-06-20</Date>
|
||||
<Version>2.2.4</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2016-06-09</Date>
|
||||
<Version>2.2.0</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>2.2.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>vlc</Name>
|
||||
<Summary xml:lang="tr">VLC çoklu ortam oynatıcısı</Summary>
|
||||
<Summary xml:lang="pl">Odtwarzacz plików multimedialnych i serwer strumieni </Summary>
|
||||
<Summary xml:lang="es">VLC reproductor multimedia</Summary>
|
||||
<Description xml:lang="tr">Media oynatıcısı ve yayın dinleyici</Description>
|
||||
<Description xml:lang="pl">VLC jest odtwarzaczem multimediów projektu VideoLAN. Odtwarza pliki MPEG, MPEG2, MPEG4, DivX, MOV, WMV, QuickTime, WebM, FLAC, MP3, Ogg/Vorbis, płyty DVD, VCD, podkasty oraz strumienie multimedialne z różnych źródeł w sieci.</Description>
|
||||
<Description xml:lang="es">VLC es un poderoso reproductor de medios para todo tipo de formatos multimedia</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>vlc-devel</Name>
|
||||
<Summary xml:lang="tr">vlc için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe vlc</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>vlc-firefox</Name>
|
||||
<Summary xml:lang="tr">Firefox için vlc eklentisi</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>vlc-libs</Name>
|
||||
<Summary xml:lang="tr">vlc için codec ve eklenti kitaplık dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import qt5
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "vokoscreenNG-%s/src" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
pisitools.cxxflags.add("-Wno-deprecated-declarations")
|
||||
qt5.configure()
|
||||
|
||||
def build():
|
||||
qt5.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("vokoscreenNG")
|
||||
pisitools.insinto("/usr/share/applications", "applications/vokoscreenNG.desktop", "vokoscreenNG.desktop")
|
||||
pisitools.insinto("/usr/share/pixmaps", "applications/vokoscreenNG.png", "vokoscreenNG.png")
|
||||
|
||||
pisitools.dodoc("../COPYING", "../README.md")
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>vokoscreenNG</Name>
|
||||
<Homepage>https://github.com/vkohaupt/vokoscreenNG</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>multimedia.video</PartOf>
|
||||
<Summary>New desktop recording program.</Summary>
|
||||
<Description>VokscreenNG is a user friendly Open Source screencaster for Linux and Windows. The new name is now vokoscreenNG and has been rewritten from scratch.</Description>
|
||||
<Archive sha1sum="0ebf0ea66dd0dab6825808ffa6b7b04c981081f0" type="targz">
|
||||
https://github.com/vkohaupt/vokoscreenNG/archive/3.0.6.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency>qt5-x11extras-devel</Dependency>
|
||||
<Dependency>qt5-multimedia-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>vokoscreenNG</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>gstreamer</Dependency>
|
||||
<Dependency>gst-libav</Dependency>
|
||||
<Dependency>pulseaudio</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>qt5-multimedia</Dependency>
|
||||
<Dependency>gstreamer-vaapi</Dependency>
|
||||
<Dependency>gst-plugins-bad</Dependency>
|
||||
<Dependency>gst-plugins-base</Dependency>
|
||||
<Dependency>gst-plugins-good</Dependency>
|
||||
<Dependency>gst-plugins-ugly</Dependency>
|
||||
<Dependency>libva-intel-driver</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/vokoscreenNG</Path>
|
||||
<Path fileType="data">/usr/share/applications/vokoscreenNG.desktop</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps/vokoscreenNG.png</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2020-09-13</Date>
|
||||
<Version>3.0.6</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-04-11</Date>
|
||||
<Version>3.0.3</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2020-02-01</Date>
|
||||
<Version>3.0.1</Version>
|
||||
<Comment>Rewrited.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user