1 |
pacho 14/06/25 09:32:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gst-plugins-libav-1.2.4.ebuild |
5 |
Removed: gst-plugins-libav-1.2.0.ebuild |
6 |
Log: |
7 |
Version bump, fix memory leak (#494282) |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.42 media-plugins/gst-plugins-libav/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog?rev=1.42&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog?rev=1.42&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog?r1=1.41&r2=1.42 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog,v |
21 |
retrieving revision 1.41 |
22 |
retrieving revision 1.42 |
23 |
diff -u -r1.41 -r1.42 |
24 |
--- ChangeLog 18 Jun 2014 20:10:16 -0000 1.41 |
25 |
+++ ChangeLog 25 Jun 2014 09:32:27 -0000 1.42 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for media-plugins/gst-plugins-libav |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog,v 1.41 2014/06/18 20:10:16 mgorny Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog,v 1.42 2014/06/25 09:32:27 pacho Exp $ |
31 |
+ |
32 |
+*gst-plugins-libav-1.2.4 (25 Jun 2014) |
33 |
+ |
34 |
+ 25 Jun 2014; Pacho Ramos <pacho@g.o> |
35 |
+ +files/gst-plugins-libav-1.2.4-ffmpeg2.patch, |
36 |
+ +files/gst-plugins-libav-1.2.4-fix-memory-leak.patch, |
37 |
+ +gst-plugins-libav-1.2.4.ebuild, -gst-plugins-libav-1.2.0.ebuild: |
38 |
+ Version bump, fix memory leak (#494282) |
39 |
|
40 |
18 Jun 2014; Michał Górny <mgorny@g.o> |
41 |
gst-plugins-libav-1.2.0-r1.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: gst-plugins-libav-1.2.4.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild,v 1.1 2014/06/25 09:32:27 pacho Exp $ |
55 |
|
56 |
EAPI="5" |
57 |
inherit eutils flag-o-matic multilib-minimal |
58 |
|
59 |
MY_PN="gst-libav" |
60 |
DESCRIPTION="FFmpeg based gstreamer plugin" |
61 |
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" |
62 |
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="1.0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
67 |
IUSE="+orc" |
68 |
|
69 |
RDEPEND=" |
70 |
>=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] |
71 |
>=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}] |
72 |
>=virtual/ffmpeg-9-r1[${MULTILIB_USEDEP}] |
73 |
!!<media-video/libav-10 |
74 |
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
75 |
" |
76 |
DEPEND="${RDEPEND} |
77 |
>=dev-util/gtk-doc-am-1.12 |
78 |
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
79 |
" |
80 |
|
81 |
S="${WORKDIR}/${MY_PN}-${PV}" |
82 |
|
83 |
src_prepare() { |
84 |
# compatibility with recent releases |
85 |
# TODO: likely apply them with libav-10 when it's out but there will |
86 |
# probably be an upstream gst-libav release compatible at that time. |
87 |
if has_version '>=media-video/ffmpeg-2.0' ; then |
88 |
sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ |
89 |
-e 's/ CodecID/ AVCodecID/g' \ |
90 |
ext/libav/*.{c,h} || die |
91 |
epatch "${FILESDIR}/${PN}-1.2.4-ffmpeg2.patch" |
92 |
epatch "${FILESDIR}/${PN}-1.2.4-fix-memory-leak.patch" #494282 |
93 |
fi |
94 |
} |
95 |
|
96 |
multilib_src_configure() { |
97 |
GST_PLUGINS_BUILD="" |
98 |
# always use system ffmpeg/libav if possible |
99 |
ECONF_SOURCE=${S} \ |
100 |
econf \ |
101 |
--disable-maintainer-mode \ |
102 |
--with-package-name="Gentoo GStreamer ebuild" \ |
103 |
--with-package-origin="http://www.gentoo.org" \ |
104 |
--disable-fatal-warnings \ |
105 |
--with-system-libav \ |
106 |
$(use_enable orc) |
107 |
} |
108 |
|
109 |
multilib_src_compile() { |
110 |
# Don't build with -Werror |
111 |
emake ERROR_CFLAGS= |
112 |
} |
113 |
|
114 |
multilib_src_install_all() { |
115 |
einstalldocs |
116 |
prune_libtool_files --modules |
117 |
} |
118 |
|
119 |
pkg_postinst() { |
120 |
if has_version "media-video/ffmpeg"; then |
121 |
elog "Please note that upstream uses media-video/libav" |
122 |
elog "rather than media-video/ffmpeg. If you encounter any" |
123 |
elog "issues try to move from ffmpeg to libav." |
124 |
fi |
125 |
} |