/[gentoo-x86]/sci-geosciences/grass/grass-6.4.2.ebuild
Gentoo

Diff of /sci-geosciences/grass/grass-6.4.2.ebuild

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

Revision 1.5 Revision 1.6
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/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.5 2013/01/17 20:55:37 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.6 2013/01/18 01:28:52 lu_zero Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7PYTHON_DEPEND="python? 2" 7PYTHON_DEPEND="python? 2"
8WANT_AUTOCONF="2.1"
8 9
9inherit eutils gnome2 multilib python versionator wxwidgets base 10inherit eutils gnome2 multilib python versionator wxwidgets base autotools
10 11
11MY_PM=${PN}$(get_version_component_range 1-2 ${PV}) 12MY_PM=${PN}$(get_version_component_range 1-2 ${PV})
12MY_PM=${MY_PM/.} 13MY_PM=${MY_PM/.}
13MY_P=${P/_rc/RC} 14MY_P=${P/_rc/RC}
14 15
91 92
92PATCHES=( 93PATCHES=(
93 "${FILESDIR}"/${PN}-pkgconf.patch 94 "${FILESDIR}"/${PN}-pkgconf.patch
94 "${FILESDIR}"/${PN}-6.4.1-libav-0.8.patch 95 "${FILESDIR}"/${PN}-6.4.1-libav-0.8.patch
95 "${FILESDIR}"/${PN}-6.4.2-ffmpeg-1.patch 96 "${FILESDIR}"/${PN}-6.4.2-ffmpeg-1.patch
97 "${FILESDIR}"/${PN}-6.4.2-configure.patch
98 "${FILESDIR}"/${PN}-6.4.2-libav-9.patch
96) 99)
97 100
98REQUIRED_USE=" 101REQUIRED_USE="
99 motif? ( X ) 102 motif? ( X )
100 opengl? ( X ) 103 opengl? ( X )
129} 132}
130 133
131src_prepare() { 134src_prepare() {
132 use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch 135 use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
133 base_src_prepare 136 base_src_prepare
137 eautoconf
134} 138}
135 139
136src_configure() { 140src_configure() {
137 local myconf TCL_LIBDIR 141 local myconf TCL_LIBDIR
138 142
186 $(use_enable ppc64 64bit) \ 190 $(use_enable ppc64 64bit) \
187 $(use_with cairo) \ 191 $(use_with cairo) \
188 $(use_with cxx) \ 192 $(use_with cxx) \
189 $(use_with fftw) \ 193 $(use_with fftw) \
190 $(use_with ffmpeg) \ 194 $(use_with ffmpeg) \
191 --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavdevice /usr/include/libavfilter /usr/include/libavformat /usr/include/libavutil /usr/include/libpostproc /usr/include/libswscale" \
192 $(use_with gmath blas) \ 195 $(use_with gmath blas) \
193 $(use_with gmath lapack) \ 196 $(use_with gmath lapack) \
194 $(use_with jpeg) \ 197 $(use_with jpeg) \
195 $(use_with mysql) \ 198 $(use_with mysql) \
196 --with-mysql-includes=/usr/include/mysql \ 199 --with-mysql-includes=/usr/include/mysql \

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

  ViewVC Help
Powered by ViewVC 1.1.20