[arch-commits] Commit in deepin-camera/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Sep 8 12:41:16 UTC 2022


    Date: Thursday, September 8, 2022 @ 12:41:16
  Author: arojas
Revision: 1296789

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-camera/repos/community-staging-x86_64/
  deepin-camera/repos/community-staging-x86_64/PKGBUILD
    (from rev 1296788, deepin-camera/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: deepin-camera/repos/community-staging-x86_64/PKGBUILD (from rev 1296788, deepin-camera/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-09-08 12:41:16 UTC (rev 1296789)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-camera
+pkgver=1.4.1
+pkgrel=2
+pkgdesc='Tool to view camera, take photo and video'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-camera"
+license=('GPL3')
+depends=('deepin-qt5integration' 'deepin-qt-dbus-factory' 'deepin-image-editor' 'ffmpeg'
+         'ffmpegthumbnailer' 'portaudio' 'pulseaudio')
+makedepends=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-camera/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        $pkgname-ffmpeg-5.patch::https://github.com/linuxdeepin/deepin-camera/pull/211.patch)
+sha512sums=('a7e3bcdf833ac4ea297b1ac31b66af8b258e2bbb3217da4edc4394d4e5d29175daabc335c2bed98dc47b4ca4361e6164bd085f1c6e9b416036d2f8f57fb57a49'
+            '525e64b2595db019dc3f7974bfcfb32ffeed62c90b5b51eac31e486154b4e1af115f479d58ed97a17040152d58fc5cd4c3c82c48b4ff764c46183e5a7bdcff1a')
+
+prepare() {
+  cd deepin-camera-$pkgver
+  patch -p1 -i ../$pkgname-ffmpeg-5.patch
+  sed -i '/#include <QThread>/i #include <thread>' src/src/windowstatethread.h
+} 
+
+build() {
+  cd deepin-camera-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
+  ninja
+}
+
+package() {
+  cd deepin-camera-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list