aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmedia/plugins/swfdec/swfdec.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/media/plugins/swfdec/swfdec.SlackBuild b/media/plugins/swfdec/swfdec.SlackBuild
index f6c6a661..d634baa5 100755
--- a/media/plugins/swfdec/swfdec.SlackBuild
+++ b/media/plugins/swfdec/swfdec.SlackBuild
@@ -84,6 +84,14 @@ fi
./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR \
--enable-gstreamer=no --enable-gnome-vfs=no || exit $ERROR_CONF
+
+# dirty hack
+if [ "$ARCH" == "x86_64" ] && [ "$VERSION" == "0.5.0" ]; then
+ cd libswfdec
+ sed -e 's/\/usr\/lib64\/libpng12.la//g' libswfdec-0.5.la > libswfdec-0.5.la.new
+ mv libswfdec-0.5.la.new libswfdec-0.5.la
+fi
+
make || exit $ERROR_MAKE
make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL