Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 242212 | Differences between
and this patch

Collapse All | Expand All

(-)plplot-5.9.5.ebuild (-5 / +7 lines)
Lines 14-20 Link Here
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
16
IUSE="ada cairo doc examples fortran gd gnome java jpeg latex octave
16
IUSE="ada cairo doc examples fortran gd gnome java jpeg latex octave
17
	 pdf perl png python qhull svg svga tcl threads tk truetype wxwindows X"
17
	 pdf perl png python qhull svg svga tcl threads tk truetype wxwidgets X"
18
18
19
RDEPEND="ada? ( virtual/gnat )
19
RDEPEND="ada? ( virtual/gnat )
20
	cairo? ( x11-libs/cairo[svg?,X?] )
20
	cairo? ( x11-libs/cairo[svg?,X?] )
Lines 34-40 Link Here
34
	truetype? ( media-fonts/freefont-ttf
34
	truetype? ( media-fonts/freefont-ttf
35
				media-libs/lasi
35
				media-libs/lasi
36
				gd? ( media-libs/gd[truetype] ) )
36
				gd? ( media-libs/gd[truetype] ) )
37
	wxwindows? ( x11-libs/wxGTK:2.8[X] x11-libs/agg )
37
	wxwidgets? ( x11-libs/wxGTK:2.8[X] x11-libs/agg[truetype?] )
38
	X? ( x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp )"
38
	X? ( x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp )"
39
39
40
DEPEND="${RDEPEND}
40
DEPEND="${RDEPEND}
Lines 58-71 Link Here
58
		fortran_pkg_setup
58
		fortran_pkg_setup
59
	fi
59
	fi
60
	export FC=${FORTRANC} F77=${FORTRANC}
60
	export FC=${FORTRANC} F77=${FORTRANC}
61
62
	wxwidgets_pkg_setup
63
}
61
}
64
62
65
src_prepare() {
63
src_prepare() {
66
	# path for python independent of python version
64
	# path for python independent of python version
67
	epatch "${FILESDIR}"/${PN}-5.9.0-python.patch
65
	epatch "${FILESDIR}"/${PN}-5.9.0-python.patch
68
66
67
	# bug #242212
68
	epatch "${FILESDIR}"/${P}-wxwidgets-cmake.patch
69
69
	# remove license
70
	# remove license
70
	sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die
71
	sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die
71
72
Lines 112-118 Link Here
112
		$(cmake-utils_use_enable tcl itcl)
113
		$(cmake-utils_use_enable tcl itcl)
113
		$(cmake-utils_use_enable tk tk)
114
		$(cmake-utils_use_enable tk tk)
114
		$(cmake-utils_use_enable tk itk)
115
		$(cmake-utils_use_enable tk itk)
115
		$(cmake-utils_use_enable wxwindows wxwidgets)
116
		$(cmake-utils_pld wxwidgets _wxwidgets)
117
		$(cmake-utils_pld wxwidgets _wxpng)
116
		$(cmake-utils_pld pdf pdf)
118
		$(cmake-utils_pld pdf pdf)
117
		$(cmake-utils_pld truetype psttf)
119
		$(cmake-utils_pld truetype psttf)
118
		$(cmake-utils_pld latex pstex)
120
		$(cmake-utils_pld latex pstex)

Return to bug 242212