Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/gst-plugins-ffmpeg: ChangeLog gst-plugins-ffmpeg-0.10.4.ebuild
Date: Sun, 22 Jun 2008 23:24:04
Message-Id: E1KAYuc-0002VO-Gx@stork.gentoo.org
1 loki_val 08/06/22 23:23:58
2
3 Modified: ChangeLog
4 Added: gst-plugins-ffmpeg-0.10.4.ebuild
5 Log:
6 Bumping to 0.10.4, to get something that compiles with gcc-4.3. Solves 226023, 225855 and 137401. Uses system ffmpeg, despite upstream recommending against it. Debian, Ubuntu and a few others are already doing this, though.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
8
9 Revision Changes Path
10 1.84 media-plugins/gst-plugins-ffmpeg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.84&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?rev=1.84&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog?r1=1.83&r2=1.84
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v
19 retrieving revision 1.83
20 retrieving revision 1.84
21 diff -u -r1.83 -r1.84
22 --- ChangeLog 22 Feb 2008 10:41:38 -0000 1.83
23 +++ ChangeLog 22 Jun 2008 23:23:57 -0000 1.84
24 @@ -1,6 +1,15 @@
25 # ChangeLog for media-plugins/gst-plugins-ffmpeg
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.83 2008/02/22 10:41:38 zaheerm Exp $
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 +
30 +*gst-plugins-ffmpeg-0.10.4 (22 Jun 2008)
31 +
32 + 22 Jun 2008; Peter Alfredsen <loki_val@g.o>
33 + +gst-plugins-ffmpeg-0.10.4.ebuild:
34 + Bumping to 0.10.4, to get something that compiles with gcc-4.3. Solves
35 + 226023, 225855 and 137401. Uses system ffmpeg, despite upstream
36 + recommending against it. Debian, Ubuntu and a few others are already doing
37 + this, though.
38
39 22 Feb 2008; Zaheer Abbas Merali <zaheerm@g.o>
40 gst-plugins-ffmpeg-0.10.1-r1.ebuild,
41
42
43
44 1.1 media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gst-plugins-ffmpeg-0.10.4.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4.ebuild,v 1.1 2008/06/22 23:23:58 loki_val Exp $
54
55 inherit flag-o-matic eutils
56
57 MY_PN=${PN/-plugins/}
58 MY_P=${MY_PN}-${PV}
59
60 # Create a major/minor combo for SLOT
61 PVP=(${PV//[-\._]/ })
62 SLOT=${PVP[0]}.${PVP[1]}
63 #SLOT=0.10
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
69 LICENSE="GPL-2"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
71 IUSE=""
72
73 S=${WORKDIR}/${MY_P}
74
75 RDEPEND=">=media-libs/gstreamer-0.10.4
76 >=media-libs/gst-plugins-base-0.10.4
77 >=dev-libs/liboil-0.3.6
78 >=media-video/ffmpeg-0.4.9_p20080326"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85 sed -i \
86 -e 's,ffmpeg/avformat.h,libavformat/avformat.h,' \
87 -e 's,ffmpeg/avcodec.h,libavcodec/avcodec.h,' \
88 -e 's,ffmpeg/swscale.h,libswscale/swscale.h,' \
89 -e 's,postproc/postprocess.h,libpostproc/postprocess.h,' \
90 ext/ffmpeg/gst* \
91 ext/libpostproc/gstpostproc.c \
92 || die "404. No files found."
93 }
94
95 src_compile() {
96 # Restrictions taken from the mplayer ebuild
97 # See bug #64262 for more info
98 # let's play the filtration game!
99 filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb
100 # ugly optimizations cause MPlayer to cry on x86 systems!
101 if use x86 ; then
102 replace-flags -O0 -O2
103 replace-flags -O3 -O2
104 fi
105
106 econf --with-system-ffmpeg
107 emake || die "emake failed."
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die "emake install failed."
112 dodoc AUTHORS ChangeLog NEWS README TODO
113 }
114
115
116
117 --
118 gentoo-commits@l.g.o mailing list