diff --git a/common/shlibs b/common/shlibs index 032eefa2b7a..54c2d2e7423 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2235,6 +2235,7 @@ libKF5ThreadWeaver.so.5 threadweaver-5.26.0_1 libOpenImageIO_Util.so.2.2 openimageio-2.2.13.1_1 libOpenImageIO.so.2.2 openimageio-2.2.13.1_1 libOpenColorIO.so.1 opencolorio-1.0.8_1 +libpystring.so.1 pystring-1.1.3_1 libyaml-cpp.so.0.7 yaml-cpp-0.7.0_1 libpaper.so.1 libpaper-1.1.24_1 libhtsjava.so.2 httrack-3.49.2_7 diff --git a/srcpkgs/pystring-devel b/srcpkgs/pystring-devel new file mode 120000 index 00000000000..24f83d734bf --- /dev/null +++ b/srcpkgs/pystring-devel @@ -0,0 +1 @@ +pystring \ No newline at end of file diff --git a/srcpkgs/pystring/patches/meson.patch b/srcpkgs/pystring/patches/meson.patch new file mode 100644 index 00000000000..6ca8729989b --- /dev/null +++ b/srcpkgs/pystring/patches/meson.patch @@ -0,0 +1,12 @@ +--- /dev/null 2022-09-11 10:25:08.762524599 +0200 ++++ pystring-1.1.3/meson.build 2022-09-11 12:48:33.304524690 +0200 +@@ -0,0 +1,9 @@ ++project('pystring', 'cpp') ++pkg = import('pkgconfig') ++lib = library('pystring', ++ 'pystring.cpp', ++ version: '1.1.3', ++ soversion: '1', ++ install : true) ++pkg.generate(lib) ++install_headers('pystring.h', subdir: 'pystring') diff --git a/srcpkgs/pystring/template b/srcpkgs/pystring/template new file mode 100644 index 00000000000..0aa1d0ba709 --- /dev/null +++ b/srcpkgs/pystring/template @@ -0,0 +1,25 @@ +# Template file for 'pystring' +pkgname=pystring +version=1.1.3 +revision=1 +build_style=meson +short_desc="C++ functions matching interface/behavior of python strings" +maintainer="John " +license="BSD-2-Clause" +homepage="https://github.com/imageworks/pystring" +distfiles="https://github.com/imageworks/pystring/archive/refs/tags/v${version}.tar.gz" +checksum=358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9 + +post_install() { + vlicense LICENSE +} + +pystring-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +}