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