1 |
ssuominen 09/06/21 03:37:30 |
2 |
|
3 |
Modified: ChangeLog libtheora-1.1_alpha2.ebuild |
4 |
Removed: libtheora-1.1_alpha1.ebuild |
5 |
Log: |
6 |
Build and install png2theora (and other binaries) if USE examples is used. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.93 media-libs/libtheora/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/ChangeLog?rev=1.93&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/ChangeLog?rev=1.93&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/ChangeLog?r1=1.92&r2=1.93 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libtheora/ChangeLog,v |
19 |
retrieving revision 1.92 |
20 |
retrieving revision 1.93 |
21 |
diff -u -r1.92 -r1.93 |
22 |
--- ChangeLog 9 Jun 2009 16:55:43 -0000 1.92 |
23 |
+++ ChangeLog 21 Jun 2009 03:37:29 -0000 1.93 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for media-libs/libtheora |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/ChangeLog,v 1.92 2009/06/09 16:55:43 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/ChangeLog,v 1.93 2009/06/21 03:37:29 ssuominen Exp $ |
29 |
+ |
30 |
+ 21 Jun 2009; Samuli Suominen <ssuominen@g.o> |
31 |
+ libtheora-1.1_alpha2.ebuild: |
32 |
+ Build and install png2theora (and other binaries) if USE examples is used. |
33 |
|
34 |
*libtheora-1.1_alpha2 (09 Jun 2009) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 media-libs/libtheora/libtheora-1.1_alpha2.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/libtheora-1.1_alpha2.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/libtheora-1.1_alpha2.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/libtheora-1.1_alpha2.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: libtheora-1.1_alpha2.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.1_alpha2.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- libtheora-1.1_alpha2.ebuild 9 Jun 2009 16:55:43 -0000 1.1 |
52 |
+++ libtheora-1.1_alpha2.ebuild 21 Jun 2009 03:37:29 -0000 1.2 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2009 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.1_alpha2.ebuild,v 1.1 2009/06/09 16:55:43 ssuominen Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.1_alpha2.ebuild,v 1.2 2009/06/21 03:37:29 ssuominen Exp $ |
58 |
|
59 |
EAPI=2 |
60 |
inherit autotools eutils flag-o-matic |
61 |
@@ -15,7 +15,10 @@ |
62 |
IUSE="doc encode examples" |
63 |
|
64 |
RDEPEND="media-libs/libogg |
65 |
- encode? ( media-libs/libvorbis )" |
66 |
+ encode? ( media-libs/libvorbis ) |
67 |
+ examples? ( media-libs/libpng |
68 |
+ media-libs/libvorbis |
69 |
+ media-libs/libsdl )" |
70 |
DEPEND="${RDEPEND} |
71 |
doc? ( app-doc/doxygen ) |
72 |
dev-util/pkgconfig" |
73 |
@@ -32,25 +35,34 @@ |
74 |
use x86 && filter-flags -fforce-addr -frename-registers #200549 |
75 |
use doc || export ac_cv_prog_HAVE_DOXYGEN="false" |
76 |
|
77 |
- # Don't build specs even with doc enabled, just a few people would need |
78 |
- # it and causes sandbox violations. |
79 |
- export ac_cv_prog_HAVE_PDFLATEX="false" |
80 |
+ local myconf |
81 |
+ use examples && myconf="--enable-encode" |
82 |
|
83 |
+ # --disable-spec because LaTeX documentation has been prebuilt |
84 |
econf \ |
85 |
--disable-dependency-tracking \ |
86 |
- --disable-sdltest \ |
87 |
+ --disable-spec \ |
88 |
$(use_enable encode) \ |
89 |
- --disable-examples |
90 |
+ $(use_enable examples) \ |
91 |
+ ${myconf} |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} \ |
96 |
install || die "emake install failed" |
97 |
+ |
98 |
dodoc AUTHORS CHANGES README |
99 |
prepalldocs |
100 |
|
101 |
if use examples; then |
102 |
- insinto /usr/share/doc/${PF}/examples |
103 |
- doins examples/*.[ch] |
104 |
+ if use doc; then |
105 |
+ insinto /usr/share/doc/${PF}/examples |
106 |
+ doins examples/*.[ch] |
107 |
+ fi |
108 |
+ |
109 |
+ dobin examples/.libs/png2theora || die "dobin failed" |
110 |
+ for bin in dump_{psnr,video} {encoder,player}_example; do |
111 |
+ newbin examples/.libs/${bin} theora_${bin} || die "newbin failed" |
112 |
+ done |
113 |
fi |
114 |
} |