Date: Thursday, May 26, 2016 @ 15:23:15 Author: fyan Revision: 177118
upgpkg: deepin-movie 2.3.0.20160214-1 Added: deepin-movie/trunk/pyqt5.6.patch Modified: deepin-movie/trunk/PKGBUILD ---------------+ PKGBUILD | 16 +++++++++++----- pyqt5.6.patch | 12 ++++++++++++ 2 files changed, 23 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-05-26 13:04:40 UTC (rev 177117) +++ PKGBUILD 2016-05-26 13:23:15 UTC (rev 177118) @@ -2,9 +2,9 @@ # Maintainer: Felix Yan <[email protected]> pkgname=deepin-movie -pkgver=2.3.0.20151102 -_commit=9046d58a99f0fd25e148e54290837712bc689a6c -pkgrel=2 +pkgver=2.3.0.20160214 +_commit=197d817a39101836a38ad22bffad60a1b3937959 +pkgrel=1 pkgdesc='Movie player based on QtAV' arch=('any') url="https://gitcafe.com/Deepin/deepin-movie" @@ -15,8 +15,10 @@ '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') +source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit" + pyqt5.6.patch) +sha256sums=('SKIP' + '9e0c61503f46ebba7dd24917e84a1248e9f339a82bcca3091a02be7ed5ceb8aa') prepare() { cd deepin-movie @@ -23,6 +25,8 @@ # fix python version find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' + + patch -p1 -i ../pyqt5.6.patch } build() { @@ -34,4 +38,6 @@ 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 } Added: pyqt5.6.patch =================================================================== --- pyqt5.6.patch (rev 0) +++ pyqt5.6.patch 2016-05-26 13:23:15 UTC (rev 177118) @@ -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() +
