/[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.46 Revision 1.47
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.46 2009/10/18 21:20:22 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.47 2009/10/18 21:28:09 aballier Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
22MY_PV="${MY_PV/-beta/-test}" 22MY_PV="${MY_PV/-beta/-test}"
23MY_P="${PN}-${MY_PV}" 23MY_P="${PN}-${MY_PV}"
24VLC_SNAPSHOT_TIME="0013" 24VLC_SNAPSHOT_TIME="0013"
25 25
26PATCHLEVEL="72" 26PATCHLEVEL="72"
27M4_TARBALL_VERSION="1"
28DESCRIPTION="VLC media player - Video player and streamer" 27DESCRIPTION="VLC media player - Video player and streamer"
29HOMEPAGE="http://www.videolan.org/vlc/" 28HOMEPAGE="http://www.videolan.org/vlc/"
30if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild 29if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
31 SRC_URI="" 30 SRC_URI=""
32elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org 31elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org
37else 36else
38 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" 37 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2"
39fi 38fi
40 39
41SRC_URI="${SRC_URI} 40SRC_URI="${SRC_URI}
42 mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2 41 mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
43 mirror://gentoo/${PN}-m4-${M4_TARBALL_VERSION}.tar.bz2"
44 42
45LICENSE="GPL-2" 43LICENSE="GPL-2"
46SLOT="0" 44SLOT="0"
47 45
48KEYWORDS="" 46KEYWORDS=""
226 fi 224 fi
227 # Make it build with libtool 1.5 225 # Make it build with libtool 1.5
228 rm -f m4/lt* m4/libtool.m4 226 rm -f m4/lt* m4/libtool.m4
229 227
230 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 228 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
231 AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf 229 eautoreconf
232} 230}
233 231
234src_configure() { 232src_configure() {
235 233
236 # It would fail if -fforce-addr is used due to too few registers... 234 # It would fail if -fforce-addr is used due to too few registers...

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20