[arch-commits] Commit in lib32-gstreamer/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 5 14:00:01 UTC 2020


    Date: Saturday, December 5, 2020 @ 14:00:00
  Author: arojas
Revision: 770614

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-gstreamer/repos/multilib-testing-x86_64/
  lib32-gstreamer/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 770613, lib32-gstreamer/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: lib32-gstreamer/repos/multilib-testing-x86_64/PKGBUILD (from rev 770613, lib32-gstreamer/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2020-12-05 14:00:00 UTC (rev 770614)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Kitching <chriskitching at linux.com>
+
+pkgname=lib32-gstreamer
+_pkgbasename=gstreamer
+pkgver=1.18.1
+pkgrel=1
+pkgdesc="GStreamer open-source multimedia framework core library (32-bit)"
+url="https://gstreamer.freedesktop.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(lib32-libxml2 lib32-glib2 lib32-libunwind lib32-gtk3 lib32-libelf gstreamer)
+makedepends=(meson git)
+_commit=29a8099d1d4bd8717c13923e710e92e67e335353  # tags/1.18.1^0
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $_pkgbasename
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  arch-meson $_pkgbasename build \
+    --libdir=lib32 \
+    --libexecdir=lib32 \
+    -D doc=disabled \
+    -D ptp-helper-permissions=capabilities \
+    -D dbghelp=disabled \
+    -D gobject-cast-checks=disabled \
+    -D bash-completion=disabled \
+    -D introspection=disabled \
+    -D package-name="GStreamer (Arch Linux)" \
+    -D package-origin="https://www.archlinux.org/"
+  meson compile -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+
+  rm -R "${pkgdir}"/usr/{share,include}
+
+  for _i in "${pkgdir}"/usr/bin/*; do
+    mv "${_i}" "${_i}-32"
+  done
+}



More information about the arch-commits mailing list