/[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.8 Revision 1.9
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.8 2014/08/10 21:00:35 slyfox Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-10.9999.ebuild,v 1.9 2014/09/13 09:34:20 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"
136MULTILIB_WRAPPED_HEADERS=( 136MULTILIB_WRAPPED_HEADERS=(
137 /usr/include/libavutil/avconfig.h 137 /usr/include/libavutil/avconfig.h
138) 138)
139 139
140src_prepare() { 140src_prepare() {
141 epatch_user
142
141 # if we have snapshot then we need to hardcode the version 143 # if we have snapshot then we need to hardcode the version
142 if [[ ${PV%_p*} != ${PV} ]]; then 144 if [[ ${PV%_p*} != ${PV} ]]; then
143 sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die 145 sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
144 fi 146 fi
145 147

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20