summaryrefslogtreecommitdiff
path: root/community/ffmpeg2theora/PKGBUILD
blob: db3c97bc3da462706dcbec966d10de72c01e4ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 94877 2013-08-01 06:54:51Z bpiotrowski $
# 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.29
pkgrel=4
pkgdesc="Simple converter to create Ogg Theora files"
arch=('x86_64' 'i686')
url="http://www.v2v.cc/~j/ffmpeg2theora/"
license=('GPL')
depends=('ffmpeg')
makedepends=('scons') # 'libkate')
source=("http://www.v2v.cc/~j/$pkgname/downloads/$pkgname-$pkgver.tar.bz2")
sha256sums=('214110e2a5afdd8ff8e0be18152e893dbff5dabc1ae1d1124e64d9f93eae946d')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >> src/ffmpeg2theora.h
}

build() {
  cd "$srcdir/$pkgname-$pkgver"

  scons
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  scons install destdir="$pkgdir" prefix="/usr" mandir="PREFIX/share/man"
}

# vim:set ts=2 sw=2 et: