[arch-commits] Commit in libvpx1.3 (7 files)

Maxime Gauduin alucryd at archlinux.org
Sun Oct 2 12:56:41 UTC 2016


    Date: Sunday, October 2, 2016 @ 12:56:40
  Author: alucryd
Revision: 191201

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libvpx1.3/repos/
  libvpx1.3/repos/community-i686/
  libvpx1.3/repos/community-i686/PKGBUILD
    (from rev 191200, libvpx1.3/trunk/PKGBUILD)
  libvpx1.3/repos/community-i686/libvpx-1.3-gcc-5.2.patch
    (from rev 191200, libvpx1.3/trunk/libvpx-1.3-gcc-5.2.patch)
  libvpx1.3/repos/community-x86_64/
  libvpx1.3/repos/community-x86_64/PKGBUILD
    (from rev 191200, libvpx1.3/trunk/PKGBUILD)
  libvpx1.3/repos/community-x86_64/libvpx-1.3-gcc-5.2.patch
    (from rev 191200, libvpx1.3/trunk/libvpx-1.3-gcc-5.2.patch)

-------------------------------------------+
 community-i686/PKGBUILD                   |   54 ++++++++++++++++++++++++++++
 community-i686/libvpx-1.3-gcc-5.2.patch   |   24 ++++++++++++
 community-x86_64/PKGBUILD                 |   54 ++++++++++++++++++++++++++++
 community-x86_64/libvpx-1.3-gcc-5.2.patch |   24 ++++++++++++
 4 files changed, 156 insertions(+)

Copied: libvpx1.3/repos/community-i686/PKGBUILD (from rev 191200, libvpx1.3/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2016-10-02 12:56:40 UTC (rev 191201)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Fabio Castelli <muflone at archlinux.org>
+
+pkgname=libvpx1.3
+pkgver=1.3.0
+pkgrel=1
+pkgdesc='VP8 and VP9 codec'
+arch=('i686' 'x86_64')
+url='http://www.webmproject.org/'
+license=('BSD')
+depends=('glibc')
+makedepends=('yasm' 'git')
+provides=('libvpx.so')
+source=("libvpx-${pkgver}.tar.gz::https://github.com/webmproject/libvpx/archive/v${pkgver}.tar.gz"
+        'libvpx-1.3-gcc-5.2.patch')
+sha256sums=('db72881e1c34e4ae92666847844f35dd2dd431bcf6284500b1b396464f882f64'
+            'df157b8f0e4469692598f5f12b305561a56a84374880ef740ccb8f0b447851e1')
+
+prepare() {
+  cd libvpx-${pkgver}
+
+  patch -Np1 -i ../libvpx-1.3-gcc-5.2.patch
+}
+
+build() {
+  cd libvpx-${pkgver}
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-runtime-cpu-detect \
+    --enable-shared \
+    --enable-pic \
+    --disable-install-docs \
+    --disable-install-srcs \
+    --enable-vp8 \
+    --enable-postproc \
+    --enable-vp9
+
+  make
+}
+
+package() {
+  cd libvpx-${pkgver}
+
+  make DIST_DIR="${pkgdir}"/usr install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/{libvpx.{a,so},pkgconfig},share}
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx1.3/
+}
+
+# vim: ts=2 sw=2 et:

Copied: libvpx1.3/repos/community-i686/libvpx-1.3-gcc-5.2.patch (from rev 191200, libvpx1.3/trunk/libvpx-1.3-gcc-5.2.patch)
===================================================================
--- repos/community-i686/libvpx-1.3-gcc-5.2.patch	                        (rev 0)
+++ repos/community-i686/libvpx-1.3-gcc-5.2.patch	2016-10-02 12:56:40 UTC (rev 191201)
@@ -0,0 +1,24 @@
+diff -Naur libvpx-1.3.orig/nestegg/halloc/src/align.h libvpx-1.3/nestegg/halloc/src/align.h
+--- libvpx-1.3.orig/nestegg/halloc/src/align.h	2015-08-02 13:42:14.783914000 +0200
++++ libvpx-1.3/nestegg/halloc/src/align.h	2015-08-02 13:43:04.100580874 +0200
+@@ -30,7 +30,7 @@
+ 	void (*q)(void);
+ };
+ 
+-typedef union max_align max_align_t;
++typedef union max_align h_max_align_t;
+ 
+ #endif
+ 
+diff -Naur libvpx-1.3.orig/nestegg/halloc/src/halloc.c libvpx-1.3/nestegg/halloc/src/halloc.c
+--- libvpx-1.3.orig/nestegg/halloc/src/halloc.c	2015-08-02 13:42:14.783914000 +0200
++++ libvpx-1.3/nestegg/halloc/src/halloc.c	2015-08-02 13:43:35.817247310 +0200
+@@ -30,7 +30,7 @@
+ #endif
+ 	hlist_item_t  siblings; /* 2 pointers */
+ 	hlist_head_t  children; /* 1 pointer  */
+-	max_align_t   data[1];  /* not allocated, see below */
++	h_max_align_t data[1];  /* not allocated, see below */
+ 	
+ } hblock_t;
+ 

Copied: libvpx1.3/repos/community-x86_64/PKGBUILD (from rev 191200, libvpx1.3/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2016-10-02 12:56:40 UTC (rev 191201)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Fabio Castelli <muflone at archlinux.org>
+
+pkgname=libvpx1.3
+pkgver=1.3.0
+pkgrel=1
+pkgdesc='VP8 and VP9 codec'
+arch=('i686' 'x86_64')
+url='http://www.webmproject.org/'
+license=('BSD')
+depends=('glibc')
+makedepends=('yasm' 'git')
+provides=('libvpx.so')
+source=("libvpx-${pkgver}.tar.gz::https://github.com/webmproject/libvpx/archive/v${pkgver}.tar.gz"
+        'libvpx-1.3-gcc-5.2.patch')
+sha256sums=('db72881e1c34e4ae92666847844f35dd2dd431bcf6284500b1b396464f882f64'
+            'df157b8f0e4469692598f5f12b305561a56a84374880ef740ccb8f0b447851e1')
+
+prepare() {
+  cd libvpx-${pkgver}
+
+  patch -Np1 -i ../libvpx-1.3-gcc-5.2.patch
+}
+
+build() {
+  cd libvpx-${pkgver}
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-runtime-cpu-detect \
+    --enable-shared \
+    --enable-pic \
+    --disable-install-docs \
+    --disable-install-srcs \
+    --enable-vp8 \
+    --enable-postproc \
+    --enable-vp9
+
+  make
+}
+
+package() {
+  cd libvpx-${pkgver}
+
+  make DIST_DIR="${pkgdir}"/usr install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/{libvpx.{a,so},pkgconfig},share}
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx1.3/
+}
+
+# vim: ts=2 sw=2 et:

Copied: libvpx1.3/repos/community-x86_64/libvpx-1.3-gcc-5.2.patch (from rev 191200, libvpx1.3/trunk/libvpx-1.3-gcc-5.2.patch)
===================================================================
--- repos/community-x86_64/libvpx-1.3-gcc-5.2.patch	                        (rev 0)
+++ repos/community-x86_64/libvpx-1.3-gcc-5.2.patch	2016-10-02 12:56:40 UTC (rev 191201)
@@ -0,0 +1,24 @@
+diff -Naur libvpx-1.3.orig/nestegg/halloc/src/align.h libvpx-1.3/nestegg/halloc/src/align.h
+--- libvpx-1.3.orig/nestegg/halloc/src/align.h	2015-08-02 13:42:14.783914000 +0200
++++ libvpx-1.3/nestegg/halloc/src/align.h	2015-08-02 13:43:04.100580874 +0200
+@@ -30,7 +30,7 @@
+ 	void (*q)(void);
+ };
+ 
+-typedef union max_align max_align_t;
++typedef union max_align h_max_align_t;
+ 
+ #endif
+ 
+diff -Naur libvpx-1.3.orig/nestegg/halloc/src/halloc.c libvpx-1.3/nestegg/halloc/src/halloc.c
+--- libvpx-1.3.orig/nestegg/halloc/src/halloc.c	2015-08-02 13:42:14.783914000 +0200
++++ libvpx-1.3/nestegg/halloc/src/halloc.c	2015-08-02 13:43:35.817247310 +0200
+@@ -30,7 +30,7 @@
+ #endif
+ 	hlist_item_t  siblings; /* 2 pointers */
+ 	hlist_head_t  children; /* 1 pointer  */
+-	max_align_t   data[1];  /* not allocated, see below */
++	h_max_align_t data[1];  /* not allocated, see below */
+ 	
+ } hblock_t;
+ 



More information about the arch-commits mailing list