[arch-commits] Commit in deepin-movie/repos (2 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Mon Jan 31 10:42:37 UTC 2022
Date: Monday, January 31, 2022 @ 10:42:36
Author: alucryd
Revision: 1121214
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-movie/repos/community-staging-x86_64/
deepin-movie/repos/community-staging-x86_64/PKGBUILD
(from rev 1121213, deepin-movie/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: deepin-movie/repos/community-staging-x86_64/PKGBUILD (from rev 1121213, deepin-movie/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-01-31 10:42:36 UTC (rev 1121214)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-movie
+epoch=1
+pkgver=5.7.15
+pkgrel=2
+pkgdesc='Movie player based on mpv'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-movie-reborn"
+license=('GPL3')
+depends=('deepin-qt5integration' 'ffmpegthumbnailer' 'libxtst' 'mpv' 'qtdbusextended' 'qtmpris')
+makedepends=('cmake' 'gtest' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+options=('!lto')
+source=("https://github.com/linuxdeepin/deepin-movie-reborn/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('1d0c714a8ec16be3a89e28656920c787778e13bdbb4b63e6767c30436bce7f90a2b7d9759ff30f0bed004a11e268bd57ed8f197b22709921898a4d49b9d707fb')
+
+prepare() {
+ cd deepin-movie-reborn-$pkgver
+ # https://github.com/linuxdeepin/deepin-movie-reborn/issues/76
+ sed -i '/setCanShowInUI/d' src/vendor/presenter.cpp
+}
+
+build() {
+ cd deepin-movie-reborn-$pkgver
+ export CXXFLAGS+=' -fpermissive'
+ 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
+}
More information about the arch-commits
mailing list