[arch-commits] Commit in gst-plugins-ugly/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Apr 22 21:25:53 UTC 2019


    Date: Monday, April 22, 2019 @ 21:25:52
  Author: heftig
Revision: 351949

1.16.0-1

Modified:
  gst-plugins-ugly/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++------------------------
 1 file changed, 14 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-22 21:18:07 UTC (rev 351948)
+++ PKGBUILD	2019-04-22 21:25:52 UTC (rev 351949)
@@ -2,16 +2,16 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gst-plugins-ugly
-pkgver=1.14.4
-pkgrel=3
-pkgdesc="GStreamer Multimedia Framework Ugly Plugins"
+pkgver=1.16.0
+pkgrel=1
+pkgdesc="GStreamer open-source multimedia framework ugly plugins"
 url="https://gstreamer.freedesktop.org/"
 arch=(x86_64)
 license=(LGPL)
 depends=(gst-plugins-base-libs libdvdread libmpeg2 a52dec libsidplay libcdio
          x264 opencore-amr)
-makedepends=(python gtk-doc autoconf-archive git)
-_commit=e1bf2aa184f83ff9fd5b7850c460129100ac6d1a  # tags/1.14.4^0
+makedepends=(python gtk-doc git meson)
+_commit=6cbac8d09f7866827381a9d0554b7a61d45b41b5  # tags/1.16.0^0
 source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git#commit=$_commit"
         "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
 sha256sums=('SKIP'
@@ -28,32 +28,22 @@
   git submodule init
   git config --local submodule.common.url "$srcdir/gst-common"
   git submodule update
-
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --libexecdir=/usr/lib \
-    --with-package-name="GStreamer Ugly Plugins (Arch Linux)" \
-    --with-package-origin="https://www.archlinux.org/" \
-    --enable-experimental \
-    --enable-gtk-doc \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build \
+    -D gobject-cast-checks=disabled \
+    -D glib-asserts=disabled \
+    -D glib-checks=disabled \
+    -D package-name="GStreamer Ugly Plugins (Arch Linux)" \
+    -D package-origin="https://www.archlinux.org/"
+  ninja -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list