Date: Friday, November 27, 2020 @ 10:58:02 Author: felixonmars Revision: 764054
archrelease: copy trunk to community-x86_64 Added: deepin-movie/repos/community-x86_64/PKGBUILD (from rev 764053, 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-11-27 10:57:50 UTC (rev 764053) +++ PKGBUILD 2020-11-27 10:58:02 UTC (rev 764054) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-movie -epoch=1 -pkgver=5.7.6.111 -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=('7608a8bde0af5a73b914fd30a483b9b32a1e107082aabd37078a939f4b11d8480841ce824f711d2f5b4ac32ed120df35d6fa491cc8f7b94e17470e5aa51a32ea' - '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 764053, deepin-movie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-27 10:58:02 UTC (rev 764054) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-movie +epoch=1 +pkgver=5.7.6.113 +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=('48de972bef3b557aa2d82ff0bd89b239db5f7e9132d79b9ee380057b97fb4d907a3652762032f5f829fcd2e4b64eafa9489112ab4cc9b085ea62792da743d171' + '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 +}