flatpak: Switch to using Adelie Linux a52dec

Original repo is removed, change to maintained fork.
Others are doing the same e.g. FreeBSD
This commit is contained in:
Rafał Dzięgiel
2024-04-04 21:34:15 +02:00
parent 1a52576be3
commit 6b135d51f3
4 changed files with 49 additions and 2 deletions

View File

@@ -39,7 +39,7 @@
},
"modules": [
"flathub/shared-modules/gudev/gudev.json",
"flathub/lib/liba52.json",
"testing/liba52.json",
"flathub/lib/libmpeg2.json",
"flathub/lib/libdv.json",
"flathub/lib/libdvdcss.json",

View File

@@ -31,7 +31,7 @@
],
"modules": [
"flathub/shared-modules/gudev/gudev.json",
"flathub/lib/liba52.json",
"testing/liba52.json",
"flathub/lib/libmpeg2.json",
"flathub/lib/libdv.json",
"flathub/lib/libdvdcss.json",

View File

@@ -0,0 +1,23 @@
--- ./configure~ 2002-07-28 06:50:42.000000000 +0300
+++ ./configure 2003-04-13 17:20:53.000000000 +0300
@@ -5366,13 +5366,13 @@
case "$host" in
i?86-* | k?-*)
- case "$host" in
- i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";;
- i486-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i486";;
- i586-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentium";;
- i686-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentiumpro";;
- k6-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=k6";;
- esac
+# case "$host" in
+# i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";;
+# i486-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i486";;
+# i586-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentium";;
+# i686-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentiumpro";;
+# k6-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=k6";;
+# esac
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $TRY_CFLAGS $CFLAGS flags" >&5
printf %s "checking if $CC supports $TRY_CFLAGS $CFLAGS flags... " >&6; }
SAVE_CFLAGS="$CFLAGS"

View File

@@ -0,0 +1,24 @@
{
"name": "liba52",
"config-opts": [ "--enable-shared", "--disable-static" ],
"rm-configure": true,
"cleanup": [ "/bin/*a52*" ],
"sources": [
{
"type": "archive",
"url": "https://distfiles.adelielinux.org/source/a52dec/a52dec-0.8.0.tar.gz",
"sha256": "03c181ce9c3fe0d2f5130de18dab9bd8bc63c354071515aa56983c74a9cffcc9"
},
{
"type": "patch",
"path": "a52dec-configure-optflags.patch"
},
{
"type": "script",
"commands": [
"autoreconf -fiv"
],
"dest-filename": "autogen.sh"
}
]
}