[arch-commits] Commit in deepin-movie/repos/community-any (3 files)

Felix Yan fyan at archlinux.org
Thu May 26 13:23:36 UTC 2016


    Date: Thursday, May 26, 2016 @ 15:23:35
  Author: fyan
Revision: 177119

archrelease: copy trunk to community-any

Added:
  deepin-movie/repos/community-any/PKGBUILD
    (from rev 177118, deepin-movie/trunk/PKGBUILD)
  deepin-movie/repos/community-any/pyqt5.6.patch
    (from rev 177118, deepin-movie/trunk/pyqt5.6.patch)
Deleted:
  deepin-movie/repos/community-any/PKGBUILD

---------------+
 PKGBUILD      |   80 ++++++++++++++++++++++++++++++--------------------------
 pyqt5.6.patch |   12 ++++++++
 2 files changed, 55 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-26 13:23:15 UTC (rev 177118)
+++ PKGBUILD	2016-05-26 13:23:35 UTC (rev 177119)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-movie
-pkgver=2.3.0.20151102
-_commit=9046d58a99f0fd25e148e54290837712bc689a6c
-pkgrel=2
-pkgdesc='Movie player based on QtAV'
-arch=('any')
-url="https://gitcafe.com/Deepin/deepin-movie"
-license=('GPL3')
-depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus'
-         'python2-peewee' 'python2-pillow' 'python2-magic' 'python2-bottle'
-         'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils'
-         'python2-requests' 'dleyna-renderer' 'deepin-dbus-factory')
-makedepends=('deepin-gettext-tools' 'git')
-groups=('deepin-extra')
-source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit")
-sha256sums=('SKIP')
-
-prepare() {
-  cd deepin-movie
-
-  # fix python version
-  find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
-}
-
-build() {
-  cd deepin-movie
-  python2 configure.py
-  deepin-generate-mo locale/locale_config.ini
-}
-
-package() {
-  cd deepin-movie
-  make DESTDIR="${pkgdir}" PREFIX="/usr" install
-}

Copied: deepin-movie/repos/community-any/PKGBUILD (from rev 177118, deepin-movie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-05-26 13:23:35 UTC (rev 177119)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-movie
+pkgver=2.3.0.20160214
+_commit=197d817a39101836a38ad22bffad60a1b3937959
+pkgrel=1
+pkgdesc='Movie player based on QtAV'
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-movie"
+license=('GPL3')
+depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus'
+         'python2-peewee' 'python2-pillow' 'python2-magic' 'python2-bottle'
+         'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils'
+         'python2-requests' 'dleyna-renderer' 'deepin-dbus-factory')
+makedepends=('deepin-gettext-tools' 'git')
+groups=('deepin-extra')
+source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit"
+        pyqt5.6.patch)
+sha256sums=('SKIP'
+            '9e0c61503f46ebba7dd24917e84a1248e9f339a82bcca3091a02be7ed5ceb8aa')
+
+prepare() {
+  cd deepin-movie
+
+  # fix python version
+  find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+
+  patch -p1 -i ../pyqt5.6.patch
+}
+
+build() {
+  cd deepin-movie
+  python2 configure.py
+  deepin-generate-mo locale/locale_config.ini
+}
+
+package() {
+  cd deepin-movie
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+
+  chmod 0755 "$pkgdir"/usr/share/deepin-movie/main.py "$pkgdir"/usr/bin/host_service.py
+}

Copied: deepin-movie/repos/community-any/pyqt5.6.patch (from rev 177118, deepin-movie/trunk/pyqt5.6.patch)
===================================================================
--- pyqt5.6.patch	                        (rev 0)
+++ pyqt5.6.patch	2016-05-26 13:23:35 UTC (rev 177119)
@@ -0,0 +1,12 @@
+diff --git a/src/views/window.py b/src/views/window.py
+index 3aee43a..0870ed0 100644
+--- a/src/views/window.py
++++ b/src/views/window.py
+@@ -174,7 +174,6 @@ class Window(QQuickView):
+     def setCursorVisible(self, visible):
+         self.setCursor(QCursor(Qt.ArrowCursor if visible else Qt.BlankCursor))
+ 
+-    @pyqtSlot("QVariant")
+     def focusWindowChangedSlot(self, win):
+         if not win: self.rootObject().hideTransientWindows()
+ 



More information about the arch-commits mailing list