1 |
leio 10/07/28 05:01:51 |
2 |
|
3 |
Modified: gst-plugins-bad.eclass |
4 |
Log: |
5 |
Prepare for gst-plugins-bad-0.10.19 (added vp8 ext plugin), fix some QA warnings about missing configure options by conditional by version appending to my_gst_plugins_bad variable |
6 |
|
7 |
Revision Changes Path |
8 |
1.29 eclass/gst-plugins-bad.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-bad.eclass?rev=1.29&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-bad.eclass?rev=1.29&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-bad.eclass?r1=1.28&r2=1.29 |
13 |
|
14 |
Index: gst-plugins-bad.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v |
17 |
retrieving revision 1.28 |
18 |
retrieving revision 1.29 |
19 |
diff -u -r1.28 -r1.29 |
20 |
--- gst-plugins-bad.eclass 5 Apr 2010 02:06:59 -0000 1.28 |
21 |
+++ gst-plugins-bad.eclass 28 Jul 2010 05:01:50 -0000 1.29 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2009 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.28 2010/04/05 02:06:59 leio Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.29 2010/07/28 05:01:50 leio Exp $ |
27 |
|
28 |
# |
29 |
# Original Author: Saleem Abdulrasool <compnerd@g.o> |
30 |
@@ -9,17 +9,25 @@ |
31 |
# plugin rather than in a single package. |
32 |
# |
33 |
|
34 |
+inherit eutils gst-plugins10 versionator |
35 |
+ |
36 |
# This list is current for gst-plugins-bad-0.10.18. |
37 |
my_gst_plugins_bad="directsound directdraw osx_video quicktime vcd |
38 |
alsa assrender amrwb apexsink bz2 cdaudio celt cog directfb dirac dts divx |
39 |
dvdnav metadata faac faad fbdev flite gsm jack jp2k kate ladspa lv2 libmms |
40 |
modplug mimic mpeg2enc mplex musepack musicbrainz mythtv nas neon ofa rsvg |
41 |
timidity wildmidi sdl sdltest sndfile soundtouch spc gme swfdec theoradec xvid |
42 |
-dvb oss4 wininet acm vdpau schro zbar |
43 |
-ivorbis" |
44 |
-# ivorbis gone since 0.10.18 (moved to -base-0.10.27 as part of vorbis plugin) |
45 |
+dvb oss4 wininet acm vdpau schro zbar" |
46 |
+ |
47 |
+# When adding conditionals like this, be careful about having leading spaces |
48 |
+if version_is_at_least "0.10.19"; then |
49 |
+ my_gst_plugins_bad+=" vp8" |
50 |
+fi |
51 |
|
52 |
-inherit eutils gst-plugins10 |
53 |
+# ivorbis gone since 0.10.18 (moved to -base-0.10.27 as part of vorbis plugin) |
54 |
+if ! version_is_at_least "0.10.18"; then |
55 |
+ my_gst_plugins_bad+=" ivorbis" |
56 |
+fi |
57 |
|
58 |
MY_PN="gst-plugins-bad" |
59 |
MY_P=${MY_PN}-${PV} |