aboutsummaryrefslogblamecommitdiffstats
path: root/main/ortp/APKBUILD
blob: d95d7373133bc097a4b918626f60a4af6bc8c6d9 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
            
             
        

                                                                                                   
          
                               
                               
                                 
                                       
                                                                                         
 
         
                        


                                                    
                                         


                                               
                     


           
                                               

 
                                                                                                                                                                 
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ortp
pkgver=4.4.32
pkgrel=0
pkgdesc="oRTP is a library implemeting Real-time Transport Protocol (RFC3550), licensed under LGPL"
url="http://www.linphone.org/technical-corner/ortp"
arch="all"
options="!check" #no test avail
license="LGPL-2.0-or-later VSL"
makedepends="cmake bctoolbox-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://gitlab.linphone.org/BC/public/ortp/-/archive/$pkgver/ortp-$pkgver.tar.gz"

build() {
	cmake -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_MODULE_PATH=/usr/lib/cmake \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_SKIP_INSTALL_RPATH=ON \
		-DENABLE_STATIC=NO \
		-DENABLE_SHARED=YES .
	make -C build
}

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

sha512sums="7887b52eca29b26fab0bc879b25732ac48fac33bcaa7c52febec9f79c37a9e750ceb2d7b4ff72271203e820c05aa066fe759c9f03aaa87256e8d379612ead484  ortp-4.4.32.tar.gz"