liba52: update to 0.8.0.

This commit is contained in:
Piraty 2024-06-13 21:45:38 +02:00
parent fab0eb8ca7
commit 371282679d
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
3 changed files with 38 additions and 29 deletions

View File

@ -1,24 +0,0 @@
--- a/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
+++ b/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
lib_LTLIBRARIES = liba52.la
--- a/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
+++ b/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])
--- a/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
+++ b/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

View File

@ -0,0 +1,32 @@
diff --git a/configure.ac b/configure.ac
index 0ac7acd..a2b3bdc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,13 +29,6 @@ if test x"$GCC" = x"yes"; then
TRY_CFLAGS="$OPT_CFLAGS -Wall"
AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"])
- dnl -O3
- changequote(<<,>>)
- TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"`
- changequote([,])
- TRY_CFLAGS="$TRY_CFLAGS -O3"
- AC_TRY_CFLAGS([$TRY_CFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"; CFLAGS=""])
-
AC_ARG_ENABLE([debug],
[ --enable-debug debug mode configuration])
if test x"$enable_debug" = x"yes"; then
diff --git a/liba52/configure.incl b/liba52/configure.incl
index 72f3f99..d62d4a3 100644
--- a/liba52/configure.incl
+++ b/liba52/configure.incl
@@ -1,9 +1,6 @@
AC_SUBST([LIBA52_CFLAGS])
AC_SUBST([LIBA52_LIBS])
-dnl avoid -fPIC when possible
-AC_LIBTOOL_NON_PIC([LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"])
-
AC_ARG_ENABLE([fixed],
[ --enable-fixed use fixed-point (integer-based) arithmetic])
AC_ARG_ENABLE([double],

View File

@ -1,16 +1,16 @@
# Template file for 'liba52'
pkgname=liba52
version=0.7.4
revision=9
version=0.8.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
hostmakedepends="automake libtool"
short_desc="Free ATSC A/52 stream decoder"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://liba52.sourceforge.io/"
distfiles="https://liba52.sourceforge.io/files/a52dec-${version}.tar.gz"
checksum=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33
homepage="https://git.adelielinux.org/adelie/a52dec"
distfiles="https://distfiles.adelielinux.org/source/a52dec/a52dec-${version}.tar.gz"
checksum=03c181ce9c3fe0d2f5130de18dab9bd8bc63c354071515aa56983c74a9cffcc9
pre_configure() {
./bootstrap
@ -23,6 +23,7 @@ a52dec_package() {
vmove usr/share
}
}
liba52-devel_package() {
depends="liba52>=${version}_${revision}"
short_desc+=" - development files"