diff options
author | Guillaume Horel | 2020-12-19 16:41:59 -0500 |
---|---|---|
committer | Guillaume Horel | 2020-12-19 16:41:59 -0500 |
commit | f6eaa8c91306ce783231e8155e3dca28b70c0c14 (patch) | |
tree | 017231d55e3ff69a92500baaefa8fe66c05a55aa | |
parent | 1fcd2e2355d46971bce30c8b252a0f701aa29c8a (diff) | |
download | aur-f6eaa8c91306ce783231e8155e3dca28b70c0c14.tar.gz |
cmake cleanup
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 13 insertions, 13 deletions
@@ -1,14 +1,14 @@ pkgbase = ortp-git pkgdesc = A Real-time Transport Protocol (RTP) library - pkgver = 4.4.0.alpha.r1.g079d9f1 + pkgver = 4.5.0.alpha.r7.g607b2e7 pkgrel = 1 url = https://github.com/BelledonneCommunications/ortp arch = x86_64 license = GPL3 makedepends = cmake makedepends = git - depends = bctoolbox>=4.3.0 - provides = ortp=4.4.0.alpha.r1.g079d9f1 + depends = bctoolbox>=4.4.0 + provides = ortp=4.5.0.alpha.r7.g607b2e7 conflicts = ortp source = git+https://github.com/BelledonneCommunications/ortp.git sha256sums = SKIP @@ -5,7 +5,7 @@ pkgname=ortp-git _pkgname=ortp -pkgver=4.4.0.alpha.r1.g079d9f1 +pkgver=4.5.0.alpha.r7.g607b2e7 pkgrel=1 pkgdesc="A Real-time Transport Protocol (RTP) library" arch=('x86_64') @@ -13,25 +13,25 @@ url="https://github.com/BelledonneCommunications/ortp" license=('GPL3') conflicts=('ortp') provides=("ortp=$pkgver") -depends=('bctoolbox>=4.3.0') +depends=('bctoolbox>=4.4.0') makedepends=('cmake' 'git') source=("git+https://github.com/BelledonneCommunications/ortp.git") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}" + cd "${_pkgname}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g' } build() { - cd ${_pkgname} - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_STATIC="NO" \ - -DCMAKE_SKIP_INSTALL_RPATH=ON . - make + cmake -B build "${_pkgname}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_STATIC="NO" \ + -DCMAKE_SKIP_INSTALL_RPATH=ON \ + -Wno-dev + make -C build } package() { - cd ${_pkgname} - make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" -C build install } |