diff --git a/common/shlibs b/common/shlibs index 356a859383f..20fefd2394e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4542,3 +4542,4 @@ libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1 libSDL3.so.0 SDL3-3.2.2_1 libiconv.so.2 libiconv-1.18_1 libcharset.so.1 libiconv-1.18_1 +libomemo-c.so.0 libomemo-c-0.5.1_1 diff --git a/srcpkgs/libomemo-c-devel b/srcpkgs/libomemo-c-devel new file mode 120000 index 00000000000..744ed5bb717 --- /dev/null +++ b/srcpkgs/libomemo-c-devel @@ -0,0 +1 @@ +libomemo-c \ No newline at end of file diff --git a/srcpkgs/libomemo-c/template b/srcpkgs/libomemo-c/template new file mode 100644 index 00000000000..aedcec75418 --- /dev/null +++ b/srcpkgs/libomemo-c/template @@ -0,0 +1,23 @@ +# Template file for 'libomemo-c' +pkgname=libomemo-c +version=0.5.1 +revision=1 +build_style=meson +hostmakedepends="protobuf protobuf-c pkg-config" +makedepends="check-devel openssl-devel protobuf-c-devel" +short_desc="Fork of libsignal-protocol-c adding support for OMEMO XEP-0384" +maintainer="Leah Neukirchen " +license="GPL-3.0-only" +homepage="https://github.com/dino/libomemo-c" +distfiles="https://github.com/dino/libomemo-c/releases/download/v${version}/libomemo-c-${version}.tar.gz" +checksum=766827c07ff2cdc4deaf87bd9485474ed4aeea2fa5152593bf49fabe22b5865f + +libomemo-c-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision} protobuf-c-devel" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}