summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/librevideoconverter/PKGBUILD28
-rw-r--r--pcr/librevideoconverter/libre.patch19
2 files changed, 41 insertions, 6 deletions
diff --git a/pcr/librevideoconverter/PKGBUILD b/pcr/librevideoconverter/PKGBUILD
index 4139df291..4cc473feb 100644
--- a/pcr/librevideoconverter/PKGBUILD
+++ b/pcr/librevideoconverter/PKGBUILD
@@ -2,20 +2,36 @@
# Maintainer: Jesús Eduardo <heckyel@parabola.nu>
pkgname=librevideoconverter
-pkgver=1.0
+pkgver=1.0.1
pkgrel=1.parabola1
-pkgdesc="Simple video converter for WebM (vp8), Ogg Theora, MP4 and others, fork of Miro Video Converter"
+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"
+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=("https://notabug.org/Heckyel/$pkgname/archive/$pkgname-$pkgver.tar.gz")
-sha512sums=('6278a16a13cc6e4c04e589c9db44a627abf70c4a63cecf93ef4795390d35f1aa70c7eef3ccd18f232d07a17c922136f50e3d2b4272839fc31f4802744342e856')
+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 mvc/resources/images/mvc-logo.png $pkgdir/usr/share/icons/mvc-logo.png
+ install -D lvc/resources/images/lvc-logo.png $pkgdir/usr/share/icons/lvc-logo.png
}
+
diff --git a/pcr/librevideoconverter/libre.patch b/pcr/librevideoconverter/libre.patch
new file mode 100644
index 000000000..25505fc1a
--- /dev/null
+++ b/pcr/librevideoconverter/libre.patch
@@ -0,0 +1,19 @@
+diff --git a/setup.py b/setup.py
+index eec6db0..684fdd4 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,14 +14,12 @@ setup_args = {
+ 'version': version,
+ 'packages': [
+ 'lvc',
+- 'lvc.osx',
+ 'lvc.qtfaststart',
+ 'lvc.resources',
+ 'lvc.ui',
+ 'lvc.widgets',
+ 'lvc.widgets.gtk',
+ 'lvc.widgets.osx',
+- 'lvc.windows',
+ ],
+ 'package_data': {
+ 'lvc.resources': [