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

Collapse All | Expand All

(-)/usr/portage/eclass/gst-plugins-ugly.eclass (-6 / +10 lines)
Lines 16-21 Link Here
16
16
17
inherit eutils versionator gst-plugins10
17
inherit eutils versionator gst-plugins10
18
18
19
GST_UGLY_EXPF="src_unpack src_compile src_install"
20
case ${EAPI:-0} in                                                                  
21
	2|3) GST_UGLY_EXPF="${GST_UGLY_EXPF} src_prepare src_configure" ;;                
22
	1|0) ;;                                                                     
23
	*) die "Unknown EAPI" ;;                                                   
24
esac                                                                                
25
EXPORT_FUNCTIONS ${GST_UGLY_EXPF}
19
26
20
###
27
###
21
# variable declarations
28
# variable declarations
Lines 67-74 Link Here
67
		gst_conf="${gst_conf} --enable-${plugin} "
74
		gst_conf="${gst_conf} --enable-${plugin} "
68
	done
75
	done
69
76
70
	cd ${S}
77
	cd "${S}"
71
	econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure"
78
	econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf}
72
79
73
}
80
}
74
81
Lines 99-105 Link Here
99
106
100
gst-plugins-ugly_src_compile() {
107
gst-plugins-ugly_src_compile() {
101
108
102
	gst-plugins-ugly_src_configure ${@}
109
	has src_configure ${GST_UGLY_EXPF} || gst-plugins-ugly_src_configure ${@}
103
110
104
	gst-plugins10_find_plugin_dir
111
	gst-plugins10_find_plugin_dir
105
	emake || die "compile failure"
112
	emake || die "compile failure"
Lines 113-118 Link Here
113
120
114
	[[ -e README ]] && dodoc README
121
	[[ -e README ]] && dodoc README
115
}
122
}
116
117
118
EXPORT_FUNCTIONS src_unpack src_compile src_install

Return to bug 332619