/[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.147 Revision 1.148
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.147 2011/09/08 18:57:26 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.148 2011/09/21 08:58:32 mgorny Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
9 SCM=git 9 SCM=git-2
10 EGIT_BOOTSTRAP="bootstrap" 10 EGIT_BOOTSTRAP="bootstrap"
11 EGIT_BRANCH=master
12 EGIT_PROJECT=${P}
13 if [ "${PV%.9999}" != "${PV}" ] ; then 11 if [ "${PV%.9999}" != "${PV}" ] ; then
14 EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" 12 EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
15 else 13 else
16 EGIT_REPO_URI="git://git.videolan.org/vlc.git" 14 EGIT_REPO_URI="git://git.videolan.org/vlc.git"
17 fi 15 fi
179S="${WORKDIR}/${MY_P}" 177S="${WORKDIR}/${MY_P}"
180 178
181src_unpack() { 179src_unpack() {
182 unpack ${A} 180 unpack ${A}
183 if [ "${PV%9999}" != "${PV}" ] ; then 181 if [ "${PV%9999}" != "${PV}" ] ; then
184 git_src_unpack 182 git-2_src_unpack
185 fi 183 fi
186} 184}
187 185
188src_prepare() { 186src_prepare() {
189 if [ "${PV%9999}" != "${PV}" ] ; then
190 git_src_prepare
191 fi
192 # Make it build with libtool 1.5 187 # Make it build with libtool 1.5
193 rm -f m4/lt* m4/libtool.m4 188 rm -f m4/lt* m4/libtool.m4
194 189
195 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 190 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
196 eautoreconf 191 eautoreconf

Legend:
Removed from v.1.147  
changed lines
  Added in v.1.148

  ViewVC Help
Powered by ViewVC 1.1.20