-DIST karlyriceditor-1.11.tar.gz 275744 SHA256 55c074111d5e22950d9ef270d5c38f52bc3da167081efe570f77b8f4e578b8dc SHA512 d86cc10c18bff321d2f22b4b810bcc52189602bfddbe8cbdd99120cf281dc673221ce75c9a8e07b8bab03f9a60c3634853177b3fa72e3f1213b96a3303568820 WHIRLPOOL 9495665856346ab54a0662a2a89bb7a10358f16d9844491ddcb9105cc266c1994b786b60bf56b5c206e2740aa77599653cb5c23ae88cdb026bd44adafa7a77a8
DIST karlyriceditor-2.1.tar.gz 276784 SHA256 1f9ec6717491fac6dda1883dfdbc53d32d6031092b1afa78aa2077a36c54fb97 SHA512 3b07abb9151c745f126c3a8215e94e0d0a00fbf3732c30de7bf47b7013174dfd2d087a4ec2c23bcecf28cd0ba3f5513dd9cb5729ffd486df0bb804a250c24af6 WHIRLPOOL b68389ec853244a00884f3f304c3931cf3c1b97ca80731a4ec5a282ef4065551d14f9e312e47e4196972cbf7357bd8680b8783b887075106cf014be82d0b1d93
+++ /dev/null
---- src/ffmpeg_headers.h
-+++ src/ffmpeg_headers.h
-@@ -32,6 +32,7 @@
-
- #include "libavcodec/avcodec.h"
- #include "libavformat/avformat.h"
-+#include "libavutil/mathematics.h"
- #include "libswscale/swscale.h"
-
- };
+++ /dev/null
-Index: karlyriceditor-1.4/src/ffmpegvideoencoder.cpp
-===================================================================
---- karlyriceditor-1.4.orig/src/ffmpegvideoencoder.cpp
-+++ karlyriceditor-1.4/src/ffmpegvideoencoder.cpp
-@@ -397,6 +397,13 @@ int FFMpegVideoEncoderPriv::encodeImage(
- // SWS conversion
- convertImage_sws(img);
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54,2,0)
-+ int out_size = avcodec_encode_video(pVideoCodecCtx,outbuf,outbuf_size,ppicture);
-+
-+ if (out_size > 0)
-+ {
-+ av_init_packet(&pkt);
-+#else
- av_init_packet( &pkt );
- pkt.data = NULL;
- pkt.size = 0;
-@@ -408,6 +415,7 @@ int FFMpegVideoEncoderPriv::encodeImage(
-
- if ( got_packet )
- {
-+#endif
- if ( pVideoCodecCtx->coded_frame->pts != (int64_t) (0x8000000000000000LL) )
- pkt.pts= av_rescale_q(pVideoCodecCtx->coded_frame->pts, pVideoCodecCtx->time_base, pVideoStream->time_base);
-
-@@ -415,6 +423,10 @@ int FFMpegVideoEncoderPriv::encodeImage(
- pkt.flags |= AV_PKT_FLAG_KEY;
-
- pkt.stream_index = pVideoStream->index;
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54,2,0)
-+ pkt.data = outbuf;
-+ pkt.size = out_size;
-+#endif
-
- int ret = av_interleaved_write_frame(pOutputCtx, &pkt);
-
+++ /dev/null
-Index: karlyriceditor-1.4/src/kfn_file_parser.cpp
-===================================================================
---- karlyriceditor-1.4.orig/src/kfn_file_parser.cpp
-+++ karlyriceditor-1.4/src/kfn_file_parser.cpp
-@@ -311,7 +311,7 @@ QByteArray KFNFileParser::extract( const
-
- while ( total_in < entry.length_in )
- {
-- int toRead = qMin( sizeof(buffer), (unsigned int) entry.length_in - total_in );
-+ int toRead = qMin( sizeof(buffer), (size_t) entry.length_in - total_in );
- int bytesRead = m_file.read( buffer, toRead );
-
- // We might need to write less than we read since the file is rounded to 16 bytes
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils qt4-r2
-
-DESCRIPTION="Application to edit and synchronize lyrics with karaoke songs in various formats"
-HOMEPAGE="http://www.ulduzsoft.com/linux/karaoke-lyrics-editor/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="libav"
-
-RDEPEND="
- dev-libs/openssl:0
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- media-libs/libsdl[sound]
- libav? ( media-video/libav:= )
- !libav? ( media-video/ffmpeg:= )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}/${P}-libav.patch" )
-
-src_install() {
- dodoc Changelog
- dobin bin/${PN}
- doicon packages/${PN}.png
- make_desktop_entry ${PN} 'Karaoke Lyrics Editor'
-}