[arch-commits] Commit in deepin-movie/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jun 30 16:29:22 UTC 2017
Date: Friday, June 30, 2017 @ 16:29:21
Author: felixonmars
Revision: 241704
archrelease: copy trunk to community-testing-any
Added:
deepin-movie/repos/community-testing-any/
deepin-movie/repos/community-testing-any/PKGBUILD
(from rev 241703, deepin-movie/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: deepin-movie/repos/community-testing-any/PKGBUILD (from rev 241703, deepin-movie/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2017-06-30 16:29:21 UTC (rev 241704)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-movie
+epoch=1
+pkgver=2.2.14
+pkgrel=3
+pkgdesc='Movie player based on QtAV'
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-movie"
+license=('GPL3')
+depends=('python2-ass' 'python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus'
+ 'python2-peewee' 'python2-magic' 'deepin-qml-dbus-factory' 'python2-xpybutil'
+ 'python2-pysrt' 'python2-opengl' 'deepin-manual' 'deepin-qt5integration')
+makedepends=('deepin-gettext-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-movie/archive/$pkgver.tar.gz")
+sha512sums=('e63cb7b2158a378aa5fc77d399c7ae4f642997d6097f3f75fff16b2b12311e6a3ddd84c1bf7cda0517cf83f88c36880c926d57d2b8d86d25fd8ade97dcd93159')
+
+prepare() {
+ cd deepin-movie-$pkgver
+
+ # fix python version
+ find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+ cd deepin-movie-$pkgver
+ python2 configure.py
+ deepin-generate-mo locale/locale_config.ini
+}
+
+package() {
+ cd deepin-movie-$pkgver
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+
+ chmod 0755 "$pkgdir"/usr/share/deepin-movie/main.py
+}
More information about the arch-commits
mailing list