diff --git a/common/shlibs b/common/shlibs index f0917a476aa..8163f8eeb73 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3464,7 +3464,7 @@ libhtmlcxx.so.3 htmlcxx-0.86_1 libcss_parser_pp.so.0 htmlcxx-0.86_1 libcss_parser.so.0 htmlcxx-0.86_1 libaom.so.3 libaom-3.4.0_1 -libre.so.9 re-2.7.0_1 +libre.so.12 re-2.10.0_1 libtpms.so.0 libtpms-0.9.0_1 libswtpm_libtpms.so.0 libswtpm-0.6.1_1 libspandsp.so.2 spandsp-0.0.6_1 diff --git a/srcpkgs/re/template b/srcpkgs/re/template index 1ed40c721fb..008ccc87d65 100644 --- a/srcpkgs/re/template +++ b/srcpkgs/re/template @@ -1,52 +1,31 @@ # Template file for 're' pkgname=re -version=2.7.0 +version=2.10.0 revision=1 -build_style=gnu-makefile -make_build_args="RELEASE=1 EXTRA_CFLAGS=$CFLAGS - EXTRA_LFLAGS=$LDFLAGS USE_OPENSSL=yes USE_DTLS=yes - USE_DTLS_SRTP=yes USE_ZLIB=yes" -make_install_args="$make_build_args" -make_use_env=1 -hostmakedepends="pkg-config" +build_style=cmake +configure_args="-DUSE_OPENSSL=yes" makedepends="openssl-devel zlib-devel" short_desc="Portable library for real-time communications" maintainer="John " license="BSD-3-Clause" homepage="https://github.com/baresip/re/" distfiles="https://github.com/baresip/re/archive/refs/tags/v${version}.tar.gz" -checksum=999f02b4299f9f4bbf637cf610099b656225fef0ce08ce56728978214d448343 +checksum=4d2b6f8fc73efdbcb5a7b2a98d0b46ac6eb28ede5ae90f9596b49663eec623a9 CFLAGS=-D_GNU_SOURCE -case $XBPS_TARGET_MACHINE in - i686*) arch="i686";; - x86_64*) arch="x86_64";; - armv6*) arch="arm6";; - aarch64*) arch="arm64";; - arm*) arch="arm";; - mips*) arch="mips";; - ppc64*) arch="ppc64";; -esac -make_build_args+=" ARCH=$arch" -make_install_args+=" ARCH=$arch" - -pre_build() { - make ${make_build_args} info -} - post_install() { vlicense LICENSE } re-devel_package() { short_desc+=" - development files" - depends="${sourcepkg}>=${version}_${revision}" + depends="${sourcepkg}>=${version}_${revision} openssl-devel zlib-devel" pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.so" vmove usr/lib/pkgconfig - vmove usr/share/re/re.mk + vmove usr/lib/cmake } }