aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ccrtp/APKBUILD
blob: 69a0d10edca3f7eba37897080d5684901ce16d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=ccrtp
pkgver=2.1.2
pkgrel=0
pkgdesc="An implementation of RTP, the real-time transport protocol from the IETF"
url="https://www.gnu.org/software/ccrtp/"
arch="all"
license="GPL-2.0-or-later"
makedepends="cmake samurai libgcrypt-dev commoncpp-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/ccrtp/ccrtp-$pkgver.tar.gz"
options="!check" # no tests provided

build() {
	cmake -G Ninja -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=MinSizeRel \
		-DLIB_VERSION=3.1.0 \
		-DSOVERSION=3 # ???
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
a835f57a0eef7cba11c55c93ce2f11ebd8ab4099e7c723043c51e4872f3da87af946fc50fac18b47ea5d72b2a1227b377810e9134c1f3a8982d4ce5944d043e9  ccrtp-2.1.2.tar.gz
"