summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Sterling X. Winter <replica@exherbo.org> 2011-01-02 04:22:23 -0600
committerAvatar Sterling X. Winter <replica@exherbo.org> 2011-01-02 04:22:23 -0600
commitd4dad68e092a7a9dbb8a93e78da4a403331fb977 (patch)
treeae10a58ec285111c6194454e011f91054e6d5fa8
parent2128e69d13370a4e949f286d3d5392d0e3188633 (diff)
downloadgstreamer-d4dad68e092a7a9dbb8a93e78da4a403331fb977.tar.gz
gstreamer-d4dad68e092a7a9dbb8a93e78da4a403331fb977.tar.xz
gstreamer: Use edo
-rw-r--r--packages/media-libs/gstreamer/gstreamer.exlib18
1 files changed, 6 insertions, 12 deletions
diff --git a/packages/media-libs/gstreamer/gstreamer.exlib b/packages/media-libs/gstreamer/gstreamer.exlib
index 4a76dad..2c9cb91 100644
--- a/packages/media-libs/gstreamer/gstreamer.exlib
+++ b/packages/media-libs/gstreamer/gstreamer.exlib
@@ -17,20 +17,14 @@ AT_M4DIR=( '.' 'common/m4' 'm4' )
gstreamer_src_prepare() {
# Fix some tests that don't like sydbox
# elements/fakesink.c:932:E:general:test_notify_race:0: (after this point) Test timeout expired
- sed -e '/elements\/fakesink/d' \
- -i tests/check/Makefile.am ||
- die "disabling elements/fakesync test failed"
+ edo sed -i -e '/elements\/fakesink/d' tests/check/Makefile.am
# gst/gstutils.c:887:E:general:test_math_scale_gmp:0: (after this point) Test timeout expired
# gst/gstutils.c:917:E:general:test_math_scale_gmp_int:0: (after this point) Test timeout expired
- sed -e '/tcase_add_test.*test_math_scale_gmp/d' \
- -i tests/check/gst/gstutils.c ||
- die "Disabling troublesome gst/gstutils test cases failed"
+ edo sed -i -e '/tcase_add_test.*test_math_scale_gmp/d' tests/check/gst/gstutils.c
# don't bind to 0.0.0.0
- sed -e '/net_time_provider_new/s/NULL/"127.0.0.1"/' \
- -i 'tests/check/libs/gstnettimeprovider.c' ||
- die "Failed to change bind address to 127.0.0.1"
+ edo sed -i -e '/net_time_provider_new/s/NULL/"127.0.0.1"/' tests/check/libs/gstnettimeprovider.c
# Convert leading spaces to tabs so make[>=3.82] doesn't barf
edo sed -i -e 's/^ \+\(-gtkdoc-rebase\)/\t\1/' common/gtk-doc{-plugins,}.mak
@@ -47,17 +41,17 @@ gstreamer_src_test() {
gstreamer_src_install() {
default
- pushd "${IMAGE}"
+ edo pushd "${IMAGE}"
local src target binaries alternatives=()
binaries=( usr/bin/*-${SLOT} )
- rm ${binaries[@]%-${SLOT}} || die "Failed to remove unwanted binaries"
+ edo rm ${binaries[@]%-${SLOT}}
for src in usr/bin/* usr/share/man/man1/*.1 ; do
target=${src/-${SLOT}}
alternatives+=( /${target} ${src##*/} )
done
alternatives_for ${PN} ${SLOT} ${SLOT} "${alternatives[@]}"
- popd
+ edo popd
}