Date: Thursday, November 26, 2020 @ 12:54:24
  Author: felixonmars
Revision: 763487

archrelease: copy trunk to community-x86_64

Added:
  deepin-movie/repos/community-x86_64/PKGBUILD
    (from rev 763485, deepin-movie/trunk/PKGBUILD)
Deleted:
  deepin-movie/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-11-26 12:54:21 UTC (rev 763486)
+++ PKGBUILD    2020-11-26 12:54:24 UTC (rev 763487)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgname=deepin-movie
-epoch=1
-pkgver=5.7.6.108
-pkgrel=1
-pkgdesc='Movie player based on QtAV'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-movie-reborn";
-license=('GPL3')
-depends=('deepin-qt5integration' 'libxtst' 'mpv' 'ffmpegthumbnailer')
-makedepends=('cmake' 'gtest' 'ninja' 'qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-movie-reborn/archive/$pkgver.tar.gz";)
-sha512sums=('b126a4cbf95a69183b7b7c59876fdd7bf8c3e74382782eaee7597a69d66a953f3b68830b59b1c32d718f8d3d944af65bc21e4ed0559017bcc6661620e6d2c176')
-
-prepare() {
-  cd deepin-movie-reborn-$pkgver
-  sed -i '/#include <DPalette>/a #include <QPainterPath>' 
src/widgets/{tip,toolbutton}.h
-
-  # https://github.com/linuxdeepin/deepin-movie-reborn/issues/59
-  sed -i 's/ && LIBAVFORMAT_VERSION_MINOR <= 25//' 
src/libdmr/playlist_model.cpp
-}
-
-build() {
-  cd deepin-movie-reborn-$pkgver
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib 
-DCMAKE_BUILD_TYPE=Release .
-  ninja
-}
-
-package() {
-  cd deepin-movie-reborn-$pkgver
-  DESTDIR="$pkgdir" ninja install
-}

Copied: deepin-movie/repos/community-x86_64/PKGBUILD (from rev 763485, 
deepin-movie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-11-26 12:54:24 UTC (rev 763487)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=deepin-movie
+epoch=1
+pkgver=5.7.6.109
+pkgrel=1
+pkgdesc='Movie player based on QtAV'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-movie-reborn";
+license=('GPL3')
+depends=('deepin-qt5integration' 'libxtst' 'mpv' 'ffmpegthumbnailer')
+makedepends=('cmake' 'gtest' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-movie-reborn/archive/$pkgver/$pkgname-$pkgver.tar.gz";
+        
$pkgname-mpv-qthelper.patch::https://github.com/linuxdeepin/deepin-movie-reborn/commit/cc9484fdb63589c3596d2914d180e351e0e0330a.patch
+        
$pkgname-libavformat-version-check.patch::https://github.com/linuxdeepin/deepin-movie-reborn/commit/7bff486b84a6c9e8602ef2fb201cfa602d6ca1d8.patch)
+sha512sums=('d5f96bfb9465faa951024f90f25cf149b22711535d0508b995f10a8055f9706ff4d79f387705346912a48836f8773dcecabf8bcc58e7d1f2e60718f7862135bc'
+            
'ed9414601226feb6e93828098efae4ff007dbd40c5ac1c102cdeabb3e138898f22b11ffe6c0052902591667904454795b95dcd9b75a6d1a10c84b70232c78f8d'
+            
'157296a3e48ba4b6606a859397f0c24311dead227b301448c94c9eb2dc4408d5d6466ce2a0873636f8ed48d71137e9556fc8103a6764e65ce2392ba042f94fed')
+
+prepare() {
+  cd deepin-movie-reborn-$pkgver
+  patch -p1 -i ../$pkgname-mpv-qthelper.patch
+  patch -p1 -i ../$pkgname-libavformat-version-check.patch
+  sed -i '/#include <DPalette>/a #include <QPainterPath>' 
src/widgets/{tip,toolbutton}.h
+}
+
+build() {
+  cd deepin-movie-reborn-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib 
-DCMAKE_BUILD_TYPE=Release .
+  ninja
+}
+
+package() {
+  cd deepin-movie-reborn-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Reply via email to