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

2022-09-08 Thread Antonio Rojas via arch-commits
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 
+
+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 /i #include ' 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
+}



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

2022-06-18 Thread Antonio Rojas via arch-commits
Date: Saturday, June 18, 2022 @ 15:54:53
  Author: arojas
Revision: 1238442

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 1238441, deepin-camera/trunk/PKGBUILD)

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

Copied: deepin-camera/repos/community-staging-x86_64/PKGBUILD (from rev 
1238441, deepin-camera/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-18 15:54:53 UTC (rev 1238442)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-camera
+pkgver=1.2.1
+pkgrel=4
+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=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-camera/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('30c7a883079aa48f4cf95731761d5a7a962c986414936d0adc7180f2f0b195f7643cc420b81af8508e01aa512949fd883360f33e4cdf66cc7b70fd58e1a093a4')
+
+prepare() {
+  cd deepin-camera-$pkgver
+  sed -i '/#include /i #include ' src/src/windowstatethread.h
+
+  # https://github.com/linuxdeepin/deepin-camera/issues/2
+  sed -i 's/LIBAVFORMAT_VERSION_MAJOR >= 57 && LIBAVFORMAT_VERSION_MINOR <= 
25/LIBAVFORMAT_VERSION_MAJOR >= 57/' src/src/imageitem.cpp
+} 
+
+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
+}



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

2022-05-14 Thread Antonio Rojas via arch-commits
Date: Saturday, May 14, 2022 @ 16:47:51
  Author: arojas
Revision: 1205375

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 1205374, deepin-camera/trunk/PKGBUILD)

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

Copied: deepin-camera/repos/community-staging-x86_64/PKGBUILD (from rev 
1205374, deepin-camera/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 16:47:51 UTC (rev 1205375)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-camera
+pkgver=1.2.1
+pkgrel=3
+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=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-camera/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('30c7a883079aa48f4cf95731761d5a7a962c986414936d0adc7180f2f0b195f7643cc420b81af8508e01aa512949fd883360f33e4cdf66cc7b70fd58e1a093a4')
+
+prepare() {
+  cd deepin-camera-$pkgver
+  sed -i '/#include /i #include ' src/src/windowstatethread.h
+
+  # https://github.com/linuxdeepin/deepin-camera/issues/2
+  sed -i 's/LIBAVFORMAT_VERSION_MAJOR >= 57 && LIBAVFORMAT_VERSION_MINOR <= 
25/LIBAVFORMAT_VERSION_MAJOR >= 57/' src/src/imageitem.cpp
+} 
+
+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
+}



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

2022-03-05 Thread Antonio Rojas via arch-commits
Date: Saturday, March 5, 2022 @ 11:53:34
  Author: arojas
Revision: 1142171

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: deepin-camera/repos/community-testing-x86_64/PKGBUILD (from rev 
1142170, deepin-camera/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-03-05 11:53:34 UTC (rev 1142171)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-camera
+pkgver=1.2.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' '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;)
+sha512sums=('30c7a883079aa48f4cf95731761d5a7a962c986414936d0adc7180f2f0b195f7643cc420b81af8508e01aa512949fd883360f33e4cdf66cc7b70fd58e1a093a4')
+
+prepare() {
+  cd deepin-camera-$pkgver
+  sed -i '/#include /i #include ' src/src/windowstatethread.h
+
+  # https://github.com/linuxdeepin/deepin-camera/issues/2
+  sed -i 's/LIBAVFORMAT_VERSION_MAJOR >= 57 && LIBAVFORMAT_VERSION_MINOR <= 
25/LIBAVFORMAT_VERSION_MAJOR >= 57/' src/src/imageitem.cpp
+} 
+
+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
+}



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

2021-05-28 Thread Felix Yan via arch-commits
Date: Friday, May 28, 2021 @ 18:34:54
  Author: felixonmars
Revision: 950042

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: deepin-camera/repos/community-testing-x86_64/PKGBUILD (from rev 950041, 
deepin-camera/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-05-28 18:34:54 UTC (rev 950042)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-camera
+pkgver=1.1.3
+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=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-camera/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('75d5b270d819c1cc517c815a19acce62e93d3981613c70579b3d0f4245c77a33f3e5db3a9f696b7f5ef669fb3f35840b8929431b7a38b15c94cfa778912fea56')
+
+prepare() {
+  cd deepin-camera-$pkgver
+  # https://github.com/linuxdeepin/deepin-camera/issues/2
+  sed -i 's/LIBAVFORMAT_VERSION_MAJOR >= 57 && LIBAVFORMAT_VERSION_MINOR <= 
25/LIBAVFORMAT_VERSION_MAJOR >= 57/' src/src/imageitem.cpp
+} 
+
+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
+}


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

2021-02-24 Thread Felix Yan via arch-commits
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 
+
+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
+}