Date: Sunday, February 4, 2018 @ 11:07:51
  Author: foutrelis
Revision: 288957

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-gst-plugins-good/repos/multilib-staging-x86_64/
  lib32-gst-plugins-good/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 288956, lib32-gst-plugins-good/trunk/PKGBUILD)

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

Copied: lib32-gst-plugins-good/repos/multilib-staging-x86_64/PKGBUILD (from rev 
288956, lib32-gst-plugins-good/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD                            (rev 0)
+++ multilib-staging-x86_64/PKGBUILD    2018-02-04 11:07:51 UTC (rev 288957)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Jan de Groot <j...@archlinux.org>
+
+_basename=gst-plugins-good
+pkgname=lib32-gst-plugins-good
+pkgver=1.12.4
+pkgrel=2
+pkgdesc="GStreamer Multimedia Framework Good Plugins (32-bit)"
+url="https://gstreamer.freedesktop.org/";
+arch=('x86_64')
+license=('LGPL')
+depends=(lib32-libpulse lib32-jack lib32-libsoup lib32-gst-plugins-base-libs 
lib32-wavpack
+        lib32-aalib lib32-taglib lib32-libdv lib32-libshout lib32-libvpx 
lib32-gdk-pixbuf2
+         lib32-libcaca lib32-libavc1394 lib32-libiec61883 lib32-libxdamage 
lib32-v4l-utils
+         lib32-cairo lib32-libgudev lib32-speex lib32-flac lib32-libraw1394 
gst-plugins-good)
+makedepends=(lib32-gstreamer aalib python autoconf-archive git)
+checkdepends=(lib32-gst-plugins-base)
+options=(!emptydirs)
+_commit=224938300a3b0fd8263422c3548576ac939032e5  # tags/1.12.4^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good#commit=$_commit";
+        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common";)
+sha512sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $_basename
+  git describe --tags | sed 's/-//g'
+}
+
+prepare() {
+  cd $_basename
+
+  git submodule init
+  git config --local submodule.common.url "$srcdir/gst-common"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+ 
+build() {
+  cd $_basename
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --build=i686-pc-linux-gnu --libdir=/usr/lib32 \
+    --with-package-name="GStreamer Good Plugins (Arch Linux)" \
+    --with-package-origin="https://www.archlinux.org/"; \
+    --enable-experimental --disable-static --disable-gtk-doc \
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+# FAIL: elements/rtp-payloading
+#check() {
+# cd $_basename
+# make check
+#}
+
+package() {
+  cd $_basename
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir"/usr/share
+}

Reply via email to