blob: fb3c252f799efbe75d0e80464a5b5767c2a8c2ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bmd-tools
pkgver=0.20150306
_commitid=8051d1eb7b52ab7ed4b819068c749ca224efb6a2
pkgrel=0
pkgdesc="Tools for Blackmagic USB video encoders"
url="https://github.com/fabled/bmd-tools"
arch="all"
license="GPLv2"
depends=""
makedepends="libusb-dev"
install=""
subpackages=""
source="bmd-tools-$pkgver.tar.gz::https://github.com/fabled/bmd-tools/archive/$_commitid.tar.gz
bmd-streamer.initd
bmd-streamer.confd
"
_srcdir="$srcdir"/$pkgname-$_commitid
prepare() {
local i
cd "$_srcdir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_srcdir"
make
}
package() {
cd "$_srcdir"
mkdir -p "$pkgdir"/usr/bin || return 1
install -s -m755 bmd-streamer bmd-extractfw \
"$pkgdir"/usr/bin || return 1
install -m755 -D "$srcdir"/bmd-streamer.initd \
"$pkgdir"/etc/init.d/bmd-streamer || return 1
install -m755 -D "$srcdir"/bmd-streamer.confd \
"$pkgdir"/etc/conf.d/bmd-streamer || return 1
}
md5sums="ca55b95f1024a10d46596aea325b603a bmd-tools-0.20150306.tar.gz
41b4d54b43d53b0cc47fa03b9ffd9228 bmd-streamer.initd
c2e6e9081f9938a10279f28cc1a21aae bmd-streamer.confd"
sha256sums="35ad81fc8f15538e2341214830b8d49eaf199780db64b43e205a02e48f47956b bmd-tools-0.20150306.tar.gz
6bfb66456b2b68c7e33bdb14742a8f35dfe9b7f403a40f40d408cfe88458c5c8 bmd-streamer.initd
64d5d9a2698c059eb72ac9c37fc84f971cbbb937f298f05807509bb51a51d991 bmd-streamer.confd"
sha512sums="0db370f0634d499ef2a4c69a6f6ae1e0ad1ce06851b07f70cf374abae6ddb7a42102d002343de5fbfe1cc14bcb1af0b26dd8a1fff09e4eb7f696088f12e2266c bmd-tools-0.20150306.tar.gz
60a53ada5afb2641c5daacb67be1a551d3a9feffc9a9857ca108a7bae207c1c5e284d3fdee8eda3a9543c891eb193ad0e655ca17a5e1e6916253f4ae5cd6f7e2 bmd-streamer.initd
e3760e4b9148d9f8467db519ff8ee2a161be1556a56bef9383a3e34a20c5960fff835a68d3e4f4a31b771e861d95f6fc4537fcb53675ac5f89d76b6ad49f8cea bmd-streamer.confd"
|