[arch-commits] Commit in ffmpeg2theora/repos (6 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Jul 3 21:24:18 UTC 2016
Date: Sunday, July 3, 2016 @ 21:24:18
Author: jlichtblau
Revision: 181928
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
ffmpeg2theora/repos/community-staging-i686/
ffmpeg2theora/repos/community-staging-i686/PKGBUILD
(from rev 181927, ffmpeg2theora/trunk/PKGBUILD)
ffmpeg2theora/repos/community-staging-i686/ffmpeg2theora-0.29-underlinking.patch
(from rev 181927, ffmpeg2theora/trunk/ffmpeg2theora-0.29-underlinking.patch)
ffmpeg2theora/repos/community-staging-x86_64/
ffmpeg2theora/repos/community-staging-x86_64/PKGBUILD
(from rev 181927, ffmpeg2theora/trunk/PKGBUILD)
ffmpeg2theora/repos/community-staging-x86_64/ffmpeg2theora-0.29-underlinking.patch
(from rev 181927, ffmpeg2theora/trunk/ffmpeg2theora-0.29-underlinking.patch)
----------------------------------------------------------------+
community-staging-i686/PKGBUILD | 38 ++++++++++
community-staging-i686/ffmpeg2theora-0.29-underlinking.patch | 21 +++++
community-staging-x86_64/PKGBUILD | 38 ++++++++++
community-staging-x86_64/ffmpeg2theora-0.29-underlinking.patch | 21 +++++
4 files changed, 118 insertions(+)
Copied: ffmpeg2theora/repos/community-staging-i686/PKGBUILD (from rev 181927, ffmpeg2theora/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-03 21:24:18 UTC (rev 181928)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=ffmpeg2theora
+pkgver=0.30
+pkgrel=3
+pkgdesc="Simple converter to create Ogg Theora files"
+arch=('i686' 'x86_64')
+url="http://www.v2v.cc/~j/ffmpeg2theora/"
+license=('GPL')
+depends=('ffmpeg' 'libkate')
+makedepends=('scons' 'git')
+source=($pkgname-$pkgver::git+https://git.xiph.org/ffmpeg2theora.git#tag=${pkgver}
+ ffmpeg2theora-0.29-underlinking.patch)
+sha256sums=('SKIP'
+ '3b937c7e3a5afe327ee75e246ef606a747b8fb5880b43a864b3b9db4a245ef7f')
+
+prepare() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >> src/ffmpeg2theora.h
+ patch -p0 -i ../ffmpeg2theora-0.29-underlinking.patch
+}
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ scons
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ scons install destdir="${pkgdir}" prefix="/usr" mandir="PREFIX/share/man"
+}
Copied: ffmpeg2theora/repos/community-staging-i686/ffmpeg2theora-0.29-underlinking.patch (from rev 181927, ffmpeg2theora/trunk/ffmpeg2theora-0.29-underlinking.patch)
===================================================================
--- community-staging-i686/ffmpeg2theora-0.29-underlinking.patch (rev 0)
+++ community-staging-i686/ffmpeg2theora-0.29-underlinking.patch 2016-07-03 21:24:18 UTC (rev 181928)
@@ -0,0 +1,21 @@
+For example, pow() from mathlib is used directly in src/ffmpeg2theora.c:
+
+<snip>
+v = pow(v, g) * 255.0; // mplayer's vf_eq2.c multiplies with 256 here, strange...
+</snip>
+
+For build failure and log, see Gentoo bug #504698
+
+--- SConstruct
++++ SConstruct
+@@ -206,9 +206,8 @@
+ if env['crossmingw']:
+ env.Append(CCFLAGS=['-Wl,-subsystem,windows'])
+ env.Append(LIBS=['m'])
+- elif env['static']:
+- env.Append(LIBS=['m', 'dl'])
+
++ env.Append(LIBS=['m', 'dl'])
+
+ env = conf.Finish()
+
Copied: ffmpeg2theora/repos/community-staging-x86_64/PKGBUILD (from rev 181927, ffmpeg2theora/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-07-03 21:24:18 UTC (rev 181928)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=ffmpeg2theora
+pkgver=0.30
+pkgrel=3
+pkgdesc="Simple converter to create Ogg Theora files"
+arch=('i686' 'x86_64')
+url="http://www.v2v.cc/~j/ffmpeg2theora/"
+license=('GPL')
+depends=('ffmpeg' 'libkate')
+makedepends=('scons' 'git')
+source=($pkgname-$pkgver::git+https://git.xiph.org/ffmpeg2theora.git#tag=${pkgver}
+ ffmpeg2theora-0.29-underlinking.patch)
+sha256sums=('SKIP'
+ '3b937c7e3a5afe327ee75e246ef606a747b8fb5880b43a864b3b9db4a245ef7f')
+
+prepare() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >> src/ffmpeg2theora.h
+ patch -p0 -i ../ffmpeg2theora-0.29-underlinking.patch
+}
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ scons
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ scons install destdir="${pkgdir}" prefix="/usr" mandir="PREFIX/share/man"
+}
Copied: ffmpeg2theora/repos/community-staging-x86_64/ffmpeg2theora-0.29-underlinking.patch (from rev 181927, ffmpeg2theora/trunk/ffmpeg2theora-0.29-underlinking.patch)
===================================================================
--- community-staging-x86_64/ffmpeg2theora-0.29-underlinking.patch (rev 0)
+++ community-staging-x86_64/ffmpeg2theora-0.29-underlinking.patch 2016-07-03 21:24:18 UTC (rev 181928)
@@ -0,0 +1,21 @@
+For example, pow() from mathlib is used directly in src/ffmpeg2theora.c:
+
+<snip>
+v = pow(v, g) * 255.0; // mplayer's vf_eq2.c multiplies with 256 here, strange...
+</snip>
+
+For build failure and log, see Gentoo bug #504698
+
+--- SConstruct
++++ SConstruct
+@@ -206,9 +206,8 @@
+ if env['crossmingw']:
+ env.Append(CCFLAGS=['-Wl,-subsystem,windows'])
+ env.Append(LIBS=['m'])
+- elif env['static']:
+- env.Append(LIBS=['m', 'dl'])
+
++ env.Append(LIBS=['m', 'dl'])
+
+ env = conf.Finish()
+
More information about the arch-commits
mailing list