/[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.104 Revision 1.105
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.104 2011/02/16 14:39:41 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.105 2011/02/16 15:20:56 aballier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
155 xv? ( xcb ) 155 xv? ( xcb )
156" 156"
157 157
158S="${WORKDIR}/${MY_P}" 158S="${WORKDIR}/${MY_P}"
159 159
160pkg_setup() {
161 if use !qt4; then
162 ewarn "You have disabled the qt4 useflag, ${PN} will not have any"
163 ewarn "graphical interface. Maybe that is not what you want..."
164 fi
165}
166
167src_unpack() { 160src_unpack() {
168 unpack ${A} 161 unpack ${A}
169 if [ "${PV%9999}" != "${PV}" ] ; then 162 if [ "${PV%9999}" != "${PV}" ] ; then
170 git_src_unpack 163 git_src_unpack
171 fi 164 fi
181 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 174 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
182 eautoreconf 175 eautoreconf
183} 176}
184 177
185src_configure() { 178src_configure() {
186
187 # It would fail if -fforce-addr is used due to too few registers...
188 use x86 && filter-flags -fforce-addr
189
190 # needs libresid-builder from libsidplay:2 which is in another directory... 179 # needs libresid-builder from libsidplay:2 which is in another directory...
191 # FIXME! 180 # FIXME!
192 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" 181 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
193 182
194 econf \ 183 econf \

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105

  ViewVC Help
Powered by ViewVC 1.1.20