| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.10 2009/06/05 10:04:27 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.11 2009/06/18 16:53:58 aballier Exp $ |
| 4 | |
4 | |
| 5 | EAPI="1" |
5 | EAPI="1" |
| 6 | |
6 | |
| 7 | SCM="" |
7 | SCM="" |
| 8 | if [ "${PV%9999}" != "${PV}" ] ; then |
8 | if [ "${PV%9999}" != "${PV}" ] ; then |
| … | |
… | |
| 182 | echo "--disable-$2" |
182 | echo "--disable-$2" |
| 183 | fi |
183 | fi |
| 184 | } |
184 | } |
| 185 | |
185 | |
| 186 | pkg_setup() { |
186 | pkg_setup() { |
|
|
187 | if has_version '<=media-video/vlc-0.9.9999'; then |
|
|
188 | eerror "Please unmerge vlc-0.9.x first before installing ${P}" |
|
|
189 | eerror "If you don't do that, some plugins will get linked against" |
|
|
190 | eerror "the old ${PN} version and will not work." |
|
|
191 | die "Unmerge vlc 0.9.x first" |
|
|
192 | fi |
| 187 | vlc_use_needs skins truetype |
193 | vlc_use_needs skins truetype |
| 188 | vlc_use_force skins qt4 |
194 | vlc_use_force skins qt4 |
| 189 | vlc_use_needs cddax cdio |
195 | vlc_use_needs cddax cdio |
| 190 | vlc_use_needs vcdx cdio |
196 | vlc_use_needs vcdx cdio |
| 191 | vlc_use_needs vcdx vcdinfo |
197 | vlc_use_needs vcdx vcdinfo |