[arch-commits] Commit in openshot/repos/community-any (4 files)
David Runge
dvzrv at archlinux.org
Thu Nov 14 22:02:56 UTC 2019
Date: Thursday, November 14, 2019 @ 22:02:55
Author: dvzrv
Revision: 528722
archrelease: copy trunk to community-any
Added:
openshot/repos/community-any/2837.patch
(from rev 528721, openshot/trunk/2837.patch)
openshot/repos/community-any/PKGBUILD
(from rev 528721, openshot/trunk/PKGBUILD)
Deleted:
openshot/repos/community-any/2837.patch
openshot/repos/community-any/PKGBUILD
------------+
2837.patch | 62 ++++++++++++++++++++++++------------------------
PKGBUILD | 76 ++++++++++++++++++++++++++++++++---------------------------
2 files changed, 73 insertions(+), 65 deletions(-)
Deleted: 2837.patch
===================================================================
--- 2837.patch 2019-11-14 22:02:35 UTC (rev 528721)
+++ 2837.patch 2019-11-14 22:02:55 UTC (rev 528722)
@@ -1,31 +0,0 @@
-From c254a0aef217ef0cc3fd256accdb32180e18b24d Mon Sep 17 00:00:00 2001
-From: Florian Pritz <bluewind at server-speed.net>
-Date: Sat, 15 Jun 2019 11:39:29 +0200
-Subject: [PATCH] Install icons to hicolor/NxN instead of hicolor/N
-
-Nearly all other Arch Linux packages also follow this pattern and the Freedesktop specification also only uses this pattern when providing examples.
-
-References:
-https://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
-https://bugs.archlinux.org/task/62900
----
- setup.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index dbae3900..43e08e0a 100644
---- a/setup.py
-+++ b/setup.py
-@@ -71,9 +71,9 @@
- ('share/pixmaps', ['xdg/openshot-qt.svg']),
- # XDG Freedesktop icon paths
- ('share/icons/hicolor/scalable/apps', ['xdg/openshot-qt.svg']),
-- ('share/icons/hicolor/64/apps', ['xdg/icon/64/openshot-qt.png']),
-- ('share/icons/hicolor/256/apps', ['xdg/icon/256/openshot-qt.png']),
-- ('share/icons/hicolor/512/apps', ['xdg/icon/512/openshot-qt.png']),
-+ ('share/icons/hicolor/64x64/apps', ['xdg/icon/64/openshot-qt.png']),
-+ ('share/icons/hicolor/256x256/apps', ['xdg/icon/256/openshot-qt.png']),
-+ ('share/icons/hicolor/512x512/apps', ['xdg/icon/512/openshot-qt.png']),
- # XDG desktop mime types cache
- ('share/mime/packages', ['xdg/openshot-qt.xml']),
- # launcher (mime.types)
Copied: openshot/repos/community-any/2837.patch (from rev 528721, openshot/trunk/2837.patch)
===================================================================
--- 2837.patch (rev 0)
+++ 2837.patch 2019-11-14 22:02:55 UTC (rev 528722)
@@ -0,0 +1,31 @@
+From c254a0aef217ef0cc3fd256accdb32180e18b24d Mon Sep 17 00:00:00 2001
+From: Florian Pritz <bluewind at server-speed.net>
+Date: Sat, 15 Jun 2019 11:39:29 +0200
+Subject: [PATCH] Install icons to hicolor/NxN instead of hicolor/N
+
+Nearly all other Arch Linux packages also follow this pattern and the Freedesktop specification also only uses this pattern when providing examples.
+
+References:
+https://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
+https://bugs.archlinux.org/task/62900
+---
+ setup.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index dbae3900..43e08e0a 100644
+--- a/setup.py
++++ b/setup.py
+@@ -71,9 +71,9 @@
+ ('share/pixmaps', ['xdg/openshot-qt.svg']),
+ # XDG Freedesktop icon paths
+ ('share/icons/hicolor/scalable/apps', ['xdg/openshot-qt.svg']),
+- ('share/icons/hicolor/64/apps', ['xdg/icon/64/openshot-qt.png']),
+- ('share/icons/hicolor/256/apps', ['xdg/icon/256/openshot-qt.png']),
+- ('share/icons/hicolor/512/apps', ['xdg/icon/512/openshot-qt.png']),
++ ('share/icons/hicolor/64x64/apps', ['xdg/icon/64/openshot-qt.png']),
++ ('share/icons/hicolor/256x256/apps', ['xdg/icon/256/openshot-qt.png']),
++ ('share/icons/hicolor/512x512/apps', ['xdg/icon/512/openshot-qt.png']),
+ # XDG desktop mime types cache
+ ('share/mime/packages', ['xdg/openshot-qt.xml']),
+ # launcher (mime.types)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-14 22:02:35 UTC (rev 528721)
+++ PKGBUILD 2019-11-14 22:02:55 UTC (rev 528722)
@@ -1,34 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
-
-pkgname=openshot
-pkgver=2.4.4
-pkgrel=3
-pkgdesc="an open-source, non-linear video editor for Linux based on MLT framework"
-arch=('any')
-url="https://www.openshot.org/"
-license=('GPL')
-depends=('python-mlt' 'sdl' 'librsvg' 'mplayer'
- 'pyxdg' 'python-pyqt5' 'python-httplib2' 'python-pillow' 'dvgrab'
- 'ladspa' 'sox' 'vid.stab' 'qt5-svg' 'sdl_image'
- 'libopenshot' 'python-pyzmq' 'qt5-webkit' 'python-setuptools'
- 'python-requests')
-optdepends=('frei0r-plugins: effects'
- 'libquicktime' 'libavc1394' 'faac' 'jack')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz" 2837.patch)
-sha256sums=('8197923b3fff2010ee69c75469818543674a12fcb8fcb08944471e4ead3426be'
- '3a4da79b668d263095559a9e5fa257bdb49fa8a6aa96d02e5c4e27def2b10634')
-
-prepare() {
- cd "$srcdir"/openshot-qt-$pkgver
-
- # Fix hicolor icon paths. Fix is part of develop branch (2.4.4+)
- patch -p1 -i "$srcdir/2837.patch"
-}
-
-package() {
- cd "$srcdir"/openshot-qt-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
-}
Copied: openshot/repos/community-any/PKGBUILD (from rev 528721, openshot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-14 22:02:55 UTC (rev 528722)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+# Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
+
+pkgname=openshot
+pkgver=2.4.4
+pkgrel=4
+pkgdesc="An award-winning free and open-source video editor"
+arch=('any')
+url="https://www.openshot.org/"
+license=('GPL3')
+depends=('ffmpeg' 'python-mlt' 'python-pyqt5' 'python-requests' 'libopenshot'
+'libopenshot-audio' 'python-pyzmq' 'qt5-base' 'qt5-svg' 'qt5-webkit')
+optdepends=('faac: for exporting audio using AAC')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz"
+ "${pkgname}-hicolor-icons.patch::https://github.com/OpenShot/openshot-qt/pull/2837.patch")
+sha512sums=('efa71f97a83b89e691b7dab09288ba7d3e91eb25119669fa8f6e28becb8d4cb3e60a923f936ee4ff9a593d016fe3a6b0348153cff937ab7d21a5517de5dfa10c'
+ '97ebbe5d289d89c5da307076d7a3a0f517f57e8fd8123a920d031585bd48e1ccdcaa9f8180e976dd602e562d0bd2373e4bf5059dc72cf04b61b462b72a8bba1f')
+
+prepare() {
+ mv -v "${pkgname}-qt-${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ # Fix hicolor icon paths
+ patch -Np1 -i "../${pkgname}-hicolor-icons.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,{CONTRIBUTING,README}.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list