* update bctoolbox to 5.3.36-1
This commit is contained in:
parent
f44e8692e5
commit
3b2c64f3df
19
bctoolbox/.SRCINFO
Normal file
19
bctoolbox/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
||||
pkgbase = bctoolbox
|
||||
pkgdesc = A library written in C that allows you to create and run audio and video streams
|
||||
pkgver = 5.3.36
|
||||
pkgrel = 1
|
||||
url = https://gitlab.linphone.org/
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
depends = gcc-libs
|
||||
depends = libdecaf
|
||||
depends = mbedtls
|
||||
source = https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/5.3.36/bctoolbox-5.3.36.tar.bz2
|
||||
sha256sums = 228c44db2a5231721b245b50e284b813171a1e758cbf7cbb27758be303c89cc6
|
||||
|
||||
pkgname = bctoolbox
|
@ -1,23 +1,33 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
|
||||
# Contributor: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru>
|
||||
|
||||
pkgname=bctoolbox
|
||||
pkgver=5.1.67
|
||||
pkgver=5.3.36
|
||||
pkgrel=1
|
||||
pkgdesc='A library written in C that allows you to create and run audio and video streams'
|
||||
arch=(x86_64 powerpc64le powerpc riscv64)
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://gitlab.linphone.org/'
|
||||
license=(GPL)
|
||||
depends=(mbedtls bcunit)
|
||||
depends=(gcc-libs libdecaf mbedtls)
|
||||
makedepends=(cmake)
|
||||
source=(https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2)
|
||||
sha256sums=('ead8045f0759fcb67559e1b1745288771f349bed03dde4af216ec45c93a09755')
|
||||
sha256sums=('228c44db2a5231721b245b50e284b813171a1e758cbf7cbb27758be303c89cc6')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
sed -i '89i include_directories(/usr/include/mbedtls2)' CMakeLists.txt
|
||||
sed -i -e "s|PRIVATE \${MBEDTLS_TARGETS}|PRIVATE \${MBEDTLS_TARGETS} -L/usr/lib/mbedtls2|" src/CMakeLists.txt
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_STATIC=OFF
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -Wno-error=unused-parameter" \
|
||||
-DENABLE_TESTS_COMPONENT=OFF \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DENABLE_DECAF=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user