[arch-commits] Commit in gst-plugins-ugly/repos/extra-x86_64 (3 files)

Jan Steffens heftig at archlinux.org
Thu Aug 16 13:09:10 UTC 2018


    Date: Thursday, August 16, 2018 @ 13:09:10
  Author: heftig
Revision: 331591

archrelease: copy trunk to extra-x86_64

Added:
  gst-plugins-ugly/repos/extra-x86_64/0001-x264enc-Set-bit-depth-for-x264-153.patch
    (from rev 331590, gst-plugins-ugly/trunk/0001-x264enc-Set-bit-depth-for-x264-153.patch)
  gst-plugins-ugly/repos/extra-x86_64/PKGBUILD
    (from rev 331590, gst-plugins-ugly/trunk/PKGBUILD)
Deleted:
  gst-plugins-ugly/repos/extra-x86_64/PKGBUILD

-----------------------------------------------+
 0001-x264enc-Set-bit-depth-for-x264-153.patch |   31 +++++
 PKGBUILD                                      |  125 ++++++++++++------------
 2 files changed, 96 insertions(+), 60 deletions(-)

Copied: gst-plugins-ugly/repos/extra-x86_64/0001-x264enc-Set-bit-depth-for-x264-153.patch (from rev 331590, gst-plugins-ugly/trunk/0001-x264enc-Set-bit-depth-for-x264-153.patch)
===================================================================
--- 0001-x264enc-Set-bit-depth-for-x264-153.patch	                        (rev 0)
+++ 0001-x264enc-Set-bit-depth-for-x264-153.patch	2018-08-16 13:09:10 UTC (rev 331591)
@@ -0,0 +1,31 @@
+From 04e4b3aebf592abf24c07c5e56bcbb18ba04c30b Mon Sep 17 00:00:00 2001
+Message-Id: <04e4b3aebf592abf24c07c5e56bcbb18ba04c30b.1534424269.git.jan.steffens at gmail.com>
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Thu, 16 Aug 2018 13:17:58 +0200
+Subject: [PATCH] =?UTF-8?q?x264enc:=20Set=20bit=20depth=20for=20x264=20?=
+ =?UTF-8?q?=E2=89=A5=20153?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+---
+ ext/x264/gstx264enc.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
+index f88cfcb7..9e7986ab 100644
+--- a/ext/x264/gstx264enc.c
++++ b/ext/x264/gstx264enc.c
+@@ -1578,6 +1578,9 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
+   }
+ 
+   /* set up encoder parameters */
++#if X264_BUILD >= 153
++  encoder->x264param.i_bitdepth = GST_VIDEO_INFO_COMP_DEPTH (info, 0);
++#endif
+   encoder->x264param.i_csp =
+       gst_x264_enc_gst_to_x264_video_format (info->finfo->format, NULL);
+   if (info->fps_d == 0 || info->fps_n == 0) {
+-- 
+2.18.0
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-16 13:08:33 UTC (rev 331590)
+++ PKGBUILD	2018-08-16 13:09:10 UTC (rev 331591)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gst-plugins-ugly
-pkgver=1.14.2
-pkgrel=2
-pkgdesc="GStreamer 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=df1bcfa0ba57859eb39610ef53f1eb744ca57465  # tags/1.14.2^0
-source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly#commit=$_commit"
-        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
-sha256sums=('SKIP'
-            'SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-
-  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
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: gst-plugins-ugly/repos/extra-x86_64/PKGBUILD (from rev 331590, gst-plugins-ugly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-16 13:09:10 UTC (rev 331591)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gst-plugins-ugly
+pkgver=1.14.2
+pkgrel=3
+pkgdesc="GStreamer 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=df1bcfa0ba57859eb39610ef53f1eb744ca57465  # tags/1.14.2^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly#commit=$_commit"
+        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
+        0001-x264enc-Set-bit-depth-for-x264-153.patch)
+sha256sums=('SKIP'
+            'SKIP'
+            'bff7a355de976a3d19b8e6e2f8f15ccb1dacda95679ec1eee7bd98246f5e3a71')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # x264 multi-bit-depth fix
+  patch -Np1 -i ../0001-x264enc-Set-bit-depth-for-x264-153.patch
+
+  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
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list