1 # Maintainer: Paolo Stivanin <admin AT polslinux DOT it>
6 pkgdesc="GUI for ffmpeg"
7 url="http://code.google.com/p/winff/"
10 depends=('ffmpeg' 'gtk2' 'xterm')
11 makedepends=('svn' 'lazarus-svn')
12 source=(http://winff.googlecode.com/files/winff-$pkgver-source.tar.gz
14 Remove_win32_as_target_OS.diff)
15 md5sums=('165fe12a935d7b8db4c1d18f22cc1ea9'
16 '8ebcd86fdcd5ffaefe793a98a4c5b8bc'
17 '14dadc67051db714c186301c8f18e36c')
21 cp $srcdir/Remove_win32_as_target_OS.diff $srcdir/$pkgname/
23 patch -Np1 < Remove_win32_as_target_OS.diff
25 lazbuild winff.lpr --ws=gtk2
30 install -Dm 755 $srcdir/$pkgname/$pkgname $pkgdir/usr/bin/winff
31 install -dm 755 ${pkgdir}/usr/share/winff/
32 find . -name "*.xml" -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/ \; &> /dev/null
33 install -Dm 644 $srcdir/winff.desktop $pkgdir/usr/share/applications/winff.desktop
34 install -Dm 644 $srcdir/$pkgname/winff-icons/16x16/winff.png $pkgdir/usr/share/icons/hicolor/16x16/apps/winff.png
35 install -Dm 644 $srcdir/$pkgname/winff-icons/24x24/winff.png $pkgdir/usr/share/icons/hicolor/24x24/apps/winff.png
36 install -Dm 644 $srcdir/$pkgname/winff-icons/32x32/winff.png $pkgdir/usr/share/icons/hicolor/32x32/apps/winff.png
37 install -Dm 644 $srcdir/$pkgname/winff-icons/48x48/winff.png $pkgdir/usr/share/icons/hicolor/48x48/apps/winff.png
38 install -dm 755 ${pkgdir}/usr/share/winff/languages/
39 find . -name "*.po" -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/languages/ \; &> /dev/null
40 rm ${srcdir}/$pkgname/presets.xml