summaryrefslogtreecommitdiff
path: root/community/swftools
diff options
context:
space:
mode:
Diffstat (limited to 'community/swftools')
-rw-r--r--community/swftools/PKGBUILD18
-rw-r--r--community/swftools/swftools-0.9.2.patch11
-rw-r--r--community/swftools/swftools.changelog7
3 files changed, 25 insertions, 11 deletions
diff --git a/community/swftools/PKGBUILD b/community/swftools/PKGBUILD
index 3532e6056..7a069a04f 100644
--- a/community/swftools/PKGBUILD
+++ b/community/swftools/PKGBUILD
@@ -1,19 +1,21 @@
-# $Id: PKGBUILD 67692 2012-03-14 00:02:45Z giovanni $
+# $Id: PKGBUILD 70956 2012-05-20 17:24:25Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
pkgname=swftools
-pkgver=0.9.1
-pkgrel=2
+pkgver=0.9.2
+pkgrel=1
pkgdesc="A collection of SWF manipulation and creation utilities"
arch=('i686' 'x86_64')
url="http://www.swftools.org/"
license=('GPL')
depends=('avifile' 'giflib' 'freeglut' 'lame' 't1lib' 'libjpeg' 'fontconfig')
-makedepends=('bison' 'flex' 'zlib')
+makedepends=('bison' 'flex' 'zlib' 'patch')
changelog=$pkgname.changelog
-source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz)
-md5sums=('72dc4a7bf5cdf98c28f9cf9b1d8f5d7a')
+source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz
+ $pkgname-$pkgver.patch)
+sha256sums=('bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1'
+ '80f69c86ed06b315f576a733fd1e24145b88aef9934085f3790179a119b7923d')
build() {
cd ${srcdir}/$pkgname-$pkgver
@@ -25,8 +27,10 @@ build() {
package() {
cd ${srcdir}/$pkgname-$pkgver
- make prefix=${pkgdir}/usr install
+ patch -Np0 -i ${srcdir}/$pkgname-$pkgver.patch
+ make prefix=${pkgdir}/usr install
+
cd ${pkgdir}/usr/share/$pkgname/swfs
rm -f default_loader.swf default_viewer.swf
ln -s tessel_loader.swf default_loader.swf
diff --git a/community/swftools/swftools-0.9.2.patch b/community/swftools/swftools-0.9.2.patch
new file mode 100644
index 000000000..2ffcd4115
--- /dev/null
+++ b/community/swftools/swftools-0.9.2.patch
@@ -0,0 +1,11 @@
+--- swfs/Makefile.orig 2012-05-20 18:39:44.000000000 +0200
++++ swfs/Makefile 2012-05-20 19:17:45.246528998 +0200
+@@ -44,4 +44,4 @@
+- rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L $(pkgdatadir)/swfs/default_viewer.swf
+- $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf
+- rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L $(pkgdatadir)/swfs/default_loader.swf
+- $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf
++# rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L $(pkgdatadir)/swfs/default_viewer.swf
++# $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf
++# rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L $(pkgdatadir)/swfs/default_loader.swf
++# $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf
diff --git a/community/swftools/swftools.changelog b/community/swftools/swftools.changelog
index 71adfbca5..71fe73ae5 100644
--- a/community/swftools/swftools.changelog
+++ b/community/swftools/swftools.changelog
@@ -1,9 +1,8 @@
-2010-08-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+2012-05-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * swftools 0.9.2-1
+2010-08-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* swftools 0.9.1-1
- * new upstream release
2009-05-07 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-
* swftools 0.9.0-1
- * new upstream release