aboutsummaryrefslogtreecommitdiff
path: root/media/plugins/swfdec
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-07-23 20:29:05 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-07-23 20:29:05 +0000
commit7bc6e0ee603d9bb54b21d94d44189db56e2c2e12 (patch)
tree0f63f6309a798adc3b765be67b7e7f32f980ae61 /media/plugins/swfdec
parent2d3fdfa4f688fe3a381ba61206c313a1f1ae851d (diff)
downloadslackbuilds-7bc6e0ee603d9bb54b21d94d44189db56e2c2e12.tar.gz
slackbuilds-7bc6e0ee603d9bb54b21d94d44189db56e2c2e12.tar.bz2
swfdec: testing a dirty hack
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1281 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/plugins/swfdec')
-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