[arch-commits] Commit in mediastreamer/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jun 24 20:39:48 UTC 2020


    Date: Wednesday, June 24, 2020 @ 20:39:48
  Author: arojas
Revision: 652476

Update to 4.4.0

Modified:
  mediastreamer/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-24 20:37:26 UTC (rev 652475)
+++ PKGBUILD	2020-06-24 20:39:48 UTC (rev 652476)
@@ -5,8 +5,8 @@
 # Contributor: Mark Lee <mark at markelee.com>
 
 pkgname=mediastreamer
-pkgver=4.3.1
-pkgrel=2
+pkgver=4.4.0
+pkgrel=1
 pkgdesc="A library written in C that allows you to create and run audio and video streams"
 arch=(x86_64)
 url="https://github.com/BelledonneCommunications/mediastreamer2"
@@ -14,22 +14,16 @@
 depends=(ortp ffmpeg libupnp bzrtp glew libsrtp)
 makedepends=(cmake python bcunit doxygen)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver.tar.gz")
-sha256sums=('0b33ca111fbc6202ad55decee4c185b2ee42699ab0694b6281dee1180fdef4ba')
+sha256sums=('f986fba8bb23db60441707c958e8d8cb41d56939b42ef4e47de1eeed62522eee')
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../${pkgname}2-$pkgver \
+  cmake -B build -S ${pkgname}2-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DENABLE_STATIC=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list