jobextra/librist/PKGBUILD.old
joborun 4cb3993040 upg dbus-broker qt5-base
moved and rebuilt librist python-truststosre
2024-01-06 01:29:44 +02:00

52 lines
1.5 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=librist
pkgver=0.2.8rc1.r0.g32dcfa1
pkgrel=02
pkgdesc='A library that can be used to add the RIST protocol to applications (git version)'
url='https://code.videolan.org/rist/librist/'
depends=('cjson' 'mbedtls')
makedepends=('git' 'meson' 'cmake' 'cmocka' 'lz4' 'libmicrohttpd')
provides=('librist')
conflicts=('librist-git')
source=("git+https://code.videolan.org/rist/$pkgname.git"
"010-$pkgname-disable-multicast-tests.patch")
pkgver() {
git -C $pkgname describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;s/\.\(RC\|rc\)/rc/'
}
prepare() {
patch -d $pkgname -Np1 -i "${srcdir}/010-$pkgname-disable-multicast-tests.patch"
}
build() {
arch-meson build $pkgname
ninja -v -C build
}
check() {
ninja -v -C build test
}
package() {
DESTDIR="$pkgdir" ninja -v -C build install
install -D -m644 $pkgname/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('BSD')
sha256sums=(SKIP
a9dc0c1a3690fea576252e687123ec2d7dfaec7c1a8b0e02c8518bdcb8e9b954) # 010-librist-disable-multicast-tests.patch
## 24a148bfa730c6e0648711b6e3e7353673c53b57c9a70230eb8158a10161573a librist-0.2.8rc1.r0.g32dcfa1-02-x86_64.pkg.tar.lz