Date: Sunday, November 15, 2020 @ 10:44:38 Author: felixonmars Revision: 754388
archrelease: copy trunk to community-x86_64 Added: deepin-movie/repos/community-x86_64/PKGBUILD (from rev 754387, deepin-movie/trunk/PKGBUILD) Deleted: deepin-movie/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-15 10:44:23 UTC (rev 754387) +++ PKGBUILD 2020-11-15 10:44:38 UTC (rev 754388) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-movie -epoch=1 -pkgver=5.7.6.96 -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=('0319f161c100a1f892d1785a2f8e224120b5464799817aaf52be9111c8a739be1fe28ee1826d3dde79d4efffb56e32e5378bdf27501718e402bf15143ed4adf3') - -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 754387, deepin-movie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-15 10:44:38 UTC (rev 754388) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-movie +epoch=1 +pkgver=5.7.6.97 +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=('18b7f6ea7b884595193d9a9023c30c1494a69b14e245838edae88d9bd75d38ad6d034d48784148ea4bed0a0896c60e38fa32d4cfed3e4aaeefe065ec58449cea') + +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 +}