Date: Friday, December 4, 2020 @ 20:24:34 Author: felixonmars Revision: 770032
archrelease: copy trunk to community-x86_64 Added: deepin-movie/repos/community-x86_64/PKGBUILD (from rev 770031, deepin-movie/trunk/PKGBUILD) Deleted: deepin-movie/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-04 20:24:23 UTC (rev 770031) +++ PKGBUILD 2020-12-04 20:24:34 UTC (rev 770032) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-movie -epoch=1 -pkgver=5.7.6.139 -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=('b0f152d194f50bea979870702370670cd53834b49eccee0f3fc7174870b356cef9b781b18a99294132d51907c4a4c7cbf090a7dbc03ba77e4225bb3667807a45' - '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 -} Copied: deepin-movie/repos/community-x86_64/PKGBUILD (from rev 770031, deepin-movie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-04 20:24:34 UTC (rev 770032) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-movie +epoch=1 +pkgver=5.7.6.140 +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=('cbc3f9949291f0bf78b7c90c5a44cce2d4c5500ff38bfd3d1acbe63fa8d94719677cac87175203ab9e1725c77b6e02af15946d39b4687950c927c301eac3e648' + '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 +}