Browse Source

[trunk] -> [extra] 'gstreamer-1.16.0-1' add

master
artoo 2 months ago
parent
commit
7a64ba1dc2
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B
2 changed files with 32 additions and 46 deletions
  1. 16
    23
      gstreamer/repos/extra-x86_64/PKGBUILD
  2. 16
    23
      gstreamer/trunk/PKGBUILD

+ 16
- 23
gstreamer/repos/extra-x86_64/PKGBUILD View File

@@ -2,19 +2,19 @@
2 2
 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 3
 
4 4
 pkgname=gstreamer
5
-pkgver=1.14.4
5
+pkgver=1.16.0
6 6
 pkgrel=1
7 7
 pkgdesc="GStreamer open-source multimedia framework core library"
8 8
 url="https://gstreamer.freedesktop.org/"
9 9
 arch=(x86_64)
10 10
 license=(LGPL)
11 11
 depends=(libxml2 glib2 libunwind libcap libelf)
12
-makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion)
12
+makedepends=(gtk-doc gobject-introspection git valgrind bash-completion meson)
13 13
 checkdepends=(gmp gsl gtk3)
14
-_commit=3c586dec930c5c253da0cf49e3f3846243f0ecf5  # tags/1.14.4^0
14
+_commit=89c221a6972513f629c969f5485f37e77ccfa6e1  # tags/1.16.0^0
15 15
 install=gstreamer.install
16
-source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit"
17
-        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
16
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
17
+        "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
18 18
 sha256sums=('SKIP'
19 19
             'SKIP')
20 20
 
@@ -29,31 +29,24 @@ prepare() {
29 29
   git submodule init
30 30
   git config --local submodule.common.url "$srcdir/gst-common"
31 31
   git submodule update
32
-
33
-  NOCONFIGURE=1 ./autogen.sh
34 32
 }
35 33
 
36 34
 build() {
37
-  cd $pkgname
38
-  ./configure \
39
-    --prefix=/usr \
40
-    --sysconfdir=/etc \
41
-    --localstatedir=/var \
42
-    --libexecdir=/usr/lib \
43
-    --with-package-name="GStreamer (Artix Linux)" \
44
-    --with-package-origin="https://www.artixlinux.org/" \
45
-    --enable-gtk-doc \
46
-    --disable-static
47
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
48
-  make
35
+  arch-meson $pkgname build \
36
+    -D ptp-helper-permissions=capabilities \
37
+    -D dbghelp=disabled \
38
+    -D gobject-cast-checks=disabled \
39
+    -D glib-asserts=disabled \
40
+    -D glib-checks=disabled \
41
+    -D package-name="GStreamer (Artix Linux)" \
42
+    -D package-origin="https://www.artixlinux.org/"
43
+  ninja -C build
49 44
 }
50 45
 
51 46
 check() {
52
-  cd $pkgname
53
-  make check
47
+  meson test -C build --print-errorlogs
54 48
 }
55 49
 
56 50
 package() {
57
-  cd $pkgname
58
-  make DESTDIR="$pkgdir" install
51
+  DESTDIR="$pkgdir" meson install -C build
59 52
 }

+ 16
- 23
gstreamer/trunk/PKGBUILD View File

@@ -2,19 +2,19 @@
2 2
 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 3
 
4 4
 pkgname=gstreamer
5
-pkgver=1.14.4
5
+pkgver=1.16.0
6 6
 pkgrel=1
7 7
 pkgdesc="GStreamer open-source multimedia framework core library"
8 8
 url="https://gstreamer.freedesktop.org/"
9 9
 arch=(x86_64)
10 10
 license=(LGPL)
11 11
 depends=(libxml2 glib2 libunwind libcap libelf)
12
-makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion)
12
+makedepends=(gtk-doc gobject-introspection git valgrind bash-completion meson)
13 13
 checkdepends=(gmp gsl gtk3)
14
-_commit=3c586dec930c5c253da0cf49e3f3846243f0ecf5  # tags/1.14.4^0
14
+_commit=89c221a6972513f629c969f5485f37e77ccfa6e1  # tags/1.16.0^0
15 15
 install=gstreamer.install
16
-source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit"
17
-        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
16
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
17
+        "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
18 18
 sha256sums=('SKIP'
19 19
             'SKIP')
20 20
 
@@ -29,31 +29,24 @@ prepare() {
29 29
   git submodule init
30 30
   git config --local submodule.common.url "$srcdir/gst-common"
31 31
   git submodule update
32
-
33
-  NOCONFIGURE=1 ./autogen.sh
34 32
 }
35 33
 
36 34
 build() {
37
-  cd $pkgname
38
-  ./configure \
39
-    --prefix=/usr \
40
-    --sysconfdir=/etc \
41
-    --localstatedir=/var \
42
-    --libexecdir=/usr/lib \
43
-    --with-package-name="GStreamer (Artix Linux)" \
44
-    --with-package-origin="https://www.artixlinux.org/" \
45
-    --enable-gtk-doc \
46
-    --disable-static
47
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
48
-  make
35
+  arch-meson $pkgname build \
36
+    -D ptp-helper-permissions=capabilities \
37
+    -D dbghelp=disabled \
38
+    -D gobject-cast-checks=disabled \
39
+    -D glib-asserts=disabled \
40
+    -D glib-checks=disabled \
41
+    -D package-name="GStreamer (Artix Linux)" \
42
+    -D package-origin="https://www.artixlinux.org/"
43
+  ninja -C build
49 44
 }
50 45
 
51 46
 check() {
52
-  cd $pkgname
53
-  make check
47
+  meson test -C build --print-errorlogs
54 48
 }
55 49
 
56 50
 package() {
57
-  cd $pkgname
58
-  make DESTDIR="$pkgdir" install
51
+  DESTDIR="$pkgdir" meson install -C build
59 52
 }

Loading…
Cancel
Save