Skip to content

Commit

Permalink
archrelease: copy trunk to extra-i686, extra-x86_64
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@269281 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
jgc committed Jun 10, 2016
1 parent 71058fd commit 103ef0c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 8 deletions.
12 changes: 8 additions & 4 deletions a52dec/repos/extra-i686/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
# $Id$
# Maintainer:
# Maintainer: Jan de Groot <[email protected]>
# Maintainer: Tom Gundersen <[email protected]>
# Contributor: Thomas Baechler <[email protected]>
# Contributor: Sarah Hay <[email protected]>

pkgname=a52dec
pkgver=0.7.4
pkgrel=8
pkgrel=9
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc')
source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
'a52dec-0.7.4-build.patch')
'a52dec-0.7.4-build.patch'
'stderr.patch')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
'fa16f224a7dceb7613824380abef0052')
'fa16f224a7dceb7613824380abef0052'
'52f57e003259a24516eaab08b64ae703')

prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 -i ../a52dec-0.7.4-build.patch
patch -Np1 -i ../stderr.patch
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
mv configure.in configure.ac
./bootstrap
Expand Down
17 changes: 17 additions & 0 deletions a52dec/repos/extra-i686/stderr.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -aur a52dec-0.7.4.orig/liba52/imdct.c a52dec-0.7.4/liba52/imdct.c
--- a52dec-0.7.4.orig/liba52/imdct.c 2016-06-10 02:39:52.984345055 -0700
+++ a52dec-0.7.4/liba52/imdct.c 2016-06-10 02:41:08.304633486 -0700
@@ -419,13 +419,11 @@

#ifdef LIBA52_DJBFFT
if (mm_accel & MM_ACCEL_DJBFFT) {
- fprintf (stderr, "Using djbfft for IMDCT transform\n");
ifft128 = (void (*) (complex_t *)) fftc4_un128;
ifft64 = (void (*) (complex_t *)) fftc4_un64;
} else
#endif
{
- fprintf (stderr, "No accelerated IMDCT transform found\n");
ifft128 = ifft128_c;
ifft64 = ifft64_c;
}
12 changes: 8 additions & 4 deletions a52dec/repos/extra-x86_64/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
# $Id$
# Maintainer:
# Maintainer: Jan de Groot <[email protected]>
# Maintainer: Tom Gundersen <[email protected]>
# Contributor: Thomas Baechler <[email protected]>
# Contributor: Sarah Hay <[email protected]>

pkgname=a52dec
pkgver=0.7.4
pkgrel=8
pkgrel=9
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc')
source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
'a52dec-0.7.4-build.patch')
'a52dec-0.7.4-build.patch'
'stderr.patch')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
'fa16f224a7dceb7613824380abef0052')
'fa16f224a7dceb7613824380abef0052'
'52f57e003259a24516eaab08b64ae703')

prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 -i ../a52dec-0.7.4-build.patch
patch -Np1 -i ../stderr.patch
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
mv configure.in configure.ac
./bootstrap
Expand Down
17 changes: 17 additions & 0 deletions a52dec/repos/extra-x86_64/stderr.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -aur a52dec-0.7.4.orig/liba52/imdct.c a52dec-0.7.4/liba52/imdct.c
--- a52dec-0.7.4.orig/liba52/imdct.c 2016-06-10 02:39:52.984345055 -0700
+++ a52dec-0.7.4/liba52/imdct.c 2016-06-10 02:41:08.304633486 -0700
@@ -419,13 +419,11 @@

#ifdef LIBA52_DJBFFT
if (mm_accel & MM_ACCEL_DJBFFT) {
- fprintf (stderr, "Using djbfft for IMDCT transform\n");
ifft128 = (void (*) (complex_t *)) fftc4_un128;
ifft64 = (void (*) (complex_t *)) fftc4_un64;
} else
#endif
{
- fprintf (stderr, "No accelerated IMDCT transform found\n");
ifft128 = ifft128_c;
ifft64 = ifft64_c;
}

0 comments on commit 103ef0c

Please sign in to comment.