From 29cbb10c6ba1a0864a299da576448e57bda6e5ca Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 18 Jun 2022 18:54:23 +0200 Subject: [PATCH] New package: librist-0.2.7 --- common/shlibs | 1 + srcpkgs/librist/template | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/librist/template diff --git a/common/shlibs b/common/shlibs index e4fbe0b0c0c..09430986c2d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -147,6 +147,7 @@ libgbm.so.1 libgbm-9.0_1 libOpenGL.so.0 libglvnd-1.3.0_1 libGLX.so.0 libglvnd-1.3.0_1 librsvg-2.so.2 librsvg-2.26.0_1 +librist.so.4 librist-0.2.7_1 libdbus-1.so.3 dbus-libs-1.2.10_1 libdbus-glib-1.so.2 dbus-glib-0.80_1 libxml2.so.2 libxml2-2.7.0_1 diff --git a/srcpkgs/librist/template b/srcpkgs/librist/template new file mode 100644 index 00000000000..a9fd795ffe0 --- /dev/null +++ b/srcpkgs/librist/template @@ -0,0 +1,34 @@ +# Template file for 'librist' +pkgname=librist +version=0.2.7 +revision=1 +wrksrc="librist-v${version}" +build_style=meson +makedepends="mbedtls-devel" +short_desc="Reliable Internet Stream Transport (RIST)" +maintainer="Duncaen " +license="BSD-2-Clause" +homepage="https://code.videolan.org/rist/librist" +distfiles="https://code.videolan.org/rist/librist/-/archive/v${version}/librist-v${version}.tar.gz" +checksum=7e2507fdef7b57c87b461d0f2515771b70699a02c8675b51785a73400b3c53a1 + +post_install() { + vlicense COPYING +} + +rist-utils_package() { + short_desc+=" - utils" + pkg_install() { + vmove usr/bin + } +} + +librist-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}