diff --git a/common/shlibs b/common/shlibs index dbb31233ee0..4b00da9a72e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3855,3 +3855,4 @@ libraven.so.0 budgie-desktop-10.5.1_1 libbudgie-private.so.0 budgie-desktop-10.5.1_1 libbudgietheme.so.0 budgie-desktop-10.5.1_1 libbudgie-plugin.so.0 budgie-desktop-10.5.1_1 +libslirp.so.0 libslirp-4.2.0_1 diff --git a/srcpkgs/libslirp-devel b/srcpkgs/libslirp-devel new file mode 120000 index 00000000000..069657f0d17 --- /dev/null +++ b/srcpkgs/libslirp-devel @@ -0,0 +1 @@ +libslirp \ No newline at end of file diff --git a/srcpkgs/libslirp/template b/srcpkgs/libslirp/template new file mode 100644 index 00000000000..2406dc8010d --- /dev/null +++ b/srcpkgs/libslirp/template @@ -0,0 +1,28 @@ +# Template file for 'libslirp' +pkgname=libslirp +version=4.2.0 +revision=1 +wrksrc="libslirp-v${version}" +build_style=meson +hostmakedepends="pkg-config" +makedepends="libglib-devel" +short_desc="User-mode networking library used by VMs and containers" +maintainer="Cameron Nemo " +license="BSD-3-Clause" +homepage="https://gitlab.freedesktop.org/slirp/libslirp" +distfiles="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz" +checksum=8c088bb60952d18e615962a83bcd4f03fa0988d913bce9457fea9377e72ab9f3 + +post_install() { + vlicense COPYRIGHT +} + +libslirp-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/*.so + } +}