Lines 16-21
Link Here
|
16 |
|
16 |
|
17 |
inherit eutils gst-plugins10 |
17 |
inherit eutils gst-plugins10 |
18 |
|
18 |
|
|
|
19 |
GST_EXPF="src_unpack src_compile src_install" |
20 |
case ${EAPI:-0} in |
21 |
2) GST_EXPF="${GST_EXPF} src_prepare src_configure" ;; |
22 |
1|0) ;; |
23 |
*) die "Unknown EAPI" ;; |
24 |
esac |
25 |
EXPORT_FUNCTIONS ${GST_EXPF} |
19 |
|
26 |
|
20 |
### |
27 |
### |
21 |
# variable declarations |
28 |
# variable declarations |
Lines 70-77
Link Here
|
70 |
gst_conf="${gst_conf} --enable-${plugin} " |
77 |
gst_conf="${gst_conf} --enable-${plugin} " |
71 |
done |
78 |
done |
72 |
|
79 |
|
73 |
cd ${S} |
80 |
cd "${S}" |
74 |
econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure" |
81 |
econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} |
75 |
|
82 |
|
76 |
} |
83 |
} |
77 |
|
84 |
|
Lines 81-89
Link Here
|
81 |
|
88 |
|
82 |
gst-plugins-base_src_unpack() { |
89 |
gst-plugins-base_src_unpack() { |
83 |
|
90 |
|
84 |
# local makefiles |
91 |
# local makefiles |
85 |
|
92 |
|
|
|
93 |
# Link with the syswide installed gst-libs if needed |
86 |
unpack ${A} |
94 |
unpack ${A} |
|
|
95 |
cd "${S}" |
96 |
has src_prepare ${GST_EXPF} || gst-plugins-base_src_prepare |
97 |
} |
98 |
|
99 |
gst-plugins-base_src_prepare() { |
100 |
|
101 |
# local makefiles |
87 |
|
102 |
|
88 |
# Link with the syswide installed gst-libs if needed |
103 |
# Link with the syswide installed gst-libs if needed |
89 |
gst-plugins10_find_plugin_dir |
104 |
gst-plugins10_find_plugin_dir |
Lines 115-126
Link Here
|
115 |
|
130 |
|
116 |
} |
131 |
} |
117 |
|
132 |
|
118 |
gst-plugins-base_src_compile() { |
|
|
119 |
|
133 |
|
120 |
gst-plugins-base_src_configure ${@} |
|
|
121 |
|
134 |
|
|
|
135 |
gst-plugins-base_src_compile() { |
136 |
has src_configure ${GST_EXPF} || gst-plugins-base_src_configure ${@} |
122 |
gst-plugins10_find_plugin_dir |
137 |
gst-plugins10_find_plugin_dir |
123 |
emake || die "compile failure" |
138 |
emake || die |
124 |
|
139 |
|
125 |
} |
140 |
} |
126 |
|
141 |
|