Merge branch 'master' of github.com:pisilinux/main

This commit is contained in:
Ertuğrul Erata
2018-05-06 10:23:31 +03:00
24 changed files with 148637 additions and 147495 deletions
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
pisitools.flags.add(" -lspeechd")
autotools.configure(" \
--with-tables-directory=/usr/share/brltty \
--with-screen-driver=lx \
--enable-gpm \
--with-install-root='%s' \
--with-writable-directory='/run/brltty' \
--disable-java-bindings" % get.installDIR())
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/run")
pisitools.removeDir("/var")
pisitools.dodoc("LICENSE*", "README")
@@ -0,0 +1,56 @@
--- a/configure.ac
+++ b/configure.ac
@@ -377,7 +377,7 @@
case "${host_os}"
in
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|cygwin*|mingw*|elf*)
- brltty_mkmod_ld_make="-shared"
+ brltty_mkmod_ld_make="-shared ${LDFLAGS}"
;;
solaris*)
brltty_mkmod_ld_make="-G"
@@ -404,7 +404,7 @@
esac
if test "${GCC}" = "yes"
then
- brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o"
+ brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o"
else
brltty_cv_prog_mkmod="\$(LD) ${brltty_mkmod_ld_make} ${brltty_mkmod_ld_options} -o"
fi])
@@ -414,7 +414,7 @@
case "${host_os}"
in
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|elf*)
- brltty_mklib_ld_make="-shared"
+ brltty_mklib_ld_make="-shared ${LDFLAGS}"
brltty_mklib_ld_options="-soname"
;;
solaris*)
@@ -449,7 +449,7 @@
esac
if test "${GCC}" = "yes"
then
- brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o"
+ brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o"
else
brltty_cv_prog_mklib="\$(LD) ${brltty_mklib_ld_make} ${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>} -o"
fi])
--- a/Bindings/OCaml/Makefile.in
+++ b/Bindings/OCaml/Makefile.in
@@ -55,13 +55,13 @@
all : $(OCAML_FILES)
$(OCAML_CLIBS) : brlapi_stubs.$O brlapi
- $(OCAMLMKLIB) $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
+ $(OCAMLMKLIB) -ldopt "$(LDFLAGS)" $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
$(OCAML_BCLIB) : $(OCAML_CLIBS) brlapi.cmo
$(OCAMLC) -a $(OCAMLMKLIB_FLAGS) -o $(OCAML_LIB).cma brlapi.cmo
$(OCAML_NCLIB) : $(OCAML_CLIBS) brlapi.cmx
- $(OCAMLMKLIB) $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
+ $(OCAMLMKLIB) -ldopt "$(LDFLAGS)" $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
brlapi.cmi: brlapi.mli
$(OCAMLC) -o $@ -c brlapi.mli
@@ -0,0 +1,83 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>brltty</Name>
<Homepage>http://mielke.cc/brltty</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Summary>Braille display driver for Linux/Unix</Summary>
<Description>Braille display driver for Linux/Unix</Description>
<Archive sha1sum="bc148de37b3f8bb93bebaa83008b712e427a8baf" type="tarxz">http://mielke.cc/brltty/archive/brltty-5.6.tar.xz</Archive>
<BuildDependencies>
<Dependency>gpm</Dependency>
<Dependency>tcl-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>libXt-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>espeak-devel</Dependency>
<Dependency>libXaw-devel</Dependency>
<Dependency>libXtst-devel</Dependency>
<Dependency>liblouis-devel</Dependency>
<Dependency>bluez-libs-devel</Dependency>
<Dependency>at-spi2-core-devel</Dependency>
<Dependency>speech-dispatcher-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>brltty</Name>
<RuntimeDependencies>
<Dependency>gpm</Dependency>
<Dependency>tcl</Dependency>
<Dependency>dbus</Dependency>
<Dependency>glib2</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libX11</Dependency>
<Dependency>espeak</Dependency>
<Dependency>libXaw</Dependency>
<Dependency>libXtst</Dependency>
<Dependency>liblouis</Dependency>
<Dependency>bluez-libs</Dependency>
<Dependency>at-spi2-core</Dependency>
<Dependency>speech-dispatcher</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>brltty-devel</Name>
<Summary>Development files for brltty</Summary>
<RuntimeDependencies>
<Dependency release="current">brltty</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>5.6</Version>
<Comment>First Release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
def setup():
# autotools.autoreconf("-vfi")
autotools.configure("--disable-static")
def build():
autotools.make("-j1")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog")
shelltools.export("LD_PRELOAD","%s/liblouis/.libs/liblouis.so.12" % get.curDIR())
shelltools.cd("python")
pythonmodules.install("--prefix=/usr --optimize=1")
pythonmodules.install("--prefix=/usr --optimize=1",pyVer = "3")
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>liblouis</Name>
<Homepage>http://liblouis.org/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Summary>Open-source braille translator and back-translator</Summary>
<Description>Open-source braille translator and back-translator</Description>
<Archive sha1sum="d880925ea38081dc3484281f2487679912de6689" type="targz">https://github.com/liblouis/liblouis/releases/download/v3.5.0/liblouis-3.5.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>liblouis</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>liblouis-devel</Name>
<Summary>Development files for liblouis</Summary>
<RuntimeDependencies>
<Dependency release="current">liblouis</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2018-05-06</Date>
<Version>3.5.0</Version>
<Comment>First Release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING")
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>orca</Name>
<Homepage>https://wiki.gnome.org/Projects/Orca</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Summary>Accounts and SSO (Single Sign-On) framework</Summary>
<Description>Accounts and SSO (Single Sign-On) framework for Linux and POSIX based platforms.</Description>
<Archive sha1sum="c4a7fa1cf8590319f58e6401ffbda9b50e1ee5ff" type="tarxz">mirrors://gnome/orca/3.28/orca-3.28.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>itstool</Dependency>
<Dependency>intltool</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>brltty-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>liblouis-devel</Dependency>
<Dependency>at-spi2-core-devel</Dependency>
<Dependency>python-pygobject3-devel</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
<Dependency>gst-plugins-base-next-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>orca</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>brltty</Dependency>
<Dependency>liblouis</Dependency>
<Dependency>at-spi2-core</Dependency>
<Dependency>python-pyatspi</Dependency>
<Dependency>gst-plugins-base-next</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="config">/etc</Path>
</Files>
</Package>
<!--
<Package>
<Name>orca-devel</Name>
<Summary>Development files for orca</Summary>
<RuntimeDependencies>
<Dependency release="current">orca</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
-->
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>3.28.1</Version>
<Comment>First Release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+2 -2
View File
@@ -51,8 +51,8 @@
</Package>
<History>
<Update release="2">
<Date>2018-05-01</Date>
<Update release="3">
<Date>2018-05-05</Date>
<Version>5.9.5</Version>
<Comment>Version Bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
+3 -3
View File
@@ -129,14 +129,14 @@
<History>
<Update release="8">
<Date>2018-04-26</Date>
<Update release="9">
<Date>2018-05-05</Date>
<Version>4.0</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="7">
<Update release="8">
<Date>2018-02-18</Date>
<Version>3.4.2</Version>
<Comment>Rebuild</Comment>
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>app:gui</IsA>
<Summary>Kaffeine Media Player for KDE5</Summary>
<Description>Awesome media player and vcr for KDE5.</Description>
<Archive sha1sum="6dce5c3c7422342f9b68c39c1cee2cfd8ad04a0b" type="tarxz">https://download.kde.org/stable/kaffeine/kaffeine-2.0.13.tar.xz</Archive>
<Archive sha1sum="e07633e79c76829fe2a985561ad1c711f42bb4fe" type="tarxz">https://download.kde.org/stable/kaffeine/kaffeine-2.0.15.tar.xz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
@@ -82,6 +82,13 @@
</Package>
<History>
<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>
+2 -1
View File
@@ -101,6 +101,7 @@
<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>
@@ -128,7 +129,7 @@
</Package>
<History>
<Update release="9">
<Date>2018-04-29</Date>
<Date>2018-05-05</Date>
<Version>0.28.2</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
+8 -1
View File
@@ -13,7 +13,7 @@
<IsA>app:gui</IsA>
<Summary>Qt4 based BitTorrent client</Summary>
<Description>qbittorrent is a BitTorrent client using the libtorrent library.</Description>
<Archive sha1sum="44f032003d06105799bd81e71dde6716f5687428" type="targz">https://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-4.0.4/qbittorrent-4.0.4.tar.gz</Archive>
<Archive sha1sum="c9eb9d733e77018e3e92893059c54e4a520afe06" type="targz">https://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-4.1.0/qbittorrent-4.1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
@@ -48,6 +48,13 @@
</Package>
<History>
<Update release="8">
<Date>2018-05-05</Date>
<Version>4.1.0</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2018-03-22</Date>
<Version>4.3.4</Version>
@@ -0,0 +1,167 @@
From 03bbe01b79a1f07a6780cb60f23a087104c5d77b Mon Sep 17 00:00:00 2001
From: Abs62 <ottomann@yandex.ru>
Date: Fri, 30 Mar 2018 22:53:24 +0300
Subject: [PATCH] Fix warnings while compile with FFMpeg 3.4.2 (issue #978)
---
ffmpegaudio.cc | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 62 insertions(+), 6 deletions(-)
diff --git a/ffmpegaudio.cc b/ffmpegaudio.cc
index ed1172bd..56e8f788 100644
--- a/ffmpegaudio.cc
+++ b/ffmpegaudio.cc
@@ -91,6 +91,7 @@ struct DecoderContext
QByteArray audioData_;
QDataStream audioDataStream_;
AVFormatContext * formatContext_;
+ AVCodec * codec_;
AVCodecContext * codecContext_;
AVIOContext * avioContext_;
AVStream * audioStream_;
@@ -114,6 +115,7 @@ DecoderContext::DecoderContext( QByteArray const & audioData, QAtomicInt & isCan
audioData_( audioData ),
audioDataStream_( audioData_ ),
formatContext_( NULL ),
+ codec_( NULL ),
codecContext_( NULL ),
avioContext_( NULL ),
audioStream_( NULL ),
@@ -143,7 +145,11 @@ bool DecoderContext::openCodec( QString & errorString )
return false;
}
+#if LIBAVCODEC_VERSION_MAJOR < 56 || ( LIBAVCODEC_VERSION_MAJOR == 56 && LIBAVCODEC_VERSION_MINOR < 56 )
unsigned char * avioBuffer = ( unsigned char * )av_malloc( kBufferSize + FF_INPUT_BUFFER_PADDING_SIZE );
+#else
+ unsigned char * avioBuffer = ( unsigned char * )av_malloc( kBufferSize + AV_INPUT_BUFFER_PADDING_SIZE );
+#endif
if ( !avioBuffer )
{
errorString = QObject::tr( "av_malloc() failed." );
@@ -186,7 +192,11 @@ bool DecoderContext::openCodec( QString & errorString )
// Find audio stream, use the first audio stream if available
for ( unsigned i = 0; i < formatContext_->nb_streams; i++ )
{
+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 33 )
if ( formatContext_->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO )
+#else
+ if ( formatContext_->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_AUDIO )
+#endif
{
audioStream_ = formatContext_->streams[i];
break;
@@ -198,22 +208,38 @@ bool DecoderContext::openCodec( QString & errorString )
return false;
}
+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 33 )
codecContext_ = audioStream_->codec;
- AVCodec * codec = avcodec_find_decoder( codecContext_->codec_id );
- if ( !codec )
+ codec_ = avcodec_find_decoder( codecContext_->codec_id );
+ if ( !codec_ )
{
errorString = QObject::tr( "Codec [id: %1] not found." ).arg( codecContext_->codec_id );
return false;
}
+#else
+ codec_ = avcodec_find_decoder( audioStream_->codecpar->codec_id );
+ if ( !codec_ )
+ {
+ errorString = QObject::tr( "Codec [id: %1] not found." ).arg( audioStream_->codecpar->codec_id );
+ return false;
+ }
+ codecContext_ = avcodec_alloc_context3( codec_ );
+ if ( !codecContext_ )
+ {
+ errorString = QObject::tr( "avcodec_alloc_context3() failed." );
+ return false;
+ }
+ avcodec_parameters_to_context( codecContext_, audioStream_->codecpar );
+#endif
- ret = avcodec_open2( codecContext_, codec, NULL );
+ ret = avcodec_open2( codecContext_, codec_, NULL );
if ( ret < 0 )
{
errorString = QObject::tr( "avcodec_open2() failed: %1." ).arg( avErrorString( ret ) );
return false;
}
- av_log( NULL, AV_LOG_INFO, "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec->long_name,
+ av_log( NULL, AV_LOG_INFO, "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec_->long_name,
codecContext_->channels, codecContext_->sample_rate, av_get_sample_fmt_name( codecContext_->sample_fmt ) );
return true;
}
@@ -252,10 +278,13 @@ void DecoderContext::closeCodec()
// Closing a codec context without prior avcodec_open2() will result in
// a crash in ffmpeg
- if ( audioStream_ && audioStream_->codec && audioStream_->codec->codec )
+ if ( audioStream_ && codecContext_ && codec_ )
{
audioStream_->discard = AVDISCARD_ALL;
- avcodec_close( audioStream_->codec );
+ avcodec_close( codecContext_ );
+#if LIBAVCODEC_VERSION_MAJOR > 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR >= 33 )
+ avcodec_free_context( &codecContext_ );
+#endif
}
avformat_close_input( &formatContext_ );
@@ -356,6 +385,7 @@ bool DecoderContext::play( QString & errorString )
if ( packet.stream_index == audioStream_->index )
{
AVPacket pack = packet;
+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 37 )
int gotFrame = 0;
do
{
@@ -370,6 +400,19 @@ bool DecoderContext::play( QString & errorString )
pack.data += len;
}
while( pack.size > 0 );
+#else
+ int ret = avcodec_send_packet( codecContext_, &pack );
+ /* read all the output frames (in general there may be any number of them) */
+ while( ret >= 0 )
+ {
+ ret = avcodec_receive_frame( codecContext_, frame);
+
+ if ( Qt4x5::AtomicInt::loadAcquire( isCancelled_ ) || ret < 0 )
+ break;
+
+ playFrame( frame );
+ }
+#endif
}
// av_free_packet() must be called after each call to av_read_frame()
#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 7 )
@@ -379,6 +422,7 @@ bool DecoderContext::play( QString & errorString )
#endif
}
+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 37 )
if ( !Qt4x5::AtomicInt::loadAcquire( isCancelled_ ) &&
codecContext_->codec->capabilities & CODEC_CAP_DELAY )
{
@@ -391,6 +435,18 @@ bool DecoderContext::play( QString & errorString )
playFrame( frame );
}
}
+#else
+ /* flush the decoder */
+ av_init_packet( &packet );
+ int ret = avcodec_send_packet(codecContext_, &packet );
+ while( ret >= 0 )
+ {
+ ret = avcodec_receive_frame(codecContext_, frame);
+ if ( Qt4x5::AtomicInt::loadAcquire( isCancelled_ ) || ret < 0 )
+ break;
+ playFrame( frame );
+ }
+#endif
#if LIBAVCODEC_VERSION_MAJOR < 54
av_free( frame );
+3
View File
@@ -30,6 +30,9 @@
<Dependency>lzo-devel</Dependency>
<Dependency>tiff-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>ffmpeg4.patch</Patch>
</Patches>
</Source>
<Package>
+24
View File
@@ -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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import kde5
def setup():
kde5.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_Nepomuk=OFF")
def build():
kde5.make()
def install():
kde5.install()
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING")
+98
View File
@@ -0,0 +1,98 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>tellico</Name>
<Homepage>http://tellico-project.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<Icon>tellico</Icon>
<IsA>app:gui</IsA>
<Summary>A collection manager for KDE</Summary>
<Description>Tellico is a KDE application for organizing your collections. It provides default templates for books, bibliographies, videos, music, video games, coins, stamps, trading cards, comic books, and wines.</Description>
<Archive sha1sum="cd2f3efefb30d60d49cb18a6e9e4003ef54c72e1" type="tarxz">http://tellico-project.org/files/tellico-3.1.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>libkcddb</Dependency>
<Dependency>libkcompactdisc-devel</Dependency>
<Dependency>libksane-devel</Dependency>
<Dependency>poppler-qt5-devel</Dependency>
<Dependency>kdoctools-devel</Dependency>
<Dependency>kitemmodels-devel</Dependency>
<Dependency>khtml-devel</Dependency>
<Dependency>kfilemetadata-devel</Dependency>
<Dependency>knewstuff-devel</Dependency>
<Dependency>libcdio-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>tellico</Name>
<RuntimeDependencies>
<Dependency>kio</Dependency>
<Dependency>khtml</Dependency>
<Dependency>ki18n</Dependency>
<Dependency>solid</Dependency>
<Dependency>kcrash</Dependency>
<Dependency>kparts</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>sonnet</Dependency>
<Dependency>taglib</Dependency>
<Dependency>kcodecs</Dependency>
<Dependency>kconfig</Dependency>
<Dependency>kwallet</Dependency>
<Dependency>kxmlgui</Dependency>
<Dependency>libcdio</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>karchive</Dependency>
<Dependency>kservice</Dependency>
<Dependency>libkcddb</Dependency>
<Dependency>libksane</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>knewstuff</Dependency>
<Dependency>kguiaddons</Dependency>
<Dependency>kcompletion</Dependency>
<Dependency>kcoreaddons</Dependency>
<Dependency>kiconthemes</Dependency>
<Dependency>kitemmodels</Dependency>
<Dependency>kjobwidgets</Dependency>
<Dependency>poppler-qt5</Dependency>
<Dependency>ktextwidgets</Dependency>
<Dependency>kfilemetadata</Dependency>
<Dependency>kwindowsystem</Dependency>
<Dependency>kconfigwidgets</Dependency>
<Dependency>kwidgetsaddons</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="config">/etc/xdg</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/kxmlgui5</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/tellico</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="config">/usr/share/kconf_update</Path>
<Path fileType="config">/usr/share/config.kcfg</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="data">/usr/share/mime</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-05</Date>
<Version>3.1.2</Version>
<Comment>First release.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>tellico</Name>
<Summary xml:lang="tr">KDE için koleksiyon yönetim uygulaması</Summary>
<Description xml:lang="tr">Tellico, koleksiyonlarınızı düzenlemek için kullanabileceğiniz bir KDE uygulamasıdır. Öntanımlı olarak; kitaplar, biyografiler, videolar, müzikler, oyunlar gibi bir çok şemayı destekler.</Description>
</Source>
</PISI>
+147896 -147485
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
d833777cc38a429e4b1e67e62c1373b922a252bc
8aa7256d80606efd46999c85ee6696fe188e5719
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
00e3f2726cfff2a1e6d671adbf0b8a19cee15c81
4775f257e53ccf5a85abf895b30f9575c6cc8b6e
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "pyatspi-%s" % get.srcVERSION()
def setup():
autotools.autoreconf("-fi")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "README", "NEWS")
@@ -0,0 +1,42 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-pyatspi</Name>
<Homepage>http://www.linuxfoundation.org/collaborate/workgroups/accessibility</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv2+</License>
<IsA>library</IsA>
<Summary>Python bindings for at-spi2-core</Summary>
<Description>python-pyatspi provides a python client library for the AT-SPI D-Bus accessibility infrastructure.</Description>
<Archive sha1sum="45250ae95ce37189e26f7706fe3eb8e3deff7a03" type="tarxz">http://ftp.acc.umu.se/pub/GNOME/sources/pyatspi/2.26/pyatspi-2.26.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>python-pygobject3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python-pyatspi</Name>
<RuntimeDependencies>
<Dependency>at-spi2-core</Dependency>
<Dependency>python-pygobject3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/lib/python*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>2.26.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-pyatspi</Name>
<Summary xml:lang="tr">at-spi2-core altyapısı için Python bağlayıcısı</Summary>
<Description xml:lang="tr">python-pyatspi AT-SPI D-Bus erişilebilirlik altyapısı için python istemci kitaplığıdır.</Description>
</Source>
</PISI>