Date: Wednesday, August 23, 2017 @ 05:29:00 Author: felixonmars Revision: 253010
upgpkg: deepin-movie 1:2.9.10-1 Modified: deepin-movie/trunk/PKGBUILD ----------+ PKGBUILD | 40 ++++++++++++++-------------------------- 1 file changed, 14 insertions(+), 26 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-23 05:25:21 UTC (rev 253009) +++ PKGBUILD 2017-08-23 05:29:00 UTC (rev 253010) @@ -3,37 +3,25 @@ pkgname=deepin-movie epoch=1 -pkgver=2.2.14 -pkgrel=4 +pkgver=2.9.10 +pkgrel=1 pkgdesc='Movie player based on QtAV' -arch=('any') -url="https://github.com/linuxdeepin/deepin-movie" +arch=('i686' 'x86_64') +url="https://github.com/linuxdeepin/deepin-movie-reborn" license=('GPL3') -depends=('python2-ass' 'python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' - 'python2-peewee' 'python2-magic' 'deepin-qml-dbus-factory' 'deepin-qml-widgets' - 'python2-xpybutil' 'python2-pysrt' 'python2-opengl' 'deepin-manual' - 'deepin-qt5integration') -makedepends=('deepin-gettext-tools') +depends=('dtkwidget' 'mpv' 'ffmpegthumbnailer') +makedepends=('cmake' 'qt5-tools') groups=('deepin-extra') -source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-movie/archive/$pkgver.tar.gz") -sha512sums=('e63cb7b2158a378aa5fc77d399c7ae4f642997d6097f3f75fff16b2b12311e6a3ddd84c1bf7cda0517cf83f88c36880c926d57d2b8d86d25fd8ade97dcd93159') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-movie-reborn/archive/$pkgver.tar.gz") +sha512sums=('ed238f05a2d78d976c599f8409d9bbce4832a0ca02e0e9141de87f551a9f713db730d17366764d09c6e70031b3f76c742566dc1ea37b26cacc77c80d9abb6efc') -prepare() { - cd deepin-movie-$pkgver - - # fix python version - find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' +build(){ + cd deepin-movie-reborn-$pkgver + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . + make } -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 + cd deepin-movie-reborn-$pkgver + make DESTDIR="$pkgdir" install }