summaryrefslogtreecommitdiff
path: root/community/ffmpeg2theora/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ffmpeg2theora/PKGBUILD')
-rw-r--r--community/ffmpeg2theora/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/community/ffmpeg2theora/PKGBUILD b/community/ffmpeg2theora/PKGBUILD
index 7f086d67f..0b23e1f23 100644
--- a/community/ffmpeg2theora/PKGBUILD
+++ b/community/ffmpeg2theora/PKGBUILD
@@ -1,27 +1,32 @@
-# $Id: PKGBUILD 58395 2011-11-12 17:16:59Z ibiru $
+# $Id: PKGBUILD 62853 2012-01-27 19:43:55Z arodseth $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
-
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=ffmpeg2theora
pkgver=0.28
-pkgrel=2
-pkgdesc="A simple converter to create Ogg Theora files"
-arch=('i686' 'x86_64')
+pkgrel=3
+pkgdesc="Simple converter to create Ogg Theora files"
+arch=('x86_64' 'i686')
url="http://www.v2v.cc/~j/ffmpeg2theora/"
license=('GPL3')
depends=('ffmpeg')
-makedepends=('pkgconfig' 'scons')
-changelog=$pkgname.changelog
-source=(http://www.v2v.cc/~j/${pkgname}/downloads/${pkgname}-${pkgver}.tar.bz2)
+makedepends=('pkgconfig' 'scons') # 'libkate')
+source=("http://www.v2v.cc/~j/$pkgname/downloads/$pkgname-$pkgver.tar.bz2")
sha256sums=('6893c1444d730a1514275ba76ba487ca207205b916d6cb1285704225ee86fe1e')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's:pp_mode_t:pp_mode:' src/ffmpeg2theora.c
+ sed -i 's:pp_context_t:pp_context:' src/ffmpeg2theora.c
scons
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- scons install destdir="${pkgdir}" prefix="/usr" mandir="PREFIX/share/man"
+ cd "$srcdir/$pkgname-$pkgver"
+
+ scons install destdir="$pkgdir" prefix="/usr" mandir="PREFIX/share/man"
}
+
+# vim:set ts=2 sw=2 et: