# $Id: PKGBUILD 66079 2012-02-22 22:47:22Z jlichtblau $ # Maintainer: Jaroslav Lichtblau pkgname=subtitleeditor pkgver=0.40.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=('desktop-file-utils' '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.40/$pkgname-$pkgver.tar.gz subtitleeditor-0.40.0-glib.patch) sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d' '152883d00195c86ee04db2c8aa22b0c82255c328c31acfd55877ca403779d2e0') build() { cd ${srcdir}/$pkgname-$pkgver patch -Np1 -i ${srcdir}/subtitleeditor-0.40.0-glib.patch ./configure --prefix=/usr make } package() { cd ${srcdir}/$pkgname-$pkgver } package () { cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install }