/[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.194 Revision 1.195
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.194 2013/10/24 23:34:33 tomwij Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.195 2013/10/26 06:24:22 tomwij Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
182 vlm? ( encode ) 182 vlm? ( encode )
183 xv? ( xcb ) 183 xv? ( xcb )
184" 184"
185 185
186S="${WORKDIR}/${MY_P}" 186S="${WORKDIR}/${MY_P}"
187
188pkg_setup() {
189 if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
190 if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
191 die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
192 fi
193 fi
194}
187 195
188src_unpack() { 196src_unpack() {
189 if [ "${PV%9999}" != "${PV}" ] ; then 197 if [ "${PV%9999}" != "${PV}" ] ; then
190 git-r3_src_unpack 198 git-r3_src_unpack
191 else 199 else

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195

  ViewVC Help
Powered by ViewVC 1.1.20