1 |
aballier 13/03/04 11:40:57 |
2 |
|
3 |
Modified: ffmpeg-9999.ebuild ChangeLog |
4 |
Log: |
5 |
do an out-of-tree build |
6 |
|
7 |
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
8 |
|
9 |
Revision Changes Path |
10 |
1.117 media-video/ffmpeg/ffmpeg-9999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild?rev=1.117&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild?rev=1.117&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild?r1=1.116&r2=1.117 |
15 |
|
16 |
Index: ffmpeg-9999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v |
19 |
retrieving revision 1.116 |
20 |
retrieving revision 1.117 |
21 |
diff -u -r1.116 -r1.117 |
22 |
--- ffmpeg-9999.ebuild 22 Feb 2013 19:08:22 -0000 1.116 |
23 |
+++ ffmpeg-9999.ebuild 4 Mar 2013 11:40:57 -0000 1.117 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v 1.116 2013/02/22 19:08:22 zmedico Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v 1.117 2013/03/04 11:40:57 aballier Exp $ |
29 |
|
30 |
EAPI="4" |
31 |
|
32 |
@@ -123,6 +123,7 @@ |
33 |
test? ( encode )" |
34 |
|
35 |
S=${WORKDIR}/${P/_/-} |
36 |
+BUILD_DIR=${S}_build |
37 |
|
38 |
src_prepare() { |
39 |
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot |
40 |
@@ -132,6 +133,9 @@ |
41 |
} |
42 |
|
43 |
src_configure() { |
44 |
+ mkdir -p "${BUILD_DIR}" |
45 |
+ cd "${BUILD_DIR}" |
46 |
+ |
47 |
local myconf="${EXTRA_FFMPEG_CONF}" |
48 |
# Set to --enable-version3 if (L)GPL-3 is required |
49 |
local version3="" |
50 |
@@ -256,8 +260,7 @@ |
51 |
# Misc stuff |
52 |
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables" |
53 |
|
54 |
- cd "${S}" |
55 |
- ./configure \ |
56 |
+ "${S}/configure" \ |
57 |
--prefix="${EPREFIX}/usr" \ |
58 |
--libdir="${EPREFIX}/usr/$(get_libdir)" \ |
59 |
--shlibdir="${EPREFIX}/usr/$(get_libdir)" \ |
60 |
@@ -274,6 +277,7 @@ |
61 |
} |
62 |
|
63 |
src_compile() { |
64 |
+ cd "${BUILD_DIR}" |
65 |
emake V=1 |
66 |
|
67 |
for i in ${FFTOOLS} ; do |
68 |
@@ -284,23 +288,26 @@ |
69 |
} |
70 |
|
71 |
src_install() { |
72 |
+ cd "${BUILD_DIR}" |
73 |
emake V=1 DESTDIR="${D}" install install-man |
74 |
|
75 |
+ for i in ${FFTOOLS} ; do |
76 |
+ if use fftools_$i ; then |
77 |
+ dobin tools/$i |
78 |
+ fi |
79 |
+ done |
80 |
+ |
81 |
+ cd "${S}" |
82 |
dodoc Changelog README CREDITS doc/*.txt doc/APIchanges doc/RELEASE_NOTES |
83 |
use doc && dohtml -r doc/* |
84 |
if use examples ; then |
85 |
insinto "/usr/share/doc/${PF}/examples" |
86 |
doins -r doc/examples/* |
87 |
fi |
88 |
- |
89 |
- for i in ${FFTOOLS} ; do |
90 |
- if use fftools_$i ; then |
91 |
- dobin tools/$i |
92 |
- fi |
93 |
- done |
94 |
} |
95 |
|
96 |
src_test() { |
97 |
- LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libswresample:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil:${S}/libavresample" \ |
98 |
+ cd "${BUILD_DIR}" |
99 |
+ LD_LIBRARY_PATH="${BUILD_DIR}/libpostproc:${BUILD_DIR}/libswscale:${BUILD_DIR}/libswresample:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil:${BUILD_DIR}/libavresample" \ |
100 |
emake V=1 fate |
101 |
} |
102 |
|
103 |
|
104 |
|
105 |
1.610 media-video/ffmpeg/ChangeLog |
106 |
|
107 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ChangeLog?rev=1.610&view=markup |
108 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ChangeLog?rev=1.610&content-type=text/plain |
109 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ChangeLog?r1=1.609&r2=1.610 |
110 |
|
111 |
Index: ChangeLog |
112 |
=================================================================== |
113 |
RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v |
114 |
retrieving revision 1.609 |
115 |
retrieving revision 1.610 |
116 |
diff -u -r1.609 -r1.610 |
117 |
--- ChangeLog 4 Mar 2013 10:58:00 -0000 1.609 |
118 |
+++ ChangeLog 4 Mar 2013 11:40:57 -0000 1.610 |
119 |
@@ -1,6 +1,9 @@ |
120 |
# ChangeLog for media-video/ffmpeg |
121 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
122 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.609 2013/03/04 10:58:00 aballier Exp $ |
123 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.610 2013/03/04 11:40:57 aballier Exp $ |
124 |
+ |
125 |
+ 04 Mar 2013; Alexis Ballier <aballier@g.o> ffmpeg-9999.ebuild: |
126 |
+ do an out-of-tree build |
127 |
|
128 |
*ffmpeg-1.0.5 (04 Mar 2013) |