1 |
pacho 15/05/30 15:35:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild |
5 |
Log: |
6 |
Support libav-11 too (#509326 by Nikoli, mudler and others). |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.197 media-plugins/gst-plugins-ffmpeg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.197&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.197&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?r1=1.196&r2=1.197 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v |
20 |
retrieving revision 1.196 |
21 |
retrieving revision 1.197 |
22 |
diff -u -r1.196 -r1.197 |
23 |
--- ChangeLog 29 Mar 2015 10:53:17 -0000 1.196 |
24 |
+++ ChangeLog 30 May 2015 15:35:59 -0000 1.197 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for media-plugins/gst-plugins-ffmpeg |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.196 2015/03/29 10:53:17 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.197 2015/05/30 15:35:59 pacho Exp $ |
30 |
+ |
31 |
+*gst-plugins-ffmpeg-0.10.13_p201211-r4 (30 May 2015) |
32 |
+ |
33 |
+ 30 May 2015; Pacho Ramos <pacho@g.o> |
34 |
+ +files/0.10.13_p201211-audioresample.patch, |
35 |
+ +files/0.10.13_p201211-r_frame_rate.patch, |
36 |
+ +files/0.10.13_p201211-snow-codec.patch, |
37 |
+ +gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild: |
38 |
+ Support libav-11 too (#509326 by Nikoli, mudler and others). |
39 |
|
40 |
29 Mar 2015; Jeroen Roovers <jer@g.o> |
41 |
gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2015 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild,v 1.1 2015/05/30 15:35:59 pacho Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
inherit eutils flag-o-matic multilib-minimal |
58 |
|
59 |
MY_PN="gst-ffmpeg" |
60 |
MY_P=${MY_PN}-${PV} |
61 |
|
62 |
# Create a major/minor combo for SLOT |
63 |
PVP=(${PV//[-\._]/ }) |
64 |
SLOT=${PVP[0]}.${PVP[1]} |
65 |
|
66 |
DESCRIPTION="FFmpeg based gstreamer plugin" |
67 |
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html" |
68 |
#SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2" |
69 |
SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}.tar.xz |
70 |
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-libav-9-patches.tar.xz" |
71 |
|
72 |
LICENSE="GPL-2" |
73 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
74 |
IUSE="libav +orc" |
75 |
|
76 |
S=${WORKDIR}/${MY_P} |
77 |
|
78 |
RDEPEND=" |
79 |
>=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] |
80 |
>=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] |
81 |
|
82 |
!libav? ( >=media-video/ffmpeg-1.2.6-r1:0=[${MULTILIB_USEDEP}] ) |
83 |
libav? ( |
84 |
>=media-video/libav-11.3:0=[${MULTILIB_USEDEP}] |
85 |
>=media-libs/libpostproc-10.20140517-r1:0=[${MULTILIB_USEDEP}] ) |
86 |
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
87 |
abi_x86_32? ( !app-emulation/emul-linux-x86-gstplugins[-abi_x86_32(-)] ) |
88 |
" |
89 |
DEPEND="${RDEPEND} |
90 |
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
91 |
" |
92 |
|
93 |
src_prepare() { |
94 |
sed -e 's/sleep 15//' -i configure.ac configure || die |
95 |
|
96 |
# libav-9 support backported from gst-plugins-libav-1.1.0 |
97 |
epatch ../${MY_P}-libav-9-patches/*.patch |
98 |
|
99 |
# compat bits for older ffmpeg/libav releases |
100 |
epatch "${FILESDIR}/${PV}-channel_layout.patch" \ |
101 |
"${FILESDIR}/${PV}-iscodec.patch" \ |
102 |
"${FILESDIR}/${PV}-coma.patch" \ |
103 |
"${FILESDIR}/${PV}-gstffmpegpipe_redef.patch" |
104 |
|
105 |
# compatibility with recent releases |
106 |
if has_version '>=media-video/ffmpeg-1.1' || has_version '>=media-video/libav-9' ; then |
107 |
epatch "${FILESDIR}/${PV}-planaraudio.patch" |
108 |
sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ |
109 |
-e 's/ CodecID/ AVCodecID/g' \ |
110 |
ext/ffmpeg/*.{c,h} |
111 |
epatch "${FILESDIR}/${PV}-ffmpeg2.patch" |
112 |
fi |
113 |
|
114 |
# libav 11 migration |
115 |
epatch "${FILESDIR}/${PV}-r_frame_rate.patch" |
116 |
epatch "${FILESDIR}/${PV}-audioresample.patch" |
117 |
epatch "${FILESDIR}/${PV}-snow-codec.patch" |
118 |
} |
119 |
|
120 |
multilib_src_configure() { |
121 |
# always use system ffmpeg if possible |
122 |
ECONF_SOURCE=${S} \ |
123 |
econf \ |
124 |
--with-system-ffmpeg \ |
125 |
$(use_enable orc) |
126 |
} |
127 |
|
128 |
multilib_src_install_all() { |
129 |
einstalldocs |
130 |
prune_libtool_files --modules |
131 |
} |