Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/gst-plugins-ffmpeg: gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild ChangeLog
Date: Sat, 07 Feb 2015 20:15:31
Message-Id: 20150207201526.59B2C11457@oystercatcher.gentoo.org
1 mgorny 15/02/07 20:15:26
2
3 Modified: ChangeLog
4 Added: gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild
5 Log:
6 Replace the virtual with USE=libav.
7
8 (Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.190 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.190&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.190&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?r1=1.189&r2=1.190
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v
20 retrieving revision 1.189
21 retrieving revision 1.190
22 diff -u -r1.189 -r1.190
23 --- ChangeLog 11 Oct 2014 13:10:50 -0000 1.189
24 +++ ChangeLog 7 Feb 2015 20:15:26 -0000 1.190
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-plugins/gst-plugins-ffmpeg
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.189 2014/10/11 13:10:50 maekke Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.190 2015/02/07 20:15:26 mgorny Exp $
31 +
32 +*gst-plugins-ffmpeg-0.10.13_p201211-r3 (07 Feb 2015)
33 +
34 + 07 Feb 2015; Michał Górny <mgorny@g.o>
35 + +gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild:
36 + Replace the virtual with USE=libav.
37
38 11 Oct 2014; Markus Meier <maekke@g.o>
39 gst-plugins-ffmpeg-0.10.13_p201211-r2.ebuild:
40
41
42
43 1.1 media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild,v 1.1 2015/02/07 20:15:26 mgorny Exp $
53
54 EAPI=5
55
56 inherit eutils flag-o-matic multilib-minimal
57
58 MY_PN="gst-ffmpeg"
59 MY_P=${MY_PN}-${PV}
60
61 # Create a major/minor combo for SLOT
62 PVP=(${PV//[-\._]/ })
63 SLOT=${PVP[0]}.${PVP[1]}
64
65 DESCRIPTION="FFmpeg based gstreamer plugin"
66 HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html"
67 #SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2"
68 SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}.tar.xz
69 http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-libav-9-patches.tar.xz"
70
71 LICENSE="GPL-2"
72 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
73 IUSE="libav +orc"
74
75 S=${WORKDIR}/${MY_P}
76
77 RDEPEND=">=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}]
78 >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}]
79
80 !libav? ( >=media-video/ffmpeg-1.2.6-r1:0=[${MULTILIB_USEDEP}] )
81 libav? ( >=media-video/libav-9.12:0=[${MULTILIB_USEDEP}]
82 >=media-libs/libpostproc-10.20140517-r1:0=[${MULTILIB_USEDEP}] )
83 orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )"
84 DEPEND="${RDEPEND}
85 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
86 RDEPEND="${RDEPEND}
87 abi_x86_32? (
88 !app-emulation/emul-linux-x86-gstplugins[-abi_x86_32(-)]
89 )"
90
91 src_prepare() {
92 sed -e 's/sleep 15//' -i configure.ac configure || die
93
94 # libav-9 support backported from gst-plugins-libav-1.1.0
95 epatch ../${MY_P}-libav-9-patches/*.patch
96
97 # compat bits for older ffmpeg/libav releases
98 epatch "${FILESDIR}/${PV}-channel_layout.patch" \
99 "${FILESDIR}/${PV}-iscodec.patch" \
100 "${FILESDIR}/${PV}-coma.patch" \
101 "${FILESDIR}/${PV}-gstffmpegpipe_redef.patch"
102
103 # compatibility with recent releases
104 if has_version '>=media-video/ffmpeg-1.1' || has_version '>=media-video/libav-9' ; then
105 epatch "${FILESDIR}/${PV}-planaraudio.patch"
106 sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \
107 -e 's/ CodecID/ AVCodecID/g' \
108 ext/ffmpeg/*.{c,h}
109 epatch "${FILESDIR}/${PV}-ffmpeg2.patch"
110 fi
111 }
112
113 multilib_src_configure() {
114 # always use system ffmpeg if possible
115 ECONF_SOURCE=${S} \
116 econf \
117 --with-system-ffmpeg \
118 $(use_enable orc)
119 }
120
121 multilib_src_install_all() {
122 einstalldocs
123 prune_libtool_files --modules
124 }
125
126 pkg_postinst() {
127 if ! use libav; then
128 elog "Please note that upstream uses media-video/libav"
129 elog "rather than media-video/ffmpeg. If you encounter any"
130 elog "issues try to move from ffmpeg to libav."
131 fi
132 }