blob: 186e139a93490e56bbc444f4b99145e123d87a37 (
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
38
|
# Maintainer: Joseph Carta <cartakid@gmail.com>
# Contributor: Carlos Henrique Merces Moreira "chmercesmoreira" <ch.mercesmoreira@gmail.com>
pkgname=photofilmstrip
pkgver=3.7.2
pkgrel=4
pkgdesc="Create video clips from photos"
arch=('i686' 'x86_64')
url="http://www.photofilmstrip.org/en/"
license=('GPL2')
depends=('python' 'python-pillow' 'python-wxpython' 'python-sphinx' 'gst-python')
optdepends=('gst-plugins-bad: additional rendering formats'
'gst-plugins-good: additional rendering formats'
'gst-plugins-ugly: additional rendering formats'
'gst-libav: additional rendering formats'
'python-cairo: slideshow preview')
source=("https://github.com/PhotoFilmStrip/PFS/archive/v$pkgver.tar.gz"
'ActionI18N.patch')
md5sums=('a7b4362b9eb8ede7a4ee99f0165f383a'
'c772c566c51a1176031142849a286635')
build() {
cd "$srcdir/PFS-$pkgver"
python setup.py build
}
package () {
cd "$srcdir/PFS-$pkgver"
patch photofilmstrip/action/ActionI18N.py ../ActionI18N.patch
python setup.py install --root="$pkgdir" --optimize=1
chmod 644 "$pkgdir/usr/share/applications/photofilmstrip.desktop"
find "$pkgdir/usr/share/doc/photofilmstrip/" -type f -exec chmod 644 {} \;
for size in 32x32 48x48 64x64 192x192
do
chmod 644 "$pkgdir/usr/share/icons/hicolor/$size/apps/photofilmstrip.png"
done
}
|