/[gentoo-x86]/media-video/vlc/vlc-9999.ebuild
Gentoo

Diff of /media-video/vlc/vlc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.96 Revision 1.97
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.96 2010/10/15 21:43:36 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.97 2010/10/16 01:15:49 aballier Exp $
4 4
5EAPI="3" 5EAPI="3"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
214 214
215 # It would fail if -fforce-addr is used due to too few registers... 215 # It would fail if -fforce-addr is used due to too few registers...
216 use x86 && filter-flags -fforce-addr 216 use x86 && filter-flags -fforce-addr
217 217
218 econf \ 218 econf \
219 --docdir=/usr/share/doc/${PF} \
219 $(use_enable a52) \ 220 $(use_enable a52) \
220 $(use_enable aalib aa) \ 221 $(use_enable aalib aa) \
221 $(use_enable aac faad) \ 222 $(use_enable aac faad) \
222 $(use_enable alsa) \ 223 $(use_enable alsa) \
223 $(use_enable altivec) \ 224 $(use_enable altivec) \
326 emake DESTDIR="${D}" install || die "make install failed" 327 emake DESTDIR="${D}" install || die "make install failed"
327 328
328 dodoc AUTHORS HACKING THANKS NEWS README \ 329 dodoc AUTHORS HACKING THANKS NEWS README \
329 doc/fortunes.txt doc/intf-vcd.txt 330 doc/fortunes.txt doc/intf-vcd.txt
330 331
331 rm -rf "${D}/usr/share/doc/vlc" \
332 "${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}
333
334 use skins || rm -rf "${D}/usr/share/vlc/skins2"
335
336 # Punt useless libtool's .la files 332 # Punt useless libtool's .la files
337 find "${D}" -name '*.la' -delete 333 find "${D}" -name '*.la' -delete
338} 334}
339 335
340pkg_postinst() { 336pkg_postinst() {

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97

  ViewVC Help
Powered by ViewVC 1.1.20