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

2018-04-27 Thread David Runge via arch-commits
Date: Friday, April 27, 2018 @ 21:12:20
  Author: dvzrv
Revision: 318322

archrelease: copy trunk to community-staging-x86_64

Added:
  harvid/repos/community-staging-x86_64/
  harvid/repos/community-staging-x86_64/PKGBUILD
(from rev 318321, harvid/trunk/PKGBUILD)

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

Copied: harvid/repos/community-staging-x86_64/PKGBUILD (from rev 318321, 
harvid/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-27 21:12:20 UTC (rev 318322)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: David Runge 
+# Contributor: speps 
+
+pkgname=harvid
+pkgver=0.8.2
+pkgrel=2
+pkgdesc="HTTP Ardour Video Daemon"
+arch=('x86_64')
+url="https://x42.github.io/harvid/";
+license=('GPL')
+depends=('ffmpeg')
+makedepends=('xxd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/${pkgname}/archive/v$pkgver.tar.gz";)
+sha512sums=('fde352124008cd3d6230950c79a3a2b8d581803f952c7313c941226b00e80f8078053d941f2c5ead04672639a8db696f0c33482f69dab78187801d7ebce23fce')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # different job setting needed to not crash build
+  make PREFIX=/usr -j1
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr DESTDIR="${pkgdir}/" install
+
+  # ffmpeg and ffprobe symlinks (for ardour)
+  ln -sv ffmpeg "${pkgdir}/usr/bin/ffmpeg_${pkgname}"
+  ln -sv ffprobe "${pkgdir}/usr/bin/ffprobe_${pkgname}"
+
+  install -vDm 644 README.md \
+-t "${pkgdir}/usr/share/doc/${pkgname}/"
+}


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

2017-12-03 Thread David Runge via arch-commits
Date: Sunday, December 3, 2017 @ 18:05:42
  Author: dvzrv
Revision: 272028

archrelease: copy trunk to community-testing-x86_64

Added:
  harvid/repos/community-testing-x86_64/
  harvid/repos/community-testing-x86_64/PKGBUILD
(from rev 272027, harvid/trunk/PKGBUILD)

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

Copied: harvid/repos/community-testing-x86_64/PKGBUILD (from rev 272027, 
harvid/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-12-03 18:05:42 UTC (rev 272028)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: David Runge 
+# Contributor: speps 
+
+pkgname=harvid
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="HTTP Ardour Video Daemon"
+arch=('x86_64')
+url="https://x42.github.io/harvid/";
+license=('GPL')
+depends=('ffmpeg' 'libpng' 'libjpeg-turbo' 'xxd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/harvid/archive/v$pkgver.tar.gz";)
+sha512sums=('fde352124008cd3d6230950c79a3a2b8d581803f952c7313c941226b00e80f8078053d941f2c5ead04672639a8db696f0c33482f69dab78187801d7ebce23fce')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # different job setting needed to not crash build
+  make PREFIX=/usr -j1
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr DESTDIR="${pkgdir}/" install
+
+  # ffmpeg and ffprobe symlinks (for ardour)
+  ln -s ffmpeg "${pkgdir}/usr/bin/ffmpeg_harvid"
+  ln -s ffprobe "${pkgdir}/usr/bin/ffprobe_harvid"
+
+  install -Dm644 README.md \
+"${pkgdir}/usr/share/doc/${pkgname}/README"
+}