blob: 4cc473feb7c6958d00cf585ef1a386bf151dcc5b (
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
|
# Contributor: David P. <megver83@parabola.nu>
# Maintainer: Jesús Eduardo <heckyel@parabola.nu>
pkgname=librevideoconverter
pkgver=1.0.1
pkgrel=1.parabola1
pkgdesc="Simple video converter for WebM (vp8, vp9), Ogg Theora, MP4 and others, fork of Miro Video Converter"
arch=(any)
url="https://notabug.org/heckyel/librevideoconverter"
license=('GPL3')
depends=('python2>=2.7.0' 'ffmpeg' 'ffmpeg2theora' 'gtk2' 'hicolor-icon-theme' 'pygtk')
makedepends=('python2-distribute')
conflicts=(miro-video-converter)
source=("$pkgname-$pkgver.tar.gz::https://notabug.org/heckyel/librevideoconverter/archive/$pkgver.tar.gz"
"https://notabug.org/heckyel/librevideoconverter/raw/signatures/$pkgname-$pkgver.tar.gz.sig"
"libre.patch")
sha512sums=('790a51fc37d5de7ba54b17f585e13dd3a351da95c8071d87aeaf3f4f035ced6c57bf5fb1f8c8e38369b2b0b623ec774a12d8bd87a7063b204138336f290a75fc'
'SKIP'
'b6c372cf5212e77dc41243f9f8236f99ea0afd77e7208d746771697ac7dec2715ab79d77216c8c538fd2d344128be79a28a9a7069d6c42140484d8608fff9933')
validpgpkeys=('4DF21B6A7C1021B25C360914F6EE7BC59A315766') # Jesús E.
prepare(){
cd "${srcdir}/$pkgname"
#Remove unnecesary directory's
rm -rv test/
rm -rv lvc/{osx/,windows/}
#Patch setup.py only gnu/linux
patch -Np1 -i "${srcdir}/libre.patch"
}
package() {
cd "$srcdir/$pkgname"
python2 setup.py install --root="$pkgdir" --optimize=1
install -D lvc/resources/images/lvc-logo.png $pkgdir/usr/share/icons/lvc-logo.png
}
|