mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
re: update to 2.10.0.
This commit is contained in:
parent
21a91acc18
commit
a4319e0c8c
2 changed files with 7 additions and 28 deletions
|
@ -3464,7 +3464,7 @@ libhtmlcxx.so.3 htmlcxx-0.86_1
|
||||||
libcss_parser_pp.so.0 htmlcxx-0.86_1
|
libcss_parser_pp.so.0 htmlcxx-0.86_1
|
||||||
libcss_parser.so.0 htmlcxx-0.86_1
|
libcss_parser.so.0 htmlcxx-0.86_1
|
||||||
libaom.so.3 libaom-3.4.0_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
|
libtpms.so.0 libtpms-0.9.0_1
|
||||||
libswtpm_libtpms.so.0 libswtpm-0.6.1_1
|
libswtpm_libtpms.so.0 libswtpm-0.6.1_1
|
||||||
libspandsp.so.2 spandsp-0.0.6_1
|
libspandsp.so.2 spandsp-0.0.6_1
|
||||||
|
|
|
@ -1,52 +1,31 @@
|
||||||
# Template file for 're'
|
# Template file for 're'
|
||||||
pkgname=re
|
pkgname=re
|
||||||
version=2.7.0
|
version=2.10.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=cmake
|
||||||
make_build_args="RELEASE=1 EXTRA_CFLAGS=$CFLAGS
|
configure_args="-DUSE_OPENSSL=yes"
|
||||||
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"
|
|
||||||
makedepends="openssl-devel zlib-devel"
|
makedepends="openssl-devel zlib-devel"
|
||||||
short_desc="Portable library for real-time communications"
|
short_desc="Portable library for real-time communications"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/baresip/re/"
|
homepage="https://github.com/baresip/re/"
|
||||||
distfiles="https://github.com/baresip/re/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/baresip/re/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=999f02b4299f9f4bbf637cf610099b656225fef0ce08ce56728978214d448343
|
checksum=4d2b6f8fc73efdbcb5a7b2a98d0b46ac6eb28ede5ae90f9596b49663eec623a9
|
||||||
|
|
||||||
CFLAGS=-D_GNU_SOURCE
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
re-devel_package() {
|
re-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision} openssl-devel zlib-devel"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/share/re/re.mk
|
vmove usr/lib/cmake
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue