| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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/libav/libav-9999.ebuild,v 1.28 2012/02/08 19:43:51 flameeyes Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9999.ebuild,v 1.29 2012/02/09 22:28:49 flameeyes Exp $ |
| 4 | |
4 | |
| 5 | EAPI=4 |
5 | EAPI=4 |
| 6 | |
6 | |
| 7 | if [[ ${PV} == *9999 ]] ; then |
7 | if [[ ${PV} == *9999 ]] ; then |
| 8 | SCM="git-2" |
8 | SCM="git-2" |
| … | |
… | |
| 282 | |
282 | |
| 283 | if use qt-faststart; then |
283 | if use qt-faststart; then |
| 284 | dobin tools/qt-faststart |
284 | dobin tools/qt-faststart |
| 285 | fi |
285 | fi |
| 286 | |
286 | |
| 287 | for i in avplay avserver avprobe; do |
287 | for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do |
| 288 | dosym ${i} /usr/bin/${i/av/ff} |
288 | dosym ${i} /usr/bin/${i/av/ff} |
| 289 | done |
289 | done |
| 290 | } |
290 | } |
| 291 | |
291 | |
| 292 | pkg_postinst() { |
292 | pkg_postinst() { |