Lines 16-21
Link Here
|
16 |
|
16 |
|
17 |
inherit eutils versionator gst-plugins10 |
17 |
inherit eutils versionator gst-plugins10 |
18 |
|
18 |
|
|
|
19 |
GST_GOOD_EXPF="src_unpack src_compile src_install" |
20 |
case ${EAPI:-0} in |
21 |
2|3) GST_GOOD_EXPF="${GST_GOOD_EXPF} src_prepare src_configure" ;; |
22 |
1|0) ;; |
23 |
*) die "Unknown EAPI" ;; |
24 |
esac |
25 |
EXPORT_FUNCTIONS ${GST_GOOD_EXPF} |
19 |
|
26 |
|
20 |
### |
27 |
### |
21 |
# variable declarations |
28 |
# variable declarations |
Lines 77-84
Link Here
|
77 |
gst_conf="${gst_conf} --enable-${plugin} " |
84 |
gst_conf="${gst_conf} --enable-${plugin} " |
78 |
done |
85 |
done |
79 |
|
86 |
|
80 |
cd ${S} |
87 |
cd "${S}" |
81 |
econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure" |
88 |
econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} |
82 |
|
89 |
|
83 |
} |
90 |
} |
84 |
|
91 |
|
Lines 109-115
Link Here
|
109 |
|
116 |
|
110 |
gst-plugins-good_src_compile() { |
117 |
gst-plugins-good_src_compile() { |
111 |
|
118 |
|
112 |
gst-plugins-good_src_configure ${@} |
119 |
has src_configure ${GST_GOOD_EXPF} || gst-plugins-good_src_configure ${@} |
113 |
|
120 |
|
114 |
gst-plugins10_find_plugin_dir |
121 |
gst-plugins10_find_plugin_dir |
115 |
emake || die "compile failure" |
122 |
emake || die "compile failure" |
Lines 123-127
Link Here
|
123 |
|
130 |
|
124 |
[[ -e README ]] && dodoc README |
131 |
[[ -e README ]] && dodoc README |
125 |
} |
132 |
} |
126 |
|
|
|
127 |
EXPORT_FUNCTIONS src_unpack src_compile src_install |