Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesA/a52dec.git a52dec

subrepo:
  subdir:   "a52dec"
  merged:   "18b628a"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesA/a52dec.git"
  branch:   "master"
  commit:   "18b628a"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 3 years ago
parent
commit
b46d3a2c56
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 5
      a52dec/.artixlinux/agent.yaml
  2. 33
      a52dec/.gitignore
  3. 12
      a52dec/.gitrepo
  4. 3
      a52dec/Jenkinsfile
  5. 2
      a52dec/README.md
  6. 40
      a52dec/repos/extra-x86_64/PKGBUILD
  7. 27
      a52dec/repos/extra-x86_64/a52dec-0.7.4-build.patch
  8. 17
      a52dec/repos/extra-x86_64/stderr.patch
  9. 40
      a52dec/trunk/PKGBUILD
  10. 27
      a52dec/trunk/a52dec-0.7.4-build.patch
  11. 17
      a52dec/trunk/stderr.patch

5
a52dec/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
a52dec/.gitignore vendored

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
a52dec/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesA/a52dec.git
branch = master
commit = 18b628a65f6e76c12c7b42b9ce0c1f96cb99dd08
parent = ef3f851fa38558fb3bb44d68f420cb3731e16770
method = merge
cmdver = 0.4.0

3
a52dec/Jenkinsfile vendored

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
a52dec/README.md

@ -0,0 +1,2 @@
# a52dec

40
a52dec/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=a52dec
pkgver=0.7.4
pkgrel=10
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
arch=('x86_64')
license=('GPL2')
depends=('glibc')
source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
'a52dec-0.7.4-build.patch'
'stderr.patch')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
'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
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --enable-shared
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m644 liba52/a52_internal.h "${pkgdir}/usr/include/a52dec/"
}

27
a52dec/repos/extra-x86_64/a52dec-0.7.4-build.patch

@ -0,0 +1,27 @@
diff -Naur a52dec-0.7.4.orig/liba52/Makefile.am a52dec-0.7.4/liba52/Makefile.am
--- a52dec-0.7.4.orig/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
+++ a52dec-0.7.4/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
lib_LTLIBRARIES = liba52.la
diff -Naur a52dec-0.7.4.orig/liba52/configure.incl a52dec-0.7.4/liba52/configure.incl
--- a52dec-0.7.4.orig/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
+++ a52dec-0.7.4/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800
@@ -2,7 +2,6 @@
AC_SUBST([LIBA52_LIBS])
dnl avoid -fPIC when possible
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
AC_ARG_ENABLE([double],
[ --enable-double use double-precision samples])
diff -Naur a52dec-0.7.4.orig/src/Makefile.am a52dec-0.7.4/src/Makefile.am
--- a52dec-0.7.4.orig/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
+++ a52dec-0.7.4/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @A52DEC_CFLAGS@
bin_PROGRAMS = a52dec extract_a52
a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c

17
a52dec/repos/extra-x86_64/stderr.patch

@ -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;
}

40
a52dec/trunk/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=a52dec
pkgver=0.7.4
pkgrel=10
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
arch=('x86_64')
license=('GPL2')
depends=('glibc')
source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
'a52dec-0.7.4-build.patch'
'stderr.patch')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
'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
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --enable-shared
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m644 liba52/a52_internal.h "${pkgdir}/usr/include/a52dec/"
}

27
a52dec/trunk/a52dec-0.7.4-build.patch

@ -0,0 +1,27 @@
diff -Naur a52dec-0.7.4.orig/liba52/Makefile.am a52dec-0.7.4/liba52/Makefile.am
--- a52dec-0.7.4.orig/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
+++ a52dec-0.7.4/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
lib_LTLIBRARIES = liba52.la
diff -Naur a52dec-0.7.4.orig/liba52/configure.incl a52dec-0.7.4/liba52/configure.incl
--- a52dec-0.7.4.orig/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
+++ a52dec-0.7.4/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800
@@ -2,7 +2,6 @@
AC_SUBST([LIBA52_LIBS])
dnl avoid -fPIC when possible
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
AC_ARG_ENABLE([double],
[ --enable-double use double-precision samples])
diff -Naur a52dec-0.7.4.orig/src/Makefile.am a52dec-0.7.4/src/Makefile.am
--- a52dec-0.7.4.orig/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
+++ a52dec-0.7.4/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @A52DEC_CFLAGS@
bin_PROGRAMS = a52dec extract_a52
a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c

17
a52dec/trunk/stderr.patch

@ -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;
}
Loading…
Cancel
Save