Date: Thursday, December 17, 2020 @ 20:47:55 Author: felixonmars Revision: 778046
archrelease: copy trunk to community-x86_64 Added: deepin-movie/repos/community-x86_64/PKGBUILD (from rev 778045, 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-17 20:47:42 UTC (rev 778045) +++ PKGBUILD 2020-12-17 20:47:55 UTC (rev 778046) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-movie -epoch=1 -pkgver=5.7.6.150 -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=('29a7bd40f958cec99afaf9de0af84e7c50fb13ca05b073600d71519ae80fef78a93f7abef24618a5436a889d661369146bd8c811dca2442f798e2ae1d68d20f6' - '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 778045, deepin-movie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-17 20:47:55 UTC (rev 778046) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-movie +epoch=1 +pkgver=5.7.6.151 +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=('943d6fe5130d64fdfbb1b12fa72cba9fba2be605c939ec4d76a19d171aa46ac84357ad6fcba9b62d6cdd6af714af1b6bedd3035de237ad50cfbcc7166b00256c' + '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 +}