1 |
mgorny 15/02/07 20:17:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gst-plugins-libav-1.4.5-r1.ebuild |
5 |
gst-plugins-libav-1.2.4-r1.ebuild |
6 |
Log: |
7 |
Replace the virtual with USE=libav. |
8 |
|
9 |
(Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.57 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.57&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog?rev=1.57&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog?r1=1.56&r2=1.57 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog,v |
21 |
retrieving revision 1.56 |
22 |
retrieving revision 1.57 |
23 |
diff -u -r1.56 -r1.57 |
24 |
--- ChangeLog 4 Feb 2015 13:02:18 -0000 1.56 |
25 |
+++ ChangeLog 7 Feb 2015 20:17:43 -0000 1.57 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for media-plugins/gst-plugins-libav |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog,v 1.56 2015/02/04 13:02:18 pacho Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/ChangeLog,v 1.57 2015/02/07 20:17:43 mgorny Exp $ |
31 |
+ |
32 |
+*gst-plugins-libav-1.4.5-r1 (07 Feb 2015) |
33 |
+*gst-plugins-libav-1.2.4-r1 (07 Feb 2015) |
34 |
+ |
35 |
+ 07 Feb 2015; Michał Górny <mgorny@g.o> |
36 |
+ +gst-plugins-libav-1.2.4-r1.ebuild, +gst-plugins-libav-1.4.5-r1.ebuild: |
37 |
+ Replace the virtual with USE=libav. |
38 |
|
39 |
04 Feb 2015; Pacho Ramos <pacho@g.o> gst-plugins-libav-1.4.5.ebuild: |
40 |
Add a bug reference |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gst-plugins-libav-1.4.5-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild,v 1.1 2015/02/07 20:17:43 mgorny Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
inherit eutils flag-o-matic multilib-minimal |
57 |
|
58 |
MY_PN="gst-libav" |
59 |
DESCRIPTION="FFmpeg based gstreamer plugin" |
60 |
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" |
61 |
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="1.0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
66 |
IUSE="libav +orc" |
67 |
|
68 |
RDEPEND=" |
69 |
>=media-libs/gstreamer-1.4.0:1.0[${MULTILIB_USEDEP}] |
70 |
>=media-libs/gst-plugins-base-1.4.0:1.0[${MULTILIB_USEDEP}] |
71 |
!libav? ( >=media-video/ffmpeg-2.2:0=[${MULTILIB_USEDEP}] ) |
72 |
libav? ( >=media-video/libav-9:0=[${MULTILIB_USEDEP}] ) |
73 |
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
74 |
" |
75 |
DEPEND="${RDEPEND} |
76 |
app-arch/xz-utils |
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 |
# https://bugzilla.gnome.org/show_bug.cgi?id=743984 |
85 |
epatch "${FILESDIR}/${PN}-1.4.5-libav9.patch" |
86 |
} |
87 |
|
88 |
multilib_src_configure() { |
89 |
GST_PLUGINS_BUILD="" |
90 |
# always use system ffmpeg/libav if possible |
91 |
ECONF_SOURCE=${S} \ |
92 |
econf \ |
93 |
--disable-maintainer-mode \ |
94 |
--with-package-name="Gentoo GStreamer ebuild" \ |
95 |
--with-package-origin="http://www.gentoo.org" \ |
96 |
--disable-fatal-warnings \ |
97 |
--with-system-libav \ |
98 |
$(use_enable orc) |
99 |
} |
100 |
|
101 |
multilib_src_compile() { |
102 |
# Don't build with -Werror |
103 |
emake ERROR_CFLAGS= |
104 |
} |
105 |
|
106 |
multilib_src_install_all() { |
107 |
einstalldocs |
108 |
prune_libtool_files --modules |
109 |
} |
110 |
|
111 |
|
112 |
|
113 |
1.1 media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild?rev=1.1&view=markup |
116 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild?rev=1.1&content-type=text/plain |
117 |
|
118 |
Index: gst-plugins-libav-1.2.4-r1.ebuild |
119 |
=================================================================== |
120 |
# Copyright 1999-2015 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild,v 1.1 2015/02/07 20:17:43 mgorny Exp $ |
123 |
|
124 |
EAPI="5" |
125 |
inherit eutils flag-o-matic multilib-minimal |
126 |
|
127 |
MY_PN="gst-libav" |
128 |
DESCRIPTION="FFmpeg based gstreamer plugin" |
129 |
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" |
130 |
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" |
131 |
|
132 |
LICENSE="GPL-2" |
133 |
SLOT="1.0" |
134 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
135 |
IUSE="libav +orc" |
136 |
|
137 |
RDEPEND=" |
138 |
>=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] |
139 |
>=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}] |
140 |
libav? ( |
141 |
<media-video/libav-10:0=[${MULTILIB_USEDEP}] |
142 |
>=media-video/libav-9.12:0=[${MULTILIB_USEDEP}] ) |
143 |
!libav? ( >=media-video/ffmpeg-1.2.6-r1:0=[${MULTILIB_USEDEP}] ) |
144 |
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
145 |
" |
146 |
DEPEND="${RDEPEND} |
147 |
>=dev-util/gtk-doc-am-1.12 |
148 |
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
149 |
" |
150 |
|
151 |
S="${WORKDIR}/${MY_PN}-${PV}" |
152 |
|
153 |
src_prepare() { |
154 |
# compatibility with recent releases |
155 |
# TODO: likely apply them with libav-10 when it's out but there will |
156 |
# probably be an upstream gst-libav release compatible at that time. |
157 |
if has_version '>=media-video/ffmpeg-2.0' ; then |
158 |
sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ |
159 |
-e 's/ CodecID/ AVCodecID/g' \ |
160 |
ext/libav/*.{c,h} || die |
161 |
epatch "${FILESDIR}/${PN}-1.2.4-ffmpeg2.patch" |
162 |
epatch "${FILESDIR}/${PN}-1.2.4-fix-memory-leak.patch" #494282 |
163 |
fi |
164 |
} |
165 |
|
166 |
multilib_src_configure() { |
167 |
GST_PLUGINS_BUILD="" |
168 |
# always use system ffmpeg/libav if possible |
169 |
ECONF_SOURCE=${S} \ |
170 |
econf \ |
171 |
--disable-maintainer-mode \ |
172 |
--with-package-name="Gentoo GStreamer ebuild" \ |
173 |
--with-package-origin="http://www.gentoo.org" \ |
174 |
--disable-fatal-warnings \ |
175 |
--with-system-libav \ |
176 |
$(use_enable orc) |
177 |
} |
178 |
|
179 |
multilib_src_compile() { |
180 |
# Don't build with -Werror |
181 |
emake ERROR_CFLAGS= |
182 |
} |
183 |
|
184 |
multilib_src_install_all() { |
185 |
einstalldocs |
186 |
prune_libtool_files --modules |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
if ! use libav; then |
191 |
elog "Please note that upstream uses media-video/libav" |
192 |
elog "rather than media-video/ffmpeg. If you encounter any" |
193 |
elog "issues try to move from ffmpeg to libav." |
194 |
fi |
195 |
} |