summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e8a75a5a0da050a923a3612260a809c0b62ea09 (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
# Maintainer: nafets227 <nafets227@users.noreply.github.com>
pkgname=vdr-softhddevice-drm
pkgver=r705.c1cd90c
pkgrel=1
_vdrapi=2.6.6
pkgdesc="VDR output plugin for software HD based on DRM interface"
#url="https://github.com/zillevdr/vdr-plugin-softhddevice-drm.git"
arch=('x86_64' 'aarch64')
license=('AGPL3')
depends=('ffmpeg-rpi' "vdr-api=${_vdrapi}" 'alsa-lib')
source=("${pkgname}::git+https://github.com/zillevdr/vdr-plugin-softhddevice-drm.git")
#source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/refs/tags/V${pkgver}.tar.gz"
#        "50-$_plugname.conf")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/${pkgname}"
  PKG_CONFIG_PATH=/usr/lib/ffmpeg-rpi/pkgconfig make
}

package() {
  cd "$srcdir/${pkgname}"
  PKG_CONFIG_PATH=/usr/lib/ffmpeg-rpi/pkgconfig make DESTDIR="$pkgdir/" install
}