summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-07-22 13:42:03 -0600
committerMark Wagie2020-07-22 13:42:03 -0600
commit05093d5f722c484cddaef3ca8cf6d61bbf0ea3f4 (patch)
tree1567ed1c798793986405942dfd1279475a09db12
parent67827be9850365219dbb10151d620193a71751dc (diff)
downloadaur-05093d5f722c484cddaef3ca8cf6d61bbf0ea3f4.tar.gz
adhere to new meson package guidelines
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da6b53c373c..f4761ebad80 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,8 +12,8 @@ pkgbase = gst-rtsp-server
makedepends = gobject-introspection
depends = gst-plugins-base>=1.16.2
depends = gst-plugins-bad>=1.16.2
- provides = libgstrtspserver-1.0.so=0-64
- provides = libgstrtspclientsink.so=libgstrtspclientsink.so-64
+ provides = libgstrtspserver-1.0.so
+ provides = libgstrtspclientsink.so
source = https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.16.2.tar.xz
source = https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.16.2.tar.xz.asc
validpgpkeys = D637032E45B8C6585B9456565D2EEE6F6F349D7C
diff --git a/PKGBUILD b/PKGBUILD
index 6017a01bb88..62f568d17cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
license=('LGPL')
makedepends=('meson' 'gobject-introspection')
depends=("gst-plugins-base>=$pkgver" "gst-plugins-bad>=$pkgver")
-provides=('libgstrtspserver-1.0.so=0-64' 'libgstrtspclientsink.so=libgstrtspclientsink.so-64')
+provides=('libgstrtspserver-1.0.so' 'libgstrtspclientsink.so')
source=("https://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc})
sha256sums=('de07a2837b3b04820ce68264a4909f70c221b85dbff0cede7926e9cdbb1dc26e'
'SKIP')
@@ -18,15 +18,15 @@ validpgpkeys=('D637032E45B8C6585B9456565D2EEE6F6F349D7C')
build() {
arch-meson "$pkgname-$pkgver" build
- ninja -C build
+ meson compile -C build
}
check() {
- ninja -C build test
+ meson test -C build
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install -C build
install -Dm755 build/examples/test-mp4 "$pkgdir/usr/bin/gst-rtsp-mp4"
install -Dm755 build/examples/test-launch "$pkgdir/usr/bin/gst-rtsp-launch"
install -Dm755 build/examples/test-netclock "$pkgdir/usr/bin/gst-rtsp-netclock"