Lines 37-45
Link Here
|
37 |
# does not support DESTDIR, so we use sed to adjust it before running it to |
37 |
# does not support DESTDIR, so we use sed to adjust it before running it to |
38 |
# properly duplicate the plugins. |
38 |
# properly duplicate the plugins. |
39 |
# XXX: Patch the script to support DESTDIR and send the patch upstream. |
39 |
# XXX: Patch the script to support DESTDIR and send the patch upstream. |
40 |
sed -e "s:^\(PIPELIGHT_LIBRARY_PATH=\"\)\\(.*\):\1${ED}usr/$(get_libdir)/${PN}\":" \ |
40 |
cp "${D}/usr/bin/pipelight-plugin" "${T}" |
41 |
"${DESTDIR}/usr/bin/pipelight-plugin" > "${T}/pipelight-plugin" \ |
41 |
sed -i -e "s:^\(PIPELIGHT_SHARE_PATH=\"\)/\\(.*\):\1${ED}\2:" \ |
42 |
|| die "Generating temporary pipelight-plugin failed" |
42 |
-e "s:^\(PIPELIGHT_LIBRARY_PATH=\"\)/\\(.*\):\1${ED}\2:" \ |
|
|
43 |
-e "s:^\(PLUGIN_PATH=\"\)/\\(.*\):\1${ED}\2:" \ |
44 |
"${T}/pipelight-plugin" || die "Generating temporary pipelight-plugin failed" |
43 |
chmod u+x "${T}/pipelight-plugin" \ |
45 |
chmod u+x "${T}/pipelight-plugin" \ |
44 |
|| die "Setting permissions on temporary pipelight-plugin failed" |
46 |
|| die "Setting permissions on temporary pipelight-plugin failed" |
45 |
|
47 |
|