1 |
loki_val 08/06/23 22:34:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gst-plugins-ffmpeg-0.10.4-r1.ebuild |
5 |
Removed: gst-plugins-ffmpeg-0.10.4.ebuild |
6 |
Log: |
7 |
Revbump with patches to fix interaction with newer ffmpeg, courtesy of Debian. Fixes bug 229015. |
8 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.85 media-plugins/gst-plugins-ffmpeg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.85&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.85&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?r1=1.84&r2=1.85 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v |
20 |
retrieving revision 1.84 |
21 |
retrieving revision 1.85 |
22 |
diff -u -r1.84 -r1.85 |
23 |
--- ChangeLog 22 Jun 2008 23:23:57 -0000 1.84 |
24 |
+++ ChangeLog 23 Jun 2008 22:34:46 -0000 1.85 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for media-plugins/gst-plugins-ffmpeg |
27 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.84 2008/06/22 23:23:57 loki_val Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.85 2008/06/23 22:34:46 loki_val Exp $ |
30 |
+ |
31 |
+*gst-plugins-ffmpeg-0.10.4-r1 (23 Jun 2008) |
32 |
+ |
33 |
+ 23 Jun 2008; Peter Alfredsen <loki_val@g.o> |
34 |
+ +files/0.10.4/01_new-codec-ids.patch, +files/0.10.4/03_disable-aac.patch, |
35 |
+ +files/0.10.4/02_av_picture_copy.patch, |
36 |
+ +files/0.10.4/04_disable-mpegts.patch, -gst-plugins-ffmpeg-0.10.4.ebuild, |
37 |
+ +gst-plugins-ffmpeg-0.10.4-r1.ebuild: |
38 |
+ Revbump with patches to fix interaction with newer ffmpeg, courtesy of |
39 |
+ Debian. Fixes bug 229015. |
40 |
|
41 |
*gst-plugins-ffmpeg-0.10.4 (22 Jun 2008) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: gst-plugins-ffmpeg-0.10.4-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4-r1.ebuild,v 1.1 2008/06/23 22:34:46 loki_val Exp $ |
56 |
|
57 |
inherit flag-o-matic eutils base |
58 |
|
59 |
PD=${FILESDIR}/${PV} |
60 |
MY_PN=${PN/-plugins} |
61 |
MY_P=${MY_PN}-${PV} |
62 |
|
63 |
# Create a major/minor combo for SLOT |
64 |
PVP=(${PV//[-\._]/ }) |
65 |
SLOT=${PVP[0]}.${PVP[1]} |
66 |
#SLOT=0.10 |
67 |
|
68 |
DESCRIPTION="FFmpeg based gstreamer plugin" |
69 |
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html" |
70 |
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2" |
71 |
|
72 |
LICENSE="GPL-2" |
73 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
74 |
IUSE="" |
75 |
|
76 |
S=${WORKDIR}/${MY_P} |
77 |
|
78 |
RDEPEND=">=media-libs/gstreamer-0.10.4 |
79 |
>=media-libs/gst-plugins-base-0.10.4 |
80 |
>=dev-libs/liboil-0.3.6 |
81 |
>=media-video/ffmpeg-0.4.9_p20080326" |
82 |
DEPEND="${RDEPEND} |
83 |
dev-util/pkgconfig" |
84 |
|
85 |
PATCHES=( "${PD}/01_new-codec-ids.patch" |
86 |
"${PD}/02_av_picture_copy.patch" |
87 |
"${PD}/03_disable-aac.patch" |
88 |
"${PD}/04_disable-mpegts.patch" ) |
89 |
|
90 |
src_unpack() { |
91 |
unpack ${A} |
92 |
cd "${S}" |
93 |
base_src_unpack autopatch |
94 |
sed -i \ |
95 |
-e 's,ffmpeg/avformat.h,libavformat/avformat.h,' \ |
96 |
-e 's,ffmpeg/avcodec.h,libavcodec/avcodec.h,' \ |
97 |
-e 's,ffmpeg/swscale.h,libswscale/swscale.h,' \ |
98 |
-e 's,postproc/postprocess.h,libpostproc/postprocess.h,' \ |
99 |
ext/ffmpeg/gst* \ |
100 |
ext/libpostproc/gstpostproc.c \ |
101 |
|| die "404. No files found." |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
# Restrictions taken from the mplayer ebuild |
106 |
# See bug #64262 for more info |
107 |
# let's play the filtration game! |
108 |
filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb |
109 |
# ugly optimizations cause MPlayer to cry on x86 systems! |
110 |
if use x86 ; then |
111 |
replace-flags -O0 -O2 |
112 |
replace-flags -O3 -O2 |
113 |
fi |
114 |
|
115 |
econf --with-system-ffmpeg |
116 |
emake || die "emake failed." |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
emake DESTDIR="${D}" install || die "emake install failed." |
121 |
dodoc AUTHORS ChangeLog NEWS README TODO |
122 |
} |
123 |
|
124 |
|
125 |
|
126 |
-- |
127 |
gentoo-commits@l.g.o mailing list |