aboutsummaryrefslogtreecommitdiffstats
path: root/main/ortp/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-04-14 22:13:12 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-16 06:31:06 +0000
commita244da0760f7a2994b1b44a6ea6ba8ebf58062a5 (patch)
treef3a78fb05d2f6db64939d51eec8f11fc04ad1aa7 /main/ortp/APKBUILD
parentcdc077c9262c67f9e25833717403a3526b313815 (diff)
downloadaports-a244da0760f7a2994b1b44a6ea6ba8ebf58062a5.tar.gz
aports-a244da0760f7a2994b1b44a6ea6ba8ebf58062a5.tar.bz2
aports-a244da0760f7a2994b1b44a6ea6ba8ebf58062a5.tar.xz
main/ortp: upgrade to 4.3.2
Diffstat (limited to 'main/ortp/APKBUILD')
-rw-r--r--main/ortp/APKBUILD28
1 files changed, 7 insertions, 21 deletions
diff --git a/main/ortp/APKBUILD b/main/ortp/APKBUILD
index 0f2df33fd1..ecb5aa6b93 100644
--- a/main/ortp/APKBUILD
+++ b/main/ortp/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ortp
-pkgver=1.0.2
-_pkgver=${pkgver}-0
-pkgrel=2
+pkgver=4.3.2
+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"
@@ -11,12 +10,10 @@ options="!check" #no test avail
license="LGPL-2.0-or-later VSL"
makedepends="cmake bctoolbox-dev"
subpackages="$pkgname-doc $pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://www.linphone.org/releases/sources/ortp/$pkgname-$pkgver.tar.gz
- fix-cmake.patch"
-builddir="$srcdir/$pkgname-$_pkgver"
+source="https://gitlab.linphone.org/BC/public/ortp/-/archive/$pkgver/ortp-$pkgver.tar.gz"
build() {
- cmake \
+ cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_MODULE_PATH=/usr/lib/cmake \
@@ -24,22 +21,11 @@ build() {
-DCMAKE_SKIP_INSTALL_RPATH=ON \
-DENABLE_STATIC=NO \
-DENABLE_SHARED=YES .
- make
+ make -C build
}
package() {
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
-dev() {
- default_dev
- mkdir -p "$subpkgdir"/usr/lib/cmake/oRTP
- mv "$pkgdir"/usr/share/oRTP/cmake/* "$subpkgdir"/usr/lib/cmake/oRTP
- # Remove empty dirs
- rmdir "$pkgdir"/usr/share/oRTP/cmake
- rmdir "$pkgdir"/usr/share/oRTP
- rmdir "$pkgdir"/usr/share
-}
-
-sha512sums="653f0a607ff8a3d44a81ff73840ffe121140d04288965f18e8e9dc1d09c28eb86cf8efef3b2bbbdff0e76299a2cf87a28d8028a70bf1918616fb10c61d77f95e ortp-1.0.2.tar.gz
-edfe84d0b5ab2c6bce0bd40f764049b4bd35d478bba7aba6a53c911d1ec9f55a546c7450327c7885a27117352b029e11f0caba2f021d72555629643b8df9a6de fix-cmake.patch"
+sha512sums="e3fb5d45f9128a9721703e186e5247d57542f51b9fb57eb128a9c42a2da6c950ba93130a07f9784f3d43d7f7bf0d650cc7d90c1a64794dadad06742ff35c702b ortp-4.3.2.tar.gz"