diff --git a/common/shlibs b/common/shlibs index e6d874c100b..5f935c176c2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3987,6 +3987,7 @@ libgtkdatabox.so.1 gtkdatabox3-1.0.0_1 libgf2x.so.3 gf2x-1.3.0_1 libntl.so.44 ntl-11.5.1_1 libflint.so.16 flintlib-2.8.0_1 +libarb.so.2 arb-2.20.0_1 libwayland-client++.so.0 libwaylandpp-0.2.8_1 libwayland-cursor++.so.0 libwaylandpp-0.2.8_1 libwayland-egl++.so.0 libwaylandpp-0.2.8_1 diff --git a/srcpkgs/arb-devel b/srcpkgs/arb-devel new file mode 120000 index 00000000000..456b9f00a86 --- /dev/null +++ b/srcpkgs/arb-devel @@ -0,0 +1 @@ +arb \ No newline at end of file diff --git a/srcpkgs/arb/template b/srcpkgs/arb/template new file mode 100644 index 00000000000..f195d8babf1 --- /dev/null +++ b/srcpkgs/arb/template @@ -0,0 +1,28 @@ +# Template file for 'arb' +pkgname=arb +version=2.20.0 +revision=1 +build_style=configure +configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-flint=/usr" +makedepends="flintlib-devel" +short_desc="C library for arbitrary-precision interval arithmetic" +maintainer="Gonzalo TornarĂ­a " +license="LGPL-2.1-or-later" +homepage="https://arblib.org" +distfiles="https://github.com/fredrik-johansson/arb/archive/${version}.tar.gz" +checksum=d2f186b10590c622c11d1ca190c01c3da08bac9bc04e84cb591534b917faffe7 + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + # on glibc this would give a conflict with function fdiv() + CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t +fi + +arb-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}