liba52: remove the recipe

The component has been superseded by ffmpeg long ago, tarballs have
disappeared from sourceforge, no work on it has happened in over 10 years.

(From OE-Core rev: 90fbfe9fe1dab1568b85ee497520e789417d41f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2024-04-19 14:19:27 +02:00
committed by Richard Purdie
parent 74361a6e6d
commit 148e0c87cc
5 changed files with 1 additions and 120 deletions

View File

@@ -123,7 +123,6 @@ DISTRO_PN_ALIAS:pn-keymaps = "OE-Core"
DISTRO_PN_ALIAS:pn-kf = "OSPDT"
DISTRO_PN_ALIAS:pn-lame = "Debian=lame Ubuntu=lame"
DISTRO_PN_ALIAS:pn-ldconfig-native = "Ubuntu=libc-bin Fedora=glibc"
DISTRO_PN_ALIAS:pn-liba52 = "Mandriva=a52dec Debian=a52dec"
DISTRO_PN_ALIAS:pn-libacpi = "Ubuntu=libacpi Mandriva=libacpi"
DISTRO_PN_ALIAS:pn-libatomics-ops = "Meego=libatomic-ops Debian=libatomic-ops Ubuntu=libatomic-ops OpenSuSE=libatomic-ops Mandriva=libatomic-ops"
DISTRO_PN_ALIAS:pn-libcgroup = "Ubuntu=libcgroup1 Debian=libcgroup1"

View File

@@ -305,7 +305,6 @@ RECIPE_MAINTAINER:pn-l3afpad = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-lame = "Michael Opdenacker <michael.opdenacker@bootlin.com>"
RECIPE_MAINTAINER:pn-ldconfig-native = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-less = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER:pn-liba52 = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-libacpi = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-libadwaita = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER:pn-libaio = "Alexander Kanavin <alex.kanavin@gmail.com>"

View File

@@ -25,7 +25,7 @@ GST_PLUGIN_SET_HAS_EXAMPLES = "0"
PACKAGECONFIG ??= " \
${GSTREAMER_ORC} \
a52dec mpeg2dec \
mpeg2dec \
"
PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr"

View File

@@ -1,89 +0,0 @@
It makes much more sense to control our own CFLAGS and avoiding fPIC breaks
some arches too. Assume we know what we're doing and remove all the messing
around.
RP 23/2/10
Upstream-Status: Inappropriate [configuration]
Index: a52dec-0.7.4/configure.in
===================================================================
--- a52dec-0.7.4.orig/configure.in 2010-02-23 14:51:50.000000000 +0000
+++ a52dec-0.7.4/configure.in 2010-02-23 14:52:36.000000000 +0000
@@ -14,62 +14,6 @@
AC_PROG_CC
AC_PROG_GCC_TRADITIONAL
-if test x"$GCC" = x"yes"; then
-
- dnl GCC-specific flags - try to optimize them sometime
- dnl -Wall -Werror moved to the end to not disturb the configure script
-
- dnl -O3
- changequote(<<,>>)
- OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g"`
- changequote([,])
- OPT_CFLAGS="$OPT_CFLAGS -O3"
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
-
- dnl -fomit-frame-pointer
- OPT_CFLAGS="$CFLAGS -fomit-frame-pointer"
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
-
- dnl arch-specific flags
- case "$host" in
- i?86-* | k?-*)
- case "$host" in
- i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
- i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";;
- i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";;
- i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
- k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";;
- esac
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
- sparc-* | sparc64-*)
- OPT_CFLAGS="$CFLAGS -mtune=ultrasparc"
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
- mips-sgi-irix6.*) dnl do we need to be that specific ?
- OPT_CFLAGS="$CFLAGS -mabi=64"
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
- esac
-elif test x"$CC" = x"tcc" -a x"`$CC -version 2>&1 | grep TenDRA`" != x""; then
- dnl TenDRA portability checking compiler
- TENDRA=yes
- CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h -DELIDE_CODE"
- enable_mlib=no
- enable_oss=no
- enable_solaris_audio=no
-elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then
- dnl Intel C++ compiler
- CFLAGS="-g -O3 -unroll -ip"
-else
- dnl non-gcc flags - we probably need exact configuration triplets here.
- case "$host" in
- mips-sgi-irix6.*)
- OPT_CFLAGS="$CFLAGS -64"
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
- sparc-sun-solaris*)
- OPT_CFLAGS="$CFLAGS -xCC -fast -xO5"
- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
- esac
-fi
-
dnl Checks for libtool - this must be done after we set cflags
AC_DISABLE_SHARED
AC_LIBTOOL_WIN32_DLL
Index: a52dec-0.7.4/liba52/configure.incl
===================================================================
--- a52dec-0.7.4.orig/liba52/configure.incl 2010-02-23 14:51:44.000000000 +0000
+++ a52dec-0.7.4/liba52/configure.incl 2010-02-23 14:51:59.000000000 +0000
@@ -1,9 +1,6 @@
AC_SUBST([LIBA52_CFLAGS])
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])
if test x"$enable_double" = x"yes"; then

View File

@@ -1,28 +0,0 @@
SUMMARY = "ATSC A/52 surround sound stream decoder"
DESCRIPTION = "Library for decoding ATSC A/52 streams. The A/52 standard \
is used in a variety of applications, including digital television \
and DVD. It is also known as AC-3."
HOMEPAGE = "http://liba52.sourceforge.net/"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://include/a52.h;beginline=1;endline=12;md5=81152ceb3562bf20a60d1b6018175dd1"
SECTION = "libs"
inherit autotools
SRC_URI = "http://liba52.sourceforge.net/files/a52dec-${PV}.tar.gz \
file://buildcleanup.patch"
SRC_URI[md5sum] = "caa9f5bc44232dc8aeea773fea56be80"
SRC_URI[sha256sum] = "a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33"
UPSTREAM_CHECK_URI = "http://liba52.sourceforge.net/downloads.html"
S = "${WORKDIR}/a52dec-${PV}"
EXTRA_OECONF = " --enable-shared "
PACKAGES =+ "a52dec a52dec-doc"
FILES:a52dec = " ${bindir}/* "
FILES:a52dec-doc = " ${mandir}/man1/* "