/[gentoo-x86]/media-video/libav/libav-10.9999.ebuild
Gentoo

Diff of /media-video/libav/libav-10.9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/libav/libav-10.9999.ebuild,v 1.4 2014/06/07 21:32:06 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-10.9999.ebuild,v 1.5 2014/06/16 22:03:07 mgorny Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7if [[ ${PV} == *9999 ]] ; then 7if [[ ${PV} == *9999 ]] ; then
8 SCM="git-2" 8 SCM="git-2"
131" 131"
132 132
133# Test on live ebuild are not possible as they require trunk fate 133# Test on live ebuild are not possible as they require trunk fate
134RESTRICT="test" 134RESTRICT="test"
135 135
136MULTILIB_WRAPPED_HEADERS=(
137 /usr/include/libavutil/avconfig.h
138)
139
136src_prepare() { 140src_prepare() {
137 # if we have snapshot then we need to hardcode the version 141 # if we have snapshot then we need to hardcode the version
138 if [[ ${PV%_p*} != ${PV} ]]; then 142 if [[ ${PV%_p*} != ${PV} ]]; then
139 sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die 143 sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
140 fi 144 fi

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20