diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-03 16:08:32 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-04 00:46:04 -0600 |
commit | d1190d3764e5ad3360526b39d2eb30d754862c76 (patch) | |
tree | 2721fb53b022370370c1d8c091315e9a790de8d2 /multimedia/gst-plugins-ugly | |
parent | 489d27de7ffe3be29880a03650312af83be332bc (diff) |
multimedia/gst-plugins-ugly: Fix building with new opencore-amr.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/gst-plugins-ugly')
-rw-r--r-- | multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild index 1e23b9e4c55b7..30ab1efd5c571 100644 --- a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild +++ b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=gst-plugins-ugly VERSION=${VERSION:-0.10.19} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +69,13 @@ find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \; + +# Fix support for newer opencore-amr versions +sed -i "s|interf_dec.h|opencore-amrnb/interf_dec.h|" ext/amrnb/amrnbdec.h +sed -i "s|interf_enc.h|opencore-amrnb/interf_enc.h|" ext/amrnb/amrnbenc.h +sed -i "s|dec_if.h|opencore-amrwb/dec_if.h|" ext/amrwbdec/amrwbdec.h +sed -i "s|if_rom.h|opencore-amrwb/if_rom.h|" ext/amrwbdec/amrwbdec.h CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |