/[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.21 Revision 1.22
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.21 2009/07/13 09:10:54 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.22 2009/07/21 09:24:59 aballier Exp $
4 4
5EAPI="1" 5EAPI="2"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
9 SCM=git 9 SCM=git
10 EGIT_REPO_URI="git://git.videolan.org/vlc.git" 10 EGIT_REPO_URI="git://git.videolan.org/vlc.git"
219src_unpack() { 219src_unpack() {
220 unpack ${A} 220 unpack ${A}
221 if [ "${PV%9999}" != "${PV}" ] ; then 221 if [ "${PV%9999}" != "${PV}" ] ; then
222 git_src_unpack 222 git_src_unpack
223 fi 223 fi
224 cd "${S}" 224}
225 225
226src_prepare() {
227 if [ "${PV%9999}" != "${PV}" ] ; then
228 git_src_prepare
229 fi
226 # Make it build with libtool 1.5 230 # Make it build with libtool 1.5
227 rm -f m4/lt* m4/libtool.m4 231 rm -f m4/lt* m4/libtool.m4
228 232
229 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 233 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
230 AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf 234 AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf
231} 235}
232 236
233src_compile () { 237src_configure() {
234 238
235 # It would fail if -fforce-addr is used due to too few registers... 239 # It would fail if -fforce-addr is used due to too few registers...
236 use x86 && filter-flags -fforce-addr 240 use x86 && filter-flags -fforce-addr
237 241
238 local MOZILLA_PC 242 local MOZILLA_PC
358 --disable-optimizations \ 362 --disable-optimizations \
359 --enable-fast-install \ 363 --enable-fast-install \
360 $(vlc_use_enable_force vlm vlm sout) \ 364 $(vlc_use_enable_force vlm vlm sout) \
361 $(vlc_use_enable_force skins skins2 qt4) \ 365 $(vlc_use_enable_force skins skins2 qt4) \
362 $(vlc_use_enable_force remoteosd remoteosd libgcrypt) 366 $(vlc_use_enable_force remoteosd remoteosd libgcrypt)
363
364 emake || die "make of VLC failed"
365} 367}
366 368
367src_install() { 369src_install() {
368 emake DESTDIR="${D}" install || die "make install failed" 370 emake DESTDIR="${D}" install || die "make install failed"
369 371

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20