blob: e0d167b0de63003787b46d2fd0fb0de794056cd5 (
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
36
37
|
# $Id: PKGBUILD 55853 2011-09-23 20:07:37Z lcarlier $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=subtitleeditor
pkgver=0.39.0
pkgrel=1
pkgdesc="A GTK+2 tool to edit subtitles for GNU/Linux/*BSD"
arch=('i686' 'x86_64' 'mips64el')
url="http://home.gna.org/subtitleeditor/"
license=('GPL3')
depends=('enchant' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamermm' 'gtk2' 'gtkmm' 'hicolor-icon-theme' 'libsigc++' 'libxml++' 'xdg-utils')
makedepends=('intltool')
optdepends=('gstreamer0.10-ffmpeg: to be able to view movies inside the subtitleeditor'
'gstreamer0.10-ugly-plugins: to be able to view movies inside the subtitleeditor'
'gstreamer0.10-fluendo: to be able to view movies inside the subtitleeditor')
options=('!libtool')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://download.gna.org/$pkgname/0.39/$pkgname-$pkgver.tar.gz
fix-taking-address-of-temporary-error.patch)
md5sums=('17666e652edd27abfd3104a82385f6a8'
'13e4fde005a9017da9fd24a5c2b928ed')
build() {
cd ${srcdir}/$pkgname-$pkgver
# fix building with gcc-4.6.0, taken from upstream
patch -Np1 -i "../fix-taking-address-of-temporary-error.patch"
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}
|