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

Felix Yan felixonmars at archlinux.org
Wed Feb 24 13:46:00 UTC 2021


    Date: Wednesday, February 24, 2021 @ 13:46:00
  Author: felixonmars
Revision: 871391

archrelease: copy trunk to community-x86_64

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

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

Copied: deepin-camera/repos/community-x86_64/PKGBUILD (from rev 871390, deepin-camera/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-02-24 13:46:00 UTC (rev 871391)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-camera
+pkgver=1.0.0.16
+pkgrel=1
+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' 'ffmpeg' 'ffmpegthumbnailer' 'portaudio' 'pulseaudio')
+makedepends=('deepin-gettext-tools' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-camera/archive/$pkgver.tar.gz")
+sha512sums=('91a3fec9b0a8e0dcea922b36c5e5c82a22ded81dd5263ed0c800c489af6b8309b1d067618b215e6f58fddeed0a6942e2175d5c89626dc40a76ef2271f77903c7')
+
+prepare() {
+  cd deepin-camera-$pkgver
+  sed -i '/^CONFIG/a LIBS = -lpulse' libcam/libcam.pro
+}
+
+build() {
+  cd deepin-camera-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-camera-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


More information about the arch-commits mailing list